This project follows semantic versioning.
Possible log types:
[added]
for new features.[changed]
for changes in existing functionality.[deprecated]
for once-stable features removed in upcoming releases.[removed]
for deprecated features removed in this release.[fixed]
for any bug fixes.[security]
to invite users to upgrade in case of vulnerabilities.
This release raises the min supported Rust version to 1.21, due to a patch release of a transitive dependency that does not work on 1.17 anymore.
No functional changes.
This is a documentation-only update.
- [changed] Update log dependency to 0.4
- [changed] Update iron dependency to 0.6
Note that the version 0.6.0 has been skipped due to the potentially breaking iron version upgrade.
- [changed] Require at least Rust 1.17
- [added] Implement support for preflight requests (#9, thanks @DavidBM!)
- [fixed] Headers are now added to response even if handler returns an error (#4)
- [changed] Upgrade iron to 0.5, minimal version of Rust required is now 0.11
- [changed] The whitelist is now initialized with a
HashSet
instead of aVec
- [changed] Less allocations
- [added] Make it possible to accept invalid CORS requests
- [added] Add
CorsMiddleware::allow_any
constructor - [changed] Renamed
CorsMiddleware::new
constructor toCorsMiddleware::with_whitelist
- First crates.io release