1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00
Commit Graph

152 Commits

Author SHA1 Message Date
asonix
2e63ff5928
actix-web: Add rustls 0.23 (#3363)
* Fix type confusion in some scenarios

When the feature for rustls 0.22 is enabled, and rustls 0.23 is also
present in a project, there suddently exist multiple paths for errors
when building middleware chains due to the use of two consecutive `?`
operators without specifying the intermediate error type.

This commit addresses the issue by removing the first `?`, so that the
first error type will always be known, and the second `?` always has a
well defined implementation.

* Add CHANGES entry about type confusion

* actix-http: add rustls 0.23 support

* actix-http: update ws example, tests for rustls 0.23

* actix-http: add rustls 0.23 to changelog

* Update comments to mention 0.23 instead of 0.22

* awc: add rustls 0.23 support

This also fixes certificate lookup when native-roots is enabled for rustls 0.22.

* awc: update changelog for rustls 0.23

* awc: Add base rustls-0_23 feature without roots to better enable custom config

* actix-test: add rustls-0.23

* actix-test: add rustls 0.23 to changelog

* awc: update changelog with rustls 0.23 tweaks

* actix-web: add rustls 0.23

* Add rustls-0_23 to CI

* Update tls_rustls.rs

* review nits

* review nits part 2

* fix doc test

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-05-18 19:05:58 +00:00
dependabot[bot]
fff45b28f4
build(deps): update brotli requirement from 3.3.3 to 6.0.0 (#3353)
* build(deps): update brotli requirement from 3.3.3 to 6.0.0

Updates the requirements on [brotli](https://github.com/dropbox/rust-brotli) to permit the latest version.
- [Release notes](https://github.com/dropbox/rust-brotli/releases)
- [Commits](https://github.com/dropbox/rust-brotli/compare/3.3.3...6.0.0)

---
updated-dependencies:
- dependency-name: brotli
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs: update changelogs

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-05-14 08:58:05 +00:00
asonix
44f502e050
awc: gate TlsConnectorService behind any feature that uses it (#3350) 2024-05-14 05:57:58 +01:00
Rob Ede
1e08ebabf9
build: bump MSRV to 1.72 2024-02-13 01:24:34 +00:00
Rob Ede
1e2ef6f92f
perf: remove unnecessary allocation when writing http dates (#3261) 2024-02-07 03:47:30 +00:00
Rob Ede
73fa1184f1
chore(awc): prepare release 3.4.0 2024-02-04 00:32:57 +00:00
Rob Ede
2125aca2c5
Rustls v0.22 support (#3275) 2024-02-03 23:55:01 +00:00
Rob Ede
17060ed993
chore(awc): prepare release 3.3.0 2023-12-23 19:18:29 +00:00
dependabot[bot]
b78f6da05f
build(deps): update zstd requirement from 0.12 to 0.13 (#3165)
* build(deps): update zstd requirement from 0.12 to 0.13

Updates the requirements on [zstd](https://github.com/gyscos/zstd-rs) to permit the latest version.
- [Release notes](https://github.com/gyscos/zstd-rs/releases)
- [Commits](https://github.com/gyscos/zstd-rs/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: zstd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update changelogs

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-10-30 01:18:45 +00:00
dependabot[bot]
d445742974
Update trust-dns-resolver requirement from 0.22 to 0.23 (#3121)
* Update trust-dns-resolver requirement from 0.22 to 0.23

Updates the requirements on [trust-dns-resolver](https://github.com/bluejekyll/trust-dns) to permit the latest version.
- [Release notes](https://github.com/bluejekyll/trust-dns/releases)
- [Changelog](https://github.com/bluejekyll/trust-dns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bluejekyll/trust-dns/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: trust-dns-resolver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fixup post-upgrade

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-09-03 04:40:41 +00:00
Rob Ede
d2c0d472e9
chore(awc): prepare release 3.2.0 2023-08-29 01:53:14 +01:00
Rob Ede
84eb8b306c
chore: remove broken links from changelogs 2023-08-29 01:14:33 +01:00
Rob Ede
384ca0a2cd
chore: remove dates from changelogs 2023-08-29 01:14:33 +01:00
Rob Ede
905c30af86
Actix Web Rustls v0.21 support (#3116) 2023-08-29 01:11:11 +01:00
Rob Ede
b4fcdffdc3
chore: update msrv to 1.68 (#3094) 2023-08-01 19:33:32 +01:00
Rob Ede
241da6e081
update MSRV to 1.65 (#3059) 2023-07-02 01:09:15 +01:00
Rob Ede
115701eb86
prepare awc release 3.1.1 2023-02-26 03:34:47 +00:00
Rob Ede
e2fed91efd
format markdown with prettier 2023-02-26 03:26:51 +00:00
Joel Wurtz
bf1f169be2
[awc] change client::Connect to be public (#2690) 2023-02-09 09:32:04 +00:00
Rob Ede
8d4cb8c69a
prepare awc release 3.1.0 2023-01-21 18:54:58 +00:00
Rob Ede
679f61cf37
bump msrv to 1.59 2022-08-27 13:14:16 +01:00
Rob Ede
f220719fae
prepare awc release 3.0.1 2022-08-25 03:13:31 +01:00
liushuyu
c9f91796df
awc: correctly handle redirections that begins with // (#2840) 2022-08-25 03:12:58 +01:00
Yuki Okushi
6b7196225e
Bump up MSRV to 1.57 (#2789) 2022-06-22 12:08:06 +01:00
Rob Ede
2253eae2bb
update msrv to 1.56 (#2777)
* update msrv to 1.56

* remove transitive dashmap dependency

closes #2747
2022-06-11 04:03:26 +01:00
Rob Ede
8ddb24b49b
prepare awc release 3.0.0 (#2684) 2022-03-08 16:51:40 +00:00
Rob Ede
a0c4bf8d1b
prepare awc release 3.0.0-beta.21 2022-02-16 03:10:01 +00:00
Rob Ede
102720d398
prepare awc release 3.0.0-beta.20 2022-01-31 22:32:09 +00:00
Rob Ede
6e9f5fba24
prepare awc release 3.0.0-beta.19 2022-01-21 20:25:46 +00:00
Rob Ede
bcc8d5c441
prepare actix-multipart release 0.4.0-beta.12 2022-01-04 15:36:56 +00:00
Rob Ede
f659098d21
prepare awc release 3.0.0-beta.18 2022-01-04 15:35:21 +00:00
Rob Ede
6df4974234
prepare awc release 3.0.0-beta.17 2021-12-29 10:17:28 +00:00
Rob Ede
542c92c9a7
tweak changelogs 2021-12-29 10:06:36 +00:00
Luca Palmieri
74738c63a7
Upgrade time dependency (via cookie) (#2555) 2021-12-29 10:03:25 +00:00
Rob Ede
798e9911e9
prepare awc release 3.0.0-beta.16 2021-12-29 07:07:46 +00:00
Rob Ede
96a4dc9dec
use modern signatures for awc send_* and header methods (#2553) 2021-12-28 03:22:22 +00:00
Rob Ede
76684a786e
update server dep to rc2 (#2550) 2021-12-27 18:45:31 +00:00
Rob Ede
d2590fd46c
ClientRequest::send_body takes impl MessageBody (#2546) 2021-12-25 02:33:37 +00:00
Rob Ede
de20d21703
use dash hyphenation in markdown 2021-12-22 08:21:30 +00:00
Rob Ede
212c6926f9
Revert "use dash hyphenation in changelogs"
This reverts commit 1ea619f2a1.
2021-12-22 08:18:44 +00:00
Rob Ede
1ea619f2a1
use dash hyphenation in changelogs 2021-12-22 08:17:35 +00:00
Rob Ede
fb036264cc
only build SslConnectorBuilder once (#2503) 2021-12-18 16:44:30 +00:00
Rob Ede
8340b63b7b
prepare awc release 3.0.0-beta.14 2021-12-17 20:59:59 +00:00
Rob Ede
11ee8ec3ab
align remaining header map terminology (#2510) 2021-12-13 16:08:08 +00:00
Rob Ede
e1cdabe5cb
prepare awc release 3.0.0-beta.13 2021-12-11 00:28:38 +00:00
Rob Ede
e045418038
prepare for actix-tls rc.1 (#2474) 2021-11-30 14:12:04 +00:00
Rob Ede
bcbbc115aa
fix awc changelog 2021-11-23 15:12:55 +00:00
Rob Ede
99e6a9c26d
prepare awc release 3.0.0-beta.11 2021-11-22 18:41:43 +00:00
Rob Ede
e8a0e16863
run tarpaulin on workspace 2021-11-15 18:11:51 +00:00
Rob Ede
a2f59c02f7
bump actix-server to beta 9 (#2442) 2021-11-15 04:03:33 +00:00