fix(deps): update all dependencies #10
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.60
->1.0.81
4.0.6
->7.0.3
0.5.13
->0.7.5
0.6
->0.7
1.20.1
->1.37.0
0.3.4
->0.5.2
0.1.36
->0.1.40
0.3.15
->0.3.18
1.1.2
->1.8.0
Release Notes
dtolnay/anyhow
v1.0.81
Compare Source
v1.0.80
Compare Source
v1.0.79
Compare Source
v1.0.78
Compare Source
v1.0.77
Compare Source
anyhow::Error::backtrace
available on stable Rust compilers 1.65+ (#293, thanks @LukasKalbertodt)v1.0.76
Compare Source
unsafe_op_in_unsafe_fn
lint (#329)v1.0.75
Compare Source
v1.0.74
Compare Source
v1.0.73
Compare Source
v1.0.72
Compare Source
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)v1.0.66
Compare Source
context
call (#279)v1.0.65
Compare Source
impl Provider for anyhow::Error
v1.0.64
Compare Source
#[source] anyhow::Error
with thiserror crate (#231)v1.0.63
Compare Source
v1.0.62
Compare Source
cargo
invocations with IDE builds (#261)v1.0.61
Compare Source
async-graphql/async-graphql
v7.0.3
type_name
ofEmptySubscription
fix #1435 #1475Request::set_parsed_query
method #1483NextExecute::run_with_data
method to attach context data before executionv7.0.2
#[derive(OneofObject)]
rejecting enums where the type comes from a macro subsitution #1473impl Future
instead ofasync-trait
in most traits. #1468base64
to0.21
#1466v7.0.1
Shareable
Attribute To InputObjectField #1459v7.0.0
http1
v6.0.11
v0.21.x
#1422v6.0.10
0.20.0
#14060.5.0-rc.2
to0.5.0-rc.4
v6.0.9
@composeDirective
in Federation's_service
field and document#[TypeDirective]
#1400v6.0.7
v6.0.6
v6.0.5
ValueAccessor::as_value
andListAccessor::as_values_slice
methods #13531.70.0
v6.0.4
multipart/mixed
request. #1348GraphQL
handler.GraphQL
service.v6.0.3
XXXAccessor
return reference lifetimes that are smaller than expected.OutputType
implementation forstd::sync::Weak
#1334v6.0.1
v0.21.x
#1422v6.0.0
syn
from1.0
to2.0
darling
from0.14
to0.20
indexmap
from1.6.2
to2
guard
,process_with
,complexity
support expression or string as value #1295Dataloader::get_cached_values
method to the dataloader cache so that callers can access the contents of the cache without knowing the keys. #1326Breaking Changes
Since
syn 2.0
no longer supports keywords as meta path, rename the parameter used to specify interface field types fromtype
toty
.https://github.com/dtolnay/syn/issues/1458
https://github.com/TedDriggs/darling/issues/238
location
of the macroDirective
to PascalCasev5.0.10
CursorScalar
type and exposeEdge::cursor
member #1302v5.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
CursorScalar
type and exposeEdge::cursor
member #1302v5.0.0
1.60.0
v4.0.16
CustomValidator<T>
forF: Fn(&T) -> Result<(), E: Into<String>>
validator
attribute toInputObject
macro #1072v4.0.15
SchemaBuilder::disable_suggestions
method to disable field suggestions. #1101v4.0.14
v4.0.13
bson-uuid
feature #1032no_cache
forcache_control
attribute #1051SDLExportOptions::include_specified_by
method to enablespecifiedBy
directive #1065v4.0.12
1.59.0
@specifiedBy
directive in SDL export #1041v4.0.11
override
directive on fields #1029@tag
support #1038v4.0.10
request.data(X)
being lost in the resolver #1018@shareable
directive support #1025@inaccessible
directive support #1026v4.0.9
on_connection_init
takesFnOnce
instead ofFn
#1022v4.0.8
v4.0.7
64
.tokio-rs/axum
v0.7.5
: axum - v0.7.5Compare Source
axum::serve
directly witha
Router
orMethodRouter
(#2586)h2
is no longer pulled as a dependency unless thehttp2
featureis enabled (#2605)
v0.7.4
: axum - v0.7.4Compare Source
debug_handler
on tuple response types (#2201)must_use
attribute toServe
andWithGracefulShutdown
(#2484)axum_core::body::BodyDataStream
from axumv0.7.3
: axum - v0.7.3Compare Source
Body
implementsFrom<()>
now (#2411)tracing
feature by default (#2460)serve
(#2398)RouterIntoService
implementsClone
(#2456)v0.7.2
: axum - v0.7.2Compare Source
axum::body::to_bytes
(#2373)serve
(#2400)v0.7.1
: axum - v0.7.1Compare Source
v0.7.0
: axum - v0.7.0Compare Source
WebSocketUpgrade::max_send_queue
(i.e. the
B
type param has been removed) (#1751 and #1789):FromRequestParts
FromRequest
HandlerService
HandlerWithoutStateExt
Handler
LayeredFuture
Layered
MethodRouter
Next
RequestExt
RouteFuture
Route
Router
hyper::Body
as that type is removedin hyper 1.0. Instead axum has its own body type at
axum::body::Body
(#1751)extract::BodyStream
has been removed asbody::Body
implements
Stream
andFromRequest
directly (#1751)sse::Event::json_data
to useaxum_core::Error
as its error type (#1762)DefaultOnFailedUpdgrade
toDefaultOnFailedUpgrade
(#1664)OnFailedUpdgrade
toOnFailedUpgrade
(#1664)TypedHeader
has been move toaxum-extra
(#1850)Empty
andFull
. Useaxum::body::Body::empty
andaxum::body::Body::from
respectively (#1789)IntoResponse::into_response
must useaxum::body::Body
as the body type.axum::response::Response
does this(#1789)
BoxBody
type alias and itsbox_body
constructor. Use
axum::body::Body::new
instead (#1789)RawBody
extractor.axum::body::Body
implementsFromRequest
directly (#1789)http-body
no longer implementIntoResponse
:Full
, useBody::from
insteadEmpty
, useBody::empty
insteadBoxBody
, useBody::new
insteadUnsyncBoxBody
, useBody::new
insteadMapData
, useBody::new
insteadMapErr
, useBody::new
insteadaxum::extract::Request
type alias where the body isaxum::body::Body
(#1789)Router::as_service
andRouter::into_service
to workaroundtype inference issues when calling
ServiceExt
methods on aRouter
(#1835)axum::Server
as it was removed in hyper 1.0. Insteaduse
axum::serve(listener, service)
or hyper/hyper-util for more configuration options (#1868)Router::nest
.Routers nested with
Router::nest_service
will no longer inherit fallbacks (#1956)Sec-WebSocket-Key
header inWebSocketUpgrade
(#1972)axum::extract::Query::try_from_uri
(#2058)IntoResponse
forBox<str>
andBox<[u8]>
([#2035])MethodFilter
. It no longer uses bitflags (#2073).source()
of composite rejections (#2030)#[debug_handler]
(#2014)IntoResponse
for(R,) where R: IntoResponse
(#2143)NestedPath
extractor (#1924)handle_error
function to existingServiceExt
trait (#2235)impl<T> IntoResponse(Parts) for Extension<T>
now requiresT: Clone
, as that is required by the http crate (#1882)axum::Json::from_bytes
(#2244)FromRequestParts
forhttp::request::Parts
(#2328)FromRequestParts
forhttp::Extensions
(#2328)DefaultBodyLimit
to individual routes (#2157)v0.6.20
: axum - v0.6.20Compare Source
WebSocketUpgrade::write_buffer_size
andWebSocketUpgrade::max_write_buffer_size
WebSocketUpgrade::max_send_queue
Handler
forT: IntoResponse
(#2140)v0.6.19
: axum - v0.6.19Compare Source
axum::extract::Query::try_from_uri
(#2058)IntoResponse
forBox<str>
andBox<[u8]>
(#2035).source()
of composite rejections (#2030)#[debug_handler]
(#2014)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-extra - v0.6.0Compare Source
breaking: Change casing of
ProtoBuf
toProtobuf
(#1595)breaking:
SpaRouter
has been removed. UseServeDir
andServeFile
from
tower-http
instead:See the static-file-server-example for more examples (#1784)
v0.5.17
: axum - v0.5.17Compare Source
#[track_caller]
so the errormessage points to where the user added the invalid router, rather than
somewhere internally in axum (#1248)
Multipart
extractor work withRequestBodyLimit
middleware (#1379)DefaultBodyLimit::max
for changing the default body limit (#1397)v0.5.16
: axum - v0.5.16Compare Source
Security
breaking: Added default limit to how much data
Bytes::from_request
willconsume. Previously it would attempt to consume the entire request body
without checking its length. This meant if a malicious peer sent an large (or
infinite) request body your server might run out of memory and crash.
The default limit is at 2 MB and can be disabled by adding the new
DefaultBodyLimit::disable()
middleware. See its documentation for moredetails.
This also applies to these extractors which used
Bytes::from_request
internally:
Form
Json
String
Thanks to Shachar Menashe for reporting this vulnerability.
(#1346)
v0.5.15
: axum - v0.5.15Compare Source
Note: This is a re-release of 0.5.14 that fixes an accidental breaking change.
QueryRejection
response. (#1171)v0.5.14
: axum - v0.5.14Compare Source
Yanked, as it contained an accidental breaking change.
launchbadge/sqlx
v0.7.4
Compare Source
38 pull requests were merged this release cycle.
This is officially the last release of the 0.7.x release cycle.
As of this release, development of 0.8.0 has begun on
main
and only high-priority bugfixes may be backported.Added
Changed
Fixed
v0.7.3
38 pull requests were merged this release cycle.
Added
Changed
Fixed
v0.7.2
23 pull requests were merged this release cycle.
Added
Changed
Fixed
v0.7.1
Compare Source
This release mainly addresses issues reported with the 0.7.0 release.
16 pull requests were merged this release cycle.
Added
Changed
Fixed
v0.7.0
Compare Source
At least 70 pull requests were merged this release cycle! (The exact count is muddied with pull requests for alpha
releases and such.) And we gained 43 new contributors! Thank you to everyone who helped make this release a reality.
Breaking
Many revisions were made to query analysis in the SQLite driver; these are all potentially breaking changes
as they can change the output of
sqlx::query!()
et al. We'd like to thank [[@tyrelr]] for their numerous PRs tothis area.
The MSSQL driver has been removed as it was not nearly at the same maturity level as the other drivers.
As previously announced, we have plans to introduce a fully featured replacement as a premium offering,
alongside drivers for other proprietary databases, with the goal to support full-time development on SQLx.
If interested, please email your inquiry to sqlx@launchbadge.com.
The offline mode for the queries has been changed to use a separate file per
query!()
invocation,which is intended to reduce the number of conflicts when merging branches in a project that both modified queries.
This means that CLI flag
--merged
is no longer supported. See [#2363] for details and make sure that yoursqlx-cli
version is in sync with thesqlx
version in your project.The type ascription override syntax for the query macros has been deprecated,
as parse support for it has been removed in
syn 2.0
, which we'll be upgrading to in the next breaking release.This can be replaced with type overrides using casting syntax (
as
).See [#2483] for details.
Added
Changed
Fixed
v0.6.3
Compare Source
This is a hotfix to address the breakage caused by transitive dependencies upgrading to
syn = "2"
.We set
default-features = false
for our dependency onsyn = "1"
to be good crates.io citizens,but failed to enable the features we actually used, which went undetected because we transitively depended on
syn
with the default features enabled through other crates,and so they were also on for us because features are additive.
When those other dependencies upgraded to
syn = "2"
it was no longer enabling those features for us,and so compilation broke for projects that don't also depend on
syn = "1"
, transitively or otherwise.There is no PR for this fix as there was no longer a dedicated development branch for
0.6
,but discussion can be found in issue #2418.
As of this release, the
0.7
release is in alpha and so development is no longer occurring against0.6
.This fix will be forward-ported to
0.7
.v0.6.2
Compare Source
25 pull requests were merged this release cycle.
Added
Changed
Fixed
v0.6.1
Compare Source
33 pull requests were merged this release cycle.
Added
Changed
Fixed
tokio-rs/tokio
v1.37.0
: Tokio v1.37.0Compare Source
1.37.0 (March 28th, 2024)
Added
set_max_buf_size
totokio::fs::File
(#6411)try_new
andtry_with_interest
toAsyncFd
(#6345)forget_permits
method to semaphore (#6331)is_closed
,is_empty
, andlen
to mpsc receivers (#6348)rwlock()
method to ownedRwLock
guards (#6418)Clone
forwatch::Sender
(#6388)TaskLocalFuture::take_value
(#6340)FromIterator
forJoinSet
(#6300)Changed
io::split
use a mutex instead of a spinlock (#6403)Fixed
Documented
AsyncBufReadExt::fill_buf
(#6431)AsyncReadExt
's primitive read functions (#6337)Runtime
to#[tokio::main]
(#6366)enter
example deterministic (#6351)mpsc::Sender::downgrade
with#[must_use]
(#6326)const_new
beforenew_with
(#6392)Changed (unstable)
Id
in taskdumps (#6328)unhandled_panic
is enabled when not supported (#6410)v1.36.0
: Tokio v1.36.0Compare Source
1.36.0 (February 2nd, 2024)
Added
tokio::io::Join
(#6220)AsyncWrite
forEmpty
(#6235)UnixSocket
(#6290)TcpSocket
(#6311){Receiver,UnboundedReceiver}::poll_recv_many
(#6236)Sender::{try_,}reserve_many
(#6205)watch::Receiver::mark_unchanged
(#6252)JoinSet::try_join_next
(#6280)Changed
copy
cooperative (#6265)repeat
andsink
cooperative (#6254)Documented
clear_ready
docs (#6304)*Fd
traits onTcpSocket
are unix-only (#6294)tokio::sync::Mutex
(#6279)v1.35.1
: Tokio v1.35.1Compare Source
1.35.1 (December 19, 2023)
This is a forward part of a change that was backported to 1.25.3.
Fixed
tokio::runtime::io::registration::async_io
(#6221)v1.35.0
: Tokio v1.35.0Compare Source
1.35.0 (December 8th, 2023)
Added
Changed
Sized
requirements fromAsyncReadExt.read_buf
(#6169)Runtime
unwind safe (#6189)Fixed
--cfg docsrs
work without net feature (#6166)unsync_load
on miri (#6179)Documented
AsyncWriteExt
examples (#6149)LocalSet::run_until
(#6147)v1.34.0
: Tokio v1.34.0Compare Source
Fixed
clear_readiness
after io driver shutdown (#6067)take
(#6080)broadcast::channel
link (#6100)Changed
::core
qualified imports instead of::std
insidetokio::test
macro (#5973)Added
fs::read_dir
to includeaix
(#6075)mpsc::Receiver::recv_many
(#6010)v1.33.0
: Tokio v1.33.0Compare Source
1.33.0 (October 9, 2023)
Fixed
Interest::add
with#[must_use]
(#6037)watch::Receiver::wait_for
(#6021)spawn_local
source location (#5984)Changed
watch
(#6018)Added
tokio::fs::File
(#5958)Interest::remove
method (#5906)DuplexStream
(#5985)?Sized
bound to{MutexGuard,OwnedMutexGuard}::map
(#5997)watch::Receiver::mark_unseen
(#5962, #6014, #6017)watch::Sender::new
(#5998)OnceCell::from_value
(#5903)Removed
stats
feature (#5952)Documented
Child::wait
is cancel safe (#5977)Semaphore
(#5939, #5956, #5978, #6031, #6032, #6050)broadcast
capacity is a lower bound (#6042)const_new
is not instrumented (#6002)mpsc::Sender::send
(#5947)watch
channel (#5954)Unstable
v1.32.1
: Tokio v1.32.1Compare Source
1.32.1 (December 19, 2023)
This is a forward part of a change that was backported to 1.25.3.
Fixed
tokio::runtime::io::registration::async_io
(#6221)v1.32.0
: Tokio v1.32.0Compare Source
Fixed
broadcast::Receiver
(#5925)Added
Command::raw_arg
(#5930)Unstable
v1.31.0
: Tokio v1.31.0Compare Source
Fixed
WriteHalf::poll_write_vectored
(#5914)Unstable
v1.30.0
: Tokio v1.30.0Compare Source
1.30.0 (August 9, 2023)
This release bumps the MSRV of Tokio to 1.63. (#5887)
Changed
--cfg mio_unsupported_force_poll_poll
flag (#5881)const_new
methods always available (#5885)Added
broadcast::Sender::new
(#5824)UCred
for espidf (#5868)File::options()
(#5869)Interval
(#5878){ChildStd*}::into_owned_{fd, handle}
(#5899)Removed
tokio_*
cfgs (#5890)Documented
broadcast::send
(#5820)AsyncReadExt::read_exact
(#5863)Sleep
as!Unpin
in docs (#5916)raw_arg
not showing up in docs (#5865)Unstable
v1.29.1
: Tokio v1.29.1Compare Source
Fixed
block_in_place
with ablock_on
between (#5837)v1.29.0
: Tokio v1.29.0Compare Source
Technically a breaking change, the
Send
implementation is removed fromruntime::EnterGuard
. This change fixes a bug and should not impact most users.Breaking
EnterGuard
should not beSend
(#5766)Fixed
fs::read_dir
(#5653)JoinSet
(#5693)EnterGuard
dropped incorrect order (#5772)File
(#5803)Changed
Added
broadcast::Receiver::blocking_recv
(#5690)raw_arg
method toCommand
(#5704)JoinSet::poll_join_next
(#5721)Unstable
v1.28.2
: Tokio v1.28.2Compare Source
1.28.2 (May 28, 2023)
Forward ports 1.18.6 changes.
Fixed
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.3
: Tokio v1.25.3Compare Source
1.25.3 (December 17th, 2023)
Fixed
tokio::runtime::io::registration::async_io
(#6221)v1.25.2
: Tokio v1.25.2Compare Source
1.25.2 (September 22, 2023)
Forward ports 1.20.6 changes.
Changed
memchr
fromlibc
(#5960)v1.25.1
: Tokio v1.25.1Compare Source
1.25.1 (May 28, 2023)
Forward ports 1.18.6 changes.
Fixed
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)v1.22.0
: Tokio v1.22.0Compare Source
Added
Handle::runtime_flavor
(#5138)Mutex::blocking_lock_owned
(#5130)Semaphore::MAX_PERMITS
(#5144)merge()
to semaphore permits (#4948)mpsc::WeakUnboundedSender
(#5189)Added (unstable)
Command::process_group
(#5114)task::id()
andtask::try_id()
(#5171)Fixed
LocalOwnedTasks
(#5099)mark_pending
called illegally (#5093)unsync_load
on atomic types (#5175)LocalSet
drop in thread local (#5179)CachePadded
(#5106)Changed
tokio::io::copy
continue filling the buffer when writer stalls (#5066)coop::budget
fromLocalSet::run_until
(#5155)Notify
panic safe (#5154)Documented
write_i8
to use signed integers (#5040)set_tos
methods (#5073)UdpSocket::recv
documentation (#5150)TryLockError
forRwLock::try_write
(#5160)timeout
(#5118)timeout
checks only before poll (#5126)oneshot::Receiver
in docs (#5198)Internal changes
Mutex::new
for globals (#5061)Option
aroundmio::Events
in io driver (#5078)io::handle
refs with scheduler:Handle (#5128)scheduler::Handle
(#5135)runtime::context
module (#5140)driver.rs
(#5141)runtime::context
to unify thread-locals (#5143)coop
mod intoruntime
(#5152)Runtime
into its own file (#5159)Handle::enter
(#5163)enter
intocontext
(#5167)CoreStage
methods toCore
(#5182)v1.21.2
: Tokio v1.21.2Compare Source
1.21.2 (September 27, 2022)
This release removes the dependency on the
once_cell
crate to restore the MSRV of 1.21.x, which is the latest minor version at the time of release. (#5048)v1.21.1
: Tokio v1.21.1Compare Source
1.21.1 (September 13, 2022)
Fixed
LocalSet
Drop (#4976)v1.21.0
: Tokio v1.21.0Compare Source
1.21.0 (September 2, 2022)
This release is the first release of Tokio to intentionally support WASM. The
sync,macros,io-util,rt,time
features are stabilized on WASM. Additionally the wasm32-wasi target is given unstable support for thenet
feature.Added
device
andbind_device
methods to TCP/UDP sockets (#4882)tos
andset_tos
methods to TCP and UDP sockets (#4877)ServerOptions
(#4845)mpsc::Sender::max_capacity
method (#4904)mpsc::Sender
(#4595)LocalSet::enter
(#4765)JoinSet
andAbortHandle
(#4920)track_caller
to public APIs (#4805, #4848, #4852)wasm32-wasi
target (#4716)Fixed
linked_list::Link
impls (#4841)#[must_use]
to lock guards (#4886)recv
on closed and reopened broadcast channel (#4867)Changed
File::start_seek
(#4897)poll_read
(#4840)SignalKind
methods const (#4956)Internal changes
basic_scheduler::Config
(#4935)runtime
module (#4942)Documented
AsyncSeekExt::rewind
docs (#4893)try_read()
for zero-length buffers (#4937)Builder::worker_threads
(#4849)watch::Sender::send
improved (#4959)JoinHandle
(#4901)spawn_blocking
(#4811)Interval::tick
happens immediately (#4951)Unstable
Builder::spawn_on
(#4953)task::Builder::spawn*
methods fallible (#4823)v1.20.6
: Tokio v1.20.6Compare Source
1.20.6 (September 22, 2023)
This is a backport of a change from 1.27.0.
Changed
memchr
fromlibc
(#5960)v1.20.5
: Tokio v1.20.5Compare Source
1.20.5 (May 28, 2023)
Forward ports 1.18.6 changes.
Fixed
v1.20.4
Compare Source
v1.20.3
Compare Source
v1.20.2
: Tokio v1.20.2Compare Source
1.20.2 (September 27, 2022)
This release removes the dependency on the
once_cell
crate to restore the MSRV of the 1.20.x LTS release. (#5048)tower-rs/tower-http
v0.5.2
: v0.5.2Compare Source
Added:
vary: accept-encoding
header on compressed responses (#399)x-gzip
as equivalent togzip
inaccept-encoding
request header (#467)Fixed
v0.5.1
: v0.5.1Compare Source
zstd
inServeFile
ResponseBody
andResponseFuture
(#455)HttpMakeClassifier
andGrpcMakeClassifier
(#455)Fixed
ServeDir
now no longer redirects from/directory
to/directory/
if
append_index_html_on_directories
is disabled (#421)v0.5.0
: v0.5.0Compare Source
Changed
Fixed
http-range-header to
0.4
v0.4.4
: v0.4.4Compare Source
v0.4.3
: v0.4.3Compare Source
Fixed
v0.4.2
: v0.4.2Compare Source
Added
Default
forDecompressionBody
(#370)Changed
Fixed
v0.4.1
: v0.4.1Compare Source
Added
Default
forMakeRequestUuid
(#335)Default
forServeFileSystemResponseBody
(#336)Fixed
Accept-Encoding
request header (#220)multiple_members
forGzipDecoder
(#354)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.1.40
: tracing 0.1.40Compare Source
This release fixes a potential stack use-after-free in the
Instrument::into_inner
method. Only uses of this method are affected by thisbug.
Fixed
mem::ManuallyDrop
instead ofmem::forget
inInstrument::into_inner
(#2765)
Thanks to @cramertj and @manishearth for finding and fixing this issue!
v0.1.39
: tracing 0.1.39Compare Source
This release adds several additional features to the
tracing
macros. Inaddition, it updates the
tracing-core
dependency to v0.1.32 andthe
tracing-attributes
dependency to v0.1.27.Added
ValueSet
s of any length (#2508)Changed
tracing-attributes
: updated to 0.1.27tracing-core
: updated to 0.1.32Fixed
(#2621, #2757)
clippy::let_with_type_underscore
] in macro-generatedcode ([#2609])
unknown_lints
in macro-generated code (#2626)#[instrument]
when the"log"
feature is enabled (#2599)
Documented
axum-insights
to relevant crates. (#2713)clippy-tracing
to related crates (#2628)tracing-cloudwatch
to related crates (#2667)tracing-etw
repo (#2602)v0.1.38
: tracing 0.1.38Compare Source
This
tracing
release changes theDrop
implementation forInstrumented
Future
s so that the attachedSpan
is entered when dropping theFuture
. Thismeans that events emitted by the
Future
'sDrop
implementation will now berecorded within its
Span
. It also adds#[inline]
hints to methods called inthe
event!
macro's expansion, for an improvement in both binary size andperformance.
Additionally, this release updates the
tracing-attributes
dependency tov0.1.24, which updates the [
syn
][syn] dependency to v2.x.x.tracing-attributes
v0.1.24 also includes improvements to the#[instrument]
macro; see the
tracing-attributes
0.1.24 release notes fordetails.
Added
Instrumented
futures will now enter the attachedSpan
in theirDrop
implementation, allowing events emitted when dropping the future to occur
within the span (#2562)
#[inline]
attributes for methods called by theevent!
macros, makinggenerated code smaller (#2555)
level
argument to#[instrument(err)]
and#[instrument(ret)]
to override the level ofthe generated return value event (#2335)
#[instrument]
is added to aconst fn
(#2418)
Changed
tracing-attributes
: updated to 0.1.24cfg-if
dependency (#2553)syn
][syn] dependency to 2.0 (#2516)Fixed
clippy::unreachable
warnings in#[instrument]
-generated code (#2356)syn
dependency (#2530)Documented
#[instrument(err)]
(#2433)#[instrument]
(#2350)Thanks to @nitnelave, @jsgf, @Abhicodes-crypto, @LukeMathWalker, @andrewpollack,
@quad, @klensy, @davidpdrsn, @dbidwell94, @ldm0, @NobodyXu, @ilsv, and @daxpedda
for contributing to this release!
v0.1.37
: tracing 0.1.37Compare Source
This release of
tracing
incorporates changes fromtracing-core
v0.1.30 and
tracing-attributes
v0.1.23,including the new
Subscriber::on_register_dispatch
method for performing lateinitialization after a
Subscriber
is registered as aDispatch
, and bugfixesfor the
#[instrument]
attribute. Additionally, it fixes instances of thebare_trait_objects
lint, which is now a warning ontracing
's MSRV and willbecome an error in the next edition.
Fixed
#[instrument]
edfunctions (#2307)
type errors in
#[instrument]
edasync fn
s (#2270)syn
dependency to fix compilation with-Z minimal-versions
(#2246)bare_trait_objects
warning invalueset!
macro expansion (#2308)Added
Subscriber::on_register_dispatch
method (#2269)WeakDispatch
type andDispatch::downgrade()
function (#2293)Changed
tracing-core
: updated to 0.1.30tracing-attributes
: updated to 0.1.23Documented
tracing-web
][tracing-web] and [reqwest-tracing
][reqwest-tracing] to related crates (#2283,#2331)
Thanks to new contributors @compiler-errors, @e-nomem, @WorldSEnder, @Xiami2012,
and @tl-rodrigo-gryzinski, as well as @jswrenn and @CAD97, for contributing to
this release!
uuid-rs/uuid
v1.8.0
Compare Source
⚠️ Potential Breakage ⚠️
A new
impl AsRef<Uuid> for Uuid
bound has been added, which can break inference on code like:You can fix these by explicitly typing the result of the conversion:
or by calling
as_bytes
instead:What's Changed
wasm-bindgen
as a dependency onwasm32-unknown-unknown
by @emilk in https://github.com/uuid-rs/uuid/pull/738New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.7.0...1.8.0
v1.7.0
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.6.1...1.7.0
v1.6.1
Compare Source
What's Changed
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.6.0...1.6.1
v1.6.0
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.5.0...1.6.0
v1.5.0
Compare Source
What's Changed
bytemuck
support by @John-Toohey in https://github.com/uuid-rs/uuid/pull/711New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.4.1...1.5.0
v1.4.1
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.4.0...1.4.1
v1.4.0
Compare Source
What's Changed
borsh
support by @grovesNL in https://github.com/uuid-rs/uuid/pull/686New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.3.4...1.4.0
v1.3.4
Compare Source
What's Changed
wasm32-wasi
support with tests by @acfoltzer in https://github.com/uuid-rs/uuid/pull/677New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.3.3...1.3.4
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
v1.2.2
Compare Source
What's Changed
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.2.1...1.2.2
v1.2.1
Compare Source
What's Changed
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.2.0...1.2.1
v1.2.0
Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/uuid-rs/uuid/compare/1.1.2...1.2.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.
13ee3f7529
to7613d0c3ba
7613d0c3ba
to42e4b4f0f3
42e4b4f0f3
tob9af9dc9a1
b9af9dc9a1
to9211832ae5
9211832ae5
to9ba312da0a
9ba312da0a
to3ad85705aa
3ad85705aa
to6d7b8df782
6d7b8df782
to5937884e6f
5937884e6f
to203d0834df
203d0834df
to548462712a
548462712a
to9f81a1f17b
9f81a1f17b
to70d9c08f38
70d9c08f38
to680499c8a0
680499c8a0
to8a762facf1
8a762facf1
to96700de17a
96700de17a
to18f70abeb9
18f70abeb9
to8003cc301d
8003cc301d
to197ab4051b
197ab4051b
to3d76dc590b
3d76dc590b
to17abd7e98b
17abd7e98b
tofe7512bd93
fe7512bd93
to07d3c21692
07d3c21692
to2ccefc5cfb
2ccefc5cfb
tofb07c31b26
fb07c31b26
toddce213fa5
ddce213fa5
tob43c487555
b43c487555
tob96bda3368
b96bda3368
to2ec49e888a
2ec49e888a
to685db66d10
685db66d10
to7b85031660
7b85031660
to082632c589
082632c589
todf9d6ae499
df9d6ae499
to6ec01fcddb
6ec01fcddb
tofd2fb8ded9
fd2fb8ded9
to47e10709f0
47e10709f0
to92a722f373
92a722f373
to596e66c144
596e66c144
to5f7edc12ea
5f7edc12ea
to2b18e72f26
2b18e72f26
tod02fc058a7
d02fc058a7
tofee0aa7bb7
fee0aa7bb7
to351ac9f76c
351ac9f76c
to6cdefd94d4
6cdefd94d4
to324327a53c
324327a53c
to7a81246e6b
7a81246e6b
toa65d37ef27
a65d37ef27
to6ec027b721
6ec027b721
todadf7288d5
dadf7288d5
tocb89ec4e9d
cb89ec4e9d
to3435ae24fa
3435ae24fa
to8160d136a8
8160d136a8
to019e172f2e
019e172f2e
to5bfc58b7d9
5bfc58b7d9
tod70827b685
d70827b685
to6104971cdf
6104971cdf
to5d1f9540c1
5d1f9540c1
to8e58d0110a
8e58d0110a
toc5075ae74d
c5075ae74d
to00229858ee
00229858ee
to76b75df93e
76b75df93e
to388c7ba9cc
388c7ba9cc
tobbb872b545
bbb872b545
to0396e8210c
0396e8210c
tobb63bdfe47
bb63bdfe47
toa124d8f0a7
a124d8f0a7
to2709420165
2709420165
to30d1b62d50
30d1b62d50
todf6bba8e67
df6bba8e67
to04029e2919
04029e2919
to9ec5e02e95
9ec5e02e95
to773fbc789c
773fbc789c
to986e226d1e
986e226d1e
toe168db25dd
e168db25dd
tof0ee52574e
f0ee52574e
to84b0df3faf
84b0df3faf
to1ce9537c57
1ce9537c57
toa22ff91e1d
a22ff91e1d
to930659cdbd
930659cdbd
to140d823435
140d823435
to11f31de382
11f31de382
todd37a90341
dd37a90341
to81e432ac6b
81e432ac6b
to6b71add5a5
6b71add5a5
to39a1c9df3e
39a1c9df3e
to3fe619717b
3fe619717b
to8f80652696
8f80652696
to7219fe3580
7219fe3580
toa2f1d29ace
a2f1d29ace
toe2934aed79
e2934aed79
to21cbee2820
21cbee2820
to77db616f8f
77db616f8f
to6a3e10b685
6a3e10b685
to418ed31ddf
418ed31ddf
to86b9bed24b
86b9bed24b
to2bbcd777c4
2bbcd777c4
to812835ced2
812835ced2
to4c3af0267d
4c3af0267d
to6773837055
6773837055
to726a2d8852
726a2d8852
to35eefbdeea
35eefbdeea
to799bdb6baf
799bdb6baf
tofb7a4bf40f
fb7a4bf40f
to7b24e83860
7b24e83860
to57198f7be3
57198f7be3
tod1a7b0a872
d1a7b0a872
to51c850916e
51c850916e
to94ae4d53d3