Skip to content

Update dependency xml to v7#411

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/xml-7.x
Open

Update dependency xml to v7#411
renovate[bot] wants to merge 1 commit intomainfrom
renovate/xml-7.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 26, 2026

This PR contains the following updates:

Package Type Update Change
xml dependencies major ^6.5.0^7.0.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

renggli/dart-xml (xml)

v7.0.1

Compare Source

  • 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.

v7.0.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 26, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pubspec.lock
Command failed: flutter pub upgrade xml
Because flutter_local_notifications 21.0.0 depends on flutter_local_notifications_windows ^3.0.0 which depends on xml ^6.5.0, flutter_local_notifications 21.0.0 requires xml ^6.5.0.
So, because wispar depends on both flutter_local_notifications 21.0.0 and xml ^7.0.0, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on xml: flutter pub add xml:^6.6.1
Failed to update packages.

@renovate renovate Bot force-pushed the renovate/xml-7.x branch 4 times, most recently from 0ed4957 to 842cc15 Compare April 26, 2026 16:33
@renovate renovate Bot force-pushed the renovate/xml-7.x branch from 842cc15 to fd93cc9 Compare April 26, 2026 18:24
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.

0 participants