1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-01-05 14:58:44 +00:00
Commit graph

251 commits

Author SHA1 Message Date
Rob Ede
909461087c
add ContentDisposition::attachment constructor (#2867) 2022-09-13 01:19:25 +01:00
Rob Ede
40f7ab38d2
prepare actix-web release 4.2.1 2022-09-12 10:43:03 +01:00
Rob Ede
a9e44bcf07
fix -http version to 3.2.2 (#2871)
fixes #2869
2022-09-12 10:42:22 +01:00
Rob Ede
7767cf3071
prepare actix-web release 4.2.0 2022-09-11 16:44:46 +01:00
Rob Ede
b59a96d9d7
prepare actix-web-codegen release 4.1.0 2022-09-11 16:42:28 +01:00
Rob Ede
386258c285
clarify worker_max_blocking_threads default 2022-09-06 10:13:10 +01:00
Rob Ede
679f61cf37
bump msrv to 1.59 2022-08-27 13:14:16 +01:00
Rob Ede
056de320f0
fix scope doc example
fixes #2843
2022-08-25 03:17:48 +01:00
Rob Ede
ea764b1d57
add feature annotations to docs 2022-07-31 23:40:09 +01:00
Rob Ede
19aa14a9d6
re-order HttpServer methods for better docs 2022-07-31 22:10:51 +01:00
Rob Ede
10746fb2fb
improve HttpServer docs 2022-07-31 21:58:15 +01:00
Rob Ede
d78ff283af
prepare actix-test release 0.1.0 2022-07-24 02:13:46 +01:00
Rob Ede
6408291ab0
appease clippy by deriving Eq on a bunch of items (#2818) 2022-07-23 16:26:48 +01:00
Rob Ede
8d260e599f
clippy 2022-07-23 02:48:28 +01:00
Rob Ede
14bcf72ec1
web utilizes const header names 2022-07-22 20:21:58 +01:00
Rob Ede
6485434a33
update bump script 2022-07-22 20:19:15 +01:00
Rob Ede
16c7c16463
reduce scope of once_cell change 2022-07-22 20:19:02 +01:00
Expyron
9b0fdca6e9
Remove some unnecessary uses of once_cell::sync::Lazy (#2816) 2022-07-22 20:18:38 +01:00
Roland Fredenhagen
8759d79b03
routes macro allowing multiple paths per handler (#2718)
* WIP: basic implementation for `routes` macro

* chore: changelog, docs, tests

* error on missing methods

* Apply suggestions from code review

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>

* update test stderr expectation

* add additional tests

* fix stderr output

* remove useless ResourceType

this is dead code from back when .to and .to_async were different ways to add a service

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-04 04:31:49 +00:00
Rob Ede
226ea696ce
update dev deps 2022-07-01 10:19:28 +01:00
Rob Ede
06c7945801
retain previously set vary headers when using compress (#2798)
* retain previously set vary headers when using compress
2022-06-30 09:19:16 +01:00
Ulf Lilleengen
0dba6310c6
Expose option for setting TLS handshake timeout (#2752)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-06-27 02:57:21 +00:00
Rob Ede
f7d7d92984
address clippy lints 2022-06-27 03:12:36 +01:00
PeterPierinakos
8dbf7da89f
Fix common grammar mistakes and add small documentation for AppConfig's Default implementation (#2793) 2022-06-25 14:01:06 +00:00
e-rhodes
5d0e8138ee
Add getters for &ServiceRequest (#2786) 2022-06-22 21:02:03 +01:00
Yuki Okushi
6b7196225e
Bump up MSRV to 1.57 (#2789) 2022-06-22 12:08:06 +01:00
Isabel Atkinson
265fa0d050
Add link to MongoDB example in README (#2783) 2022-06-15 22:38:10 +01:00
Rob Ede
43671ae4aa
release 4.1 group (#2781) 2022-06-12 00:15:43 +09: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
Sabrina Jewson
dce57a79c9
Implement ResponseError for Infallible (#2769) 2022-05-30 20:52:48 +01:00
cui fliter
6a5b370206
fix some typos (#2744)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-04-24 22:01:20 +00:00
Rob Ede
b1c85ba85b
Add ServiceConfig::default_service (#2743)
* Add `ServiceConfig::default_service`

based on https://github.com/actix/actix-web/pull/2338

* update changelog
2022-04-23 22:11:45 +01:00
Matt Fellenz
9aab911600
Improve documentation for FromRequest::Future (#2734)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-04-23 20:57:11 +00:00
Rob Ede
017e40f733
update optional extractor impl docs 2022-04-23 21:02:24 +01:00
Rob Ede
45592b37b6
add Route::wrap (#2725)
* add `Route::wrap`

* add tests

* fix clippy

* fix doctests
2022-04-23 21:01:55 +01:00
Rob Ede
f2cacc4c9d
clear conn_data on HttpRequest drop (#2742)
* clear conn_data on HttpRequest drop

fixes #2740

* update changelog

* fix doc test
2022-04-23 13:35:41 +01:00
Rob Ede
56b9c0d08e
remove payload unwindsafe impl assert 2022-04-23 12:31:32 +01:00
Luca Palmieri
de9e41484a
Add ServiceRequest::extract (#2647)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-04-02 19:46:26 +01:00
Rob Ede
2fed978597
remove -http TestRequest doc test 2022-03-28 22:44:32 +01:00
Rob Ede
e942d3e3b1
update migration guide 2022-03-26 13:26:12 +00:00
mellowagain
09cffc093c
Bump zstd to 0.11 (#2694)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-03-22 15:30:06 +00:00
nikstur
c58f287044
Removed random superfluous whitespace (#2705) 2022-03-20 21:36:19 +00:00
Rob Ede
80d222aa78
use tracing in actix-http 2022-03-10 03:12:29 +00:00
Dylan DPC
be986d96b3
bump regex requirement to 1.5.5 due to security advisory (#2687) 2022-03-08 17:42:42 +00:00
Rob Ede
8ddb24b49b
prepare awc release 3.0.0 (#2684) 2022-03-08 16:51:40 +00:00
Rob Ede
87f627cd5d
improve servicerequest docs 2022-03-07 16:48:04 +00:00
Rob Ede
8c2fad3164
align hello-world examples 2022-03-05 23:15:33 +00:00
Rob Ede
3f03af1c59
clippy 2022-03-02 03:25:30 +00:00
Rob Ede
25c0673278
Update MIGRATION-4.0.md 2022-03-02 02:20:48 +00:00
Daze
e7a05f9892
fix(docs): TestRequest example fixed (#2643)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-03-01 00:02:08 +00:00
Rob Ede
2f13e5f675
Update MIGRATION-4.0.md 2022-02-26 17:13:42 +00:00
Rob Ede
9f964751f6
tweak migration doc 2022-02-25 21:40:23 +00:00
Rob Ede
cb379c0e0c
prepare actix-files release 0.6.0 2022-02-25 20:36:16 +00:00
Rob Ede
d4a5d450de
prepare actix-web release 4.0.1 2022-02-25 20:31:46 +00:00
Rob Ede
542200cbc2
update readme 2022-02-25 19:11:46 +00:00
Rob Ede
d0c08dbb7d
prepare releases: actix-http 3.0.0 and actix-web 4.0.0 (#2663) 2022-02-25 18:46:35 +00:00
Rob Ede
d0b5fb18d2
update migration guide on middleware 2022-02-22 17:40:38 +00:00
Rob Ede
10ef9b0751
remove useless doctest main fns 2022-02-22 12:32:06 +00:00
Rob Ede
75e6ffb057
prepare actix-router release 0.5.0 (#2658) 2022-02-22 11:38:25 +00:00
Rob Ede
ad38973767
move blocking error to web (#2660) 2022-02-22 08:45:28 +00:00
Rob Ede
a6f27baff1
flesh out Responder docs 2022-02-22 07:07:12 +00:00
Rob Ede
218e34ee17
fix http error debug impl 2022-02-22 07:07:12 +00:00
Rob Ede
11bfa84926
rename simple_service to status_service (#2659) 2022-02-22 07:06:36 +00:00
Rob Ede
5aa6f713c7
update errorhandlers migration guide 2022-02-22 06:23:01 +00:00
Rob Ede
151a15da74
prepare actix-http release 3.0.0-rc.4 2022-02-22 00:21:49 +00:00
Luca Palmieri
f940653981
Edits to the migration notes (#2654) 2022-02-19 17:05:54 +00:00
Rob Ede
b291e29882
fix links 2022-02-18 03:41:10 +00:00
Xavier Lange
f843776f36
Fix links in README (#2653) 2022-02-18 03:34:12 +00:00
Rob Ede
52f7d96358
tweak migration document 2022-02-17 19:13:03 +00:00
Rob Ede
51e573b888
prepare actix-test release 0.1.0-beta.13 2022-02-16 03:13:41 +00:00
Rob Ede
a0c4bf8d1b
prepare awc release 3.0.0-beta.21 2022-02-16 03:10:01 +00:00
Rob Ede
594e3a6ef1
prepare actix-http release 3.0.0-rc.3 2022-02-16 03:07:12 +00:00
Rob Ede
a808a26d8c
bump actix-codec to 0.5 2022-02-15 20:49:10 +00:00
Rob Ede
3486edabcf
update migrations guide re tokio v1 2022-02-15 00:54:12 +00:00
Ibraheem Ahmed
4c59a34513
Remove clone implementation for Path (#2639) 2022-02-10 10:29:00 +00:00
Rob Ede
1b706b3069
update body type migration guide 2022-02-09 16:12:39 +00:00
Rob Ede
a9f445875a
update migration guide 2022-02-09 12:31:06 +00:00
Rob Ede
e0f02c1d9e
update migration guide 2022-02-08 16:53:09 +00:00
Rob Ede
092dbba5b9
update migration guide 2022-02-08 15:24:35 +00:00
Rob Ede
3f2db9e75c
fix doc tests 2022-02-08 12:25:13 +00:00
Rob Ede
074d18209d
better document relationship with tokio 2022-02-08 10:21:47 +00:00
Rob Ede
593fbde46a
prepare actix-web release 4.0.0-rc.3 2022-02-08 09:31:48 +00:00
Rob Ede
161861997c
prepare actix-http release 3.0.0-rc.2 2022-02-08 09:31:20 +00:00
Rob Ede
3d621677a5
clippy 2022-02-08 08:00:47 +00:00
Ali MJ Al-Nasrawy
0c144054cb
make Condition generic over body type (#2635)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-02-08 07:50:05 +00:00
Rob Ede
b0fbe0dfd8
fix workers doc 2022-02-08 06:58:33 +00:00
Darin Gordon
b653bf557f
added note to v4 migration guide about worker thread update (#2634) 2022-02-07 19:04:03 +00:00
Rob Ede
1d1a65282f
RC refinements (#2625) 2022-02-04 20:37:33 +00:00
Rob Ede
b0a363a7ae
add migration note about fromrequest::configure 2022-02-04 18:48:22 +00:00
Rob Ede
b4d3c2394d
clean up migration guide 2022-02-04 18:22:38 +00:00
Rob Ede
fc5ecdc30b
fix changelog 2022-02-02 03:55:43 +00:00
Rob Ede
7fe800c3ff
prepare actix-web release 4.0.0-rc.2 2022-02-02 03:54:26 +00:00
Rob Ede
075df88a07
update 4.0 migration guide 2022-02-02 03:42:07 +00:00
Rob Ede
391d8a744a
update 4.0 migratio guide 2022-02-02 03:13:11 +00:00
Rob Ede
5b6cb681b9
update 4.0 migration guide 2022-02-02 03:09:33 +00:00
Rob Ede
0957ec40b4
split migration file 2022-02-02 02:46:37 +00:00
Rob Ede
c84c1f0f15
simplify macros feature 2022-02-01 14:39:49 +00:00
Tomáš Hromada
e9279dfbb8
Fix deprecated notice about client_shutdown (#2621) 2022-02-01 13:44:56 +00:00
Rob Ede
a68239adaa
bump zstd to 0.10 2022-02-01 13:35:32 +00:00
Rob Ede
40a4b1ccd5
add macro feature (#2619)
Co-authored-by: Ibraheem Ahmed <ibrah1440@gmail.com>
2022-02-01 02:35:05 +00:00
Rob Ede
bcdde1d4ea
move actix-web to own dir 2022-02-01 00:30:41 +00:00