Skip to content

chore(deps): bump xml from 6.6.1 to 7.0.1#2

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

chore(deps): bump xml from 6.6.1 to 7.0.1#2
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/xml-7.0.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 19, 2026

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 @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github May 19, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@anilcancakir
Copy link
Copy Markdown
Contributor

@dependabot rebase

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 c031009 to 5846831 Compare May 19, 2026 19:06
anilcancakir added a commit that referenced this pull request May 19, 2026
…rate XmlName

Applies dependabot PR #2 (xml major bump) + PR #3 (lints major bump). Both pass locally with 1055 non-integration tests green and zero analyzer issues.\n\nxml 7 deprecates XmlName('localname') in favor of XmlName.parts('localname'). Migrated all 8 occurrences in lib/src/helpers/plist_writer.dart in the same commit so dart analyze stays at zero info/warning/error after the bump.\n\nlints 6 is dev_dependencies-only (consumed via package:lints/recommended.yaml in analysis_options.yaml). The new rule set surfaces no new diagnostics on this codebase.\n\nDependabot PR #1 (test 1.30 -> 1.31 in example/packages/awesome_plugin) is NOT applied: test 1.31 requires test_api 0.7.11+, the Flutter SDK 3.44 currently bundles test_api 0.7.10 via flutter_test. Closing that PR; revisit after the next Flutter stable bump.
@anilcancakir
Copy link
Copy Markdown
Contributor

Closed by 34f523c on master (xml ^7.0.0 + XmlName migration landed).

@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github May 19, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pub/xml-7.0.1 branch May 19, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant