feat(typedserver): Add configurable response compression (Brotli + Gzip) with defaults enabled and documentation

This commit is contained in:
2025-12-08 12:19:01 +00:00
parent e8e4f81747
commit 94532c3c68
6 changed files with 100 additions and 1 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2025-12-08 - 7.11.0 - feat(typedserver)
Add configurable response compression (Brotli + Gzip) with defaults enabled and documentation
- Expose a new compression option on IServerOptions (plugins.smartserve.ICompressionConfig | boolean).
- Pass the compression setting through to SmartServe (smartServeOptions.compression = this.options.compression).
- Add compression option to UtilityWebsiteServer and forward it when creating SmartServe options.
- Update README: new Compression section with global config examples, per-route decorator usage, and options reference.
- Add a small readme.todo.md with service worker wake/reload TODO notes.
## 2025-12-05 - 7.10.2 - fix(docs)
Update README with routing examples and utility server config; bump @cloudflare/workers-types and @push.rocks/smartserve versions