Fix a bug introduced in v1.9.0 where XML::DocumentFragment#dup no longer returned an instance of the callee's class, instead always returning an XML::DocumentFragment. This notably broke any subclass of XML::DocumentFragment including HTML::DocumentFragment as well as the Loofah gem's Loofah::HTML::DocumentFragment. #1846
1.9.0 / 2018-12-17
Security Notes
[JRuby] Upgrade Xerces dependency from 2.11.0 to 2.12.0 to address upstream vulnerability CVE-2012-0881 #1831 (Thanks @grajagandev for reporting.)
Notable non-functional changes
Decrease installation size by removing many unneeded files (e.g., /test) from the packaged gems. #1719 (Thanks, @stevecrozz!)
Features
XML::Attr#value= allows HTML node attribute values to be set to either a blank string or an empty boolean attribute. #1800
Introduce XML::Node#wrap which does what XML::NodeSet#wrap has always done, but for a single node. #1531 (Thanks, @ethirajsrinivasan!)
[MRI] Improve installation experience on macOS High Sierra (Darwin). [#1812, #1813] (Thanks, @gpakosz and @nurse!)
[MRI] Node#dup supports copying a node directly to a new document. See the method documentation for details.
[MRI] DocumentFragment#dup is now more memory-efficient, avoiding making unnecessary copies. #1063
[JRuby] NodeSet has been rewritten to improve performance! #1795
Bug fixes
NodeSet#each now returns self instead of zero. #1822 (Thanks, @olehif!)
[MRI] Address a memory leak when using XML::Builder to create nodes with namespaces. #1810
[MRI] Address a memory leak when unparenting a DTD. #1784 (Thanks, @stevecheckoway!)
[MRI] Use RbConfig::CONFIG instead of ::MAKEFILE_CONFIG to fix installations that use Makefile macros. #1820 (Thanks, @nobu!)
[JRuby] Decrease large memory usage when making nested XPath queries. #1749
[JRuby] Fix failing tests on JRuby 9.2.x
[JRuby] Fix default namespaces in nodes reparented into a different document #1774
[JRuby] Fix support for Java 9. #1759 (Thanks, @Taywee!)
Dependencies
[MRI] Upgrade mini_portile2 dependency from ~> 2.3.0 to ~> 2.4.0
Fix a bug introduced in v1.9.0 where XML::DocumentFragment#dup no longer returned an instance of the callee's class, instead always returning an XML::DocumentFragment. This notably broke any subclass of XML::DocumentFragment including HTML::DocumentFragment as well as the Loofah gem's Loofah::HTML::DocumentFragment. [#1846]
1.9.0 / 2018-12-17
Security
[JRuby] Upgrade Xerces dependency from 2.11.0 to 2.12.0 to address upstream vulnerability CVE-2012-0881 [#1831] (Thanks @grajagandev for reporting.)
Improved
Decrease installation size by removing many unneeded files (e.g., /test) from the packaged gems. [#1719] (Thanks, @stevecrozz!)
Added
XML::Attr#value= allows HTML node attribute values to be set to either a blank string or an empty boolean attribute. [#1800]
Introduce XML::Node#wrap which does what XML::NodeSet#wrap has always done, but for a single node. [#1531] (Thanks, @ethirajsrinivasan!)
[MRI] Improve installation experience on macOS High Sierra (Darwin). [#1812, #1813] (Thanks, @gpakosz and @nurse!)
[MRI] Node#dup supports copying a node directly to a new document. See the method documentation for details.
[MRI] DocumentFragment#dup is now more memory-efficient, avoiding making unnecessary copies. [#1063]
[JRuby] NodeSet has been rewritten to improve performance! [#1795]
Fixed
NodeSet#each now returns self instead of zero. [#1822] (Thanks, @olehif!)
[MRI] Address a memory leak when using XML::Builder to create nodes with namespaces. [#1810]
[MRI] Address a memory leak when unparenting a DTD. [#1784] (Thanks, @stevecheckoway!)
[MRI] Use RbConfig::CONFIG instead of ::MAKEFILE_CONFIG to fix installations that use Makefile macros. [#1820] (Thanks, @nobu!)
[JRuby] Decrease large memory usage when making nested XPath queries. [#1749]
[JRuby] Fix failing tests on JRuby 9.2.x
[JRuby] Fix default namespaces in nodes reparented into a different document [#1774]
[JRuby] Fix support for Java 9. [#1759] (Thanks, @Taywee!)
Dependencies
[MRI] Upgrade mini_portile2 dependency from ~> 2.3.0 to ~> 2.4.0
1.8.5 / 2018-10-04
Security
... (truncated)
Commits
db26a04 limit test of libxml-specific DocumentFragment#dup behavior
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/saasbook/rag/network/alerts).
Bumps nokogiri from 1.6.6.2 to 1.9.1.
Release notes
Sourced from nokogiri's releases.
... (truncated)
Changelog
Sourced from nokogiri's changelog.
... (truncated)
Commits
db26a04
limit test of libxml-specific DocumentFragment#dup behavior2e15c88
version bump to v1.9.1e9ac292
Fix XML::DocumentFragment to return an instance of callee's classab40787
correct CHANGELOGfff550c
version bump to v1.9.08d9a65b
Merge branch '1719-stevecrozz-decrease-gem-size'dd19ddd
update CHANGELOG985b9fc
add .hoerc containing excludesb61b34c
Make builds minimal9bb0226
remove hacks preventing jruby from using racc and rexicalDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/saasbook/rag/network/alerts).