All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Feat: add
brotli_quality
anddefalte_quality
toConfig
.
- Refactor: no longer does database codegen on build, codegen is in-repo.
- Deps: phf @ 0.11
- Fix: conform to RFC 9110 for
Accept-Encoding: Identity
. - Docs: updates.
- Internal: ci & lint updates.
- Build: avoid including build deps if
"db-check"
feature is not enabled. - Docs: minor formatting fixes.
- Docs: minor updates, linking, readme badges, etc
- Meta: attempt to fix doc.rs build.
- Deps: uses
h1-client-rustls
for Surf in build-deps- Avoids some compilation dependency issues on some platforms
- Deps: reduced dependance on http-types features
- Docs: fix mention of outdated body size threshold configuration.
- Feat:
Content-Type
header compressibility checking.- First via a check to jshttp's comprehensive database, which is compiled to a perfect hash function at build time.
- Falls back to a
Regex
check, which is customizable.
- Enabled
DEFLATE
support by default, since there is no real drawbacks to doing so.- Is the same algorithm and dependency as used for
GZIP
, just with no meta-info.
- Is the same algorithm and dependency as used for
- Dependencies: updated to Tide 0.16
- Dependencies: do not require any Tide features
- This should prevent the default Tide logger from being included when using this crate.
- Dependencies: updated to Tide 0.15
- Added
Vary
header modification. - Docs: various updates, more examples.
- Dependencies: updated to Tide 0.14
- Dependencies: now depends on
futures-lite
rather thanfutures-util
.
- Dependencies: updated for http-types 2.5
- Internal improvements: now uses http-types for Content-Encoding & Cache-Control.
- Dependencies: updated for Tide 0.13
- Fixed/Improved
Content-Encoding
parsing.
- Dependencies: updated for Tide 0.12
- Dependencies: updated for tide 0.10
- Added support for handling
Cache-Control: no-transform
.
- Updated / fixed documentation.
- Initial release.
- Support for Brotli, Gzip, and Deflate encodings, compile-time configurable through cargo feature flags.
- Prioritizes Brotli if available.
- Only pulls in the necessary dependencies for the desired configuration.
- Defaults to Brotli + Gzip.
Accept-Encoding
checking.- Minimum body size threshold.
- Configurable when created by
CompressMiddleware::with_threshold(usize)
.
- Configurable when created by