| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-01-11 | 2.5 kB | |
| v0.39.0 - Config for Writer source code.tar.gz | 2026-01-11 | 1.5 MB | |
| v0.39.0 - Config for Writer source code.zip | 2026-01-11 | 1.5 MB | |
| Totals: 3 Items | 3.0 MB | 1 | |
What's Changed
Added a way to configure Writer. Now all configuration is contained in the writer::Config
struct and can be applied at once. When serde-types feature is enabled, configuration is serializable.
New Features
- #846: Add methods
config()andconfig_mut()to inspect and change the writer configuration. - #846: Add ability to write space before
/>in self-closed tags for maximum compatibility with XHTML. - #846: Add method
empty_element_handling()as a more powerful alternative toexpand_empty_elements()inSerializer. - #929: Allow to pass list of field names to
impl_deserialize_for_internally_tagged_enum!macro which is required if you enum variants contains$valuefields.
Bug Fixes
- #923: Implement correct skipping of well-formed DTD.
Misc Changes
- #908: Increase minimal supported
serdeversion from 1.0.139 to 1.0.180. - #913: Deprecate
.prefixes(),.resolve(),.resolve_attribute(), and.resolve_element()ofNsReader. Use.resolver().bindings()and.resolver().resolve()methods instead. - #913:
Attributes::has_nilnow acceptsNamespaceResolverinstead ofReader<R>. - #924: (breaking change) Split
SyntaxError::UnclosedPIOrXmlDeclintoUnclosedPIandUnclosedXmlDeclfor more precise error reporting. - #924: (breaking change)
Parser::eof_errornow takes&selfand content&[u8]parameters. - #926: (breaking change) Split
SyntaxError::UnclosedTagintoUnclosedTag,UnclosedSingleQuotedAttributeValueandUnclosedDoubleQuotedAttributeValuefor more precise error reporting.
New Contributors
- @rzmk made their first contribution in https://github.com/tafia/quick-xml/pull/920
- @zrneely made their first contribution in https://github.com/tafia/quick-xml/pull/922
- @SuchAFuriousDeath made their first contribution in https://github.com/tafia/quick-xml/pull/924
- @tayu0110 made their first contribution in https://github.com/tafia/quick-xml/pull/925
Full Changelog: https://github.com/tafia/quick-xml/compare/v0.38.4...v0.39.0