---
title: "quick-xml 0.42.0 Breaking Changes on crates.io | Since.dev"
description: "What each quick-xml release removed, renamed or changed: 364 breaking changes in 19 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/quick-xml
last_updated: 2026-12-04
---

# quick-xml breaking changes

quick-xml 0.42.0 (August 22, 2026) is its newest release with breaking changes, 119 of them. The first: Removed AsRef<\[u8\]>. Every breaking API change we have recorded in quick-xml on crates.io: 364 breaking changes in 19 versions. Below, its 19 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.42.0`, released August 22, 2026. [Source repository](https://github.com/tafia/quick-xml)

Its 0.31.0 release requires Rust 1.56 or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.25.0](#v-0-25-0) to [0.42.0](#v-0-42-0): 359 breaking changes in 18 versions.

## quick-xml 0.42.0 breaking changes

quick-xml 0.42.0, released August 22, 2026: 119 breaking changes.

- **Removed** `AsRef<[u8]>`  

Name types now wrap &str, so AsRef<\[u8\]> is gone. Use AsRef\<str> instead. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Removed** `Decoder`  

The Decoder struct is kept only for compatibility with deprecated Attribute methods. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Removed** `From<(&[u8], &[u8])>`  

The From impl taking a pair of byte slices has been removed. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Removed** `quick_xml::de::DeError::UnexpectedStart`  

quick_xml::de::DeError::UnexpectedStart was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::de::XmlRead::decoder`  

quick_xml::de::XmlRead::decoder was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::de::XmlRead::has_nil_attr`  

quick_xml::de::XmlRead::has_nil_attr was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::Decoder::decode`  

quick_xml::Decoder::decode was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::Decoder::decode_into`  

quick_xml::Decoder::decode_into was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::Decoder::encoding`  

quick_xml::Decoder::encoding was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::DeError::UnexpectedStart`  

quick_xml::DeError::UnexpectedStart was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::encoding::Decoder::decode`  

quick_xml::encoding::Decoder::decode was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::encoding::Decoder::decode_into`  

quick_xml::encoding::Decoder::decode_into was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::encoding::Decoder::encoding`  

quick_xml::encoding::Decoder::encoding was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::errors::serialize::DeError::UnexpectedStart`  

quick_xml::errors::serialize::DeError::UnexpectedStart was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::events::attributes::Attributes::decoder`  

quick_xml::events::attributes::Attributes::decoder was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::events::BytesCData::decode`  

Content is already available as &str via Deref, so decode() is gone. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::events::BytesRef::decode`  

Content is already available as &str via Deref, so decode() is gone. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::events::BytesStart::decoder`  

Event types and Attributes no longer have a decoder field or decoder() method. Decoding now assumes UTF-8. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::events::BytesText::decode`  

Content is already available as &str via Deref, so decode() is gone. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::name::DEFAULT_MAX_DECLARATIONS_PER_ELEMENT`  

quick_xml::name::DEFAULT_MAX_DECLARATIONS_PER_ELEMENT was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::name::NamespaceError::TooManyDeclarations`  

Match on TooManyBindings instead of TooManyDeclarations. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::Reader::decoder`  

quick_xml::Reader::decoder was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `quick_xml::reader::Reader::decoder`  

quick_xml::reader::Reader::decoder was removed in quick-xml 0.42.0 [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Removed** `Reader.decoder`  

Use Reader::encoding() instead, available with the encoding feature. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Renamed** `DeError.UnexpectedStart`  

Match on DeError::MixedContent instead of UnexpectedStart. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Renamed** `quick_xml::name::NamespaceResolver::max_declarations_per_element`  

Use quick_xml::name::NamespaceResolver::max_namespace_bindings instead. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Renamed** `quick_xml::name::NamespaceResolver::set_max_declarations_per_element`  

Call set_max_namespace_bindings instead; the limit's semantics changed slightly. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Behavior changed**  

Serialized attribute values now encode CR, LF and tab as character references, changing output bytes. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Behavior changed** `BytesText.new`  

Text containing CR is now escaped as &#13; by BytesText::new and the escape functions, changing output. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Behavior changed** `Deserializer`  

Deeply nested XML beyond the default limit of 128 now returns an error. Use Deserializer::recursion_limit() to raise it. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Behavior changed** `Event`  

Event types and the Event enum now dereference to str, not \[u8\]. Code relying on byte slices must change. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Behavior changed** `Reader.from_reader`  

Input that is not valid UTF-8 now fails with Error::Encoding. Wrap non-UTF-8 sources in DecodingReader to transcode them. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Default changed** `NamespaceResolver`  

The default maximum drops from 256 to 128, and the cap now applies to all in-scope bindings rather than per element. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Configuration changed**  

The minimum supported Rust version is now 1.86 and the crate uses the Rust 2024 Edition. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Signature changed** `Error.missed_end`  

Drop the Decoder argument when calling Error::missed_end. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.42.0)
- **Signature changed** `quick_xml::de::Deserializer::borrowing_with_resolver`  

Was fn borrowing_with_resolver(mut reader: NsReader<&'de \[u8\]>, entity_resolver: E) -> Self; now fn borrowing_with_resolver(reader: NsReader<&'de \[u8\]>, entity_resolver: E) -> Self. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::de::Deserializer::buffering_with_resolver`  

Was fn buffering_with_resolver(mut reader: NsReader\<R>, entity_resolver: E) -> Self; now fn buffering_with_resolver(reader: NsReader\<R>, entity_resolver: E) -> Self. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::de::IoReader::get_ref`  

Was fn get_ref(&self) -> &NsReader\<R>; now fn get_ref(&self) -> &Reader\<R>. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::de::SliceReader::get_ref`  

Was fn get_ref(&self) -> &NsReader<&'de \[u8\]>; now fn get_ref(&self) -> &Reader<&'de \[u8\]>. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::attributes::Attr::value`  

Was fn value(&self) -> &'a \[u8\]; now fn value(&self) -> &'a str. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::attributes::Attribute::decode_and_unescape_value`  

Use normalized_value instead, since attribute values are always UTF-8. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::attributes::Attribute::decode_and_unescape_value_with`  

Use normalized_value_with instead, since attribute values are always UTF-8. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::attributes::Attribute::decoded_and_normalized_value`  

Was fn decoded_and_normalized_value(&self, version: XmlVersion, decoder: Decoder) -> XmlResult\<Cow<'a, str>>; now fn decoded_and_normalized_value(&self, version: XmlVersion, \_decoder: Decoder) -> XmlResult\<Cow<'a, str>>. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::attributes::Attribute::decoded_and_normalized_value_with`  

Was fn decoded_and_normalized_value_with<'entity>(&self, version: XmlVersion, decoder: Decoder, depth: usize, resolve_entity: impl FnMut(&str) -> Option<&'entity str>) -> XmlResult\<Cow<'a, str>>; now fn... [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::attributes::Attribute::value`  

Attribute::value is Cow\<str> instead of a byte Cow. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::BytesCData`  

Was struct BytesCData<'a>; now struct BytesCData<'i>. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::BytesCData::escape`  

Was fn escape(self) -> Result\<BytesText<'a>, EncodingError>; now fn escape(self) -> Result\<BytesText<'i>, EncodingError>. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::BytesCData::escaped`  

Was fn escaped(content: &'a str) -> CDataIterator<'a>; now fn escaped(content: &'i str) -> CDataIterator<'i>. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::BytesCData::html_content`  

Was fn html_content(&self) -> Result\<Cow<'a, str>, EncodingError>; now fn html_content(&self) -> Cow<'i, str>. [crates.io](https://crates.io/crates/quick-xml/0.42.0)
- **Signature changed** `quick_xml::events::BytesCData::into_inner`  

Was fn into_inner(self) -> Cow<'a, \[u8\]>; now fn into_inner(self) -> Cow<'i, str>. [crates.io](https://crates.io/crates/quick-xml/0.42.0)

And 69 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## quick-xml 0.41.0 breaking changes

quick-xml 0.41.0, released June 29, 2026: 1 breaking change.

- **Behavior changed** `NamespaceResolver.push`  

NamespaceResolver::push, and so every NsReader Start or Empty event, now returns NamespaceError::TooManyDeclarations when a start tag declares more than 256 xmlns bindings. Raise the limit with set_max_declarations_per_element if you need... [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.41.0)

## quick-xml 0.40.0 breaking changes

quick-xml 0.40.0, released May 11, 2026: 29 breaking changes.

- **Removed** `NsReader.prefixes`  

The deprecated NsReader methods were removed. Use the .resolver() methods instead. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.40.0)
- **Removed** `NsReader.resolve`  

The deprecated NsReader methods were removed. Use the .resolver() methods instead. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.40.0)
- **Removed** `NsReader.resolve_attribute`  

The deprecated NsReader methods were removed. Use the .resolver() methods instead. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.40.0)
- **Removed** `NsReader.resolve_element`  

The deprecated NsReader methods were removed. Use the .resolver() methods instead. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.40.0)
- **Removed** `quick_xml::name::PrefixIter`  

