Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 19, 2026

Bumps serde-saphyr from 0.0.14 to 0.0.16.

Release notes

Sourced from serde-saphyr's releases.

0.0.16 Recursive YAML

  • This release fixes #56, problems with non-ASCII characters. More tests have been added to support non-ASCII.
  • Error location reporting has been hardened, supporting now missing fields and Serde's deserialize_with (#58).
  • Expose option to validate via garde validate_with (#59), thanks @​DanielHabenicht
  • Spanned implements transparent Serialize (#61)
  • Some documentation fixes around from_reader incorrectly claiming it reads all content into memory that it was last doing many releases behind.
  • Location information added for missing field errors.
  • When encountering the end of file with unclosed bracket or quote, we not report the error with the location of the opening bracket or quote that was not closed, and not the end of the file.

Serde-saphyr now supports recursive YAML structures (see example). While such recursion is not common and can only be implemented with references, this is not very obviously against the specs and we have seen people asking to implement this because YAML exist arround that must be parsed.

  • This release also cherry-picks #87 that fixes
hello:
  world: this is a string
    --- still a string

The change is well contained and does not break anything in ours or saphyr-parser test suites.

0.0.15 yaml-test-suite passes with no exceptions

This release uses slightly modifed saphyr parser saphyr-parser-bw with few tweaks that allow to fix the last corner cases of yaml-test-suite. All test suite cases no exceptions have now been converted into Rust test cases and pass.

Auto-quoting of numerically looking values has been improved, now correctly quoting values representing very large numbers outside the YAML data type representation ranges (attempt just to parse them would result an error, but they are valid numbers).

We also relaxed rules on the indentation of the closing bracket:

a: [1,2,3
     4,5,6
] # <-- this closing bracket is not sufficiently indented

is invalid YAML. However, we received multiple bug reports and user complaints about rejecting this input, likely because many other YAML parsers accept it. After careful consideration, the serde-saphyr team decided to support this case for compatibility reasons.

This release also contains the fix of #53 (enum holding struct).

Commits
  • 40501fb Added note about error snippet
  • a205897 Wider range of dependencies
  • 4889b64 Adjusted to use saphyr-parser-bw from crates.io. Waiting for the last few day...
  • a39e030 Slightly improve the unclosed bracket test
  • abcc727 Fix the test than now correctly reports the unclosed bracket and not the end ...
  • 8466715 Improved example of recursive YAML.
  • 5f351c2 Fixed the test that now reports the unclosed bracket and not end of the file.
  • 40e3434 We can now run miri more often
  • a738ce2 Fix #61: Make Spanned implement transparent Serialize
  • 9bb68ae Delete old workflow what always fails
  • Additional commits viewable 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 0.0.14 to 0.0.16.
- [Release notes](https://github.com/bourumir-wyngs/serde-saphyr/releases)
- [Commits](bourumir-wyngs/serde-saphyr@0.0.14...0.0.16)

---
updated-dependencies:
- dependency-name: serde-saphyr
  dependency-version: 0.0.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Jan 19, 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