Skip to content

build(deps): bump serde-saphyr from 1.1.0 to 1.2.0 - #565

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/serde-saphyr-1.2.0
Open

build(deps): bump serde-saphyr from 1.1.0 to 1.2.0#565
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/serde-saphyr-1.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor

Bumps serde-saphyr from 1.1.0 to 1.2.0.

Release notes

Sourced from serde-saphyr's releases.

1.2.0 It's all about !!tags this time

This release focuses on enhanced tag support.

  • Implemented tag capturing (#183). Applications can use custom tags to express units, priorities, accessibility, or other application-specific semantics for a node. This is supported by new Tagged<T> wrapper that is similar to Commented<T>.
  • Unsupported tags can now be rejected rather than ignored (new option reject_unsupported_tags, #180). This aligns the behavior with ruamel.yaml that rejects tags for which it has no constructor (serde-saphyr does not construct this way) that caused discussion on prek.
  • Clearly wrongly placed tags like !!int [1] or !!map [1] are now an error.
  • Documentation was revised to make sure all examples compile (are not fragments).
Changelog

Sourced from serde-saphyr's changelog.

1.2.0 Maintenance release

Changed

  • Folded property-interpolation depth and work limits into Budget; property resource-limit failures are now reported through Error::Budget and BudgetBreach.
  • Added the opt-in Options::reject_unsupported_tags strict mode. It rejects explicitly tagged scalar, sequence, and mapping nodes when their tag is unknown to serde-saphyr; the default remains permissive for compatibility with custom tagged enums. YAML 1.1 !!merge and !!value are accepted in this mode only as the exact scalar mapping keys << and =, respectively, while robotics-only !degrees and !radians require both the robotics crate feature and angle_conversions, and !include requires both the include crate feature and a configured resolver.
  • Enforced the scalar, sequence, or mapping node kinds required by recognized tags even when reject_unsupported_tags is disabled.
  • Hardened serializer indentation handling: indent_step is now limited to 1..=64, all serializer entry points validate it, and indentation arithmetic returns an error instead of overflowing. We do not consider this breaking because values outside this range does not look sane.
  • Validated custom anchor-generator names before emission. Names must be 1–256 bytes and cannot contain whitespace, control characters, or YAML flow punctuation; unsupported names now return a serialization error.

Fixes

  • Recognized explicit YAML 1.1 !!merge keys, including verbatim tags and %TAG-expanded handles, everywhere implicit << merge keys are supported.
  • Recognized the YAML 1.1 !!value tag while intentionally treating it as a no-op annotation.
  • Accepted valid zero-indented root folded block scalars, including #-prefixed content lines.
  • Fixed externally tagged typetag trait-object deserialization by consuming the closing mapping event when a Serde map visitor returns after its final key/value pair, preventing a false "multiple YAML documents" error.
  • Rejected non-UTF-8 canonical include and root-file paths before resolver policy checks and source identity handling, preventing lossy path collisions and policy bypasses on Unix.
  • Reported alias-use locations as primary for unsupported-tag and budget failures during replay, while retaining the anchor-definition locations as secondary context.

Testing

  • Reviewed yaml test suite, made sure all 350 active IDs and all 402 active cases are represented and documented we use YAML Test Suite v2022-01-17.
  • property test with 1,024 generated cases to check the round trip.
  • added tests for typetag.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [serde-saphyr](https://github.com/bourumir-wyngs/serde-saphyr) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/bourumir-wyngs/serde-saphyr/releases)
- [Changelog](https://github.com/bourumir-wyngs/serde-saphyr/blob/master/CHANGELOG.md)
- [Commits](bourumir-wyngs/serde-saphyr@1.1.0...1.2.0)

---
updated-dependencies:
- dependency-name: serde-saphyr
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants