2019-06-15 05:34:16 +02:00
|
|
|
# Changes
|
|
|
|
|
2020-12-31 14:11:04 +01:00
|
|
|
## Unreleased - 2021-xx-xx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 0.5.4 - 2020-12-31
|
2020-12-31 13:13:36 +01:00
|
|
|
* Fix `expose_any_header` method, now set the correct field. [#143]
|
2020-11-05 19:45:47 +01:00
|
|
|
|
2020-12-31 13:13:36 +01:00
|
|
|
[#143]: https://github.com/actix/actix-extras/pull/143
|
2020-11-05 19:45:47 +01:00
|
|
|
|
2020-12-31 14:11:04 +01:00
|
|
|
|
2020-11-19 01:52:49 +01:00
|
|
|
## 0.5.3 - 2020-11-19
|
|
|
|
* Fix version spec for `derive_more` dependency.
|
|
|
|
|
|
|
|
|
2020-11-15 23:24:18 +01:00
|
|
|
## 0.5.2 - 2020-11-15
|
|
|
|
* Ensure `tinyvec` is using the correct features.
|
|
|
|
* Bump `futures-util` minimum version to `0.3.7` to avoid `RUSTSEC-2020-0059`.
|
|
|
|
|
|
|
|
|
2020-11-05 19:45:47 +01:00
|
|
|
## 0.5.1 - 2020-11-05
|
|
|
|
* Fix `allow_any_header` method, now set the correct field. [#121]
|
|
|
|
|
|
|
|
[#121]: https://github.com/actix/actix-extras/pull/121
|
|
|
|
|
2020-10-20 00:09:42 +02:00
|
|
|
|
|
|
|
## 0.5.0 - 2020-10-19
|
|
|
|
* Disallow `*` in `Cors::allowed_origin`. [#114].
|
2020-10-19 06:51:31 +02:00
|
|
|
* Hide `CorsMiddleware` from docs. [#118].
|
|
|
|
* `CorsFactory` is removed. [#119]
|
|
|
|
* The `impl Default` constructor is now overly-restrictive. [#119]
|
|
|
|
* Added `Cors::permissive()` constructor that allows anything. [#119]
|
2020-10-19 20:30:46 +02:00
|
|
|
* Adds methods for each property to reset to a permissive state. (`allow_any_origin`,
|
|
|
|
`expose_any_header`, etc.) [#119]
|
2020-10-19 06:51:31 +02:00
|
|
|
* Errors are now propagated with `Transform::InitError` instead of panicking. [#119]
|
|
|
|
* Fixes bug where allowed origin functions are not called if `allowed_origins` is All. [#119]
|
|
|
|
* `AllOrSome` is no longer public. [#119]
|
2020-10-19 20:30:46 +02:00
|
|
|
* Functions used for `allowed_origin_fn` now receive the Origin HeaderValue as the
|
|
|
|
first parameter. [#120]
|
2020-10-10 15:25:33 +02:00
|
|
|
|
|
|
|
[#114]: https://github.com/actix/actix-extras/pull/114
|
2020-10-17 00:01:30 +02:00
|
|
|
[#118]: https://github.com/actix/actix-extras/pull/118
|
2020-10-19 06:51:31 +02:00
|
|
|
[#119]: https://github.com/actix/actix-extras/pull/119
|
2020-10-19 20:30:46 +02:00
|
|
|
[#120]: https://github.com/actix/actix-extras/pull/120
|
2020-10-07 12:32:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
## 0.4.1 - 2020-10-07
|
|
|
|
* Allow closures to be used with `allowed_origin_fn`. [#110]
|
|
|
|
|
|
|
|
[#110]: https://github.com/actix/actix-extras/pull/110
|
2020-09-27 15:29:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
## 0.4.0 - 2020-09-27
|
|
|
|
* Implement `allowed_origin_fn` builder method. [#93]
|
2020-09-26 21:02:45 +02:00
|
|
|
* Use `TryInto` instead of `TryFrom` where applicable. [#106]
|
|
|
|
|
2020-09-27 15:29:33 +02:00
|
|
|
[#93]: https://github.com/actix/actix-extras/pull/93
|
2020-09-26 21:02:45 +02:00
|
|
|
[#106]: https://github.com/actix/actix-extras/pull/106
|
2020-10-07 12:32:27 +02:00
|
|
|
|
2020-09-11 22:22:55 +02:00
|
|
|
|
|
|
|
## 0.3.0 - 2020-09-11
|
2020-09-11 17:26:15 +02:00
|
|
|
* Update `actix-web` dependency to 3.0.0.
|
2020-09-12 01:52:55 +02:00
|
|
|
* Minimum supported Rust version (MSRV) is now 1.42.0.
|
2020-07-03 18:56:46 +02:00
|
|
|
* Implement the Debug trait on all public types.
|
2020-05-17 04:34:00 +02:00
|
|
|
|
2020-09-11 22:22:55 +02:00
|
|
|
|
2020-09-11 17:26:15 +02:00
|
|
|
## 0.3.0-alpha.1 - 2020-03-11
|
2020-03-11 21:43:48 +01:00
|
|
|
* Minimize `futures-*` dependencies
|
2020-03-11 21:46:58 +01:00
|
|
|
* Update `actix-web` dependency to 3.0.0-alpha.1
|
2020-03-11 21:43:48 +01:00
|
|
|
|
2020-09-11 22:22:55 +02:00
|
|
|
|
2020-09-11 17:26:15 +02:00
|
|
|
## 0.2.0 - 2019-12-20
|
2019-12-20 12:59:34 +01:00
|
|
|
* Release
|
|
|
|
|
2020-09-11 22:22:55 +02:00
|
|
|
|
2020-09-11 17:26:15 +02:00
|
|
|
## 0.2.0-alpha.3 - 2019-12-07
|
2019-12-05 18:35:43 +01:00
|
|
|
* Migrate to actix-web 2.0.0
|
|
|
|
* Bump `derive_more` crate version to 0.99.0
|
2019-06-19 12:41:42 +02:00
|
|
|
|
2020-09-11 22:22:55 +02:00
|
|
|
|
2020-09-11 17:26:15 +02:00
|
|
|
## 0.1.0 - 2019-06-15
|
2019-06-15 05:34:16 +02:00
|
|
|
* Move cors middleware to separate crate
|