Skip to content

chore(deps): bump xml from 7.0.1 to 7.1.0 in the pub group across 1 directory - #12

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/pub-bdcf0f067b
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/pub-bdcf0f067b

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026 •

Copy link
Copy Markdown

Bumps the pub group with 1 update in the / directory: xml.

Updates xml from 7.0.1 to 7.1.0

Changelog

Sourced from xml's changelog.

7.1.0

  • Dart 3.13 and PetitParser 7.1.0 requirement.
  • Standard-compliant DOM position comparison:
    • Introduced XmlNode.compareDocumentPosition returning XmlDocumentPosition bitmask flags (isSame, isDisconnected, isPreceding, isFollowing, isContains, isContainedBy, isImplementationSpecific), matching W3C DOM Level 3 / DOM 4.
    • Deprecated XmlNode.compareNodePosition in favor of compareDocumentPosition.
  • XML attribute and namespace separation:
    • Added XmlAttribute.isNamespaceDeclaration to distinguish namespace declarations (xmlns or xmlns:*) from regular attributes.
    • Added elementAttributes getter on XmlAttributesBase and XmlHasAttributes to iterate over attributes excluding namespace declarations.
  • XPath 3.1 enhancements and W3C compliance:
    • Excluded namespace declarations from the attribute axis (@*), aligning with XPath 3.1 specification.
    • Restored document order for reverse-indexed axes with predicates.
    • Implemented canonical EQName path generation in fn:path (/Q{uri}name[idx], @Q{uri}name, text()[idx]).
    • Improved ID and IDREF resolution in fn:id, fn:idref, and fn:element-with-id with xml:id and DTD <!ATTLIST ... ID/IDREF> attribute declarations.
    • Introduced XPathConfiguration to configure evaluation contexts (custom variables, functions, namespaces, documents, environment variables, base URI, unparsed text loader, and trace callback). Deprecated passing variables and functions directly to xpath and xpathEvaluate.
    • Added XML serialization (fn:serialize) supporting XML, HTML, XHTML, text, JSON, and adaptive output methods with serialization parameters.
    • Added PetitParser-based regular expression transformer for XML Schema regex syntax supporting fn:matches, fn:replace, fn:tokenize, and fn:analyze-string.
    • Added fn:parse-ietf-date.
    • Standardized error handling with XPathErrorCode and W3C error codes.
    • Redesigned date, time, and duration types (xs:duration, xs:dayTimeDuration, xs:yearMonthDuration, xs:dateTime, xs:date, xs:time, and Gregorian date types) for strict W3C compliance.
    • Added support for xs:anyAtomicType, xs:error, and string-derived XML Schema constructors.
    • Added support for unparsed text and JSON document retrieval (fn:unparsed-text, fn:unparsed-text-lines, fn:unparsed-text-available, fn:json-doc) via unparsedTextLoader.
    • Added context-aware document lookup (fn:doc, fn:doc-available) and cross-platform environment variable resolution (fn:environment-variable, fn:available-environment-variables).
    • Added support for key sequences and native Dart Map and List structures in lookup expressions (?).
    • Integrated maps and arrays into dynamic function calls.
    • Added duration support in aggregation functions (fn:avg, fn:sum).
    • Protected arithmetic and math functions (fn:ceiling, fn:floor, duration operations) against Infinity and NaN.
    • Significant XPath evaluation performance optimizations:
      • Preserved document order on absolute paths (/, //), avoiding redundant sorting and deduplication fallbacks. Yields up to 775x speedup on large documents (e.g., at $N=10,000$, //* is ~775x faster dropping from 3.75s to 4.8ms; /root/item/name is ~609x faster dropping from 840ms to 1.38ms; //item is ~307x faster dropping from 870ms to 2.84ms).
      • Introduced two-tier node sorting with direct sibling indexing in DOM position comparisons for queries requiring deduplication.
      • Collapsed DescendantOrSelfAxis + ChildAxis into DescendantAxis for steps with non-positional predicates (e.g., //item[@id=100] is ~5.75x faster).
      • Cached small XPathInteger instances (0..128) and unboxed integer comparisons for zero-allocation positional predicate matching with early-exit loop termination.
      • Optimized sequence atomization with zero-allocation fast paths for empty and single-item sequences, along with primitive 1-vs-1 comparison fast paths.
    • Fix short-circuit evaluation for != general comparisons (#207).
    • Removed @experimental annotation from XPath API.
  • Add command-line XPath evaluation example tool (example/xml_xpath.dart).
Commits
  • fc47f1c Ready for 7.1.0
  • 6903616 Add command-line XPath evaluation example tool
  • 34d51d2 Update documentation, verify examples, and adhere to Dartdoc conventions
  • 52bff18 [XPath] Close coverage gaps across path, predicate, operator, and sequence op...
  • 7544f43 [XPath] Optimize path evaluation, step collapsing, and sequence atomization
  • 1c779b5 [XPath] Enhance regex back-reference handling and XPath function argument val...
  • 37c428c [XPath] Implement PetitParser-based regex transformer and push QT3 pass rate ...
  • 168c1e1 [XPath] Improve XPath test coverage further
  • 24ba23b [XPath] Expand XPath and XML events test suites to close coverage gaps
  • 2000f67 [XPath] Remove unused operators and dead sequence caching code
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file dart Pull requests that update dart code labels Oct 1, 2026
Bumps the pub group with 1 update in the / directory: [xml](https://github.com/renggli/dart-xml).


Updates `xml` from 7.0.1 to 7.1.0
- [Changelog](https://github.com/renggli/dart-xml/blob/main/CHANGELOG.md)
- [Commits](renggli/dart-xml@v7.0.1...v7.1.0)

---
updated-dependencies:
- dependency-name: xml
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pub
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pub/pub-bdcf0f067b branch from 468bfb1 to 8383284 Compare October 8, 2026 08: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