chore(deps): update rust crate serde-saphyr to v2 #2413
Open
renovate
wants to merge 1 commit from
renovate/serde-saphyr-2.x into main
pull from: renovate/serde-saphyr-2.x
merge into: continuwuation:main
continuwuation:main
continuwuation:renovate/github-actions-non-major
continuwuation:renovate/ruma-digest
continuwuation:renovate/crate-tokio-vulnerability
continuwuation:renovate/sentry-rust-monorepo
continuwuation:renovate/tower-sec-fetch-0.x
continuwuation:renovate/parking_lot-0.x
continuwuation:renovate/p256-0.x
continuwuation:renovate/lock_api-0.x
continuwuation:nex/fix/gapfill-pdu-format
continuwuation:aranje/illegal-car-mods
continuwuation:nex/feat/intuitive-extremity-tracking
continuwuation:nex/feat/lockfree-event-builder
continuwuation:nex/fix/local-event-current-state
continuwuation:ginger/client-credentials
continuwuation:jade/deadlocks
continuwuation:nex/feat/notary-server
continuwuation:nex/feat/admin-api
continuwuation:nex/refactor/ruma-state-res
continuwuation:jade/mass-rename
continuwuation:nex/feat/msc-fed-bidi-ping
continuwuation:nex/feat/centralise-remote-memberships
continuwuation:morgan/arm64-runner
continuwuation:renovate/argon2-0.x
continuwuation:next/meta/disable-ci-build-cache
continuwuation:fix/26.7.3
continuwuation:1235-add-arm-deb
continuwuation:nex/meta/release-schedule
continuwuation:nex/feat/pdu-versions
continuwuation:ginger/revert-direct-tls
continuwuation:nex/fix/federated-invite-revoke
continuwuation:nex/fix/plunger
continuwuation:jade/perf/gme-rebased
continuwuation:nex/perf/get-missing-events2
continuwuation:nex/backport/v0.5.11
continuwuation:nex/backport/v0.5.10-backport
continuwuation:nex/feat/msc4491-invite-reasons-in-room-creation
continuwuation:nex/feat/deprecated-room-versions
continuwuation:release/v0.5.9
continuwuation:nex/feat/enable-debug-log-release-builds
continuwuation:nex/feat/room-purging
continuwuation:nex/feat/room-shutdown
continuwuation:ginger/ruma-upstreaming
continuwuation:jade/tls-backends
continuwuation:ginger/email-fixes
continuwuation:jade/changelog-labels
continuwuation:nex/fix/v12-publishing
continuwuation:jade/build-info
continuwuation:jade/purge-sync-tokens
continuwuation:ginger/terms-and-conditions
continuwuation:ginger/remove-sliding-sync-proxy
continuwuation:nex/fix/pusher-association
continuwuation:ginger/email-support
continuwuation:jade/community-guidelines
continuwuation:nex/fix/federation-format
continuwuation:jade/git-deps-updates
continuwuation:jade/changelog-check
continuwuation:jade/rust-1-92
continuwuation:ginger/password-reset
continuwuation:nex/experiment/push-gateway-logs
continuwuation:ginger/msc3575-obliteration
continuwuation:nex/feat/block-busted-rooms
continuwuation:nex/fix/informative-startup-errs
continuwuation:ginger/no-left-room-initial-sync
continuwuation:jade/docker-entrypoint
continuwuation:jade/dehydrated-devices
continuwuation:ginger/complement-fixes
continuwuation:nex/fix/stale-destination-cache
continuwuation:nex/experiment/sync-mutex
continuwuation:tcpipuk/docker-docs
continuwuation:jade/snafu
continuwuation:jade/rand-update
continuwuation:nex/stateres-refactor
continuwuation:ginger/779-in-troubleshooting
continuwuation:jade/liveit-guide
continuwuation:jade/http3
continuwuation:nex/feat/admin-hide-empty-rooms
continuwuation:ginger/oobe
continuwuation:nex/fix/debian-thingy
continuwuation:jade/ldap-admin-check
continuwuation:nex/fix/remote-restricted-joins
continuwuation:nex/feat/msc4406-sender-ignored
continuwuation:jade/deadlock-detection
continuwuation:jade/get-started
continuwuation:jade/docs-guide
continuwuation:ginger/fix-local-invites
continuwuation:nex/fix/tpi
continuwuation:nex/feat/room-deletion
continuwuation:nex/feat/msc4322-media-redaction
continuwuation:ginger/stitched-order
continuwuation:ginger/deps/update-rspress
continuwuation:jade/admin-announce-improvements
continuwuation:ginger/xtask-improvements
continuwuation:jade/improve-admin-config-display
continuwuation:nex/fix/better-stateres-error-logs
continuwuation:jade/sender-timeouts
continuwuation:nex/feat/custom-v12-room-ids
continuwuation:ginger/update-metadata
continuwuation:nex/feat/admin-force-logout
continuwuation:tom/max-perf-docs
continuwuation:nex/fix/invalid-appservice-reg
continuwuation:nex/feat/antispam
continuwuation:nex/feat/account-locking
continuwuation:jade/logging-cleanup
continuwuation:jade/remove-legacy-appservice-auth
continuwuation:nex/fix/key-query
continuwuation:jade/update-prek
continuwuation:nex/fix/room-summaries
continuwuation:ginger/restrict-admin-commands
continuwuation:ginger/enable-console-by-default
continuwuation:jade/tag-fixes
continuwuation:jade/otlp
continuwuation:nex/meta/pull-req-template
continuwuation:nex/fix/fed-invite-compliance
continuwuation:nex/feat/build-commit
continuwuation:nex/feat/join-logging
continuwuation:jade/mailmap-updates
continuwuation:jade/hack-ci-tmp
continuwuation:jade/v12-stable
continuwuation:jade/relations
continuwuation:ginger/database-refactor
continuwuation:jade/fix-ldap-uiaa
continuwuation:nex/fix/validation
continuwuation:ginger/nuke-invalid-msc4133-fields-in-migration
continuwuation:ginger/downgrade-artifact-actions
continuwuation:oddlid/reload-fix
continuwuation:jade/fix-assert
continuwuation:ginger/sync-v3-cleanup
continuwuation:ginger/remove-absolute-action-urls
continuwuation:jade/website
continuwuation:nex/fix/backoff
continuwuation:ginger/fix-mdbook-for-0.5
continuwuation:ginger/no-docker-on-prs
continuwuation:backport/v0.5.0-rc.8-1
continuwuation:nex/fed-improvements
continuwuation:jade/rust-1.90
continuwuation:jade/mirror-dockerhub
continuwuation:jade/clippy-fixes
continuwuation:jade/fix-support
continuwuation:jade/clean-images
continuwuation:jade/wal-compression-type
continuwuation:jade/flake-clone
continuwuation:ginger/upload-rpms-on-schedule
continuwuation:nex/fix/incoming-fetch
continuwuation:nex/fix/upgrade
continuwuation:tom/ci-fedora-rpm
continuwuation:jade/ci-release-fix
continuwuation:jade/rocksdb-10-5
continuwuation:ginger/fix-msc4133-migration
continuwuation:ginger/migrate-busted-tz
continuwuation:hydra/public
continuwuation:nex/feat/manual-extremities
continuwuation:nex/feat/async-media
continuwuation:nex/feat/fast-joins-hack-do-not-use-DO-NOT-USE
continuwuation:nex/feat/better-logging
continuwuation:trigger-ci-so-latest-isnt-on-illegal-car-mods
continuwuation:nex/feat/pins-backfill
continuwuation:jade/tuwunel-2025-06-old
continuwuation:jade/ai-slop-db-docs
continuwuation:nex/fix-create-auth
continuwuation:jade/version-stats
continuwuation:jade/read-receipts
continuwuation:jade/rust-toolchain-no-targets
continuwuation:jade/logging-features
continuwuation:jade/syncv5-typing
continuwuation:jade/msc2815
continuwuation:morguldir/see-eye
continuwuation:jade/css-small-screen
continuwuation:nex/wip-751
continuwuation:tuwunel-rebase
continuwuation:test
continuwuation:oddlid/rename-admin-room-bot
continuwuation:strawberry/nix-ci-stuff
continuwuation:strawberry/valgrind
continuwuation:phonemain
continuwuation:strawberry/morgs-snake-sync-jason-main
continuwuation:newer-media-endpoints
continuwuation:folly-coroutines-async-io
continuwuation:federation-retry-timer-port
continuwuation:bad-attempt-at-extracting-homeserver-signing-key
continuwuation:room-deletion-attempt-do-not-use
No reviewers
Labels
Clear labels
Abandoned
This pull request appears to be abandoned by its author.
Blocked
This pull request or issue is currently blocked from being merged/closed
Bug
Something isn't working as intended
Changelog
Added
Changelog entry added
Changelog
Missing
No changelog when one is needed
Changelog
None
Changelog is unnecesary for this change
Cherry-picking
Commits picked from other conduit projects
Database
This requires or includes changes to the database
Dependencies
Something dependency related
Dependencies/Renovate
Automatic dependency upgrades by Renovate
Difficulty
Easy
Low difficulty to implement - touches few parts of the codebase, low complexity
Difficulty
Hard
High difficulty to implement - touches many parts of the codebase, high complexity
Difficulty
Medium
Medium difficulty to implement - touches more parts of the codebase, higher complexity
Documentation
Improvements or additions to documentation
Enhancement
New feature or request
Good first issue
Good for newcomers
Help wanted
Additional eyes and keyboards are required for this one
Inherited
Issues that have been inhereted from the project pre-fork
Matrix/Administration
Features pertaining to homeserver administration
Matrix/Appservices
Features pertaining to the appservice API
Matrix/Auth
Features pertaining to authentication
Matrix/Client
Features pertaining to client-to-server interactions
Matrix/Core
Issues relating to core matrix functionality, such as state resolution and PDU formats
Matrix/E2EE
Issues related to end to end encryption
Matrix/Federation
Features pertaining to server-to-server interactions
Matrix/Hydra
Issues related to room version 12 and related changes (temporary label)
Matrix/MSC
Features pertaining to unstable matrix features
Matrix/Media
Features pertaining to media interactions
Matrix/T&S
Changes or issues related to trust & safety tooling
Merge
This PR is ready to be merged
Merge/Manual
This PR should be manually merged
Merge/Squash
This PR should be squashed when it is merged
Meta
Related to housekeeping, maintenance, or other repo-meta.
Meta/CI
Issues related to CI changes
Meta/Packaging
Packaging
Priority
Blocking
This issue is blocking the next release
Priority
High
This issue is very important
Priority
Low
This issue is of a rather low priority
Security
This item is related to general security
Status
Confirmed
This issue has enough information and is confirmed
Status
Duplicate
This issue or pull request already exists
Status
Invalid
This issue doesn't seem right
Status
Needs Investigation
This issue needs further investigation
Support
Questions or support requests
bob the builder
pdu logic rewrite starring nexus nicholson
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
continuwuation/continuwuity!2413
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/serde-saphyr-2.x"
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.0→2.0.0Release Notes
bourumir-wyngs/serde-saphyr (serde-saphyr)
v2.0.0Compare Source
YAML changes
discarding them (#236). Use a bare variant name, a tag with empty content, or a
tag followed by
~ornull; quoted strings and collections are rejected.Added
path_map::PathKind,PathKey::segments(), andPathMap::locations_for()for inspecting validation paths and resolving their YAML use/definition locations,
including best-effort spelling matches and recorded ancestor/root fallback.
RenderOptions::line_offsetandRenderOptions::source_namefor displayingembedded YAML diagnostics at their containing document's line numbers and naming
the root source in snippet headers, including the new
miette::to_miette_report_with_optionsentry point. Included files retain their ownnames and coordinates, and stored error locations and spans are unchanged.
PropertySyntax::DockerComposefor Compose-compatible property interpolation.commentsfeature, forwarding to granit-parser's matchingfeature. Builds with
default-features = falsemust enable it to useCommented<T>,CommentPosition, comment options, or comment budget fields and reports. Without it,YAML comments are still accepted and validated, but their text is not retained.
Options::non_finite_float_policywithNonFiniteFloatPolicy::{PassThrough, Reject, AsString}to configure non-finite floats delivered through
deserialize_any. Explicit policies overridethe legacy boolean; leaving the field unconfigured preserves its behavior.
borrowed_contextexample showing recursiveSerializeadapters that borrowan existing value tree and per-call formatting context, composing with
Tagged<T>andstyle wrappers without building a second container tree or using thread-local state.
SerializerOptions::no_lang_directive(defaultfalse) to suppress the%YAML 1.2directive and its leading---marker independently ofyaml_12's quoting.from_str_multiple,from_bytes_multiple, and their_with_optionsvariants todeserialize multiple YAML documents into any
C: Default + Extend<T>, including vectors,queues, sets, and custom accumulators. Values can borrow from the input string or UTF-8 byte
slice. Explicit type arguments specify both the document and collection types, for example
from_str_multiple::<String, Vec<_>>(input).error: Box<Error>field toError::AliasError, which keeps the original errorwhen an aliased value fails to deserialize. A custom
MessageFormatterorLocalizernow applies to that error, and
std::error::Error::sourcereturns it(#199).
Changed
from_multiple,from_multiple_with_options,from_slice_multiple, andfrom_slice_multiple_with_optionsnow acceptT: Deserialize<'de>so values can borrow fromthe input. They retain their names, single type parameter, and
Vec<T>returns and are notdeprecated. Ordinary calls, including
from_multiple::<Config>(input)and generic callerswith
T: DeserializeOwned, continue to work. Function pointers or callbacks accepting arbitraryinput lifetimes may need forwarding closures, such as
|input| from_multiple::<String>(input).serde-saphyr's
commentsfeature. Serialization-only builds remain independent ofgranit-parser, including when comment emission is enabled.
deserialize_any, including overflowingliterals such as
1e999. Opt intoPassThroughto preserve them in float-capable visitors,untagged enums, and flattened float fields, or
AsStringto receive canonical strings.With
PassThrough,serde_json::Valueconverts them toNullwithout an error.Direct
f32/f64deserialization is unchanged.Error::AliasErrorhas a new mandatoryerror: Box<Error>field.Manual constructors must supply it, and patterns listing every field must add
erroror...The variant name is unchanged. Rendering and
source()use the original error; thedeserializer still populates
msgwith anerror.to_string()snapshot for existing handlers.Deprecated
Options::reject_non_finite_typeless_floatin favor ofnon_finite_float_policy.When the new field is unconfigured, the boolean retains its original behavior:
true(the default) rejects and
falseconverts to strings. UseRejectorAsString, respectively,when migrating. Explicit policies override the boolean. Serialized options that omit both
fields retain the 1.3.0 behavior of converting non-finite floats to strings;
Options::default()continues to reject them.msgfield ofError::AliasErrorin favor of its structurederrorfield.Existing
Error::AliasError { msg, .. }patterns still work with a deprecation warning.Fixed
~,null,Null, andNULL.Other capitalization such as
NulLremains a string instead of being rejected, convertedto an empty value, or skipped as a document (#234).
LastWinsvalues and inline merges no longer produce alias errors when noalias was used. Replay preserves per-node origins, including genuine nested aliases,
ordinary value locations, and merge use-sites for
Spanned<T>.strict_booleans: truenow recognizes only the six YAML 1.2 Core boolean spellings.Other capitalization such as
tRuEremains a string during inference, is acceptedas unquoted text with
no_schema, and is rejected for boolean targets.(used at line X, column Y).The new
Localizer::alias_used_athook controls this suffix independently of failure anddefinition locations. Custom localizers that previously used
attach_locationto formator suppress alias-use coordinates should override
alias_used_atas well.include context. Validation messages honor external-message overrides, and multi-document
summaries honor custom message formatters. English defaults are unchanged.
Custom
Localizerimplementations migrating from 1.x must also overrideanchor_defined_hereto translate the alias anchor-definition label.(defined)or(defined here), including errors in included YAML files.Error::SerdeInvalidLengthwith separatelen,expected, andlocationfields, allowing custom formatters to inspect them.Default diagnostic wording is preserved (#205, item 6).
Localizer::root_path_labelin plain, snippet, andmiettediagnostics (#205, item 5c).characters inside each issue. Built-in formatters use the new optional
MessageFormatter::format_validation_issue_lineshook; existing custom whole-messageoverrides retain their behavior (#205, item 5a).
outer anchor location while exposing the original error directly through
error,source(),and the legacy
msgfield (#205, item 1).including fields outside the anchor's snippet window. Plain messages, snippets, and
miettereports include the distinct failing location; equal locations are not repeated.
MessageFormatter, includingformatters that delegate other variants to the built-in formatter. Plain messages report
the alias definition and use locations once through the active
Localizer; snippet andmiettediagnostics use location labels without embedding plain-text location suffixes.Custom location formatting and suppression now apply throughout aliased values
(#199).
std::error::Error::sourceexposes the inner error for bothError::AliasErrorandError::WithSnippet, preserving the source chain through the default snippet wrapper.huge_documentsandserde_derived_typesenabledeserialize, fixing isolated featurebuilds with
--no-default-features, including autopkgtests of Debian team (as observed).Documentation
serde_yamlmigration caveat for null values inStringfields,including when to use
Option<String>, quoted strings, or!!str(#229).
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
547172534e221fd41bbeView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.