Skip to content

Bump serde-saphyr from 2.1.1 to 2.2.0 - #85

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

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/serde-saphyr-2.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 22, 2026

Copy link
Copy Markdown
Contributor

Bumps serde-saphyr from 2.1.1 to 2.2.0.

Release notes

Sourced from serde-saphyr's releases.

2.2.0 Compatiblity release

This release includes non-breaking changes accumulated while preparing for 3.0.0, which will include breaking changes to tag handling, number formats with underscores, and other corner cases.

Added

  • Added opt-in Options::null_as_string (default: false) to preserve plain null, Null, NULL, ~, and empty scalars as text for string targets in both mapping keys and values, including String, &str, and Cow<str> (#267). Explicit !!null tags remain rejected for strings; Option<T>, untyped null inference, mapping-key comparison, and no_schema quoting requirements keep their existing behavior.
  • Added Options::bom_inside_document_as_content (default false) to preserve a BOM at the start of a token inside a document as plain scalar content, including in included YAML. A BOM in a document prefix is still skipped.

Fixed

  • Preserve uppercase radix prefixes (0X, 0O, 0B, including signed forms) as strings during implicit type inference, including untagged enums and flattened fields (#266). Direct typed integer parsing, explicit !!int tags, and mapping-key comparison retain their existing behavior.
  • Infer plain signed not-a-number spellings (+.nan, -.NaN, -.NAN) as strings during implicit type inference, since the YAML 1.2 Core schema allows a sign on .inf only (#271; #272, #273). This applies under every NonFiniteFloatPolicy, including untagged enums and flattened fields. Also accept these spellings without quotes when no_schema: true for string values and mapping keys, including String, &str, and Cow<str>. Direct untagged float targets continue to accept them as NaN. Explicit !!float scalars now preserve the supplied NaN sign when deserialized as floats.

Changed

  • Updated to granit-parser 2.2.0. Under-indented quoted scalar continuations in block context and tabs before quoted continuations are now accepted by default; strict_indentation: true continues to reject them.
Changelog

Sourced from serde-saphyr's changelog.

2.2.0

Added

  • Added opt-in Options::null_as_string (default: false) to preserve plain null, Null, NULL, ~, and empty scalars as text for string targets in both mapping keys and values, including String, &str, and Cow<str> (#267). Explicit !!null tags remain rejected for strings; Option<T>, untyped null inference, mapping-key comparison, and no_schema quoting requirements keep their existing behavior.
  • Added Options::bom_inside_document_as_content (default false) to preserve a BOM at the start of a token inside a document as plain scalar content, including in included YAML. A BOM in a document prefix is still skipped.

Fixed

  • Preserve uppercase radix prefixes (0X, 0O, 0B, including signed forms) as strings during implicit type inference, including untagged enums and flattened fields (#266). Direct typed integer parsing, explicit !!int tags, and mapping-key comparison retain their existing behavior.
  • Infer plain signed not-a-number spellings (+.nan, -.NaN, -.NAN) as strings during implicit type inference, since the YAML 1.2 Core schema allows a sign on .inf only (#271; #272, #273). This applies under every NonFiniteFloatPolicy, including untagged enums and flattened fields. Also accept these spellings without quotes when no_schema: true for string values and mapping keys, including String, &str, and Cow<str>. Direct untagged float targets continue to accept them as NaN. Explicit !!float scalars now preserve the supplied NaN sign when deserialized as floats.

Changed

  • Updated to granit-parser 2.2.0. Under-indented quoted scalar continuations in block context and tabs before quoted continuations are now accepted by default; strict_indentation: true continues to reject them.
Commits
  • c0b737a Formatting fix
  • 3d83fe9 Set version number
  • 4766a49 Migrate to granit-parser 2.2.0 and prepare for 2.2.0 release
  • f0fee62 Migrate to granit-parser 2.2.0 and prepare for 2.2.0 release
  • 4d7b62c Bump smallvec from 1.16.4 to 1.16.5 (#277)
  • 2ed4284 Bump annotate-snippets from 0.12.17 to 0.12.18 (#276)
  • 3f57600 Accept signed NaN strings and preserve explicit float signs (#273)
  • c680e06 Infer signed .nan spellings as strings during implicit inference (#272)
  • a96e179 Add opt-in null-as-string deserialization for keys and values (#269)
  • 32da30e Preserve uppercase radix prefixes during implicit inference (#268)
  • See full diff in compare view

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 2.1.1 to 2.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@2.1.1...2.2.0)

---
updated-dependencies:
- dependency-name: serde-saphyr
  dependency-version: 2.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 Nov 22, 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