chore(deps): update rust crate serde-saphyr to 0.0.23 #1637

Merged
Jade merged 1 commit from renovate/serde-saphyr-0.x into main 2026-04-10 08:49:03 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
serde-saphyr workspace.dependencies patch 0.0.210.0.23

Release Notes

bourumir-wyngs/serde-saphyr (serde-saphyr)

v0.0.23: - compile faster

Compare Source

  • Added first-class feature gating for serialize and deserialize, both of which are now enabled by default. Consumers can now build a lighter dependency set by enabling only the side they need. Public re-exports in src/lib.rs are now conditionally exposed based on enabled features:
serde-saphyr = { version = "0.0.23", default-features = false, features = ["deserialize"] }

or

serde-saphyr = { version = "0.0.23", default-features = false, features = ["serialize"] }

Enabling neither feature is now rejected at compile time. This may happen for projects that previously used default-features = false, features=[]. Simple integrations that only specify the version remain backward-compatible.

  • This release also fixes serialization of empty Vec at root structure level (#​95)

v0.0.22: - !include and properties

Compare Source

This release introduces support for !include. While not a standard YAML, multiple existing implementations show the need for this capability.

serde-saphyr now can resolve !include tags through a custom resolver configured via Options. The !include functionality is gated behind the include feature and must also be explicitly enabled by providing a resolver. For convenience, a safety-hardened filesystem-based resolver is available as an additional optional feature (include-fs).

This library also now supports properties, implemented in a Docker Compose-like style:

  database_password: ${DATABASE_PASSWORD}

Properties are implemented to prevent their values from being checked into the repository or from leaking via error snippets or other messages in logs. Tests were written to ensure that the value is never printed on error (please supply the security report if it is). Property values are provided via a custom-supplied HashMap, so up to the user how to store them safely, or maybe even generate them.

Other improvements

  • Full support for JSON-style Unicode surrogate pairs in quoted strings. serde-saphyr now correctly decodes valid UTF-16 surrogate pair escapes such as \uD834\uDD1E into a single Unicode scalar, matching the equivalent YAML \U form. We also expanded the JSON compatibility test coverage with dedicated cases for objects, arrays, URLs, Unicode escapes, numbers, booleans, and null, and the full related test suite now passes.
  • Indentation checking. Adding or removing a single space in YAML indentation may result in a document that is still syntactically correct but semantically wrong. To mitigate such issues, serde-saphyr can enforce indentation rules during deserialization via RequireIndent.
  • Support options for to_string_multiple, #​87. Thanks, Eirik A @​clux)
  • Fixed merge key expansion that bypassed duplicate-key enforcement. Now, merge keys also require all keys to be unique. However, if you rely heavily on overriding key values during merge, you can set DuplicateKeyPolicy in Options to

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [serde-saphyr](https://github.com/bourumir-wyngs/serde-saphyr) | workspace.dependencies | patch | `0.0.21` → `0.0.23` | --- ### Release Notes <details> <summary>bourumir-wyngs/serde-saphyr (serde-saphyr)</summary> ### [`v0.0.23`](https://github.com/bourumir-wyngs/serde-saphyr/releases/tag/0.0.23): - compile faster [Compare Source](https://github.com/bourumir-wyngs/serde-saphyr/compare/0.0.22...0.0.23) - Added first-class feature gating for `serialize` and `deserialize`, both of which are now enabled by default. Consumers can now build a lighter dependency set by enabling only the side they need. Public re-exports in `src/lib.rs` are now conditionally exposed based on enabled features: ```toml serde-saphyr = { version = "0.0.23", default-features = false, features = ["deserialize"] } ``` or ```toml serde-saphyr = { version = "0.0.23", default-features = false, features = ["serialize"] } ``` Enabling neither feature is now rejected at compile time. This may happen for projects that previously used `default-features = false, features=[]`. Simple integrations that only specify the version remain backward-compatible. - This release also fixes serialization of empty `Vec` at root structure level ([#&#8203;95](https://github.com/bourumir-wyngs/serde-saphyr/issues/95)) ### [`v0.0.22`](https://github.com/bourumir-wyngs/serde-saphyr/releases/tag/0.0.22): - !include and properties [Compare Source](https://github.com/bourumir-wyngs/serde-saphyr/compare/0.0.21...0.0.22) This release introduces support for `!include`. While not a standard YAML, multiple existing implementations show the need for this capability. `serde-saphyr` now can resolve `!include` tags through a custom resolver configured via [`Options`](https://docs.rs/serde-saphyr/latest/serde_saphyr/options/struct.Options.html). The `!include` functionality is gated behind the `include` feature and must also be explicitly enabled by providing a resolver. For convenience, a safety-hardened filesystem-based resolver is available as an additional optional feature (include-fs). This library also now supports properties, implemented in a Docker Compose-like style: ```yaml database_password: ${DATABASE_PASSWORD} ``` Properties are implemented to prevent their values from being checked into the repository or from leaking via error snippets or other messages in logs. Tests were written to ensure that the value is never printed on error (please supply the security report if it is). Property values are provided via a custom-supplied HashMap, so up to the user how to store them safely, or maybe even generate them. Other improvements - Full support for JSON-style Unicode **surrogate pairs** in quoted strings. `serde-saphyr` now correctly decodes valid UTF-16 surrogate pair escapes such as `\uD834\uDD1E` into a single Unicode scalar, matching the equivalent YAML `\U` form. We also expanded the JSON compatibility test coverage with dedicated cases for objects, arrays, URLs, Unicode escapes, numbers, booleans, and `null`, and the full related test suite now passes. - **Indentation checking**. Adding or removing a single space in YAML indentation may result in a document that is still syntactically correct but semantically wrong. To mitigate such issues, `serde-saphyr` can enforce indentation rules during deserialization via [`RequireIndent`](https://docs.rs/serde-saphyr/latest/serde_saphyr/enum.RequireIndent.html). - **Support options for to\_string\_multiple**, [#&#8203;87](https://github.com/bourumir-wyngs/serde-saphyr/issues/87). Thanks, Eirik A [@&#8203;clux](https://github.com/clux)) - Fixed merge key expansion that bypassed duplicate-key enforcement. Now, merge keys also require all keys to be unique. However, if you rely heavily on overriding key values during merge, you can set DuplicateKeyPolicy in Options to </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS40IiwidXBkYXRlZEluVmVyIjoiNDMuNTkuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiRGVwZW5kZW5jaWVzIiwiRGVwZW5kZW5jaWVzL1Jlbm92YXRlIl19-->
chore(deps): update rust crate serde-saphyr to 0.0.23
Some checks are pending
Check Changelog / Check for changelog (pull_request_target) Waiting to run
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m14s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m15s
Update flake hashes / update-flake-hashes (pull_request) Successful in 1m27s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 9m30s
Documentation / Build and Deploy Documentation (push) Successful in 1m27s
Checks / Prek / Pre-commit & Formatting (push) Successful in 1m34s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 10m3s
Release Docker Image / Build linux-amd64 (release) (push) Successful in 13m32s
Release Docker Image / Build linux-arm64 (release) (push) Successful in 11m21s
Release Docker Image / Create Multi-arch Release Manifest (push) Successful in 21s
Release Docker Image / Build linux-amd64 (max-perf) (push) Successful in 35m6s
Release Docker Image / Build linux-arm64 (max-perf) (push) Successful in 33m10s
Release Docker Image / Create Max-Perf Manifest (push) Successful in 19s
ddc9e795d8
Jade scheduled this pull request to auto merge when all checks succeed 2026-04-10 08:32:28 +00:00
Jade merged commit ddc9e795d8 into main 2026-04-10 08:49:03 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
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!1637
No description provided.