Skip to content

fix(deps): update rust crate serde_yaml to 0.9.0 - #19

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/serde_yaml-0.x
Open

fix(deps): update rust crate serde_yaml to 0.9.0#19
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/serde_yaml-0.x

Conversation

@renovate

@renovate renovate Bot commented Aug 18, 2021

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
serde_yaml dependencies minor 0.8.170.9.0

Release Notes

dtolnay/serde-yaml (serde_yaml)

v0.9.34

Compare Source

As of this release, I am not planning to publish further versions of serde_yaml as none of my projects have been using YAML for a long time, so I have archived the GitHub repo and marked the crate deprecated in the version number. An official replacement isn't designated for those who still need to work with YAML, but https://crates.io/search?q=yaml&sort=relevance and https://crates.io/keywords/yaml has a number of reasonable-looking options available.

v0.9.33

Compare Source

v0.9.32

Compare Source

  • Fix unused_imports warnings when compiled by rustc 1.78

v0.9.31

Compare Source

  • Add swap_remove and shift_remove methods on Mapping (#​408)

v0.9.30

Compare Source

  • Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache

v0.9.29

Compare Source

  • Turn on deny(unsafe_op_in_unsafe_fn) lint

v0.9.28

Compare Source

  • Update unsafe-libyaml dependency to pull in unaligned write fix

v0.9.27

Compare Source

  • Always serialize serde_yaml::Number containing NaN as a positive NaN (#​394)

v0.9.26

Compare Source

  • Guarantee that .nan is deserialized as a positive NaN (#​392, #​393)

v0.9.25

Compare Source

  • Serialize using quoted style around scalar that has digits with leading zero (#​347)

v0.9.24

Compare Source

  • Implement FromStr for serde_yaml::Number (#​381)

v0.9.23

Compare Source

  • Documentation improvements

v0.9.22

Compare Source

  • Update indexmap dependency to version 2

v0.9.21

Compare Source

  • Make Tag::new panic if given empty string, since YAML has no syntax for an empty tag

v0.9.20

Compare Source

  • Allow an empty YAML document to deserialize to None or Value::Null, in addition to the previously supported empty vector, empty map, and struct with no required fields

v0.9.19

Compare Source

  • Fix message duplication between serde_yaml::Error's Display and source() (#​359, #​360)

v0.9.18

Compare Source

  • Add support for emitting Unicode characters over codepoint U+FFFF (#​356)

v0.9.17

Compare Source

  • Improve Debug representation of some error messages

v0.9.16

Compare Source

  • Opt out of -Zrustdoc-scrape-examples on docs.rs for now

v0.9.15

Compare Source

  • Documentation improvements

v0.9.14

Compare Source

  • Implement Deserializer for TaggedValue and &TaggedValue (#​339)

v0.9.13

Compare Source

  • Recognize True, TRUE, False, FALSE as booleans, Null, NULL as null (#​330)

v0.9.12

Compare Source

  • Support deserializing tagged literal scalar into primitive (#​327)

    "foo": !!int |-
      7200

v0.9.11

Compare Source

  • Serialize strings on a single line when they do not already contain a newline character, regardless of string length (#​321, #​322)

v0.9.10

Compare Source

  • Make Display for Number produce the same representation as serializing (#​316)

v0.9.9

Compare Source

v0.9.8

Compare Source

  • Fix serialization of TaggedValue when used with to_value (#​313)

v0.9.7

Compare Source

  • Allow an empty plain scalar to deserialize as an empty map or seq (#​304)

v0.9.6

Compare Source

  • Fix tag not getting serialized in certain map values (#​302)

v0.9.5

Compare Source

v0.9.4

Compare Source

  • Add serde_yaml::with::singleton_map for serialization of enums as a 1-entry map (#​300)
  • Reject duplicate keys when deserializing Mapping or Value (#​301)

v0.9.3

Compare Source

  • Add categories to crates.io metadata
  • Add keywords to crates.io metadata

v0.9.2

Compare Source

  • Improve Debug representation of serde_yaml::Error

v0.9.1

Compare Source

  • Fix panic on some documents containing syntax error (#​293)
  • Improve error messages that used to contain duplicative line/column information (#​294)

v0.9.0

Compare Source

API documentation: https://docs.rs/serde_yaml/0.9

Highlights
  • The serde_yaml::Value enum gains a Tagged variant which represents the deserialization of YAML's !Tag syntax. Tagged scalars, sequences, and mappings are all supported.

  • An empty YAML input (or document containing only comments) will deserialize successfully to an empty map, empty sequence, or Serde struct as long as the struct has only optional fields. Previously this would error.

  • A new .apply_merge() method on Value implements YAML's << merge key convention.

  • The Debug representation of serde_yaml::Value has gotten vastly better (#​287).

  • Deserialization of borrowed strings now works.

    #[derive(Deserialize, Debug)]
    struct Struct<'a> {
        borrowed: &'a str,
    }
    
    let yaml = "borrowed: 'kölcsönzött'\n";
    let value: Struct = serde_yaml::from_str(yaml)?;
    println!("{:#?}", value);
  • Value's and Mapping's methods get and get_mut have been generalized to support a &str argument, as opposed to requiring you to allocate and construct a Value::String for indexing into another existing Value.

  • Mapping exposes more APIs that have become conventional on map data structures, such as .keys(), .values(), .into_keys(), .into_values(), .values_mut(), and .retain(|k, v| …).

Breaking changes
  • Serialization no longer produces leading ---\n on the serialized output. You can prepend this yourself if your use case demands it.

  • Serialization of enum variants is now based on YAML's !Tag syntax, rather than JSON-style singleton maps.

    #[derive(Serialize, Deserialize)]
    enum Enum {
        Newtype(usize),
        Tuple(usize, usize, usize),
        Struct { x: f64, y: f64 },
    }
    - !Newtype 1
    - !Tuple [0, 0, 0]
    - !Struct {x: 1.0, y: 2.0}
  • A bunch of non-base-10 edge cases in number parsing have been resolved. For example 0x+1 and ++0x1 are now parsed as strings, whereas they used to be incorrectly treated as numbers.

  • Deserializers obtained through iteration can no longer be iterated further:

    let deserializer = serde_yaml::Deserializer::from_str(multiple_documents);
    for de in deserializer {
        // correct:
        let myvalue = T::deserialize(de)?;
    
        // incorrect: used to produce some questionable result, now produces 0 sub-documents
        for questionable in de {
            let wat = T::deserialize(questionable)?;
        }
    }
  • The abandoned yaml-rust crate is no longer used as the YAML backend. The new libyaml-based backend surely has different edge cases and quirks than yaml-rust.

  • Some excessive PartialEq impls have been eliminated.

  • The serde_yaml::to_vec function has been removed. Use serde_yaml::to_writer for doing I/O, or use serde_yaml::to_string + .into_bytes() on the resulting String.

  • The serde_yaml::seed module has been removed. Now that a serde_yaml::Deserializer is publicly available, the same use cases can be addressed via seed.deserialize(Deserializer::from_str(…)) instead.

Bugfixes
  • Empty values in a mapping are supported, and deserialize to empty string when the corresponding struct field is of type string. Previously they would deserialize to "~" which makes no sense.

  • 128-bit integer deserialization now supports hex and octal input.

  • Serde_yaml now includes a mitigation against a "billion laughs" attack in which malicious input involving YAML anchors and aliases is used to consume an amount of processing or memory that is exponential in the size of the input document. Serde_yaml will quickly produce an error in this situation instead.


Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.8.18 fix(deps): update rust crate serde_yaml to 0.8.19 Aug 22, 2021
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch 2 times, most recently from 1c143a0 to 6e886f8 Compare August 26, 2021 19:15
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.8.19 fix(deps): update rust crate serde_yaml to 0.8.20 Aug 26, 2021
@jaysonsantos

Copy link
Copy Markdown
Owner

bors r+

@bors

bors Bot commented Aug 27, 2021

Copy link
Copy Markdown

Configuration problem:
bors.toml: not found

@jaysonsantos

Copy link
Copy Markdown
Owner

bors r+

bors Bot added a commit that referenced this pull request Aug 27, 2021
19: fix(deps): update rust crate serde_yaml to 0.8.20 r=jaysonsantos a=renovate[bot]

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [serde_yaml](https://crates.io/crates/serde_yaml) | dependencies | patch | `0.8.17` -> `0.8.20` |

---

### Configuration

📅 **Schedule**: 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 [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/jaysonsantos/kustomize-sops-rs).

Co-authored-by: Renovate Bot <bot@renovateapp.com>
@bors

bors Bot commented Aug 27, 2021

Copy link
Copy Markdown

Timed out.

@jaysonsantos

Copy link
Copy Markdown
Owner

bors r+

bors Bot added a commit that referenced this pull request Aug 27, 2021
19: fix(deps): update rust crate serde_yaml to 0.8.20 r=jaysonsantos a=renovate[bot]

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [serde_yaml](https://crates.io/crates/serde_yaml) | dependencies | patch | `0.8.17` -> `0.8.20` |

---

### Configuration

📅 **Schedule**: 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 [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/jaysonsantos/kustomize-sops-rs).

Co-authored-by: Renovate Bot <bot@renovateapp.com>
@bors

bors Bot commented Aug 27, 2021

Copy link
Copy Markdown

Timed out.

@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 6e886f8 to 11289f9 Compare September 10, 2021 20:25
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.8.20 fix(deps): update rust crate serde_yaml to 0.8.21 Sep 10, 2021
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 11289f9 to ce6a31c Compare December 2, 2021 19:06
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.8.21 fix(deps): update rust crate serde_yaml to 0.8.23 Dec 13, 2021
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from ce6a31c to 2fa87f8 Compare December 13, 2021 05:03
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.8.23 fix(deps): update rust crate serde_yaml to 0.8.24 May 15, 2022
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 2fa87f8 to 0e8fe59 Compare May 15, 2022 18:36
@jaysonsantos

Copy link
Copy Markdown
Owner

bors r+

bors Bot added a commit that referenced this pull request Jun 22, 2022
19: fix(deps): update rust crate serde_yaml to 0.8.24 r=jaysonsantos a=renovate[bot]

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [serde_yaml](https://togithub.com/dtolnay/serde-yaml) | dependencies | patch | `0.8.17` -> `0.8.24` |

---

### Release Notes

<details>
<summary>dtolnay/serde-yaml</summary>

### [`v0.8.24`](https://togithub.com/dtolnay/serde-yaml/compare/0.8.23...0.8.24)

[Compare Source](https://togithub.com/dtolnay/serde-yaml/compare/0.8.23...0.8.24)

### [`v0.8.23`](https://togithub.com/dtolnay/serde-yaml/compare/0.8.22...0.8.23)

[Compare Source](https://togithub.com/dtolnay/serde-yaml/compare/0.8.22...0.8.23)

### [`v0.8.22`](https://togithub.com/dtolnay/serde-yaml/compare/0.8.21...0.8.22)

[Compare Source](https://togithub.com/dtolnay/serde-yaml/compare/0.8.21...0.8.22)

### [`v0.8.21`](https://togithub.com/dtolnay/serde-yaml/compare/0.8.20...0.8.21)

[Compare Source](https://togithub.com/dtolnay/serde-yaml/compare/0.8.20...0.8.21)

### [`v0.8.20`](https://togithub.com/dtolnay/serde-yaml/compare/0.8.19...0.8.20)

[Compare Source](https://togithub.com/dtolnay/serde-yaml/compare/0.8.19...0.8.20)

### [`v0.8.19`](https://togithub.com/dtolnay/serde-yaml/compare/0.8.18...0.8.19)

[Compare Source](https://togithub.com/dtolnay/serde-yaml/compare/0.8.18...0.8.19)

### [`v0.8.18`](https://togithub.com/dtolnay/serde-yaml/compare/0.8.17...0.8.18)

[Compare Source](https://togithub.com/dtolnay/serde-yaml/compare/0.8.17...0.8.18)

</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, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/jaysonsantos/kustomize-sops-rs).

Co-authored-by: Renovate Bot <bot@renovateapp.com>
@bors

bors Bot commented Jun 22, 2022

Copy link
Copy Markdown

Timed out.

@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.8.24 fix(deps): update Rust crate serde_yaml to 0.8.24 Jun 27, 2022
@renovate renovate Bot changed the title fix(deps): update Rust crate serde_yaml to 0.8.24 fix(deps): update rust crate serde_yaml to 0.8.24 Jun 28, 2022
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 0e8fe59 to 69bdb0d Compare July 8, 2022 20:39
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.8.24 fix(deps): update rust crate serde_yaml to 0.8.25 Jul 8, 2022
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 69bdb0d to 4f91598 Compare September 25, 2022 20:36
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.8.25 fix(deps): update rust crate serde_yaml to 0.9.13 Sep 25, 2022
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.9.13 fix(deps): update rust crate serde_yaml to 0.9.14 Nov 20, 2022
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 4f91598 to dabdefc Compare November 20, 2022 16:54
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 2cf44b9 to a8f2725 Compare November 28, 2023 14:44
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from a8f2725 to 2d209d6 Compare December 20, 2023 23:02
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.9.27 fix(deps): update rust crate serde_yaml to 0.9.28 Dec 20, 2023
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 2d209d6 to 413efa8 Compare December 21, 2023 22:32
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.9.28 fix(deps): update rust crate serde_yaml to 0.9.29 Dec 21, 2023
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 413efa8 to be28e1b Compare January 2, 2024 10:37
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.9.29 fix(deps): update rust crate serde_yaml to 0.9.30 Jan 2, 2024
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from be28e1b to 69b60a2 Compare January 29, 2024 06:14
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.9.30 fix(deps): update rust crate serde_yaml to 0.9.31 Jan 29, 2024
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 69b60a2 to 5f8f323 Compare February 19, 2024 06:54
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.9.31 fix(deps): update rust crate serde_yaml to 0.9.32 Feb 19, 2024
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 5f8f323 to 64491f2 Compare March 17, 2024 07:40
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.9.32 fix(deps): update rust crate serde_yaml to 0.9.33 Mar 17, 2024
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 64491f2 to 9443df4 Compare March 25, 2024 01:22
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.9.33 fix(deps): update rust crate serde_yaml to 0.9.34 Mar 25, 2024
@renovate

renovate Bot commented Mar 25, 2024

Copy link
Copy Markdown
Contributor Author

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package serde_yaml@0.8.26 --precise 0.9.34
error: package ID specification `serde_yaml@0.8.26` did not match any packages
Did you mean one of these?

  serde_yaml@0.9.29

@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 9443df4 to a0f3c33 Compare May 5, 2024 10:31
@renovate renovate Bot changed the title fix(deps): update rust crate serde_yaml to 0.9.34 fix(deps): update rust crate serde_yaml to 0.9.0 May 5, 2024
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from a0f3c33 to d3f02fc Compare December 10, 2025 11:36
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from d3f02fc to 414f0c3 Compare December 31, 2025 17:01
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 414f0c3 to 3a25519 Compare February 2, 2026 21:00
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 3a25519 to d584f6b Compare February 12, 2026 17:44
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from d584f6b to 05213d1 Compare February 25, 2026 11:12
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 05213d1 to 85f1d61 Compare March 13, 2026 11:48
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 85f1d61 to 1dbb2e5 Compare May 18, 2026 20:48
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 1dbb2e5 to 5f4ba07 Compare July 21, 2026 02:08
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 5f4ba07 to e2de44c Compare August 12, 2026 04:13
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from e2de44c to 8cdd84b Compare August 26, 2026 19:10
@renovate
renovate Bot force-pushed the renovate/serde_yaml-0.x branch from 8cdd84b to 3d4e07b Compare September 2, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant