Releases: lawliet89/rocket_cors
Releases · lawliet89/rocket_cors
2018-11-21: v0.4.0-rc.2
Fix build issues with newer versions of Rust nightly.
2018-11-01: v0.4.0-rc.1
Breaking Changes
The crate now requires Rocket 0.4.0-rc.1, which has some breaking changes. See Rocket's Changelog for more information.
Otherwise, there are no new features.
v0.3.0
v0.2.3: 2018-02-14
Bug Fixes - `Vary` header is now appended instead of overwriting - `Access-Control-Allow-Origin` now uses ASCII serialization of Origins instead of Unicode, which is the correct behaviour. See https://html.spec.whatwg.org/multipage/origin.html#ascii-serialisation-of-an-origin
v0.2.2: 2018-02-14
Minor Changes
- Bump Rocket to 0.3.6 and thus the minimum Rust nightly version
- Added option to configure the rank of the injected Fairing error handling route
- Small documentation improvement
v0.2.1
v0.2.0
- "Truly manual" mode is added (#22)
- Fairing's
on_response
will now log to info whenever it turns a missing OPTIONS
into a CORS preflight response (8eb782a) - Add a "catch all" OPTIONS route to automatically respond to preflight OPTIONS
check from theCors
in Rocket's managed state (#24) - Bump minimum supported Rust nightly
v0.1.4: Fix bug where Access-Control-Allow-Origin included a trailing `/`
Which broke all browsers