Skip to content

Commit 21b4ac5

Browse files
committed
version bump to v1.13.8
1 parent d6c4a2b commit 21b4ac5

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

Diff for: CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ Nokogiri follows [Semantic Versioning](https://semver.org/), please see the [REA
44

55
---
66

7+
## 1.13.8 / 2022-07-23
8+
9+
### Deprecated
10+
11+
- `XML::Reader#attribute_nodes` is deprecated due to incompatibility between libxml2's `xmlReader` memory semantics and Ruby's garbage collector. Although this method continues to exist for backwards compatibility, it is unsafe to call and may segfault. This method will be removed in a future version of Nokogiri, and callers should use `#attribute_hash` instead. [[#2598](https://github.com/sparklemotion/nokogiri/issues/2598)]
12+
13+
14+
### Improvements
15+
16+
- `XML::Reader#attribute_hash` is a new method to safely retrieve the attributes of a node from `XML::Reader`. [[#2598](https://github.com/sparklemotion/nokogiri/issues/2598), [#2599](https://github.com/sparklemotion/nokogiri/issues/2599)]
17+
18+
19+
### Fixed
20+
21+
- [CRuby] Calling `XML::Reader#attributes` is now safe to call. In Nokogiri <= 1.13.7 this method may segfault. [[#2598](https://github.com/sparklemotion/nokogiri/issues/2598), [#2599](https://github.com/sparklemotion/nokogiri/issues/2599)]
22+
23+
724
## 1.13.7 / 2022-07-12
825

926
### Fixed

Diff for: lib/nokogiri/version/constant.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
module Nokogiri
44
# The version of Nokogiri you are using
5-
VERSION = "1.13.7"
5+
VERSION = "1.13.8"
66
end

0 commit comments

Comments
 (0)