chore(deps) Update Tauri CLI (dev) #8226
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.6.20
->0.7.4
0.21.5
->0.22.0
4.4
->4.5
2.0
->2.1
0.10.0
->0.11.2
5.0
->5.1
0.11
->0.12
0.20
->0.22
0.20
->0.22
0.20
->0.22
0.20
->0.22
0.5
->0.6
0.4.20
->0.4.21
2.14
->2.16
2.14
->2.16
1.10.2
->1.10.3
0.36.0
->0.40.0
2.9.1
->2.9.6
2.4
->2.5
1.6
->1.7
Release Notes
tokio-rs/axum (axum)
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)marshallpierce/rust-base64 (base64)
v0.22.0
Compare Source
DecodeSliceError::OutputSliceTooSmall
is now conservative rather than precise. That is, the error will only occur if the decoded output cannot fit, meaning thatEngine::decode_slice
can now be used with exactly-sized output slices. As part of this,Engine::internal_decode
now returnsDecodeSliceError
instead ofDecodeError
, but that is not expected to affect any external callers.DecodeError::InvalidLength
now refers specifically to the number of valid symbols being invalid (i.e.len % 4 == 1
), rather than just the number of input bytes. This avoids confusing scenarios when based on interpretation you could make a case for eitherInvalidLength
orInvalidByte
being appropriate.rust-cli/env_logger (env_logger)
v0.11.2
Compare Source
v0.11.1
Compare Source
Fixes
Target::Pipe
v0.11.0
Compare Source
Migration Guide
env_logger::fmt::Style:
The bespoke styling API, behind
color
, was removed, in favor of accepting anyANSI styled string and adapting it to the target stream's capabilities.
Possible styling libraries include:
env_logger::fmt::style
custom_format.rs
uses
anstyle
viaFormatter::default_level_style
Breaking Change
env_logger::fmt::Formatter::style
env_logger::fmt::Formatter::default_styled_level
env_logger::fmt::Style
env_logger::fmt::Color
env_logger::fmt::StyledValue
env_logger::filter
in favor ofenv_filter
Compatibility
MSRV changed to 1.71
Features
NO_COLOR
andCLICOLOR_FORCE
, see https://bixense.com/clicolors/Fixes
is_test(true)
rust-itertools/itertools (itertools)
v0.12.1
Compare Source
Added
Itertools::[tuple_]combinations
(#822)iterate
(#842)Clone
andDebug
forDiff
(#845)Debug
forWithPosition
(#859)Eq
forMinMaxResult
(#838)From<EitherOrBoth<A, B>>
forOption<Either<A, B>>
(#843)PeekingNext
forRepeatN
(#855)Changed
CoalesceBy
lazy (#801)Filter[Map]Ok::next
,Itertools::partition
,Unique[By]::next[_back]
(#818)Itertools::find_position
(#837)Positions::next[_back]
(#816)ZipLongest::fold
(#854)Debug
bounds forGroupingMapBy
(#860)ExactlyOneError::fold
(#826)Interleave[Shortest]::fold
(#849)MultiPeek::fold
(#820)PadUsing::[r]fold
(#825)PeekNth::fold
(#824)Positions::[r]fold
(#813)PutBackN::fold
(#823)RepeatN::[r]fold
(#821)TakeWhileInclusive::fold
(#851)ZipLongest::rfold
(#848)Notable Internal Changes
clippy
in CI (#740)rustdoc
in CI (#840)v0.12.0
Compare Source
Breaking
take_while_inclusive
consume iterator by value (#709)Clone
bound toUnique
(#777)Added
Itertools::try_len
(#723)sort_unstable
(#796)GroupMap::fold_with
(#778, #785)PeekNth::{peek_mut, peek_nth_mut}
(#716)PeekNth::{next_if, next_if_eq}
(#734)(Option<A>,Option<B>)
toEitherOrBoth
(#713)Either<A, B>
toEitherOrBoth<A, B>
(#715)ExactSizeIterator
forTuples
(#761)ExactSizeIterator
for(Circular)TupleWindows
(#752)EitherOrBoth<T>
a shorthand forEitherOrBoth<T, T>
(#719)Changed
#[must_use]
annotations on iterator adaptors (#794)Combinations
lazy (#795)Intersperse(With)
lazy (#797)Permutations
lazy (#793)Product
lazy (#800)TupleWindows
lazy (#602)Combinations::{count, size_hint}
(#729)CombinationsWithReplacement::{count, size_hint}
(#737)Powerset::fold
(#765)Powerset::count
(#735)TupleCombinations::{count, size_hint}
(#763)TupleCombinations::fold
(#775)WhileSome::fold
(#780)WithPosition::fold
(#772)ZipLongest::fold
(#774){min, max}_set*
operations requirealloc
feature, instead ofstd
(#760)tree_fold1
(#787)permutations
(#724)multiunzip
(#770)Notable Internal Changes
Permutations
(#739, #748, #790)Merge
/MergeBy
/MergeJoinBy
implementations (#736)Permutations::size_hint
(#739)rustfmt
in CI (#751)cargo hack
to check MSRV (#754)paritytech/jsonrpsee (jsonrpsee)
v0.22.1
Compare Source
This is a small patch release that internally changes
AtomicU64
toAtomicUsize
to support more targets.
[Fixed]
AtomicU64
toAtomicUsize
(#1293)v0.22.0
Compare Source
Another breaking release where a new
ResponsePayload
type is introduced in orderto make it possible to determine whether a response has been processed.
Unfortunately, the
IntoResponse trait
was modified to enable thatand some minor changes were made to make more fields private to avoid further
breakage.
Example of the async
ResponsePayload API
Roadmap
We are getting closer to releasing jsonrpsee v1.0 and
the following work is planned:
Thanks to the external contributor @dan-starkware who contributed to this release.
[Added]
TowerService::on_session_close
(#1284)Response
has been processed. (#1281)[Changed]
v0.21.0
Compare Source
This release contains big changes and let's go over the main ones:
JSON-RPC specific middleware
After getting plenty of feedback regarding a JSON-RPC specific middleware,
this release introduces a composable "tower-like" middleware that applies per JSON-RPC method call.
The new middleware also replaces the old
RpcLogger
which may break some use-cases, such as ifJSON-RPC was made on a WebSocket or HTTP transport, but it's possible to implement that by
using
jsonrpsee as a tower service
orthe low-level server API
.An example how write such middleware:
jsonrpsee server as a tower service
For users who want to get full control of the HTTP request, it's now possible to utilize jsonrpsee as a tower service
example here
jsonrpsee server low-level API
For users who want to get low-level access and for example to disconnect
misbehaving peers that is now possible as well example here
Logging in the server
Logging of RPC calls has been disabled by default,
but it's possible to enable that with the RPC logger middleware or provide
your own middleware for that.
WebSocket ping/pong API
The WebSocket ping/pong APIs have been refactored to be able
to disconnect inactive connections both by from the server and client-side.
Thanks to the external contributors @oleonardolima
and @venugopv who contributed to this release.
[Changed]
tcp_nodelay == true
by default ([#1263])(https://github.com/paritytech/jsonrpsee/pull/1263)[Added]
disconnect_reason
API (#1246)service
andlow-level API for more fine-grained API to disconnect peers etc
(#1224)HostFilterLayer::disable
(#1213)[Fixed]
RazrFalcon/resvg (resvg)
v0.40.0
Compare Source
Added
usvg::Tree
isSend + Sync
compatible now.usvg::WriteOptions::preserve_text
to control howusvg
generates an SVG.usvg::Image::abs_bounding_box
Changed
usvg
are immutable now. Meaning thatusvg::Tree
cannot be modifiedafter creation anymore.
usvg
are private now. Use getters instead.usvg::Tree
parsing methods require thefontdb
argument now.defs
children like gradients, patterns, clipPaths, masks and filters are guaranteeto have a unique, non-empty ID.
defs
children like gradients, patterns, clipPaths, masks and filters are guaranteeto have
userSpaceOnUse
units now. NoobjectBoundingBox
units anymore.usvg::Mask
is allowed to have no children now.text
build feature isn't enabled.usvg::Tree::clip_paths
,usvg::Tree::masks
,usvg::Tree::filters
returnsa pre-collected slice of unique nodes now.
It's no longer a closure and you do not have to deduplicate nodes by yourself.
usvg::filter::Primitive::x
,y
,width
andheight
methods were replacedwith
usvg::filter::Primitive::rect
.usvg::Tree::paint_servers
intousvg::Tree::linear_gradients
,usvg::Tree::radial_gradients
,usvg::Tree::patterns
.All three returns pre-collected slices now.
usvg::Path
no longer can have an invalid bbox. Paths with an invalid bbox will berejected during parsing.
usvg
methods that return bounding boxes return non-optionalRect
now.No
NonZeroRect
as well.usvg::Text::flattened
returns&Group
and notOption<&Group>
now.usvg::ImageHrefDataResolverFn
andusvg::ImageHrefStringResolverFn
require
fontdb::Database
argument.Arc
and notRc<RefCell>
now.resvg::render_node
now includes filters bounding box. Meaning that a node with a blur filterno longer be clipped.
usvg::utils::view_box_to_transform
withusvg::ViewBox::to_transform
.usvg::XmlOptions
intousvg::WriteOptions
and embedxmlwriter::Options
.Removed
usvg::Tree::postprocess()
andusvg::PostProcessingSteps
. No longer needed.usvg::ClipPath::units()
,usvg::Mask::units()
,usvg::Mask::content_units()
,usvg::Filter::units()
,usvg::Filter::content_units()
,usvg::LinearGradient::units()
,usvg::RadialGradient::units()
,usvg::Pattern::units()
,usvg::Pattern::content_units()
and
usvg::Paint::units()
. They are alwaysuserSpaceOnUse
now.usvg::Units
. No longer needed.Fixed
Previously, only paths and images were included.
image
aspect ratio when onlywidth
orheight
are present.Thanks to @LaurenzV.
v0.39.0
Compare Source
Added
font
shorthand parsing.Thanks to @LaurenzV.
usvg::Group::abs_bounding_box
usvg::Group::abs_stroke_bounding_box
usvg::Path::abs_bounding_box
usvg::Path::abs_stroke_bounding_box
usvg::Text::abs_bounding_box
usvg::Text::abs_stroke_bounding_box
Changed
usvg-*
crates merged into one. There is just theusvg
crate now, as before.Removed
usvg::Group::abs_bounding_box()
method. It's a field now.usvg::Group::abs_filters_bounding_box()
usvg::TreeParsing
,usvg::TreePostProc
andusvg::TreeWriting
traits.They are no longer needed.
Fixed
font-family
parsing.Thanks to @LaurenzV.
v0.38.0
Compare Source
Added
usvg::Node
stores its absolute transform now.Node::abs_transform()
executes in constant time now.usvg::Tree::calculate_bounding_boxes
to calculate all bounding boxes beforehand.usvg::Node::bounding_box
which returns a precalculated node's bounding box in object coordinates.usvg::Node::abs_bounding_box
which returns a precalculated node's bounding box in canvas coordinates.usvg::Node::stroke_bounding_box
which returns a precalculated node's bounding box,including stroke, in object coordinates.
usvg::Node::abs_stroke_bounding_box
which returns a precalculated node's bounding box,including stroke, in canvas coordinates.
resvg_get_node_stroke_bbox
usvg::Node::filters_bounding_box
usvg::Node::abs_filters_bounding_box
usvg::Tree::postprocess
Changed
resvg
rendersusvg::Tree
directly again.resvg::Tree
is gone.usvg
no longer usesrctree
for the nodes tree implementation.The tree is a regular
enum
now.*node.borrow()
.Rc<RefCell>
access.itself is not mutable. Because
Rc<RefCell>
provides a shared mutable access.Rc<RefCell<T>>
instead ofRc<T>
.This is required for proper mutability since
Node
itself is no longer anRc
.usvg::NodeKind
intousvg::Node
.Removed
resvg::Tree
. No longer needed.resvg
can renderusvg::Tree
directly once again.rctree::Node
methods. TheNode
API is completely different now.usvg::NodeExt
. No longer needed.usvg::Node::calculate_bbox
. Useusvg::Node::abs_bounding_box
instead.usvg::Tree::convert_text
. Useusvg::Tree::postprocess
instead.usvg::TreeTextToPath
trait. No longer needed.Fixed
mask-type
as a presentation attribute.feImage
rendering with a non-default position.Thanks to @LaurenzV.
v0.37.0
Compare Source
Added
usvg
can write text back to SVG now.Thanks to @LaurenzV.
--preserve-text
flag to theusvg
CLI tool.Thanks to @LaurenzV.
transform-origin
property.
Thanks to @LaurenzV.
paint-order
.Previously, only fill and stroke could have been swapped.
Thanks to @LaurenzV.
usvg_tree::Text::flattened
that will contain a flattened/outlined text.usvg_tree::Text::bounding_box
. Will be set only after text flattening.usvg_tree::NodeExt::abs_transform
by storing absolute transforms in the treeinstead of calculating them each time.
Changed
usvg_tree::Text::positions
was replaced withusvg_tree::Text::dx
andusvg_tree::Text::dy
.usvg_tree::CharacterPosition::x
andusvg_tree::CharacterPosition::y
are gone.They were redundant and you should use
usvg_tree::TextChunk::x
and
usvg_tree::TextChunk::y
instead.usvg_tree::LinearGradient::id
andusvg_tree::RadialGradient::id
are moved tousvg_tree::BaseGradient::id
.clipPath
sand
filter
s could have generated IDs, but it wasn't very reliable and mostly unnecessary.Renderer doesn't rely on them and usvg writer would generate them anyway.
usvg_text_layout::Tree::convert_text
no longer replacesoriginal text elements with paths, but instead puts them into
usvg_tree::Text::flattened
.Removed
transform
field fromusvg_tree::Path
,usvg_tree::Image
andusvg_tree::Text
.Only
usvg_tree::Group
can have it.It doesn't break anything, because those properties were never used before anyway.
Thanks to @LaurenzV.
usvg_tree::CharacterPosition
usvg_tree::Path::text_bbox
. Useusvg_tree::Text::bounding_box
instead.usvg_text_layout::TextToPath
trait forText
nodes.Only the whole tree can be converted at once.
Fixed
Was broken since v0.34
Image
node.Thanks to @LaurenzV.
text-decoration
resolving in some cases.Thanks to @LaurenzV.
Thanks to @LaurenzV.
Configuration
📅 Schedule: Branch creation - "after 3am on Wednesday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, 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 Mend Renovate. View repository job log here.