Skip to content

Chore(deps): Update serde-saphyr requirement from 0.0.27 to 0.0.28#2018

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

Chore(deps): Update serde-saphyr requirement from 0.0.27 to 0.0.28#2018
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/serde-saphyr-0.0.28

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Updates the requirements on serde-saphyr to permit the latest version.

Release notes

Sourced from serde-saphyr's releases.

0.0.28 Property interpolation extensions and even faster builds

Significant extension of property interpolation ( @​CommanderStorm)

  • Added support for default property interpolation in plain scalars: ${NAME:-default} now resolves to default when NAME is unset or explicitly empty.
  • ${VAR}: Values that must be configured (DB URLs, API keys). An unset var is a misconfiguration, not something to paper over -> a loud error at parse time
  • ${VAR-fallback}: Empty value is meaningful and distinct from "not configured". F.ex. PREFIX="" -> "no prefix".
  • ${VAR:-fallback}: The "regular" default, so f.ex. ${PORT:-8080}
  • ${VAR+text}: F.ex. ${DEBUG+--verbose} emits the flag whenever DEBUG exists in the environment, regardless of value.
  • ${VAR:+text}: Same as above, but differentiating empty <-> null

Also

  • Fix #120 LastWins not honored when deserializing struct. This was implemented and well tested, but only with maps.
  • Reduced owning of comment strings (parsing very heavily commented YAML while discarding comments should be lighter on resources).
  • Fixed indentation enforcement (@​CommanderStorm), making sure it also works for multiline scalars.
  • Fixed tuple serialization (@​CommanderStorm)
  • New SingleQuoted<..> and DoubleQuoted<..> wrappers to emit quoted strings. SingleQuoted may provide additional safety, as control characters will be rejected (with error), rather than written as YAML escape sequences. NullableTilde<T> is like Option and emits tilde ( ~ ) rather than null.

Faster compilation times with serde_core

serde-saphyr now avoids compiling serde_derive by default. The crate core uses serde_core instead that allows building serde-saphyr in parallel with serde_derive. However this also means that we needed to drop the previously built-in (de)serialization support for some serde-saphyr own configuration and reporting types like Options. (De)serialization support for these types can be re-enabled with the new feature serde_derived_types:

serde-saphyr = { version = "...", features = ["serde_derived_types"] }

This does not affect normal use of serde-saphyr for user data, you can still serialize and deserialize your own structs as before.

Commits
  • 958bb94 NullableTilde implementation (#148)
  • e2453d1 Integrate granit parser 0.0.6 parsing.
  • 38f602d Implement DoubleQuoted and SingleQuoted (#146)
  • 07fbcf7 Remove redundant #[cfg(test)]
  • 3541006 Remaining issue: flow maps still bypass the simple-key limit
  • 65d41ca fix: long string keys not roundtripping (#141)
  • 2adf2c4 Split serde and make serde-saphyr core to depend on serde-core only. (#144)
  • 07708ed fix fmt (#145)
  • f2cd59c Implement <Quoted> (#140)
  • 1a291ca fix: quoting support not counting trailing whitespace in keys, BOM, .. (#139)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies upgrades to dependencies label Jun 22, 2026
Updates the requirements on [serde-saphyr](https://github.com/bourumir-wyngs/serde-saphyr) to permit the latest version.
- [Release notes](https://github.com/bourumir-wyngs/serde-saphyr/releases)
- [Commits](bourumir-wyngs/serde-saphyr@0.0.27...0.0.28)

---
updated-dependencies:
- dependency-name: serde-saphyr
  dependency-version: 0.0.28
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/serde-saphyr-0.0.28 branch from 4f02a96 to c736918 Compare June 22, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies upgrades to dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant