Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update quick-xml requirement from 0.26 to 0.27 #1101

Merged
merged 4 commits into from Dec 26, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 26, 2022

Updates the requirements on quick-xml to permit the latest version.

Release notes

Sourced from quick-xml's releases.

Improvements in serde deserializer and MSRV bumped to 1.52

What's Changed

MSRV was increased from 1.46 to 1.52 in #521.

New Features

  • #521: Implement Clone for all error types. This required changing Error::Io to contain Arc<std::io::Error> instead of std::io::Error since std::io::Error does not implement Clone.

Bug Fixes

  • #490: Ensure that serialization of map keys always produces valid XML names. In particular, that means that maps with numeric and numeric-like keys (for example, "42") no longer can be serialized because [XML name] cannot start from a digit
  • #500: Fix deserialization of top-level sequences of enums, like
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- list of enum Enum { A, B, С } -->
    <A/>
    <B/>
    <C/>
  • #514: Fix wrong reporting Error::EndEventMismatch after disabling and enabling .check_end_names
  • #517: Fix swapped codes for \r and \n characters when escaping them
  • #523: Fix incorrect skipping text and CDATA content before any map-like structures in serde deserializer, like
    unwanted text<struct>...</struct>
  • #523: Fix incorrect handling of xs:lists with encoded spaces: they still act as delimiters, which is confirmed also by mature XmlBeans Java library
  • #473: Fix a hidden requirement to enable serde's derive feature to get quick-xml's serialize feature for edition = 2021 or resolver = 2 crates

Misc Changes

  • #490: Removed $unflatten= special prefix for fields for serde (de)serializer, because:

    • it is useless for deserializer
    • serializer was rewritten and does not require it anymore

    This prefix allowed you to serialize struct field as an XML element and now replaced by a more thoughtful system explicitly indicating that a field should be serialized as an attribute by prepending @ character to its name

  • #490: Removed $primitive= prefix. That prefix allowed you to serialize struct field as an attribute instead of an element and now replaced by a more thoughtful system explicitly indicating that a field should be serialized as an attribute

... (truncated)

Changelog

Sourced from quick-xml's changelog.

0.27.0 -- 2022-12-25

New Features

  • #521: Implement Clone for all error types. This required changing Error::Io to contain Arc<std::io::Error> instead of std::io::Error since std::io::Error does not implement Clone.

Bug Fixes

  • #490: Ensure that serialization of map keys always produces valid XML names. In particular, that means that maps with numeric and numeric-like keys (for example, "42") no longer can be serialized because [XML name] cannot start from a digit
  • #500: Fix deserialization of top-level sequences of enums, like
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- list of enum Enum { A, B, С } -->
    <A/>
    <B/>
    <C/>
  • #514: Fix wrong reporting Error::EndEventMismatch after disabling and enabling .check_end_names
  • #517: Fix swapped codes for \r and \n characters when escaping them
  • #523: Fix incorrect skipping text and CDATA content before any map-like structures in serde deserializer, like
    unwanted text<struct>...</struct>
  • #523: Fix incorrect handling of xs:lists with encoded spaces: they still act as delimiters, which is confirmed also by mature XmlBeans Java library
  • #473: Fix a hidden requirement to enable serde's derive feature to get quick-xml's serialize feature for edition = 2021 or resolver = 2 crates

Misc Changes

  • #490: Removed $unflatten= special prefix for fields for serde (de)serializer, because:

    • it is useless for deserializer
    • serializer was rewritten and does not require it anymore

    This prefix allowed you to serialize struct field as an XML element and now replaced by a more thoughtful system explicitly indicating that a field should be serialized as an attribute by prepending @ character to its name

  • #490: Removed $primitive= prefix. That prefix allowed you to serialize struct field as an attribute instead of an element and now replaced by a more thoughtful system explicitly indicating that a field should be serialized as an attribute by prepending @ character to its name

  • #490: In addition to the $value special name for a field a new $text special name was added:

... (truncated)

Commits
  • f63910d Release 0.27.0
  • d1908e6 Merge pull request #528 from Mingun/doc
  • 66275cc Add an example for deserializing wrapped lists
  • c521a2f Add documentation for mapping from XML to Rust used by deserializer
  • 44a4c69 Merge pull request #524 from Mingun/serde
  • c205f1d Fix #473: add explicit serde feature that is independent from dependency
  • e877f4f Merge pull request #523 from Mingun/fix-bugs
  • 8283121 Add some comments about deserializing sequences and give a more descriptive n...
  • daa6526 Fix incorrect handling of xs:lists with encoded spaces: they still act as d...
  • 1373eb1 Rename next_text to read_string because new name are better describes the...
  • Additional commits viewable in compare view

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 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)

Updates the requirements on [quick-xml](https://github.com/tafia/quick-xml) to permit the latest version.
- [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.27.0)

---
updated-dependencies:
- dependency-name: quick-xml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust labels Dec 26, 2022
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
@Xuanwo Xuanwo merged commit 2e35f2c into main Dec 26, 2022
@Xuanwo Xuanwo deleted the dependabot/cargo/quick-xml-0.27 branch December 26, 2022 06:27
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant