Skip to content

Bump xml from 6.6.1 to 7.0.1#1209

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/xml-7.0.1
Closed

Bump xml from 6.6.1 to 7.0.1#1209
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/xml-7.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026

Copy link
Copy Markdown
Contributor

Bumps xml from 6.6.1 to 7.0.1.

Changelog

Sourced from xml's changelog.

7.0.1

  • Better namespace support across all parts of the library:
    • Namespaces of XmlDocument.parse and XmlDocumentFragment.parse are now resolved at parse-time and constant when manipulating the DOM (this aligns with other XML libraries and removes surprising behavior when moving nodes around).
    • Deprecate all namespace arguments and replace them with the more intention revealing namespaceUri and namespacePrefix.
    • Lower-level parser and event APIs can now enable and disable the validation and resolution of namespaces with validateNamespaces and withNamespaces. This is a BREAKING CHANGE to existing code using these lower-level APIs, as namespaces are no longer available by default.
    • Introduced XmlNamespaceException for error reporting of invalid namespaces.
    • XmlName is now immutable and the complexity with different states is gone.
    • Added XmlNamespace node type and XmlHasNamespaces mixin to support reading in-scope namespaces on nodes.
  • Correctly move nodes from their previous parent when inserting them into a new location, rather than throwing an XmlParentException. This aligns with standard DOM behavior and improves usability and performance. XmlDocumentFragment nodes are automatically expanded and their children are moved as well.
  • Improved performance and usability of XmlBuilder:
    • Significantly improve the performance of XmlBuilder as all namespace lookups are now in constant time.
    • Deprecated namespace(String uri, String? prefix) and namespaces(Map<String, String?> uriToPrefix) accessors that have an unusually awkward API. Replaced with namespaceUri(String? prefix, String? uri) and namespaceUris(Map<String, String> prefixToUri) with a clear prefix-uri order.
    • Deprecated String? namespace arguments when definition elements and attributes. Replaced with more flexible String namespacePrefix and String namespaceUri.
  • Comprehensive XPath 3.1 support:
    • Complete execution model supporting sequences of items (nodes, atomic values, functions, maps, and arrays).
    • New expressions and operators: String concatenation (||), range (to), quantified (some/every), loops (for), simple map (!), lookup (?), and node comparison (is, <<, >>).
    • Support for Higher-Order Functions: Inline, named, and arrow functions, inclusive of partial function application and dynamic binding with fn:function-lookup.
    • Native support for XPath Data Model (XDM) maps and arrays, including associated JSON and sequence functions.
    • Added support for EQName parsing (Q{uri}name).
    • Add missing XPath name tests (namespace prefix, namespace URI, local name, and wildcards) and node tests (attribute(), document-node() and element()).
    • Significantly improve XPath evaluation performance for large documents (thanks to laishere).
    • Fix issues with XPath axis parsing, reverse axis access, and predicate expressions (thanks to laishere).
  • Update to PetitParser 7.0.2.
Commits
  • 631ccbc Ready for 7.0.1
  • cc9e6fb Align documentation and DOM compliant behavior for XmlNodeList.
  • 735d88c Ready for 7.0.0
  • da8cb43 Bump codecov/codecov-action from 5 to 6
  • e75cd46 Some fixes to README.md
  • 141091b Update year in LICENSE
  • 9ef2ca5 [XPath] Fix timezone tests
  • f562284 [XML] Fix various typos in documentation and code.
  • b470f2f [XML] Correctly move children out of XmlDocumentFragment when inserting it ...
  • 8a4f89b Fix README.md and some documentation hitchups.
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Jun 1, 2026
Bumps [xml](https://github.com/renggli/dart-xml) from 6.6.1 to 7.0.1.
- [Changelog](https://github.com/renggli/dart-xml/blob/main/CHANGELOG.md)
- [Commits](renggli/dart-xml@v6.6.1...v7.0.1)

---
updated-dependencies:
- dependency-name: xml
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pub/xml-7.0.1 branch from 712360e to dea51e0 Compare June 15, 2026 18:33
@dependabot @github

dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Looks like xml is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Jun 15, 2026
@dependabot dependabot Bot deleted the dependabot/pub/xml-7.0.1 branch June 15, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update Dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants