Skip to content

chore(deps): bump serde-saphyr from 0.0.26 to 0.0.28#111

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

chore(deps): bump serde-saphyr from 0.0.26 to 0.0.28#111
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 25, 2026

Copy link
Copy Markdown
Contributor

Bumps serde-saphyr from 0.0.26 to 0.0.28.

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.

0.0.27 Comments

The major extension of this release is comments support.

The long existed wrapper Commented<..> was usable for serialization only until now. Since this release, Commented also captures a comment of the wrapped data structure:

struct DeploymentConfig {
    name: Commented<String>,
    image: Commented<String>,
    ports: Commented<Vec<Commented<u16>>>,
    labels: Commented<BTreeMap<String, Commented<String>>>,
}

would capture all comments for the elements of the structure, like

# deployment manifest
name: checkout
image: registry.example.com/checkout:v1 # container image to deploy
ports: # sequence of exposed ports
  - 80 # public HTTP
  - 443 # public HTTPS
labels: # mapping of Kubernetes labels
  app: checkout # stable app label
  tier: frontend # routing tier
"#;
</tr></table> 

... (truncated)

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 dependencies Pull requests that update a dependency file rust Rust implementation work. labels Jun 25, 2026
@dependabot dependabot Bot requested a review from jeremi as a code owner June 25, 2026 12:00
@dependabot dependabot Bot added rust Rust implementation work. dependencies Pull requests that update a dependency file labels Jun 25, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/serde-saphyr-0.0.28 branch 6 times, most recently from 5324dc8 to c86709a Compare June 26, 2026 12:49
@dependabot dependabot Bot changed the title Bump serde-saphyr from 0.0.26 to 0.0.28 chore(deps): bump serde-saphyr from 0.0.26 to 0.0.28 Jun 27, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/serde-saphyr-0.0.28 branch 3 times, most recently from 86bb1c2 to ca80ebc Compare June 27, 2026 22:58
Bumps [serde-saphyr](https://github.com/bourumir-wyngs/serde-saphyr) from 0.0.26 to 0.0.28.
- [Release notes](https://github.com/bourumir-wyngs/serde-saphyr/releases)
- [Commits](bourumir-wyngs/serde-saphyr@0.0.26...0.0.28)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/serde-saphyr-0.0.28 branch from ca80ebc to 951e3ab Compare June 28, 2026 01:16
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 Rust implementation work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants