File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,16 @@ project adheres to [Semantic Versioning](http://semver.org/).
55Older versions are detailed as [ GitHub
66releases] ( 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1010
1111
1212module RE2
13- VERSION = "2.21 .0"
13+ VERSION = "2.22 .0"
1414end
You can’t perform that action at this time.
0 commit comments