1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00
Commit Graph

97 Commits

Author SHA1 Message Date
Rob Ede
323d01fcca
bump actix-web to 4.0.0-rc.1 2022-02-03 22:33:47 +00:00
Rob Ede
dbc82001c0
address dep vuln warnings 2022-02-03 22:12:03 +00:00
Rob Ede
1fec026dc7
fix cors tests 2022-01-01 23:07:27 +00:00
Rob Ede
6d6b045b3a
add access-control-request-* headers to vary response header 2022-01-01 23:05:29 +00:00
Rob Ede
422a264787
prepare actix-cors release 0.6.0-beta.8 2021-12-29 10:25:04 +00:00
Rob Ede
92c9601850
bump msrv to 1.54 2021-12-29 09:42:31 +00:00
Rob Ede
6ca36b5d53
fixup changelogs 2021-12-29 09:36:12 +00:00
Luca Palmieri
14a622092d
Update to actix-web beta.17 (#217) 2021-12-29 09:25:52 +00:00
Rob Ede
6676a50944
actix-web beta 15 updates (#216) 2021-12-18 03:37:23 +00:00
Rob Ede
c047cd5653
mark cors v0.6.0-beta.5 as yanked 2021-12-13 03:03:19 +00:00
Rob Ede
fad4426388
revert cors example 2021-12-13 02:50:22 +00:00
Rob Ede
0805f2b1c6
stop cloning request across service call (#213) 2021-12-13 02:49:27 +00:00
Rob Ede
8fa073586e
prepare actix-cors release 0.6.0-beta.5 2021-12-12 19:11:36 +00:00
Rob Ede
74ec115161
migrate to actix-web beta 14 (#209) 2021-12-11 16:05:21 +00:00
Rob Ede
56051786a6
standardize future types to ones from actix_utils 2021-12-08 07:29:12 +00:00
Rob Ede
ec66754c0d
standardize crate level lints 2021-12-08 06:11:13 +00:00
Rob Ede
ddb74e6de0
prepare actix-cors release 0.6.0-beta.4 2021-11-22 23:19:10 +00:00
Rob Ede
13f8dcb717
update to aw beta 9 2021-11-22 23:11:58 +00:00
Rob Ede
45643d4035
fix cors expose_any_header behavior (#204) 2021-10-21 15:47:56 +01:00
Chiu-Hsiang Hsu
545873b5b2
update actix-web dependencies to v4 beta.10 (#203)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-21 14:10:00 +01:00
Rob Ede
627fe96be0
bump msrv to 1.52.1 2021-10-19 01:49:39 +01:00
Ali MJ Al-Nasrawy
50621bae71
cors: make middleware generic over body type (#195) 2021-09-13 11:00:58 +01:00
Rob Ede
e10937103e
fmt with new width 2021-08-30 23:27:44 +01:00
Rob Ede
c6f579790f
bump msrv to 1.51 2021-08-30 23:10:36 +01:00
Rob Ede
44c7b07ce2
prepare second beta round (#189) 2021-06-27 07:28:26 +01:00
Rob Ede
20ef05c36e
fix doctest ci (#188) 2021-06-27 07:02:38 +01:00
Rob Ede
d898e9e217
dont stabilize cors 2021-04-02 11:46:03 +01:00
Rob Ede
d0f0fb474b
fixup other cargo manifests 2021-04-02 11:44:18 +01:00
Rob Ede
5624ac9bb0
prepare cors release 1.0.0-beta.1 2021-04-02 10:22:32 +01:00
Rob Ede
c8f1d9671c
add upgrade -web hints in changelogs 2021-03-22 05:24:35 +00:00
Rob Ede
2254a429d4
use forward_ready for service definitions 2021-03-22 05:18:59 +00:00
Andrey Kutejko
ca85f6b245
Update dependencies (Tokio 1.0) (#144) 2021-03-21 22:50:26 +00:00
Rob Ede
5a72dd33d5
session, redis, and httpauth pre-v4 releases (#162) 2021-03-21 09:38:29 +00:00
Daniel T. Rodrigues
ba248a681b
update example links (#159) 2021-02-28 19:29:54 +00:00
Rob Ede
d77c908567
update Cors::allow_origin_fn docs 2021-01-03 22:35:52 +00:00
Yuki Okushi
91e91c4327 Prepare cors 0.5.4 release 2020-12-31 22:11:04 +09:00
Julian Tescher
cf970ee091
Fix expose_any_header setter (#143) 2020-12-31 21:13:36 +09:00
Rob Ede
c534ef0f98
fix derive_more version spec
fixes #130
2020-11-19 00:52:49 +00:00
Rob Ede
61778d864e
ensure tinyvec is using alloc feature 2020-11-15 22:24:18 +00:00
Rob Ede
a396c1b961
prepare cors release 0.5.1 2020-11-05 18:45:47 +00:00
Guarabot
0b2eff9384
Fix allow_any_header setter (#121) 2020-11-05 18:38:27 +00:00
Rob Ede
76429602c6
prepare cors release 0.5.0 2020-10-19 23:09:42 +01:00
Rob Ede
f20b724830
cors origin validator function receives origin as first parameter (#120) 2020-10-19 19:30:46 +01:00
Rob Ede
6084c47810
CORS builder rework (#119) 2020-10-19 05:51:31 +01:00
Luca Bruno
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
eupn
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
Rob Ede
134e43ab5e
split up cors lib and fix doc links (#113)
* split up cors lib and fix doc links

* clippy
2020-10-08 11:50:56 +01:00
Rob Ede
16db1b6808
bump cors version 2020-10-07 11:34:49 +01:00
Rob Ede
d02e508731
prepare cors release 0.4.1 2020-10-07 11:32:27 +01:00
Roman Lakhtadyr
b33012999c
feat(cors): allow using closures in allow_origin_fn (#110) 2020-10-07 11:29:20 +01:00