Frank Elsinga
695369f02f
feat: added PartialEq to Cors ( #486 )
...
* added PartialEq to Cors
* added a changelog entry
* re-ran rustfmt
* removed a subtle bug in the new testcase
* removed a not so subtle bug in the new testcase
* ci: rm public-api-diff job
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-01-13 23:22:00 +00:00
Rob Ede
c62b271d9a
chore(actix-cors): prepare release 0.7.0
2024-01-06 21:13:26 +00:00
Rob Ede
0c859a96c8
docs(cors): use cargo-rdme
2024-01-06 21:02:36 +00:00
Rob Ede
d55fc6d7f5
fix!(cors): default block_on_origin_mismatch to false ( #379 )
2024-01-06 20:40:44 +00:00
Rob Ede
e2bf504055
feat(session): use real async traits ( #365 )
2024-01-04 04:10:46 +00:00
Rob Ede
b694c9317a
mark Cors builder as must_use
2024-01-04 03:42:10 +00:00
Rob Ede
4f76943423
chore(actix-cors): prepare release 0.6.5
2023-12-06 17:09:20 -05:00
yhx-12243
2f30fd71a9
fix(cors): The item in "Vary" header should be "Access-Control-Request-Private-Network". ( #369 )
...
* fix(cors): vary should be "Access-Control-Request-Private-Network"
* docs(cors): update the changelog
2023-12-06 13:52:22 +00:00
Rob Ede
aaedb9c625
MSRV 1.68 ( #328 )
2023-09-16 00:30:38 +01:00
Rob Ede
8a31f3020e
revert local-network change
...
see https://github.com/actix/actix-extras/pull/320#issuecomment-1501189129
2023-04-09 19:56:43 +01:00
Rob Ede
111d95eaea
rename private-network-access feature ( #320 )
...
* update CI with concurrency options
* cors: rename private-network => local-network
* modernize CI
* clippy
* run api diff job on all features
2023-04-09 19:35:30 +01:00
Rob Ede
8a9c604c03
update msrv to 1.60
...
promted by prost 0.11.8
2023-03-22 21:13:56 +00:00
Rob Ede
6848312467
prettier markdown changelogs
2023-01-07 01:02:02 +00:00
Rob Ede
1ac325ab79
fix cors changelog
2022-10-30 16:28:21 +00:00
Rob Ede
b95ce3a210
prepare actix-cors release 0.6.4
2022-10-30 16:25:52 +00:00
Rob Ede
ac444ca798
add support for private network access cors header ( #297 )
...
closes #294
2022-10-28 23:44:21 +01:00
Rob Ede
a2c5cbd637
fix cors changelog
2022-09-22 00:25:48 +01:00
Rob Ede
e6ef190510
prepare actix-cors release 0.6.3
2022-09-22 00:24:38 +01:00
CapableWeb
3b5682c860
Add block_on_origin_mismatch option to middleware ( #287 )
...
Co-authored-by: CapableWeb <capableweb@domain.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-09-21 23:22:20 +00:00
Rob Ede
7d932cd540
bump msrv to 1.59
2022-08-28 20:30:32 +01:00
Rob Ede
bad6159516
prepare actix-cors release 0.6.2
2022-08-07 20:57:09 +01:00
Rob Ede
7c3c9357e0
fix expose all headers ( #273 )
...
* fix expose all headers
* update changelog
2022-08-07 20:56:33 +01:00
Yuki Okushi
3c48e00e7a
Bump up MSRV to 1.57 ( #256 )
2022-06-22 20:42:46 +09:00
Rob Ede
a086d30db2
prepare actix-cors release 0.6.1
2022-03-07 21:04:36 +00:00
Rob Ede
b748e7e3a7
conditionally add vary header to errors
2022-03-07 16:52:25 +00:00
Rob Ede
6fbe2eab94
allow OPTIONS requests without request-method header ( #226 )
2022-03-07 15:32:07 +00:00
Rob Ede
3959c55c47
prepare actix-cors release 0.6.0
2022-02-25 23:11:28 +00:00
Rob Ede
73a5ae98b6
update actix-web dependency to 4.0
2022-02-25 23:05:11 +00:00
Rob Ede
cf0630b54d
prepare actix-cors release 0.6.0-beta.10
2022-02-07 17:50:39 +00:00
Rob Ede
695800c9bd
add vary header to all handled responses ( #224 )
2022-02-07 16:34:01 +00:00
Rob Ede
f870074354
prepare actix-cors release 0.6.0-beta.9
2022-02-07 02:31:21 +00:00
Rob Ede
ab3615b8d5
relax body bounds ( #223 )
2022-02-07 02:30:26 +00:00
Rob Ede
323d01fcca
bump actix-web to 4.0.0-rc.1
2022-02-03 22:33:47 +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
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
ddb74e6de0
prepare actix-cors release 0.6.0-beta.4
2021-11-22 23:19:10 +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
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
d898e9e217
dont stabilize cors
2021-04-02 11:46:03 +01:00