Skip to content

chore(deps): Bump serde-saphyr from 0.0.29 to 1.0.0 - #294

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

chore(deps): Bump serde-saphyr from 0.0.29 to 1.0.0#294
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/serde-saphyr-1.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps serde-saphyr from 0.0.29 to 1.0.0.

Release notes

Sourced from serde-saphyr's releases.

1.0.0-rc.1 release preview

From this release onward, we are adopting the 1.x.x semantic versioning (SemVer) scheme. This means that API changes will be clearly reflected in the version number: the major version indicates breaking changes, the minor version indicates backward-compatible additions, and the patch version indicates backward-compatible fixes. The current compatibility status is indicated by the accompanying badge.

Some breaking changes were made at this point because this is the last good time to streamline the API. Please raise any issues you find with the API changes, or if you would like to propose something. The goal of the release preview is exactly not to go 2.x.x next week after release.

  • Options, SerializerOptions, Budget, and AliasLimits are now #[non_exhaustive]. Construct them with options!, ser_options!, budget!, and alias_limits!.
  • Removed the deprecated to_writer and to_writer_with_options APIs. Use to_fmt_writer* for fmt::Write or to_io_writer* for io::Write.
  • API compatibility check no guards compatibility with 1.0.0

Also

  • Fix core tag enforcement. In the previous version, !!str 42 is accepted as i32(42), and !!int true is accepted as bool(true). Core tag handling is now hardened, and such constructs no longer pass.
  • Fix: budget callbacks were sometimes not delivered on immediate breaches

0.0.21 Tuple enum variants and more compact lists.

Tuple enum variants, #85

It is now possible to deserialize tuple enum variants, using tags to choose the variant. This is compatible with serde_yaml and serde_yaml_ng.

#[derive(Debug, PartialEq, Eq, Deserialize)]
pub enum Value {
  Expression(String),
  Pair(String, i32),
}
#[derive(Debug, PartialEq, Eq, Deserialize)]
pub struct Context {
value: Value,
}

serde_saphyr::from_str::<Context>(yaml) would take the value: !Expression 1 + 1 or value: !Pair [a, 12]. Nesting using Variant:\n ... already worked, but that syntax is inconvenient for short scalars that would otherwise fit on a single line.

Tuple members can differ in type, so Rust tuple agrees with YAML list here better than Rust list or array.

Compact list indentation, #86

We now emit list items with a more compact indentation style:

      containers:
      - env:
        - name: METHOD
          value: WATCH

Compared to a more expanded indentation style:

      containers:
        - env:
            - name: METHOD
</tr></table> 

... (truncated)

Commits
  • 1b357a7 Prepare to release 1.0.0
  • ad5889e Move to .rc.2
  • cf58c9c Renived derived Debug from Error that is not very useful, forwarding to Displ...
  • d39ba62 Renived derived Debug from Error that is not very useful, forwarding to Displ...
  • eba8a51 Added #[track_caller] annotations
  • b3ce5a1 Added #[must_use] annotations
  • 808c8ea Update validator
  • 502a457 Simplify match
  • 48f188b Fix unnecessary wraps
  • e22174a Refactor MapSer
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 3, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 3, 2026 11:46
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 3, 2026
Bumps [serde-saphyr](https://github.com/bourumir-wyngs/serde-saphyr) from 0.0.29 to 1.0.0.
- [Release notes](https://github.com/bourumir-wyngs/serde-saphyr/releases)
- [Commits](bourumir-wyngs/serde-saphyr@0.0.29...1.0.0)

---
updated-dependencies:
- dependency-name: serde-saphyr
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/serde-saphyr-1.0.0 branch from fd73277 to 00c19f9 Compare August 3, 2026 16:45
@dependabot @github

dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #303.

@dependabot dependabot Bot closed this Aug 10, 2026
@dependabot
dependabot Bot deleted the dependabot/cargo/serde-saphyr-1.0.0 branch August 10, 2026 11:46
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 waiting-on-maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants