Changelog History
Page 7
-
v1.0.2 Changes
June 17, 2019๐ Changed
๐ Move cors middleware to
actix-cors
crate.๐ Move identity middleware to
actix-identity
crate.
-
v1.0.1 Changes
June 17, 2019โ Added
โ Add support for PathConfig #903
โ Add
middleware::identity::RequestIdentity
trait toget_identity
fromHttpMessage
.
๐ Changed
๐ Move cors middleware to
actix-cors
crate.๐ Move identity middleware to
actix-identity
crate.0๏ธโฃ Disable default feature
secure-cookies
.๐ Allow to test an app that uses async actors #897
Re-apply patch from #637 #894
๐ Fixed
- HttpRequest::url_for is broken with nested scopes #915
-
v1.0.0 Changes
June 05, 2019โ Added
โ Add
Scope::configure()
method.โ Add
ServiceRequest::set_payload()
method.โ Add
test::TestRequest::set_json()
convenience method to automatically serialize data and set header in test requests.โ Add macros for head, options, trace, connect and patch http methods
๐ Changed
- โฌ๏ธ Drop an unnecessary
Option<_>
indirection aroundServerBuilder
fromHttpServer
. #863
๐ Fixed
๐ Fix Logger request time format, and use rfc3339. #867
Clear http requests pool on app service drop #860
-
v1.0.0-rc Changes
May 18, 2019โ Added
- โ Add
Query<T>::from_query()
to extract parameters from a query string. #846 QueryConfig
, similar toJsonConfig
for customizing error handling of query extractors.
๐ Changed
- ๐
JsonConfig
is nowSend + Sync
, this implies thaterror_handler
must beSend + Sync
too.
๐ Fixed
- Codegen with parameters in the path only resolves the first registered endpoint #841
- โ Add
-
v1.0.0-beta.4 Changes
May 12, 2019โ Added
- ๐ Allow to set/override app data on scope level
๐ Changed
- ๐ง
App::configure
take anFnOnce
instead ofFn
- โฌ๏ธ Upgrade actix-net crates
-
v1.0.0-beta.3 Changes
May 04, 2019โ Added
- โ Add helper function for executing futures
test::block_fn()
๐ Changed
๐ง Extractor configuration could be registered with
App::data()
or withResource::data()
#775๐ Route data is unified with app data,
Route::data()
moved to resource level toResource::data()
CORS handling without headers #702
๐ Allow to construct
Data
instances to avoid doubleArc
forSend + Sync
types.
๐ Fixed
- ๐ Fix
NormalizePath
middleware impl #806
โ Deleted
App::data_factory()
is deleted.
- โ Add helper function for executing futures
-
v1.0.0-beta.2 Changes
April 24, 2019โ Added
โ Add raw services support via
web::service()
โ Add helper functions for reading response body
test::read_body()
โ Add support for
remainder match
(i.e "/path/{tail}*")Extend
Responder
trait, allow to override status code and headers.Store visit and login timestamp in the identity cookie #502
๐ Changed
.to_async()
handler can returnResponder
type #792
๐ Fixed
- ๐ Fix async web::Data factory handling
-
v1.0.0-beta.1 Changes
April 20, 2019โ Added
โ Add helper functions for reading test response body,
test::read_response()
and test::read_response_json()`โ Add
.peer_addr()
#744โ Add
NormalizePath
middleware
๐ Changed
๐ Rename
RouterConfig
toServiceConfig
โ Rename
test::call_success
totest::call_service
โ Removed
ServiceRequest::from_parts()
as it is unsafe to create from parts.CookieIdentityPolicy::max_age()
accepts value in seconds
๐ Fixed
- ๐ Fixed
TestRequest::app_data()
-
v1.0.0-alpha.6 Changes
April 14, 2019๐ Changed
๐ Allow to use any service as default service.
โ Remove generic type for request payload, always use default.
โ Removed
Decompress
middleware. Bytes, String, Json, Form extractors automatically decompress payload.๐ Make extractor config type explicit. Add
FromRequest::Config
associated type.
-
v1.0.0-alpha.5 Changes
April 12, 2019โ Added
- โ Added async io
TestBuffer
for testing.
โ Deleted
- โ Removed native-tls support
- โ Added async io