Use NamespaceBindingsIter instead. [crates.io](https://crates.io/crates/quick-xml/0.40.0)
- **Removed** `quick_xml::NsReader::prefixes`  

quick_xml::NsReader::prefixes was removed in quick-xml 0.40.0 [crates.io](https://crates.io/crates/quick-xml/0.40.0)
- **Removed** `quick_xml::NsReader::resolve`  

quick_xml::NsReader::resolve was removed in quick-xml 0.40.0 [crates.io](https://crates.io/crates/quick-xml/0.40.0)
- **Removed** `quick_xml::NsReader::resolve_attribute`  

quick_xml::NsReader::resolve_attribute was removed in quick-xml 0.40.0 [crates.io](https://crates.io/crates/quick-xml/0.40.0)
- **Removed** `quick_xml::NsReader::resolve_element`  

quick_xml::NsReader::resolve_element was removed in quick-xml 0.40.0 [crates.io](https://crates.io/crates/quick-xml/0.40.0)
- **Removed** `quick_xml::reader::NsReader::prefixes`  

quick_xml::reader::NsReader::prefixes was removed in quick-xml 0.40.0 [crates.io](https://crates.io/crates/quick-xml/0.40.0)

And 19 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## quick-xml 0.39.2 breaking changes

quick-xml 0.39.2, released February 20, 2026: 2 breaking changes.

- **Signature changed** `quick_xml::Reader::read_to_end_into_async`  

Was async fn read_to_end_into_async<'n>(&mut self, // We should name that lifetime due to https://github.com/rust-lang/rust/issues/63033\` end: QName<'n>, buf: &mut Vec\<u8>) -> Result\<Span>; now async fn read_to_end_into_async<'n>(&mut... [crates.io](https://crates.io/crates/quick-xml/0.39.2)
- **Signature changed** `quick_xml::reader::Reader::read_to_end_into_async`  

Was async fn read_to_end_into_async<'n>(&mut self, // We should name that lifetime due to https://github.com/rust-lang/rust/issues/63033\` end: QName<'n>, buf: &mut Vec\<u8>) -> Result\<Span>; now async fn read_to_end_into_async<'n>(&mut... [crates.io](https://crates.io/crates/quick-xml/0.39.2)

## quick-xml 0.39.0 breaking changes

quick-xml 0.39.0, released January 11, 2026: 5 breaking changes.

- **Removed** `quick_xml::errors::SyntaxError::UnclosedPIOrXmlDecl`  

The UnclosedPIOrXmlDecl error variant is replaced by UnclosedPI and UnclosedXmlDecl, so code matching it must be updated. [crates.io](https://crates.io/crates/quick-xml/0.39.0)
- **Removed** `SyntaxError.UnclosedTag`  

The UnclosedTag error variant is split into UnclosedTag, UnclosedSingleQuotedAttributeValue and UnclosedDoubleQuotedAttributeValue, so code matching it must be updated. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.39.0)
- **Configuration changed**  

The minimum supported serde version rises from 1.0.139 to 1.0.180, so projects pinned to older serde must upgrade. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.39.0)
- **Signature changed** `quick_xml::events::attributes::Attributes::has_nil`  

Attributes::has_nil accepts a NamespaceResolver instead of a Reader, so callers must pass the resolver. [crates.io](https://crates.io/crates/quick-xml/0.39.0)
- **Signature changed** `quick_xml::parser::Parser::eof_error`  

Parser::eof_error now takes &self and content &\[u8\] parameters, so existing calls must be updated. [crates.io](https://crates.io/crates/quick-xml/0.39.0)

## quick-xml 0.38.2 breaking changes

quick-xml 0.38.2, released August 19, 2025: 35 breaking changes.

- **Signature changed** `quick_xml::escape::unescape`  

Was fn unescape(raw: &str) -> Result\<Cow\<str>, EscapeError>; now fn unescape(raw: &str) -> Result\<Cow<'\_, str>, EscapeError>. [crates.io](https://crates.io/crates/quick-xml/0.38.2)
- **Signature changed** `quick_xml::events::BytesCData::borrow`  

Was fn borrow(&self) -> BytesCData; now fn borrow(&self) -> BytesCData<'\_>. [crates.io](https://crates.io/crates/quick-xml/0.38.2)
- **Signature changed** `quick_xml::events::BytesDecl::borrow`  

Was fn borrow(&self) -> BytesDecl; now fn borrow(&self) -> BytesDecl<'\_>. [crates.io](https://crates.io/crates/quick-xml/0.38.2)
- **Signature changed** `quick_xml::events::BytesDecl::encoding`  

Was fn encoding(&self) -> Option\<Result\<Cow<\[u8\]>, AttrError>>; now fn encoding(&self) -> Option\<Result\<Cow<'\_, \[u8\]>, AttrError>>. [crates.io](https://crates.io/crates/quick-xml/0.38.2)
- **Signature changed** `quick_xml::events::BytesDecl::standalone`  

Was fn standalone(&self) -> Option\<Result\<Cow<\[u8\]>, AttrError>>; now fn standalone(&self) -> Option\<Result\<Cow<'\_, \[u8\]>, AttrError>>. [crates.io](https://crates.io/crates/quick-xml/0.38.2)
- **Signature changed** `quick_xml::events::BytesDecl::version`  

Was fn version(&self) -> Result\<Cow<\[u8\]>, Error>; now fn version(&self) -> Result\<Cow<'\_, \[u8\]>, Error>. [crates.io](https://crates.io/crates/quick-xml/0.38.2)
- **Signature changed** `quick_xml::events::BytesEnd::borrow`  

Was fn borrow(&self) -> BytesEnd; now fn borrow(&self) -> BytesEnd<'\_>. [crates.io](https://crates.io/crates/quick-xml/0.38.2)
- **Signature changed** `quick_xml::events::BytesEnd::local_name`  

Was fn local_name(&self) -> LocalName; now fn local_name(&self) -> LocalName<'\_>. [crates.io](https://crates.io/crates/quick-xml/0.38.2)
- **Signature changed** `quick_xml::events::BytesEnd::name`  

Was fn name(&self) -> QName; now fn name(&self) -> QName<'\_>. [crates.io](https://crates.io/crates/quick-xml/0.38.2)
- **Signature changed** `quick_xml::events::BytesPI::attributes`  

Was fn attributes(&self) -> Attributes; now fn attributes(&self) -> Attributes<'\_>. [crates.io](https://crates.io/crates/quick-xml/0.38.2)

And 25 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

13 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### quick-xml 0.38.1 breaking changes

quick-xml 0.38.1, released August 4, 2025: 1 breaking change.

- **Behavior changed** `Deserializer`  

Text read by Deserializer now uses XML end-of-line normalization, so code that reads text with CRLF line endings may see LF instead. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.38.1)

### quick-xml 0.38.0 breaking changes

quick-xml 0.38.0, released June 28, 2025: 6 breaking changes.

- **Removed** `From<QName<'a>> for BytesStart<'a>`  

BytesStart now stores its encoding, so the From\<QName<'a>> implementation was removed. Code that converts a QName into BytesStart with From must be changed. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.38.0)
- **Removed** `quick_xml::events::BytesText::unescape`  

BytesText::unescape is gone and BytesText::decode takes its place. Text events no longer contain escaped parts, so code must handle Event::GeneralRef separately. [crates.io](https://crates.io/crates/quick-xml/0.38.0)

And 4 more in this version.

### quick-xml 0.37.0 breaking changes

quick-xml 0.37.0, released October 27, 2024: 73 breaking changes.

- **Removed** `DeError.InvalidBoolean`  

The DeError::InvalidBoolean variant was removed; the visitor of the type now returns this error. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.37.0)
- **Removed** `DeError.InvalidFloat`  

The DeError::InvalidFloat variant was removed; the visitor of the type now returns this error. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.37.0)

And 71 more in this version.

### quick-xml 0.36.0 breaking changes

quick-xml 0.36.0, released July 8, 2024: 4 breaking changes.

- **Removed** `quick_xml::reader::PiParser`  

reader::PiParser moved to the new module parser. Update imports to use the new path. [crates.io](https://crates.io/crates/quick-xml/0.36.0)
- **Renamed** `quick_xml::reader::ElementParser`  

reader::ElementParser moved to the new module parser. Update imports to use the new path. [crates.io](https://crates.io/crates/quick-xml/0.36.0)

And 2 more in this version.

### quick-xml 0.35.0 breaking changes

quick-xml 0.35.0, released June 29, 2024: 7 breaking changes.

- **Removed** `quick_xml::escape::EscapeError::EntityWithNull`  

This variant is replaced by InvalidCharRef, which holds a ParseCharRefError. [crates.io](https://crates.io/crates/quick-xml/0.35.0)
- **Removed** `quick_xml::escape::EscapeError::InvalidCodepoint`  

This variant is replaced by InvalidCharRef, which holds a ParseCharRefError. [crates.io](https://crates.io/crates/quick-xml/0.35.0)

And 5 more in this version.

### quick-xml 0.34.0 breaking changes

quick-xml 0.34.0, released June 24, 2024: 14 breaking changes.

- **Behavior changed** `Writer.write_event`  

Writer::write_event takes ownership of the event. Use Event::borrow() if you need to keep it. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.34.0)
- **Signature changed** `quick_xml::events::attributes::Attribute::decode_and_unescape_value`  

Attribute::decode_and_unescape_value now accepts a Decoder instead of a Reader. Use Reader::decoder() to get one. [crates.io](https://crates.io/crates/quick-xml/0.34.0)

And 12 more in this version.

### quick-xml 0.33.0 breaking changes

quick-xml 0.33.0, released June 21, 2024: 6 breaking changes.

- **Configuration changed** `quick_xml.escape.resolve_html5_entity`  

The function is hidden behind the escape-html feature again, so code using it without enabling that feature will no longer compile. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.33.0)
- **Signature changed** `quick_xml::ElementWriter::write_pi_content`  

Was fn write_pi_content(self, text: BytesText) -> Result<&'a mut Writer\<W>>; now fn write_pi_content(self, pi: BytesPI) -> Result<&'a mut Writer\<W>>. [crates.io](https://crates.io/crates/quick-xml/0.33.0)

And 4 more in this version.

### quick-xml 0.32.0 breaking changes

quick-xml 0.32.0, released June 10, 2024: 22 breaking changes.

- **Removed** `quick_xml::de::DeError::ExpectedStart`  

quick_xml::de::DeError::ExpectedStart was removed in quick-xml 0.32.0 [crates.io](https://crates.io/crates/quick-xml/0.32.0)
- **Removed** `quick_xml::de::DeError::UnexpectedEnd`  

quick_xml::de::DeError::UnexpectedEnd was removed in quick-xml 0.32.0 [crates.io](https://crates.io/crates/quick-xml/0.32.0)

And 20 more in this version.

### quick-xml 0.31.0 breaking changes

quick-xml 0.31.0, released October 23, 2023: 8 breaking changes.

- **Behavior changed**  

The serde enum representation was changed to stay compatible with serde 1.0.181 and later. Code that depends on the previous enum encoding must be updated. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.31.0)
- **Behavior changed**  

Empty simpleType values such as attributes now always deserialize into Option fields as Some(""). Code that expects None for these fields must be updated. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.31.0)

And 6 more in this version.

### quick-xml 0.30.0 breaking changes

quick-xml 0.30.0, released July 23, 2023: 1 breaking change.

- **Signature changed** `quick_xml::de::Deserializer::from_str`  

Was fn from_str(s: &'de str) -> Self; now fn from_str(source: &'de str) -> Self. [crates.io](https://crates.io/crates/quick-xml/0.30.0)

### quick-xml 0.28.0 breaking changes

quick-xml 0.28.0, released March 13, 2023: 17 breaking changes.

- **Removed** `quick_xml::de::DeEvent::CData`  

The DeEvent::CData event was removed and its content is now delivered as DeEvent::Text, merged with adjacent text when deserializing with serde. [crates.io](https://crates.io/crates/quick-xml/0.28.0)
- **Renamed** `quick_xml::Writer::inner`  

Use quick_xml::Writer::get_mut instead. [crates.io](https://crates.io/crates/quick-xml/0.28.0)

And 15 more in this version.

### quick-xml 0.27.0 breaking changes

quick-xml 0.27.0, released December 25, 2022: 9 breaking changes.

- **Removed** `$primitive=`  

The $primitive= prefix was removed; prepend @ to the field name to serialize it as an attribute. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.27.0)
- **Removed** `$unflatten=`  

The $unflatten= prefix for serde fields was removed; use the @ prefix to mark attributes instead. [github.com](https://github.com/tafia/quick-xml/releases/tag/v0.27.0)

And 7 more in this version.

### quick-xml 0.25.0 breaking changes

quick-xml 0.25.0, released September 10, 2022: 5 breaking changes.

- **Behavior changed**  

Map keys are now restricted to only types that can be serialized as primitives. Code using other key types for serialized maps will now fail. [github.com](https://github.com/tafia/quick-xml/blob/v0.25.0/Changelog.md)
- **Signature changed** `DeError.Unsupported`  

The content of DeError::Unsupported changed from &'static str to Cow<'static, str>. Code that constructs or matches this variant with a string slice must be updated. [github.com](https://github.com/tafia/quick-xml/blob/v0.25.0/Changelog.md)

And 3 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
