4.93.0 - Advanced ETag Comparison now supported
What's Changed
Advanced ETag Comparison now supported by @linus-hologram in #3015
Vapor now supports strong (byte-by-byte) ETag validation and caches ETags for rapid responses. This provides a stronger alternative to the current weak comparison, which only guarantees semantic file equivalence. This new strong comparison is enabled by default and can be deactivated during
FileMiddleware
initialization if needed. This PR closes #2948.
streamFile
method was deprecated and replaced by an alternative returning anEventLoopFuture
- vapor’s unit tests were updated to reflect the changes
- documentation was updated to reflect the changes
New Contributor
- @linus-hologram made their first contribution in #3015 🎉
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 4.92.9...4.93.0