Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 6, 2025

Updates the requirements on roxmltree to permit the latest version.

Changelog

Sourced from roxmltree's changelog.

[0.21.0] - 2025-10-04

Added

  • ParsingOptions::entity_resolver can be used to resolve external entities referenced via public ID and URI.

Changed

  • Node::has_attribute, Node::attribute and Node::attribute_node match local names similar to how Node::has_tag_name works.
  • Various internal performance improvements, e.g. devirtualization of token dispatch and usage of memchr for finding delimiters.

Fixed

  • Possible panic when entity resolution yields unbalanced tags.
  • Quadratic runtime when merging consecutive text nodes.

[0.20.0] - 2024-05-23

Added

  • Attribute::range, Attribute::range_qname, Attribute::range_value. Thanks to @​Jayonas

Changed

  • Attribute::position is deprecated now.
  • The positions build feature uses a bit more memory now to better preserve attribute ranges.

[0.19.0] - 2023-11-18

Changed

  • xmlparser is no longer a dependency and its fork is used internally.
  • ~5% faster parsing.
  • Fallback to Rc when Arc isn't available.
  • Bump MSRV to 1.60
  • Bump edition to 2021
  • Error variants have changed quite a lot.
  • XML declaration validation was simplified. We no longer check for attributes content. Meaning that version, encoding and standalone can contain any value now. But we still do check attribute names and order. And while we did validated those attributes before, they weren't really affecting the parser in any way. Therefore the parsing behavior is mostly unchanged.

Fixed

  • ParsingOptions::allow_dtd = false would not trigger an error when an empty DTD was present.

Removed

  • The xmlparser dependency.

[0.18.1] - 2023-09-30

Added

Fixed

  • Replace \r in CDATA as well.
  • no_std build. Thanks to @​wenyuzhao

... (truncated)

Commits
  • cd5b0e8 Fix benchmark build, update changelog and bump version.
  • 634f4d0 Add support for resolving external entities
  • a1bd711 Adjust attribute accessors to match purely on local names
  • 5528680 Fix lints emitted by current nightly Clippy.
  • d2c7801 Speed-up attribute parsing by splitting tokenizing and verification
  • 239114a Add benchmark using gigantic SVG containing huge attribute values.
  • 3b09447 Avoid quadratic runtime when merging text nodes
  • 6df398d Refine and extend synthetic benchmarks stressing CDATA, text and attribute va...
  • faffff8 Use of try_consume_reference always treats failure as fatal, so no need to ba...
  • bc7a816 Devirtualize XmlEvents dispatch to give the optimizer full visibility
  • 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 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)

Updates the requirements on [roxmltree](https://github.com/RazrFalcon/roxmltree) to permit the latest version.
- [Changelog](https://github.com/RazrFalcon/roxmltree/blob/master/CHANGELOG.md)
- [Commits](RazrFalcon/roxmltree@v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: roxmltree
  dependency-version: 0.21.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 6, 2025
@francisdb
Copy link
Owner

@dependabot squash and merge

@dependabot dependabot bot merged commit c907dd9 into main Oct 7, 2025
5 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/roxmltree-0.21.0 branch October 7, 2025 07:54
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