Vapor: 4.93.0 Release

Release date:
April 21, 2024
Previous version:
4.92.9 (released April 21, 2024)
Magnitude:
235 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 4.93.0

linus-hologram

Directory Browser for 4.93.0

All files are compared to previous version, 4.92.9. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

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 an EventLoopFuture
  • 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: - @vzsg

This patch was released by @gwynne

Full Changelog: https://github.com/vapor/vapor/compare/4.92.9...4.93.0