Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 26, 2025

Bumps quick-xml from 0.26.0 to 0.37.3.

Release notes

Sourced from quick-xml's releases.

v0.37.3 - support for xsi:nil in Deserializer

What's Changed

New Features

  • #850: Add Attribute::as_bool() method to get an attribute value as a boolean.
  • #850: Add Attributes::has_nil() method to check if attributes has xsi:nil attribute set to true.
  • #497: Handle xsi:nil attribute in serde Deserializer to better process optional fields.

Full Changelog: tafia/quick-xml@v0.37.2...v0.37.3

v0.37.2 - se::to_utf8_io_writer()

What's Changed

New Features

  • #836: Add se::to_utf8_io_writer() helper compatible with std::io::Write and restricted to UTF-8 encoding.

#836: tafia/quick-xml#836

New Contributors

Full Changelog: tafia/quick-xml@v0.37.1...v0.37.2

v0.37.1 - Write CDATA safely

What's Changed

New Features

  • #831: Add BytesCData::escaped() fn to construct CDATA events from arbitrary user input.

#831: tafia/quick-xml#831

New Contributors

Full Changelog: tafia/quick-xml@v0.37.0...v0.37.1

v0.37.0 - serde & errors imporvements

What's Changed

⚠️ Significant Changes

Those changes could require not trivial adoption of your code:

  • The recognized boolean values in serde Deserializer are reduced. Use #[serde(deserialize_with)] which will accept and parse strings if you need the old behavior.
  • Serializer no longer serialize consequent primitive values (those which would produce only text, without surrounding tags), because it is impossible to deserialize them back to the same value.
  • The crate's errors was changed, some variants was splitted to their own error types, some removed.

... (truncated)

Changelog

Sourced from quick-xml's changelog.

0.37.3 -- 2025-03-25

New Features

  • #850: Add Attribute::as_bool() method to get an attribute value as a boolean.
  • #850: Add Attributes::has_nil() method to check if attributes has xsi:nil attribute set to true.
  • #497: Handle xsi:nil attribute in serde Deserializer to better process optional fields.

#497: tafia/quick-xml#497 #850: tafia/quick-xml#850

0.37.2 -- 2024-12-29

New Features

  • #836: Add se::to_utf8_io_writer() helper compatible with std::io::Write and restricted to UTF-8 encoding.

#836: tafia/quick-xml#836

0.37.1 -- 2024-11-17

New Features

  • #831: Add BytesCData::escaped() fn to construct CDATA events from arbitrary user input.

#831: tafia/quick-xml#831

0.37.0 -- 2024-10-27

New Features

  • #826: Implement From<String> and From<Cow<str>> for quick_xml::de::Text.
  • #826: Make SimpleTypeDeserializer and SimpleTypeSerializer public.
  • #826: Implement IntoDeserializer for &mut Deserializer.

Bug Fixes

  • #655: Do not write indent before and after $text fields and those $value fields that are serialized as a text (for example, usize or String).
  • #826: Handle only those boolean representations that are allowed by [Xml Schema] which is only "true", "1", "false", and "0". Previously the following values also was accepted:
    bool XML content
    true "True", "TRUE", "t", "Yes", "YES", "yes", "y"
    false "False", "FALSE", "f", "No", "NO", "no", "n"

... (truncated)

Commits
  • 2cedfe1 Release 0.37.3
  • 44644b3 Merge pull request #850 from Mingun/fix/honor_xsi_nil
  • 3c4de88 Migrate to actions/upload-artifact@v4 in fuzzer sub-project
  • 6176c33 Properly use xsi:nil to deserialize null values via serde
  • 10b37f7 Add tests for xsi:nil handling
  • 521707c Add regression tests for #497
  • b8ce862 Use namespace-aware reader in serde deserializer
  • 341db46 Add helper method to check if xsi:nil value is set in attributes
  • 41b6dc1 Add helper method to check if attribute value represents boolean value
  • 40538b7 Improve debug representation of Attribute and Attributes
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [quick-xml](https://github.com/tafia/quick-xml) from 0.26.0 to 0.37.3.
- [Release notes](https://github.com/tafia/quick-xml/releases)
- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md)
- [Commits](tafia/quick-xml@v0.26.0...v0.37.3)

---
updated-dependencies:
- dependency-name: quick-xml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 26, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 1, 2025

Superseded by #205.

@dependabot dependabot bot closed this Apr 1, 2025
@dependabot dependabot bot deleted the dependabot/cargo/quick-xml-0.37.3 branch April 1, 2025 16:09
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant