Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 28, 2025

This PR contains the following updates:

Package Type Update Change
quick-xml dependencies minor 0.37 -> 0.38

Release Notes

tafia/quick-xml (quick-xml)

v0.38.4

Compare Source

New Features
  • #​353: Add ability to serialize textual content as CDATA sections in Serializer.
    Everywhere where the text node may be created, a CDATA section(s) could be produced instead.
    See the new Serializer::text_format() method.
Bug Fixes
  • #​912: Fix deserialization of numbers, booleans and characters that is space-wrapped, for example
    <int> 42 </int>. That space characters are usually indent added during serialization and
    other XML serialization libraries trims them
Misc Changes
  • #​901: Fix running tests on 32-bit architecture
  • #​909: Avoid some allocations in the Serializer

v0.38.3

Compare Source

Bug Fixes
  • #​895: Fix incorrect normalization of \rX EOL sequences where X is a char which is
    UTF-8 encoded as [c2 xx], except [c2 85].
Misc Changes
  • #​895: Add new xml10_content() and xml11_content() methods which behaves the same as
    html_content() and xml_content() methods, but express intention more clearly.

v0.38.2

Compare Source

New Features
  • #​893: Implement FusedIterator for NamespaceBindingsIter.
  • #​893: Make NamespaceResolver public.
  • #​893: Add NsReader::resolver() for access to namespace resolver.
Misc Changes
  • #​893: Rename PrefixIter to NamespaceBindingsIter.

v0.38.1

Compare Source

Important changes

To get text in events according to the XML specification (normalized EOLs) use the
new methods xml_content() instead of decode(). Deserializer uses new method
automatically.

New Features
  • #​882: Add new methods to create Deserializer from existing NsReader:
    • Deserializer::borrowing
    • Deserializer::borrowing_with_resolver
    • Deserializer::buffering
    • Deserializer::buffering_with_resolver
  • #​878: Add ability to serialize structs in $value fields. The struct name will
    be used as a tag name. Previously only enums was allowed there.
  • #​806: Add BytesText::xml_content, BytesCData::xml_content and BytesRef::xml_content
    methods which returns XML EOL normalized strings.
  • #​806: Add BytesText::html_content, BytesCData::html_content and BytesRef::html_content
    methods which returns HTML EOL normalized strings.
Bug Fixes
  • #​806: Properly normalize EOL characters in Deserializer.
  • #​888: Properly split attribute values by items when deserialize attribute into
    list of values and attribute requires decoding.

v0.38.0

Compare Source

Significant changes

Now references to entities (as predefined, such as &lt;, as user-defined) reported as a new
Event::GeneralRef.
Caller can parse the content of the entity and stream events from it as it is required by the
XML specification. See the updated custom_entities example!

Implement whitespace behavior in the standard in Deserializer, which says string primitive
types should preserve whitespace, while all other primitives have collapse behavior.

New Features
  • #​863: Add Attributes::into_map_access(&str) and Attributes::into_deserializer() when serialize
    feature is enabled. This will allow do deserialize serde types right from attributes. Both methods
    returns the same type which implements serde's Deserializer and MapAccess traits.
  • #​766: Allow to parse resolved entities as XML fragments and stream events from them.
  • #​766: Added new event Event::GeneralRef with content of general entity.
  • #​766: Added new configuration option allow_dangling_amp which allows to have
    a & not followed by ; in the textual data which is required for some applications
    for compatibility reasons.
  • #​285: Add ability to quick_xml::de::Text to access text with trimmed spaces
Bug Fixes
  • #​868: Allow to have both $text and $value special fields in one struct. Previously
    any text will be recognized as $value field even when $text field is also presented.
  • #​868: Skip text events when deserialize a sequence of items overlapped with text (including CDATA).
  • #​841: Do not strip xml prefix from the attributes when map them to struct fields in Deserializer.
Misc Changes
  • #​863: Remove From<QName<'a>> for BytesStart<'a> because now BytesStart stores the
    encoding in which its data is encoded, but QName is a simple wrapper around byte slice.
  • #​766: BytesText::unescape and BytesText::unescape_with replaced by BytesText::decode.
    Now Text events does not contain escaped parts which are reported as Event::GeneralRef.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link

Changes in Final Manifest

No diff

@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch from f3e6700 to cd31b30 Compare June 29, 2025 22:55
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch 2 times, most recently from 74974c9 to bd1d82d Compare July 13, 2025 17:17
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch 2 times, most recently from ab97874 to 7e0a936 Compare July 26, 2025 21:34
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch 3 times, most recently from fa6588b to c7cb5e8 Compare August 4, 2025 05:36
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch from c7cb5e8 to a298bda Compare August 14, 2025 19:00
@renovate renovate bot changed the title fix(deps): update rust crate quick-xml to 0.38 Update Rust crate quick-xml to 0.38 Aug 14, 2025
@renovate renovate bot changed the title Update Rust crate quick-xml to 0.38 fix(deps): update rust crate quick-xml to 0.38 Aug 15, 2025
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch 2 times, most recently from fb852f3 to 2839550 Compare August 19, 2025 22:57
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch from 2839550 to 2974c77 Compare August 24, 2025 10:25
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch 2 times, most recently from 76d0850 to d3a19f9 Compare September 4, 2025 03:17
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch 2 times, most recently from 0e87aca to beaa280 Compare September 27, 2025 00:21
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch 3 times, most recently from 240352c to 71e2234 Compare October 10, 2025 22:28
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch from 71e2234 to f3d245d Compare November 11, 2025 23:13
@renovate renovate bot force-pushed the renovate/quick-xml-0.x branch from f3d245d to 1aa4a32 Compare December 10, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant