Skip to content

Commit 7415e55

Browse files
committed
Update CHANGELOG and bump version to 1.4.0
1 parent 4436c59 commit 7415e55

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ 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+
## [1.4.0] - 2021-03-29
9+
### Fixed
10+
- Fixed a crash when using RE2::Scanner#scan with an invalid regular expression
11+
(thanks to Sergio Medina for reporting this)
12+
- Fixed RE2::Regexp#match raising a NoMemoryError instead of an ArgumentError
13+
when given a negative number of matches
14+
815
## [1.3.0] - 2021-03-12
916
### Added
1017
- Add Homebrew's prefix on Apple Silicon and /usr as fallback locations
@@ -62,6 +69,7 @@ releases](https://github.com/mudge/re2/releases) for this project.
6269
### Fixed
6370
- In Ruby 1.9.2 and later, re2 will now set the correct encoding for strings
6471

72+
[1.4.0]: https://github.com/mudge/re2/releases/tag/v1.4.0
6573
[1.3.0]: https://github.com/mudge/re2/releases/tag/v1.3.0
6674
[1.2.0]: https://github.com/mudge/re2/releases/tag/v1.2.0
6775
[1.1.1]: https://github.com/mudge/re2/releases/tag/v1.1.1

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ re2 [![Build Status](https://github.com/mudge/re2/actions/workflows/tests.yml/ba
44
A Ruby binding to [re2][], an "efficient, principled regular expression
55
library".
66

7-
**Current version:** 1.3.0
7+
**Current version:** 1.4.0
88
**Supported Ruby versions:** 1.8.7, 1.9.3, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0
99
**Supported re2 versions:** libre2.0 (< 2020-03-02), libre2.1 (2020-03-02), libre2.6 (2020-03-03), libre2.7 (2020-05-01), libre2.8 (2020-07-06), libre2.9 (2020-11-01)
1010

@@ -175,7 +175,9 @@ Contributions
175175
* Thanks to [Stefano Rivera](https://github.com/stefanor) who first contributed C++11 support;
176176
* Thanks to [Stan Hu](https://github.com/stanhu) for reporting a bug with empty patterns and `RE2::Regexp#scan`;
177177
* Thanks to [Sebastian Reitenbach](https://github.com/buzzdeee) for reporting
178-
the deprecation and removal of the `utf8` encoding option in re2.
178+
the deprecation and removal of the `utf8` encoding option in re2;
179+
* Thanks to [Sergio Medina](https://github.com/serch) for reporting a bug when
180+
using `RE2::Scanner#scan` with an invalid regular expression.
179181

180182
Contact
181183
-------

re2.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
22
s.name = "re2"
33
s.summary = "Ruby bindings to re2."
44
s.description = 'Ruby bindings to re2, "an efficient, principled regular expression library".'
5-
s.version = "1.3.0"
5+
s.version = "1.4.0"
66
s.authors = ["Paul Mucur"]
77
s.homepage = "https://github.com/mudge/re2"
88
s.extensions = ["ext/re2/extconf.rb"]

0 commit comments

Comments
 (0)