Update all dependencies - autoclosed #17
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/all"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.0.66
->1.0.71
0.4
->0.5
4.0.16
->5.0.9
0.5.17
->0.6.18
0.16
->0.17
0.11.3
->0.11.4
1.0.147
->1.0.163
1.0.89
->1.0.96
1.22.0
->1.28.1
0.3.4
->0.4.0
0.3
->0.4
0.3.16
->0.3.17
1.2.2
->1.3.3
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
dtolnay/anyhow
v1.0.71
Compare Source
v1.0.70
Compare Source
v1.0.69
Compare Source
v1.0.68
Compare Source
-Zrustdoc-scrape-examples
on docs.rs for nowv1.0.67
Compare Source
context()
is used on anOption
(#280)RustCrypto/password-hashes
v0.5.0
Added
Params
recommendations (#387)Changed
Argon2
andInstance
structs (#247)ParamsBuilder
to make it more ergonomic (#247)password-hash
dependency to v0.5 (#383)Params
(#386)Fixed
m_cost
andBlock
(#247)zeroize
in heapless environments (i.e. withoutalloc
) (#374)Removed
Memory
struct (#247)parallel
feature - see #380 (#247)v0.4.1
Added
argon2::RECOMMENDED_SALT_LEN
(#307)async-graphql/async-graphql
v5.0.9
v5.0.8
1.65.0
v5.0.7
v5.0.6
1.64.0
v5.0.5
v5.0.4
DynamicRequestExt::root_value
to specify the root value for the requestCustomValidator::check
returns error type fromString
toInputValueError<T>
.v5.0.3
v5.0.2
v5.0.1
v5.0.0
1.60.0
tokio-rs/axum
v0.6.18
: axum - v0.6.18Compare Source
Sec-WebSocket-Key
header inWebSocketUpgrade
(#1972)v0.6.17
: axum - v0.6.17Compare Source
CONNECT
requests (#1958)v0.6.16
: axum - v0.6.16Compare Source
MatchedPath
in fallbacks (#1934)Router
with something nested at/
was used as a fallback (#1934)Router::new().fallback(...)
isn't optimal (#1940)v0.6.15
: axum - v0.6.15Compare Source
v0.6.14
: axum - v0.6.14Compare Source
v0.6.13
: axum - v0.6.13Compare Source
axum::rejection=trace
target (#1890)Router::nest
introduced in0.6.0.
nest
now flattens the routes which performs better (#1711)MatchedPath
in nested handlers now gives the fullmatched path, including the nested path (#1711)
Deref
andDerefMut
for built-in extractors (#1922)v0.6.12
: axum - v0.6.12Compare Source
IntoResponse
forMultipartError
(#1861)v0.6.11
: axum - v0.6.11Compare Source
S: Debug
forimpl Debug for Router<S>
(#1836)v0.6.10
: axum - v0.6.10Compare Source
#[must_use]
attributes to types that do nothing unless used (#1809)TypedHeader
extractor (#1810)Router
via a dynamic library (#1806)v0.6.9
: axum - v0.6.9Compare Source
v0.6.8
: axum - v0.6.8Compare Source
Allow
missing from routers with middleware (#1773)KeepAlive::event
for customizing the event sent for SSE keep alive (#1729)v0.6.7
: axum - v0.6.7Compare Source
FormRejection::FailedToDeserializeFormBody
which is returnedif the request body couldn't be deserialized into the target type, as opposed
to
FailedToDeserializeForm
which is only for query parameters (#1683)MockConnectInfo
for settingConnectInfo
during tests (#1767)v0.6.6
: axum - v0.6.6Compare Source
MethodRouter
toRouter::fallback
(#1730)v0.6.5
: axum - v0.6.5Compare Source
#[debug_handler]
sometimes giving wrong borrow related suggestions (#1710)impl IntoResponse
as the return type from handler functions (#1736)v0.6.4
: axum - v0.6.4Compare Source
v0.6.3
: axum - v0.6.3Compare Source
IntoResponse
for&'static [u8; N]
and[u8; N]
(#1690)Path
support types usingserde::Deserializer::deserialize_any
(#1693)RawPathParams
(#1713)Clone
andService
foraxum::middleware::Next
(#1712)v0.6.2
: axum - v0.6.2Compare Source
body_text
andstatus
methods to built-in rejections (#1612)runtime
feature ofhyper
when usingtokio
(#1671)v0.6.1
: axum - v0.6.1Compare Source
Router::with_state
(#1580)v0.6.0
: axum - v0.6.0Compare Source
Routing
fixed: Nested routers are now allowed to have fallbacks (#1521):
The outer router's fallback will still apply if a nested router doesn't have
its own fallback:
breaking: The request
/foo/
no longer matches/foo/*rest
. If you wantto match
/foo/
you have to add a route specifically for that (#1086)For example:
breaking: Path params for wildcard routes no longer include the prefix
/
. e.g./foo.js
will match/*filepath
with a value offoo.js
, not/foo.js
(#1086)For example:
fixed: Routes like
/foo
and/*rest
are no longer consideredoverlapping.
/foo
will take priority (#1086)For example:
breaking: Automatic trailing slash redirects have been removed.
Previously if you added a route for
/foo
, axum would redirect calls to/foo/
to/foo
(or vice versa for/foo/
):Either explicitly add routes for
/foo
and/foo/
or useaxum_extra::routing::RouterExt::route_with_tsr
if you want the old behavior(#1119)
breaking:
Router::fallback
now only acceptsHandler
s (similarly towhat
get
,post
, etc. accept). Use the newRouter::fallback_service
forsetting any
Service
as the fallback (#1155)This fallback on 0.5:
Becomes this in 0.6
changed:
Router::nest
now only acceptsRouter
s, the general-purposeService
nesting method has been renamed tonest_service
(#1368)breaking: Allow
Error: Into<Infallible>
forRoute::{layer, route_layer}
(#924)breaking:
MethodRouter
now panics on overlapping routes (#1102)breaking:
Router::route
now only acceptsMethodRouter
s created withget
,post
, etc. Use the newRouter::route_service
for routing toany
Service
s (#1155)breaking: Adding a
.route_layer
onto aRouter
orMethodRouter
without any routes will now result in a panic. Previously, this just did
nothing. #1327
breaking:
RouterService
has been removed sinceRouter
now implementsService
when the state is()
. UseRouter::with_state
to provide thestate and get a
Router<()>
. Note thatRouterService
only existed in thepre-releases, not 0.5 (#1552)
Extractors
added: Added new type safe
State
extractor. This can be used withRouter::with_state
and gives compile errors for missing states, whereasExtension
would result in runtime errors (#1155)We recommend migrating from
Extension
toState
for sharing application state since that is more typesafe and faster. That is done by using
Router::with_state
andState
.This setup in 0.5
Becomes this in 0.6 using
State
:If you have multiple extensions, you can use fields on
AppState
and implementFromRef
:breaking: It is now only possible for one extractor per handler to consume
the request body. In 0.5 doing so would result in runtime errors but in 0.6 it
is a compile error (#1272)
axum enforces this by only allowing the last extractor to consume the
request.
For example:
This is done by reworking the
FromRequest
trait and introducing a newFromRequestParts
trait.If your extractor needs to consume the request body then you should implement
FromRequest
, otherwise implementFromRequestParts
.This extractor in 0.5:
Becomes this in 0.6:
For an example of how to write an extractor that accepts different
Content-Types
see the [parse-body-based-on-content-type
][parse-body-based-on-content-type] example.added:
FromRequest
andFromRequestParts
derive macro re-exports from[
axum-macros
][axum-macros] behind themacros
feature (#1352)added: Add
RequestExt
andRequestPartsExt
which adds conveniencemethods for running extractors to
http::Request
andhttp::request::Parts
(#1301)added:
JsonRejection
now displays the path at which a deserializationerror occurred (#1371)
added: Add
extract::RawForm
for accessing raw urlencoded query bytes or request body (#1487)fixed: Used
400 Bad Request
forFailedToDeserializeQueryString
rejections, instead of
422 Unprocessable Entity
(#1387)changed: The inner error of a
JsonRejection
is nowserde_path_to_error::Error<serde_json::Error>
. Previously it wasserde_json::Error
(#1371)changed: The default body limit now applies to the
Multipart
extractor (#1420)breaking:
ContentLengthLimit
has been removed. UseDefaultBodyLimit
instead (#1400)breaking:
RequestParts
has been removed as part of theFromRequest
rework (#1272)
breaking:
BodyAlreadyExtracted
has been removed (#1272)breaking: The following types or traits have a new
S
type paramwhich represents the state (#1155):
Router
, defaults to()
MethodRouter
, defaults to()
FromRequest
, no defaultHandler
, no defaultbreaking:
MatchedPath
can now no longer be extracted in middleware fornested routes. In previous versions it returned invalid data when extracted
from a middleware applied to a nested router.
MatchedPath
can still beextracted from handlers and middleware that aren't on nested routers (#1462)
breaking: Rename
FormRejection::FailedToDeserializeQueryString
toFormRejection::FailedToDeserializeForm
(#1496)Middleware
middleware::from_fn
functions (#1088)middleware::from_fn_with_state
to enable running extractors that requirestate (#1342)
middleware::from_extractor_with_state
(#1396)map_request
,map_request_with_state
for transforming therequest with an async function (#1408)
map_response
,map_response_with_state
for transforming theresponse with an async function (#1414)
IntoResponse
(#1152)extractor_middleware
which was previously deprecated.Use
axum::middleware::from_extractor
instead (#1077)Handler::layer
to haveInfallible
as the error type (#1152)Misc
simple-router-wasm
examplefor more details (#1382)
ServiceExt
with methods for turning anyService
into aMakeService
similarly toRouter::into_make_service
(#1302)From
impls have been added toextract::ws::Message
to be more inline with
tungstenite
(#1421)#[derive(axum::extract::FromRef)]
(#1430)accept_unmasked_frames
setting in WebSocketUpgrade (#1529)WebSocketUpgrade::on_failed_upgrade
to customize what to dowhen upgrading a connection fails (#1539)
#[track_caller]
so the errormessage points to where the user added the invalid route, rather than
somewhere internally in axum (#1248)
S: Service
, the bounds have beenrelaxed so the response type must implement
IntoResponse
rather than being aliteral
Response
tokio
default feature needed for WASM support. If youdon't need WASM support but have
default_features = false
for other reasonsyou likely need to re-enable the
tokio
feature (#1382)handler::{WithState, IntoService}
are merged into one type,named
HandlerService
(#1418)SergioBenitez/cookie-rs
v0.17.0
Compare Source
Breaking Changes
Cookie parsing no longer removes a
.
Domain
prefix.Cookie::domain()
now removes a
.
prefix before returning.As these changes are inverses, they are not likely observable. The change
only affects manually set
domain
values via the.domain()
buildermethod, the
set_domain()
setter method, or similar, which will now have aprefix of
.
removed when returned byCookie::domain()
. This results inmore consistent treatment of
Domain
values.New Features
Added
Cookie::split_parse()
andCookie::split_parse_encoded()
methods.The methods split a
;
-joined cookie string and parse/decode the splitvalues. They return a newly introduced iterator value of type
SplitCookies
over the parse results.
General Changes and Fixes
base64
was updated to0.21
.v0.16.2
Compare Source
General Changes
base64
was updated to0.20
.v0.16.1
Compare Source
Changes and Fixes
,
,(
, and)
are percent-encoded/decoded when encoding is used.aes-gcm
dependency was updated to 0.10.asomers/mockall
v0.11.4
Compare Source
Fixed
Static methods' expectations will now be cleared during a panic.
(#443)
The
checkpoint
method now works correctly even after a panic due to too manymethod calls.
(#472)
Methods with unknown size type bounds can now be mocked.
(#421)
serde-rs/serde
v1.0.163
Compare Source
v1.0.162
Compare Source
Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the
csv
crate (#2377, thanks @mfro)v1.0.161
Compare Source
v1.0.160
Compare Source
doc(hidden)
(#2426, thanks @compiler-errors)v1.0.159
Compare Source
v1.0.158
Compare Source
#[serde(crate = $serde_path)]
(#2409)v1.0.157
Compare Source
v1.0.156
Compare Source
v1.0.155
Compare Source
Serialize
andDeserialize
impls forcore::ffi::CStr
andalloc::ffi::CString
without "std" feature (#2374, thanks @safarir)v1.0.154
Compare Source
flatten
and'static
fields (#2383, thanks @Mingun)v1.0.153
Compare Source
serde(alias = "…")
attribute used inside of flattened struct (#2387, thanks @bebecue)v1.0.152
Compare Source
v1.0.151
Compare Source
serde::
{ser
,de
}::StdError
to re-exportcore::error::Error
when serde is built withfeature="std"
off andfeature="unstable"
on (#2344)v1.0.150
Compare Source
Serialize
impl ofHashMap
andBTreeMap
(#2334)Serialize
andDeserialize
impls ofstd::sync::atomic
types on more platforms (#2337, thanks @badboy)v1.0.149
Compare Source
Serialize
impl ofBinaryHeap
,BTreeSet
, andHashSet
(#2333, thanks @jonasbb)v1.0.148
Compare Source
remote
derive for generic types that have private fields (#2327)serde-rs/json
v1.0.96
Compare Source
to_writer
only writes valid UTF-8 strings (#1011, thanks @stepancheg)v1.0.95
Compare Source
v1.0.94
Compare Source
Display
andsource()
(#991, #992)v1.0.93
Compare Source
v1.0.92
Compare Source
v1.0.91
Compare Source
-Zrustdoc-scrape-examples
on docs.rs for nowv1.0.90
Compare Source
tokio-rs/tokio
v1.28.1
: Tokio v1.28.1Compare Source
1.28.1 (May 10th, 2023)
This release fixes a mistake in the build script that makes
AsFd
implementations unavailable on Rust 1.63. (#5677)v1.28.0
: Tokio v1.28.0Compare Source
1.28.0 (April 25th, 2023)
Added
AsyncFd::async_io
(#5542)recv_buf
forUdpSocket
andUnixDatagram
(#5583)OwnedSemaphorePermit::semaphore
(#5618)same_channel
to broadcast channel (#5607)watch::Receiver::wait_for
(#5611)JoinSet::spawn_blocking
andJoinSet::spawn_blocking_on
(#5612)Changed
read_to_end
not grow unnecessarily (#5610)RwLock
(#5647)Notify
(#5503)Fixed
get_peer_cred
on AIX (#5065)broadcast
with custom wakers (#5578)Documented
Semaphore::MAX_PERMITS
(#5645)tokio::sync::watch::Sender
docs (#5587)v1.27.0
: Tokio v1.27.0Compare Source
1.27.0 (March 27th, 2023)
This release bumps the MSRV of Tokio to 1.56. (#5559)
Added
async_io
helper method to sockets (#5512)AsFd
/AsHandle
/AsSocket
(#5514, #5540)UdpSocket::peek_sender()
(#5520)RwLockWriteGuard::{downgrade_map, try_downgrade_map}
(#5527)JoinHandle::abort_handle
(#5543)Changed
memchr
fromlibc
(#5558)#[tokio::main]
(#5557)Interval
returnsReady
(#5553)Fixed
ReadDir
(#5555)spawn_blocking
location fields (#5573)Wheel::poll()
(#5574)Documented
tokio::io::copy[_buf]
(#5575)ReaderStream
andStreamReader
in module docs (#5576)v1.26.0
: Tokio v1.26.0Compare Source
Fixed
join!
andtry_join!
(https://github.com/tokio-rs/tokio/pull/5504)Added
fs::try_exists
(https://github.com/tokio-rs/tokio/pull/4299)MappedOwnedMutexGuard
(https://github.com/tokio-rs/tokio/pull/5474)Changed
#[clippy::has_significant_drop]
(https://github.com/tokio-rs/tokio/pull/5422)Instant::now()
perf with test-util (https://github.com/tokio-rs/tokio/pull/5513)Internal Changes
poll_fn
incopy_bidirectional
(https://github.com/tokio-rs/tokio/pull/5486)notify_waiters
calls atomic (https://github.com/tokio-rs/tokio/pull/5458)Unstable
Documented
blocking_*
methods (https://github.com/tokio-rs/tokio/pull/5448)process::Command
docs (https://github.com/tokio-rs/tokio/pull/5413)v1.25.0
: Tokio v1.25.01.25.0 (January 28, 2023)
Fixed
Added
broadcast::Sender::len
(#5343)Changed
v1.24.1
: Tokio v1.24.1Compare Source
This release fixes a compilation failure on targets without
AtomicU64
when using rustc older than 1.63. (#5356)v1.24.0
: Tokio v1.24.0Compare Source
The highlight of this release is the reduction of lock contention for all I/O operations (#5300). We have received reports of up to a 20% improvement in CPU utilization and increased throughput for real-world I/O heavy applications.
Fixed
AtomicU64
support detection (#5284)Added
per tick (#5186)
threads per runtime instance (#4250)
Changed
read_dir()
by chunking operations (#5309)ThreadId
implementation (#5329)spawn_blocking
task is running (#5115)v1.23.1
: Tokio v1.23.1Compare Source
This release forward ports changes from 1.18.4.
Fixed
pipe mode (#5336).
v1.23.0
: Tokio v1.23.0Compare Source
Fixed
ChildStdin
(#5216)async fn ready()
false positive for OS-specific events (#5231)Changed
yield_now
defers task until after driver poll (#5223)winapi
dependency withwindows-sys
(#5204)tower-rs/tower-http
v0.4.0
: v0.4.0Compare Source
Added
RequestDecompression
middleware (#282)Default
forCompressionBody
(#323)Changed
ServeDir
andServeFile
's error types are nowInfallible
and any IO errorswill be converted into responses. Use
try_call
to generate error responses manually (BREAKING) (#283)ServeDir::fallback
andServeDir::not_found_service
now requiresthe fallback service to use
Infallible
as its error type (BREAKING) (#283)Removed
RequireAuthorization
in favor ofValidateRequest
(BREAKING) (#290)Fixed
ServeDir
, convertio::ErrorKind::NotADirectory
to404 Not Found
(#331)v0.3.5
: v0.3.5Compare Source
Added
NormalizePath
middleware (#275)ValidateRequest
middleware (#289)RequestBodyTimeout
middleware (#303)Changed
Fixed
on_response
callback (#278)*
) is passed toAllowOrigin::list
. UseAllowOrigin::any()
instead (#285)tokio-rs/tracing
v0.3.17
: tracing-subscriber 0.3.17Compare Source
This release of
tracing-subscriber
fixes a build error when usingenv-filter
with recent versions of the
regex
crate. It also introduces several minor APIimprovements.
Fixed
regex
dependency, fixing a build error with recent versions of
regex
(#2566)#2368, #2548)
Added
fmt::Display
impl forfilter::Targets
(#2343)with_ansi(false)
no longer require the "ansi" feature, so thatANSI formatting escapes can be disabled without requiring ANSI-specific
dependencies (#2532)
Changed
Compact
formatter, matching the defaultformatter (#2409)
Thanks to @keepsimple1, @andrewhalle, @LeoniePhiline, @LukeMathWalker,
@howardjohn, @daxpedda, and @dbidwell94 for contributing to this release!
uuid-rs/uuid
v1.3.3
Compare Source
What's Changed
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.3.2...1.3.3
v1.3.2
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.3.1...1.3.2
v1.3.1
Compare Source
What's Changed
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.3.0...1.3.1
v1.3.0
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.2.2...1.3.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.
699095cbe4
tod09d7cac61
Update Rust crate axum to 0.6.0to Update all dependenciesd09d7cac61
toe5a1786d2d
e5a1786d2d
tod414be743d
d414be743d
to49ed43a188
49ed43a188
to29e60f7959
29e60f7959
tob81b847869
b81b847869
toc425e86a10
c425e86a10
to1239e8cae7
1239e8cae7
to525db7e409
525db7e409
toc713908c7c
c713908c7c
to5295f72922
5295f72922
to1a2d0319cd
1a2d0319cd
to59e5745c16
59e5745c16
toe69fe21eb4
e69fe21eb4
to1f5c7b40e8
1f5c7b40e8
to191e4c62c6
191e4c62c6
toc65160cca9
c65160cca9
toe87a962ad1
e87a962ad1
to3488bb0d53
3488bb0d53
tofb0254c2bf
fb0254c2bf
tof6a4bcbcf9
f6a4bcbcf9
to7f0ae7c247
7f0ae7c247
toeba07fb579
eba07fb579
to9244eeeeaf
9244eeeeaf
to6224520108
6224520108
to1485800c6f
1485800c6f
toade2cef98b
ade2cef98b
to5b778b8863
5b778b8863
to7f57618352
7f57618352
toed03bc9261
ed03bc9261
to92d75a4cc3
92d75a4cc3
toc22bee53b7
c22bee53b7
to1e1705a0cb
1e1705a0cb
toffe7824067
ffe7824067
toc052a5a4e1
c052a5a4e1
tof0348d0c36
f0348d0c36
to64d79a5f3e
64d79a5f3e
to66677df888
66677df888
toe4881babe0
e4881babe0
tofdd21a7c32
fdd21a7c32
tof947a086a6
f947a086a6
tob0cabd60d6
b0cabd60d6
toefdd6b38da
efdd6b38da
tob7d8585905
b7d8585905
to92727c6abf
92727c6abf
toc3de315fb8
c3de315fb8
to98ea94f41d
98ea94f41d
toe0c906aac4
e0c906aac4
to4fbdbcd3ba
4fbdbcd3ba
toa93624d72d
a93624d72d
tod178d829e4
d178d829e4
to2281dad158
2281dad158
to89c7d150b8
89c7d150b8
to911a6f85c8
911a6f85c8
toca5473e73e
ca5473e73e
toe851dca5e8
e851dca5e8
toc5172bbec6
c5172bbec6
toe5f517befd
e5f517befd
toa86240a6f2
a86240a6f2
toa851c6bd4e
a851c6bd4e
to8e9e64b608
8e9e64b608
to98e416fcdd
98e416fcdd
to9607e1affa
9607e1affa
to61aff908c6
Update all dependenciesto Update all dependencies - autoclosedPull request closed