1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 15:51:06 +01:00
actix-extras/actix-cors/CHANGES.md

146 lines
4.0 KiB
Markdown
Raw Normal View History

# Changes
2020-12-31 14:11:04 +01:00
## Unreleased - 2021-xx-xx
2022-02-26 00:05:11 +01:00
- Update `actix-web` dependency to 4.0.
- Ensure that preflight responses contain a `Vary` header. [#224]
[#224]: https://github.com/actix/actix-extras/pull/224
## 0.6.0-beta.10 - 2022-02-07
- Ensure that preflight responses contain a Vary header. [#224]
[#224]: https://github.com/actix/actix-extras/pull/224
## 0.6.0-beta.9 - 2022-02-07
2022-02-07 03:30:26 +01:00
- Relax body type bounds on middleware impl. [#223]
2022-02-03 23:33:47 +01:00
- Update `actix-web` dependency to `4.0.0-rc.1`.
2022-02-07 03:30:26 +01:00
[#223]: https://github.com/actix/actix-extras/pull/223
## 0.6.0-beta.8 - 2021-12-29
2021-12-29 10:42:31 +01:00
- Minimum supported Rust version (MSRV) is now 1.54.
2021-12-18 04:37:23 +01:00
## 0.6.0-beta.7 - 2021-12-18
2022-02-03 23:33:47 +01:00
- Update `actix-web` dependency to `4.0.0-beta.15`. [#216]
2021-12-18 04:37:23 +01:00
[#216]: https://github.com/actix/actix-extras/pull/216
## 0.6.0-beta.6 - 2021-12-13
2021-12-29 10:36:12 +01:00
- Fix panic when wrapping routes with dynamic segments in their paths. [#213]
[#213]: https://github.com/actix/actix-extras/pull/213
2021-12-13 04:03:19 +01:00
## 0.6.0-beta.5 - 2021-12-12 _(YANKED)_
2021-12-29 10:36:12 +01:00
- Update `actix-web` dependency to `4.0.0.beta-14`. [#209]
2021-12-11 17:05:21 +01:00
[#209]: https://github.com/actix/actix-extras/pull/209
## 0.6.0-beta.4 - 2021-11-22
2021-12-29 10:36:12 +01:00
- No significant changes since `0.6.0-beta.3`.
## 0.6.0-beta.3 - 2021-10-21
2021-12-29 10:36:12 +01:00
- Make `Cors` middleware generic over body type [#195]
- Fix `expose_any_header` behavior. [#204]
- Update `actix-web` dependency to v4.0.0-beta.10. [#203]
- Minimum supported Rust version (MSRV) is now 1.52.
2021-04-02 11:22:32 +02:00
[#195]: https://github.com/actix/actix-extras/pull/195
[#203]: https://github.com/actix/actix-extras/pull/203
[#204]: https://github.com/actix/actix-extras/pull/204
2021-04-02 11:22:32 +02:00
2021-06-27 08:28:26 +02:00
## 0.6.0-beta.2 - 2021-06-27
2021-12-29 10:36:12 +01:00
- No notable changes.
2021-06-27 08:28:26 +02:00
2021-04-02 12:46:03 +02:00
## 0.6.0-beta.1 - 2021-04-02
2021-12-29 10:36:12 +01:00
- Update `actix-web` dependency to 4.0.0 beta.
- Minimum supported Rust version (MSRV) is now 1.46.0.
2020-12-31 14:11:04 +01:00
## 0.5.4 - 2020-12-31
2021-12-29 10:36:12 +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
## 0.5.3 - 2020-11-19
2021-12-29 10:36:12 +01:00
- Fix version spec for `derive_more` dependency.
2020-11-15 23:24:18 +01:00
## 0.5.2 - 2020-11-15
2021-12-29 10:36:12 +01:00
- Ensure `tinyvec` is using the correct features.
- Bump `futures-util` minimum version to `0.3.7` to avoid `RUSTSEC-2020-0059`.
2020-11-15 23:24:18 +01:00
2020-11-05 19:45:47 +01:00
## 0.5.1 - 2020-11-05
2021-12-29 10:36:12 +01:00
- Fix `allow_any_header` method, now set the correct field. [#121]
2020-11-05 19:45:47 +01:00
[#121]: https://github.com/actix/actix-extras/pull/121
2020-10-20 00:09:42 +02:00
## 0.5.0 - 2020-10-19
2021-12-29 10:36:12 +01:00
- Disallow `*` in `Cors::allowed_origin`. [#114].
- 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]
- Adds methods for each property to reset to a permissive state. (`allow_any_origin`,
`expose_any_header`, etc.) [#119]
2021-12-29 10:36:12 +01: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]
- Functions used for `allowed_origin_fn` now receive the Origin HeaderValue as the
first parameter. [#120]
[#114]: https://github.com/actix/actix-extras/pull/114
[#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
[#120]: https://github.com/actix/actix-extras/pull/120
2020-10-07 12:32:27 +02:00
## 0.4.1 - 2020-10-07
2021-12-29 10:36:12 +01:00
- Allow closures to be used with `allowed_origin_fn`. [#110]
2020-10-07 12:32:27 +02:00
[#110]: https://github.com/actix/actix-extras/pull/110
2020-09-27 15:29:33 +02:00
## 0.4.0 - 2020-09-27
2021-12-29 10:36:12 +01:00
- Implement `allowed_origin_fn` builder method. [#93]
- 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
[#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
2021-12-29 10:36:12 +01:00
- Update `actix-web` dependency to 3.0.0.
- Minimum supported Rust version (MSRV) is now 1.42.0.
- Implement the Debug trait on all public types.
2020-05-17 04:34:00 +02:00
2020-09-11 22:22:55 +02:00
## 0.3.0-alpha.1 - 2020-03-11
2021-12-29 10:36:12 +01:00
- Minimize `futures-*` dependencies
- 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
## 0.2.0 - 2019-12-20
2021-12-29 10:36:12 +01:00
- Release
2019-12-20 12:59:34 +01:00
2020-09-11 22:22:55 +02:00
## 0.2.0-alpha.3 - 2019-12-07
2021-12-29 10:36:12 +01:00
- Migrate to actix-web 2.0.0
- Bump `derive_more` crate version to 0.99.0
2020-09-11 22:22:55 +02:00
## 0.1.0 - 2019-06-15
2021-12-29 10:36:12 +01:00
- Move cors middleware to separate crate