Skip to content

Commit 8976127

Browse files
committed
Bump version to 2.22.0
1 parent 19a8570 commit 8976127

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ project adheres to [Semantic Versioning](http://semver.org/).
55
Older versions are detailed as [GitHub
66
releases](https://github.com/mudge/re2/releases) for this project.
77

8+
## [2.22.0] - 2025-11-30
9+
### Changed
10+
- RE2::Set#add now includes the full error message from the underlying
11+
RE2 library if it fails rather than only the first 100 characters.
12+
- Matching no longer allocates an RE2::MatchData object if there are no
13+
matches.
14+
- Matching now better guards against integer overflows when specifying
15+
the number of matches.
16+
- Be more defensive against allocations failing.
17+
818
## [2.21.0] - 2025-11-10
919
### Fixed
1020
- Fixed bugs in RE2::Scanner and RE2::MatchData after Ruby's GC compaction
@@ -354,6 +364,7 @@ releases](https://github.com/mudge/re2/releases) for this project.
354364
### Fixed
355365
- In Ruby 1.9.2 and later, re2 will now set the correct encoding for strings
356366

367+
[2.22.0]: https://github.com/mudge/re2/releases/tag/v2.22.0
357368
[2.21.0]: https://github.com/mudge/re2/releases/tag/v2.21.0
358369
[2.20.0]: https://github.com/mudge/re2/releases/tag/v2.20.0
359370
[2.19.1]: https://github.com/mudge/re2/releases/tag/v2.19.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Python".
66

77
[![Build Status](https://github.com/mudge/re2/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/mudge/re2/actions)
88

9-
**Current version:** 2.21.0
9+
**Current version:** 2.22.0
1010
**Bundled RE2 version:** libre2.11 (2025-11-05)
1111

1212
```ruby

lib/re2/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010

1111

1212
module RE2
13-
VERSION = "2.21.0"
13+
VERSION = "2.22.0"
1414
end

0 commit comments

Comments
 (0)