1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-27 18:49:01 +02:00
Commit Graph

82 Commits

Author SHA1 Message Date
d898e9e217 dont stabilize cors 2021-04-02 11:46:03 +01:00
5624ac9bb0 prepare cors release 1.0.0-beta.1 2021-04-02 10:22:32 +01:00
c8f1d9671c add upgrade -web hints in changelogs 2021-03-22 05:24:35 +00:00
ca85f6b245 Update dependencies (Tokio 1.0) (#144) 2021-03-21 22:50:26 +00:00
91e91c4327 Prepare cors 0.5.4 release 2020-12-31 22:11:04 +09:00
cf970ee091 Fix expose_any_header setter (#143) 2020-12-31 21:13:36 +09:00
c534ef0f98 fix derive_more version spec
fixes #130
2020-11-19 00:52:49 +00:00
61778d864e ensure tinyvec is using alloc feature 2020-11-15 22:24:18 +00:00
a396c1b961 prepare cors release 0.5.1 2020-11-05 18:45:47 +00:00
0b2eff9384 Fix allow_any_header setter (#121) 2020-11-05 18:38:27 +00:00
76429602c6 prepare cors release 0.5.0 2020-10-19 23:09:42 +01:00
f20b724830 cors origin validator function receives origin as first parameter (#120) 2020-10-19 19:30:46 +01:00
6084c47810 CORS builder rework (#119) 2020-10-19 05:51:31 +01:00
c8e641d4b6 cors: hide service struct from docs (#118)
This hides `CorsMiddleware` from rustdocs, following the pattern of
the rest of `actix_web::middleware` implementations.
2020-10-17 07:01:30 +09:00
06f17ec223 Panic on wildcard in Cors builder's allowed_origin() (#114)
* Assert allowed origin in Cors builder

* Add panic test for wildcard

* Add changelog entry

* rustfmt

* Apply suggestions from code review

Co-authored-by: Rob Ede <robjtede@icloud.com>

Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-10-10 14:25:33 +01:00
d02e508731 prepare cors release 0.4.1 2020-10-07 11:32:27 +01:00
b33012999c feat(cors): allow using closures in allow_origin_fn (#110) 2020-10-07 11:29:20 +01:00
d14e188246 prepare CORS release 0.4.0 (#107) 2020-09-27 14:29:33 +01:00
f185a9c7e6 CORS: Take TryInto instead of TryFrom (#106) 2020-09-26 20:02:45 +01:00
99fe08f332 actix-cors: Create allowed_origin_fn builder method (#93)
Co-authored-by: ArmorDarks <git@lavrins.com>
2020-09-25 00:36:53 +01:00
7a26d99c1a lint and readme cleanup (#97) 2020-09-12 00:52:55 +01:00
4a546718aa prepare v3 compatible releases (#95) 2020-09-11 21:22:55 +01:00
bad5f32a68 update all packages to use actix-web v3 (#94) 2020-09-11 16:26:15 +01:00
95041b8e80 actix-cors: cosmetic and minor fixes
This rewords part of the docstrings for better readability,
and introduces additional lints. That includes ensuring that
all public types implement the Debug trait.
2020-07-06 15:55:53 +00:00
923cb7bcd2 Bump up MSRV to 1.40.0 2020-05-17 11:34:00 +09:00
405e61a603 Update actix-web dependency to 3.0.0-alpha.1 2020-03-12 05:46:58 +09:00
9a8275b455 Minimize futures-* dependencies 2020-03-12 05:43:48 +09:00
48476362a3 update changes 2019-12-20 17:59:34 +06:00
1729a52f8b prepare alpha.3 release 2019-12-07 13:00:03 +06:00
205a964d8f upgrade to tokio 0.2 2019-12-05 23:35:43 +06:00
47fab0e393 Bump derive_more crate version to 0.15.0 in actix-cors (#927) 2019-06-19 16:41:42 +06:00
cd323f2ff1 Move cors middleware to actix-cors crate 2019-06-15 09:34:16 +06:00