🚨 [security] Update rexml 3.2.5 → 3.2.8 (patch) #99
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.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
Security Advisories 🚨
🚨 REXML contains a denial of service vulnerability
Release Notes
3.2.7
3.2.6
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 58 commits:
Add 3.2.8 entry
Remove an unused variable (#128)
Suppress a warning
ci: install only gems required for running tests (#129)
Add missing Thanks section
Bump version
Add 3.2.7 entry
Read quoted attributes in chunks (#126)
Exclude older than 2.6 on macos-14
Move development dependencies to Gemfile (#124)
Fix a problem that parse exception message can't be generated for invalid encoding XML (#123)
xpath: Fix wrong position with nested path (#122)
Change `attribute.has_key?(name)` to ` attributes[name]`. (#121)
Optimize the parse_attributes method to use `Source#match` to parse XML. (#119)
Make the test suite compatible with `--enable-frozen-string-literal` (#120)
Separate `IOSource#ensure_buffer` from `IOSource#match`. (#118)
Remove `Source#string=` method (#117)
source: Remove unnecessary string length comparisons in the case of string comparisons (#116)
Use more StringScanner based API to parse XML (#114)
test: Fix invalid XML with spaces before the XML declaration (#115)
Stop specifying the gem version of strscan in benchmarks. (#113)
Remove unnecessary checks in baseparser (#112)
xpath: Fix normalize_space(array) case (#111)
Change loop in parse_attributes to `while true`. (#109)
Reduce calls to StringScanner.new() (#108)
Use `@scanner << readline` instead of `@scanner.string = @scanner.rest + readline` (#107)
Reduce calls to `Source#buffer`(`StringScanner#rest`) (#106)
Use string scanner with baseparser (#105)
Add parse benchmark (#104)
Use reusing workflow for Ruby versions (#103)
CI: Add ruby-3.3 (#102)
build(deps): bump actions/checkout from 3 to 4 (#101)
Bump version
Add 3.2.6 entry
ci: add support for creating release automatically
doc: Fix some method links in tutorial (#99)
xpath abbreviate: add a special case for only "//"
xpath abbreviate: rewrite to support complex cases
xpath: add a test for XPathParser#abbreviate
xpath: rename "string" to "path"
xpah abbreviate: add missing "/" to :descendant_or_self/:self/:parent
xpath abbreviate: add support for string literal that contains double-quote (#96)
xpath: fix a bug that #abbreviate can't handle function arguments
Performance and memory optimizations (#94)
CI against Ruby 3.0, 3.1, and 3.2 (#93)
attribute: don't convert ' and ' with {attribute_quote: :quote}
Bump actions/checkout from 2 to 3 (#90)
Added dependabot for GitHub Actions (#89)
Fix RDoc for Element (#87)
gemspec: Drop unused directives (#83)
Fix typos
doc: link to tutorial (#78)
Tutorial (#77)
Fix typo in NEWS.md (#75)
Fix typo in NEWS.md (#72)
Document that REXML follows the Ruby maintenance cycle (#71)
Set 2.5 as minimum required ruby version for gem (#70)
Bump version
Release Notes
3.1.0
3.0.9
3.0.8
3.0.7
3.0.6 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 38 commits:
Add 3.1.0 entry
Don't add begin to length for new string slice (#87)
Bump version
Add 3.0.9 entry
Do not make shared strings for extracted ranges (#84)
CI: Use shared versions GH Actions workflow (#74)
Add test to check encoding for empty string (#80)
Clean up source-level warnings on Java 21 (#81)
JRuby extension: drop old-Joni-version support (#76)
Use str encoding for empty rest string (#79)
Bump version
Add 3.0.8 entry
StringScanner#captures: Return nil not "" for unmached capture (#72)
Bump actions/upload-artifact from 3 to 4 (#69)
Use test-unit-ruby-core instead of deep-copy from ruby repository (#65)
Bump version
ci release: update jruby's matrix.ruby
ci release: fix a typo
Add 3.0.7 entry
Minor cleanup and optimization (#67)
Bump actions/checkout from 3 to 4 (#66)
Use new function rb_reg_onig_match (#64)
Update test libraries from https://github.com/ruby/ruby/commit/b4e438d8aabaf4bba2b27f374c787543fae07c58
Fix a crash when `named_captures` called on new instance (#61)
Add .bundle to gitignore (#62)
Mask out this test on JRuby/Windows
test: Run test more with fixed anchor mode (#60)
Add test case to `test_string` (#58)
Add Ruby 3.2 to CI (#59)
Finish fixed_anchor support in the JRuby ext (#57)
Suppress deprecation warnings
Clean up imports
ci: use "gh release" instead of action-gh-release
Bump version
Add 3.0.6 entry
Introduce an adapter from joni 2.1 to 2.2 (#55)
Mention return value of `rest?` in the doc (#49)
Bump version
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands