Update dependency rexml to v3.4.5 #43

Merged
randy merged 1 commits from renovate/rexml-3.x-lockfile into main 2026-12-05 14:13:13 +01:00
Owner

This PR contains the following updates:

Package Change Age Confidence
rexml (changelog) 3.4.4 → 3.4.5 age confidence

Release Notes

ruby/rexml (rexml)

v3.4.5: REXML 3.4.5 - 2026-12-04

Compare Source

Incompatible changes
  • Dropped support for Ruby 2.5 (Ruby 2.6 or later is now required)

  • Removed unused REXML::QuickPath (rexml/quickpath)

    • GH-250
    • GH-362
    • Patch by Sutou Kouhei
    • Reported by NAITOH Jun
  • Changed REXML::Functions to a REXML::FunctionsClass instance for thread safety and removed unused REXML::Functions.text, .processing_instruction, .variables, and .namespace_context

  • Switched available XPath function checks from a denylist to an allowlist

    • Monkey-patching custom XPath functions onto REXML::Functions is no longer supported
    • GH-369
    • Patch by tomoya ishida, Sutou Kouhei
  • Stopped falling back to XPath.match for unregistered XPath functions in FunctionsClass#send (now returns [])

    • GH-364
    • Patch by tomoya ishida
  • Changed XPath to always return node-sets in document order

    • Changes the returned order of XPath.match / XPath.first for reverse axes such as ancestor:: and preceding:: to match the XPath 1.0 specification
    • GH-319
    • GH-320
    • GH-356
    • Patch by tomoya ishida, NAITOH Jun
    • Reported by tomoya ishida
  • Stopped matching prefixed attributes by their local name only

    • Attributes#[], #get_attribute, and Element#attribute no longer return x:b for "b"; use the qualified name ("x:b") or a namespace
    • Attributes#keys now returns qualified names (e.g. "xmlns:x", "x:b")
    • GH-335
    • Patch by tomoya ishida
  • Validated XPath variable values and fixed id() return value

    • Unsupported variable value types now raise TypeError, predicates on non-nodeset variables return [], and unimplemented id() returns [] instead of nil
    • GH-15
    • GH-342
    • Patch by tomoya ishida
    • Reported by Sutou Kouhei
  • Removed non-working XPath namespace:: axis handling

    • Emits a warning and returns [] instead of raising NoMethodError
    • GH-323
    • Patch by tomoya ishida
  • Changed XPath mod operator to use truncating remainder (Numeric#remainder) and return NaN for mod 0

    • Matches XPath 1.0 for negative operands and no longer raises ZeroDivisionError for a zero divisor
    • GH-385
    • GH-386
    • Patch by Sourya Singh
    • Reported by bardrop
  • Returned Infinity / NaN from XPath string(), floor(), and ceiling() instead of raising FloatDomainError

Improvements
  • Improved performance

  • Made REXML Ractor-compatible

    • GH-344
    • Patch by John Hawthorn
  • Deprecated unused REXML::Text.read_with_substitution (use REXML::Text.unnormalize instead)

    • GH-363
    • Patch by Sutou Kouhei
  • Supported parenthesized XPath expressions and abbreviate of parentheses

  • Supported string-length() XPath function without an argument

  • Accepted processing instructions in the internal DTD subset

  • Accepted non-ASCII names, combining characters, and extenders in DOCTYPE, processing instructions, DTD declarations, elements, and attributes

  • Accepted any XML whitespace around XPath operators and, or, div, and mod

    • GH-399
    • Patch by Moksh Upadhyay
  • Rejected underscored XPath function names (e.g. local_name()) in strict mode (default mode keeps the alias for backward compatibility)

    • GH-352
    • GH-366
    • Patch by JinHyuk Sung
    • Reported by tomoya ishida
  • Improved documentation

Fixes
  • Fixed an issue when executing REXML::Parsers::SAX2Parser#parse without specifying #listen

  • Fixed infinite entity expansion by detecting circular references

    • Circular entity references now raise REXML::ParseException instead of SystemStackError
    • GH-312
    • Patch by NAITOH Jun
  • Fixed parsing XPath expressions with string literals containing parentheses and brackets

    • GH-318
    • Patch by tomoya ishida
  • Fixed XPath normalize-space() function

    • GH-324
    • Patch by tomoya ishida
  • Fixed XPath functions not to return a primitive value wrapped in an array

    • GH-326
    • Patch by tomoya ishida
  • Fixed XPath self axis nodeset position

    • GH-336
    • Patch by tomoya ishida
  • Fixed XMLDecl being included in XPath descendant::node() results

    • GH-331
    • GH-341
    • Patch by tomoya ishida
    • Reported by tomoya ishida
  • Fixed XPath name functions (name(), local-name(), namespace-uri())

    • Uses the first node in document order without skipping unnamed nodes (e.g. name(root/node()) returns "" instead of "node" when a text node comes first)
    • GH-343
    • Patch by tomoya ishida, NAITOH Jun
  • Fixed substring-after() XPath function not to use Regexp match

    • GH-355
    • Patch by Vít Ondruch
  • Fixed REXML::Element#attribute when a namespace URI has multiple bindings

    • GH-346
    • GH-357
    • Patch by JinHyuk Sung
    • Reported by tomoya ishida
  • Avoided stack exhaustion in REXML::Formatters::Default#write_element for deeply nested documents

  • Explicitly required "set" in xpath_parser.rb

    • GH-361
    • Patch by tomoya ishida
  • Stopped substituting entities with an empty value

    • Entities declared with an empty value are no longer inserted between every character during text/attribute normalization
    • GH-370
    • Patch by NAITOH Jun
  • Fixed REXML::Formatters::Pretty mutating text nodes while pretty printing

  • Rejected invalid character references in entity expansion

    • Invalid XML character references inside entity values now raise REXML::ParseException
    • GH-372
    • Patch by Sutou Kouhei
  • Fixed XPath lang() not to match a language prefix that is not a sublanguage

  • Fixed RELAX NG validation of documents with XML declarations

  • Fixed XPath substring() with a start before the first character and round() for negative halves

    • e.g. substring('12345', 0) now returns "12345" instead of "1234", and round(-2.5) returns -2 instead of -3
    • GH-382
    • Patch by bardrop
  • Fixed XPath comparisons between a node-set and a boolean, number, or string

    • Fixes reversed relational operators when the node-set is on the right (e.g. 10 > @price), boolean comparisons, and string comparisons
    • GH-383
    • Patch by bardrop
  • Preserved whitespace before word operators after XPath predicates

  • Fixed XPath unary minus parsing with leading or separating spaces

    • Unary minus without an operand (e.g. "-", " - - ") now raises REXML::ParseException
    • GH-393
    • Patch by NAITOH Jun
  • Renamed the XPath test fixture xp.tst to xp.txt

    • GH-394
    • Patch by botamochi0x12
  • Formatted small floats without scientific notation in XPath string()

    • e.g. string(0.00001) now returns "0.00001" instead of "1.0e-05"
    • GH-395
    • Patch by Moksh Upadhyay
  • Fixed XPath parsing of expressions and literals containing line breaks

    • GH-397
    • Patch by Moksh Upadhyay
  • Fixed XPath matching for the predefined xml namespace and empty strings

    • GH-396
    • GH-398
    • Patch by Akshay Kumar Sharma
    • Reported by Dickson Wu
Thanks
  • NAITOH Jun

  • Sutou Kouhei

  • tomoya ishida

  • Burdette Lamar

  • John Hawthorn

  • Sai Asish Y

  • Vít Ondruch

  • JinHyuk Sung

  • KBS

  • Wleeaf

  • FFspiky

  • Sourya Singh

  • Gal Be

  • bardrop

  • Moksh Upadhyay

  • Akshay Kumar Sharma

  • botamochi0x12

  • Hiroya Fujinami

  • Brian

  • pboling

  • gemmaro

  • Dickson Wu


Configuration

📅 Schedule: (in timezone Europe/Bratislava)

  • 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 becomes conflicted, 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 has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [rexml](https://github.com/ruby/rexml) ([changelog](https://github.com/ruby/rexml/releases/tag/v3.4.5)) | `3.4.4` → `3.4.5` | ![age](https://developer.mend.io/api/mc/badges/age/rubygems/rexml/3.4.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/rexml/3.4.4/3.4.5?slim=true) | --- ### Release Notes <details> <summary>ruby/rexml (rexml)</summary> ### [`v3.4.5`](https://github.com/ruby/rexml/releases/tag/v3.4.5): REXML 3.4.5 - 2026-12-04 [Compare Source](https://github.com/ruby/rexml/compare/v3.4.4...v3.4.5) ##### Incompatible changes - Dropped support for Ruby 2.5 (Ruby 2.6 or later is now required) - [GH-271](https://github.com/ruby/rexml/issues/271) - [GH-347](https://github.com/ruby/rexml/issues/347) - Patch by NAITOH Jun - Reported by pboling - Removed unused `REXML::QuickPath` (`rexml/quickpath`) - [GH-250](https://github.com/ruby/rexml/issues/250) - [GH-362](https://github.com/ruby/rexml/issues/362) - Patch by Sutou Kouhei - Reported by NAITOH Jun - Changed `REXML::Functions` to a `REXML::FunctionsClass` instance for thread safety and removed unused `REXML::Functions.text`, `.processing_instruction`, `.variables`, and `.namespace_context` - [GH-327](https://github.com/ruby/rexml/issues/327) - [GH-329](https://github.com/ruby/rexml/issues/329) - [GH-368](https://github.com/ruby/rexml/issues/368) - Patch by tomoya ishida - Switched available XPath function checks from a denylist to an allowlist - Monkey-patching custom XPath functions onto `REXML::Functions` is no longer supported - [GH-369](https://github.com/ruby/rexml/issues/369) - Patch by tomoya ishida, Sutou Kouhei - Stopped falling back to `XPath.match` for unregistered XPath functions in `FunctionsClass#send` (now returns `[]`) - [GH-364](https://github.com/ruby/rexml/issues/364) - Patch by tomoya ishida - Changed XPath to always return node-sets in document order - Changes the returned order of `XPath.match` / `XPath.first` for reverse axes such as `ancestor::` and `preceding::` to match the XPath 1.0 specification - [GH-319](https://github.com/ruby/rexml/issues/319) - [GH-320](https://github.com/ruby/rexml/issues/320) - [GH-356](https://github.com/ruby/rexml/issues/356) - Patch by tomoya ishida, NAITOH Jun - Reported by tomoya ishida - Stopped matching prefixed attributes by their local name only - `Attributes#[]`, `#get_attribute`, and `Element#attribute` no longer return `x:b` for `"b"`; use the qualified name (`"x:b"`) or a namespace - `Attributes#keys` now returns qualified names (e.g. `"xmlns:x"`, `"x:b"`) - [GH-335](https://github.com/ruby/rexml/issues/335) - Patch by tomoya ishida - Validated XPath variable values and fixed `id()` return value - Unsupported variable value types now raise `TypeError`, predicates on non-nodeset variables return `[]`, and unimplemented `id()` returns `[]` instead of `nil` - [GH-15](https://github.com/ruby/rexml/issues/15) - [GH-342](https://github.com/ruby/rexml/issues/342) - Patch by tomoya ishida - Reported by Sutou Kouhei - Removed non-working XPath `namespace::` axis handling - Emits a warning and returns `[]` instead of raising `NoMethodError` - [GH-323](https://github.com/ruby/rexml/issues/323) - Patch by tomoya ishida - Changed XPath `mod` operator to use truncating remainder (`Numeric#remainder`) and return `NaN` for `mod 0` - Matches XPath 1.0 for negative operands and no longer raises `ZeroDivisionError` for a zero divisor - [GH-385](https://github.com/ruby/rexml/issues/385) - [GH-386](https://github.com/ruby/rexml/issues/386) - Patch by Sourya Singh - Reported by bardrop - Returned `Infinity` / `NaN` from XPath `string()`, `floor()`, and `ceiling()` instead of raising `FloatDomainError` - [GH-374](https://github.com/ruby/rexml/issues/374) - Patch by KBS ##### Improvements - Improved performance - [GH-299](https://github.com/ruby/rexml/issues/299) - [GH-300](https://github.com/ruby/rexml/issues/300) - [GH-303](https://github.com/ruby/rexml/issues/303) - [GH-310](https://github.com/ruby/rexml/issues/310) - [GH-311](https://github.com/ruby/rexml/issues/311) - [GH-313](https://github.com/ruby/rexml/issues/313) - [GH-315](https://github.com/ruby/rexml/issues/315) - [GH-325](https://github.com/ruby/rexml/issues/325) - [GH-330](https://github.com/ruby/rexml/issues/330) - [GH-333](https://github.com/ruby/rexml/issues/333) - [GH-339](https://github.com/ruby/rexml/issues/339) - [GH-341](https://github.com/ruby/rexml/issues/341) - [GH-359](https://github.com/ruby/rexml/issues/359) - [GH-391](https://github.com/ruby/rexml/issues/391) - Patch by NAITOH Jun, tomoya ishida, Gal Be - Made REXML Ractor-compatible - [GH-344](https://github.com/ruby/rexml/issues/344) - Patch by John Hawthorn - Deprecated unused `REXML::Text.read_with_substitution` (use `REXML::Text.unnormalize` instead) - [GH-363](https://github.com/ruby/rexml/issues/363) - Patch by Sutou Kouhei - Supported parenthesized XPath expressions and `abbreviate` of parentheses - [GH-316](https://github.com/ruby/rexml/issues/316) - [GH-317](https://github.com/ruby/rexml/issues/317) - [GH-322](https://github.com/ruby/rexml/issues/322) - [GH-328](https://github.com/ruby/rexml/issues/328) - Patch by tomoya ishida - Reported by tomoya ishida - Supported `string-length()` XPath function without an argument - [GH-337](https://github.com/ruby/rexml/issues/337) - Patch by Sai Asish Y - Accepted processing instructions in the internal DTD subset - [GH-377](https://github.com/ruby/rexml/issues/377) - Patch by Wleeaf - Accepted non-ASCII names, combining characters, and extenders in DOCTYPE, processing instructions, DTD declarations, elements, and attributes - [GH-378](https://github.com/ruby/rexml/issues/378) - [GH-379](https://github.com/ruby/rexml/issues/379) - Patch by Wleeaf - Accepted any XML whitespace around XPath operators `and`, `or`, `div`, and `mod` - [GH-399](https://github.com/ruby/rexml/issues/399) - Patch by Moksh Upadhyay - Rejected underscored XPath function names (e.g. `local_name()`) in strict mode (default mode keeps the alias for backward compatibility) - [GH-352](https://github.com/ruby/rexml/issues/352) - [GH-366](https://github.com/ruby/rexml/issues/366) - Patch by JinHyuk Sung - Reported by tomoya ishida - Improved documentation - [GH-151](https://github.com/ruby/rexml/issues/151) - [GH-307](https://github.com/ruby/rexml/issues/307) - [GH-308](https://github.com/ruby/rexml/issues/308) - [GH-348](https://github.com/ruby/rexml/issues/348) - [GH-360](https://github.com/ruby/rexml/issues/360) - [GH-367](https://github.com/ruby/rexml/issues/367) - Patch by Burdette Lamar, NAITOH Jun - Reported by Hiroya Fujinami ##### Fixes - Fixed an issue when executing `REXML::Parsers::SAX2Parser#parse` without specifying `#listen` - [GH-302](https://github.com/ruby/rexml/issues/302) - Patch by NAITOH Jun - Fixed infinite entity expansion by detecting circular references - Circular entity references now raise `REXML::ParseException` instead of `SystemStackError` - [GH-312](https://github.com/ruby/rexml/issues/312) - Patch by NAITOH Jun - Fixed parsing XPath expressions with string literals containing parentheses and brackets - [GH-318](https://github.com/ruby/rexml/issues/318) - Patch by tomoya ishida - Fixed XPath `normalize-space()` function - [GH-324](https://github.com/ruby/rexml/issues/324) - Patch by tomoya ishida - Fixed XPath functions not to return a primitive value wrapped in an array - [GH-326](https://github.com/ruby/rexml/issues/326) - Patch by tomoya ishida - Fixed XPath `self` axis nodeset position - [GH-336](https://github.com/ruby/rexml/issues/336) - Patch by tomoya ishida - Fixed `XMLDecl` being included in XPath `descendant::node()` results - [GH-331](https://github.com/ruby/rexml/issues/331) - [GH-341](https://github.com/ruby/rexml/issues/341) - Patch by tomoya ishida - Reported by tomoya ishida - Fixed XPath name functions (`name()`, `local-name()`, `namespace-uri()`) - Uses the first node in document order without skipping unnamed nodes (e.g. `name(root/node())` returns `""` instead of `"node"` when a text node comes first) - [GH-343](https://github.com/ruby/rexml/issues/343) - Patch by tomoya ishida, NAITOH Jun - Fixed `substring-after()` XPath function not to use Regexp match - [GH-355](https://github.com/ruby/rexml/issues/355) - Patch by Vít Ondruch - Fixed `REXML::Element#attribute` when a namespace URI has multiple bindings - [GH-346](https://github.com/ruby/rexml/issues/346) - [GH-357](https://github.com/ruby/rexml/issues/357) - Patch by JinHyuk Sung - Reported by tomoya ishida - Avoided stack exhaustion in `REXML::Formatters::Default#write_element` for deeply nested documents - [GH-354](https://github.com/ruby/rexml/issues/354) - [GH-358](https://github.com/ruby/rexml/issues/358) - Patch by NAITOH Jun - Reported by Brian - Explicitly required `"set"` in `xpath_parser.rb` - [GH-361](https://github.com/ruby/rexml/issues/361) - Patch by tomoya ishida - Stopped substituting entities with an empty value - Entities declared with an empty value are no longer inserted between every character during text/attribute normalization - [GH-370](https://github.com/ruby/rexml/issues/370) - Patch by NAITOH Jun - Fixed `REXML::Formatters::Pretty` mutating text nodes while pretty printing - [GH-371](https://github.com/ruby/rexml/issues/371) - Patch by KBS - Rejected invalid character references in entity expansion - Invalid XML character references inside entity values now raise `REXML::ParseException` - [GH-372](https://github.com/ruby/rexml/issues/372) - Patch by Sutou Kouhei - Fixed XPath `lang()` not to match a language prefix that is not a sublanguage - [GH-373](https://github.com/ruby/rexml/issues/373) - Patch by KBS - Fixed RELAX NG validation of documents with XML declarations - [GH-241](https://github.com/ruby/rexml/issues/241) - [GH-380](https://github.com/ruby/rexml/issues/380) - Patch by FFspiky - Reported by gemmaro - Fixed XPath `substring()` with a start before the first character and `round()` for negative halves - e.g. `substring('12345', 0)` now returns `"12345"` instead of `"1234"`, and `round(-2.5)` returns `-2` instead of `-3` - [GH-382](https://github.com/ruby/rexml/issues/382) - Patch by bardrop - Fixed XPath comparisons between a node-set and a boolean, number, or string - Fixes reversed relational operators when the node-set is on the right (e.g. `10 > @price`), boolean comparisons, and string comparisons - [GH-383](https://github.com/ruby/rexml/issues/383) - Patch by bardrop - Preserved whitespace before word operators after XPath predicates - [GH-384](https://github.com/ruby/rexml/issues/384) - [GH-387](https://github.com/ruby/rexml/issues/387) - Patch by FFspiky - Reported by bardrop - Fixed XPath unary minus parsing with leading or separating spaces - Unary minus without an operand (e.g. `"-"`, `" - - "`) now raises `REXML::ParseException` - [GH-393](https://github.com/ruby/rexml/issues/393) - Patch by NAITOH Jun - Renamed the XPath test fixture `xp.tst` to `xp.txt` - [GH-394](https://github.com/ruby/rexml/issues/394) - Patch by botamochi0x12 - Formatted small floats without scientific notation in XPath `string()` - e.g. `string(0.00001)` now returns `"0.00001"` instead of `"1.0e-05"` - [GH-395](https://github.com/ruby/rexml/issues/395) - Patch by Moksh Upadhyay - Fixed XPath parsing of expressions and literals containing line breaks - [GH-397](https://github.com/ruby/rexml/issues/397) - Patch by Moksh Upadhyay - Fixed XPath matching for the predefined `xml` namespace and empty strings - [GH-396](https://github.com/ruby/rexml/issues/396) - [GH-398](https://github.com/ruby/rexml/issues/398) - Patch by Akshay Kumar Sharma - Reported by Dickson Wu ##### Thanks - NAITOH Jun - Sutou Kouhei - tomoya ishida - Burdette Lamar - John Hawthorn - Sai Asish Y - Vít Ondruch - JinHyuk Sung - KBS - Wleeaf - FFspiky - Sourya Singh - Gal Be - bardrop - Moksh Upadhyay - Akshay Kumar Sharma - botamochi0x12 - Hiroya Fujinami - Brian - pboling - gemmaro - Dickson Wu </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Bratislava) - 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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NS40LjAiLCJ1cGRhdGVkSW5WZXIiOiI0NS40LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
randy added 1 commit 2026-12-05 14:12:36 +01:00
Update dependency rexml to v3.4.5
CI / check (pull_request) Successful in 27s
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 27s
CI / deploy (push) Successful in 38s
59f64f2f97
randy merged commit 59f64f2f97 into main 2026-12-05 14:13:13 +01:00
randy deleted branch renovate/rexml-3.x-lockfile 2026-12-05 14:13:14 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: randy/maptool#43