🚨 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.
In Nokogiri v1.12.4 and earlier, on JRuby only, the SAX parsers resolve external entities (XXE) by default. This fix turns off entity-resolution-by-default in the JRuby SAX parsers to match the CRuby SAX parsers' behavior.
CRuby users are not affected by this CVE.
Fixed
[CRuby] Document#to_xhtml properly serializes self-closing tags in libxml > 2.9.10. A behavior change introduced in libxml 2.9.11 resulted in emitting start and and tags (e.g., <br></br>) instead of a self-closing tag (e.g., <br/>) in previous Nokogiri versions. [#2324]
Namespace behavior when reparenting nodes has historically been poorly specified and the behavior diverged between CRuby and JRuby. As a result, making this behavior consistent in v1.12.0 introduced a breaking change.
This patch release reverts the Builder behavior present in v1.12.0..v1.12.3 but keeps the Document behavior. This release also introduces a Document attribute to allow affected users to easily change this behavior for their legacy code without invasive changes.
Compensating Feature in XML::Document
This release of Nokogiri introduces a new Document boolean attribute, namespace_inheritance, which controls whether children should inherit a namespace when they are reparented. Nokogiri::XML:Document defaults this attribute to false meaning "do not inherit," thereby making explicit the behavior change introduced in v1.12.0.
CRuby users who desire the pre-v1.12.0 behavior may set document.namespace_inheritance = true before reparenting nodes.
However, recognizing that we want Builder-created children to inherit namespaces, Builder now will set namespace_inheritance=true on the underlying document for both JRuby and CRuby. This means that, on CRuby, the pre-v1.12.0 behavior is restored.
Users who want to turn this behavior off may pass a keyword argument to the Builder constructor like so:
Note that any downstream gems may want to specifically omit Nokogiri v1.12.0--v1.12.3 from their dependency specification if they rely on child namespace inheritance:
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
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
🚨 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?
✳️ github-pages (219 → 220) · Repo
Release Notes
220
Does any of this look wrong? Please let us know.
Sorry, we couldn't find anything useful about this release.
↗️ faraday (indirect, 1.7.0 → 1.8.0) · Repo · Changelog
Release Notes
1.8.0
1.7.2
1.7.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 8 commits:
Version bump to 1.8.0
Proc auth value backport cleanup (#1326)
Backport authorization procs to 1.x branch (#1322)
Version bump to 1.7.2
Fix deprecation warning (#1323)
Version bump to 1.7.1
Respect the `params_encoder` in `Faraday::Adapter::Test` (#1316)
[1.x] Deprecate Authorization helpers in Faraday::Connection (#1306)
↗️ ffi (indirect, 1.15.3 → 1.15.4) · Repo · Changelog
Release Notes
1.15.4 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 9 commits:
Bump VERSION to 1.15.4 and add CHANGELOG entry
Merge pull request #913 from xtkoba/uclibc
Fix build for uClibc
Correct module lookup when including ffi-module
Allow prerelease FFI::VERSION
Remove unused rubygems-tasks development dependency
Bump VERSION to 1.15.4.pre1
Lower the JRuby version guard to 9.2.20
CI: Install libffi which matches running arch (#905)
↗️ github-pages-health-check (indirect, 1.17.7 → 1.17.9) · Repo
Release Notes
1.17.9
1.17.8
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 8 commits:
Merge pull request #140 from github/ipv6-fix
Bump version
Add test
Better ipv6 handling (need tests)
Bump version to 1.17.8 (#139)
Add AAAA Support
Remove Travis builds (#138)
Require bundler in script/check to avoid needing to run `bundle exec`. (#137)
↗️ nokogiri (indirect, 1.12.3 → 1.12.5) · Repo · Changelog
Security Advisories 🚨
🚨 Improper Restriction of XML External Entity Reference (XXE) in Nokogiri on JRuby
Release Notes
1.12.5
1.12.4
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 14 commits:
version bump to v1.12.5
update CHANGELOG
Merge pull request #2329 from sparklemotion/flavorjones-GHSA-2rr5-8q37-2w7h_1.12.x
fix(jruby): SAX parser uses an entity resolver
refactor(jruby): handle errors more consistently
format: test files
Merge pull request #2327 from sparklemotion/2324-xhtml-self-closing-tags_v1.12.x
fix: HTML4::Document.to_xhtml self-closing tags
release v1.12.4
backport #2320
update CHANGELOG for #2296
Resolve potential NPE in SchemaResourceResolver
test: repro for #2296
test: move the test from 3c95d44 to be within a test class
↗️ unf_ext (indirect, 0.0.7.7 → 0.0.8) · Repo · Changelog
Release Notes
0.0.8 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Bump the VERSION to 0.0.8
Build a source gem as well
Upgrade rake-compiler/rake-compiler-dock to 1.1.1/1.1.0
Merge pull request #64 from tablecheck/github-actions
Add Github Actions CI support.
Add GitHub Actions, trim jobs from Travis
↗️ unicode-display_width (indirect, 1.7.0 → 1.8.0) · Repo · Changelog
Release Notes
1.8.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 4 commits:
Release v1.8.0
Update CHANGELOG
Update Unicode version number
Unicode 14.0
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