From a1b0e6b617f0333cea7d9b9e4b24749a52cea14b Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 25 May 2021 23:15:23 -0400 Subject: [PATCH] update CHANGELOG also update the ROADMAP to document DocumentFragment xpath issues. --- CHANGELOG.md | 7 +++++++ ROADMAP.md | 1 + rakelib/markdown.rake | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04b9928d88..d89ca6c9b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ Nokogiri follows [Semantic Versioning](https://semver.org/), please see the [REA --- +## 1.11.6 / unreleased + +### Fixed + +* [CRuby] `DocumentFragment#xpath` checks for error case introduced in libxml > 2.9.10. In v1.11.4 and v1.11.5, calling `DocumentFragment#path` results in a segfault. + + ## 1.11.5 / 2021-05-19 ### Fixed diff --git a/ROADMAP.md b/ROADMAP.md index af307133d7..cf369143ed 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -59,6 +59,7 @@ - [#572](https://github.com/sparklemotion/nokogiri/issues/572) could we fix this by making DocumentFragment be a subclass of NodeSet? +* potentially related, we should figure out a way that we can round-trip `DocumentFragment#path` through `#xpath` and get the `DocumentFragment back again - [#2250](https://github.com/sparklemotion/nokogiri/issues/2250) ## Better Syntax for custom XPath function handler diff --git a/rakelib/markdown.rake b/rakelib/markdown.rake index d922599e99..875fda896c 100644 --- a/rakelib/markdown.rake +++ b/rakelib/markdown.rake @@ -1,2 +1,2 @@ require "hoe/markdown" -Hoe::Markdown::Standalone.new("nokogiri").define_markdown_tasks("CHANGELOG.md", "CONTRIBUTING.md") +Hoe::Markdown::Standalone.new("nokogiri").define_markdown_tasks("CHANGELOG.md", "CONTRIBUTING.md", "ROADMAP.md")