fix(deps): update dependency xml to v7#3215
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
d7a3c23 to
7d74514
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.0.0→^7.0.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
renggli/dart-xml (xml)
v7.0.1Compare Source
XmlDocument.parseandXmlDocumentFragment.parseare 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).namespacearguments and replace them with the more intention revealingnamespaceUriandnamespacePrefix.validateNamespacesandwithNamespaces. This is a BREAKING CHANGE to existing code using these lower-level APIs, as namespaces are no longer available by default.XmlNamespaceExceptionfor error reporting of invalid namespaces.XmlNameis now immutable and the complexity with different states is gone.XmlNamespacenode type andXmlHasNamespacesmixin to support reading in-scope namespaces on nodes.XmlParentException. This aligns with standard DOM behavior and improves usability and performance.XmlDocumentFragmentnodes are automatically expanded and their children are moved as well.XmlBuilder:XmlBuilderas all namespace lookups are now in constant time.namespace(String uri, String? prefix)andnamespaces(Map<String, String?> uriToPrefix)accessors that have an unusually awkward API. Replaced withnamespaceUri(String? prefix, String? uri)andnamespaceUris(Map<String, String> prefixToUri)with a clear prefix-uri order.String? namespacearguments when definition elements and attributes. Replaced with more flexibleString namespacePrefixandString namespaceUri.||), range (to), quantified (some/every), loops (for), simple map (!), lookup (?), and node comparison (is,<<,>>).fn:function-lookup.Q{uri}name).attribute(),document-node()andelement()).v7.0.0Compare Source
v6.6.1Compare Source
v6.6.0Compare Source
v6.5.0Compare Source
XmlNode.xpathGenerateto create a readable XPath for all nodes.XmlNode.isEqualNodeandXmlNode.compareNodePosition.v6.4.2Compare Source
v6.4.1Compare Source
v6.4.0Compare Source
v6.3.0Compare Source
XmlElement.tagconstructor that greatly simplifies the creation of elements, i.e.XmlElement(XmlName('br'), [], [], true)becomesXmlElement.tag('br', isSelfClosing: true).XmlNode.text: Replace withXmlNode.valueto access the textual contents of the node, orXmlNode.innerTextto access the textual contents of its descendants.XmlNode.siblingsand various related methods to also work correctly onXmlAttributenodes, make the method return a mutable list.XmlNode.replace(XmlNode)and addXmlNode.remove()for easy removal of a node.v6.2.2Compare Source
v6.2.1Compare Source
v6.2.0Compare Source
XmlEventwithtapEachEvent(similar toforEachEvent).XmlNameequality operator==andhashCode. This is inconsistent with the other DOM nodes, and the provided implementation might not have the desired behavior.innerTextorinnerXmlon DOM nodes that cannot have children.v6.1.0Compare Source
XmlDoctypecan now be accessed throughname,externalIdandinternalSubset.v6.0.1Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.