Skip to content

Releases: lawliet89/rocket_cors

2018-11-21: v0.4.0-rc.2

21 Nov 04:21
02c7fcf
Compare
Choose a tag to compare
Pre-release

Fix build issues with newer versions of Rust nightly.

2018-11-01: v0.4.0-rc.1

01 Nov 01:23
21444e9
Compare
Choose a tag to compare
Pre-release

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

18 Jul 05:38
Compare
Choose a tag to compare

No changes in code or features

  • Bumped minimum Rocket version
  • Bumped minimum Rust Version
  • Fixed compile errors due to Rust feature stabilisation
  • Library is now dual licensed under Apache and MIT

v0.2.3: 2018-02-14

14 Feb 08:37
Compare
Choose a tag to compare
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

14 Feb 06:25
ec04e27
Compare
Choose a tag to compare

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

06 Nov 07:33
Compare
Choose a tag to compare
  • Bumped nightly requirement to at least nightly-2017-09-26
  • serde is now gated behind a feature flag, enabled by default
  • Some small cleanup changes

v0.2.0

24 Jul 08:07
Compare
Choose a tag to compare
  • "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 the Cors in Rocket's managed state (#24)
  • Bump minimum supported Rust nightly

v0.1.4: Fix bug where Access-Control-Allow-Origin included a trailing `/`

19 Jul 08:30
Compare
Choose a tag to compare

v0.1.3

19 Jul 04:30
Compare
Choose a tag to compare
Add Convenience typedefs and functions

v0.1.2

19 Jul 01:54
Compare
Choose a tag to compare
Fix an issue where Fairing on_response will inject CORS headers into failed CORS requests

Previous versions are yanked.