Skip to content

Commit 7e499c2

Browse files
committed
Prepare for 2.0.0 release
1 parent 20edc15 commit 7e499c2

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

CHANGELOG.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ 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.0.0] - 2023-09-13
9+
### Added
10+
- The gem now comes bundled with the underlying RE2 library and its dependency,
11+
Abseil. Installing the gem will compile those dependencies automatically. As
12+
this can take a while, precompiled native gems are available for Linux,
13+
Windows and macOS. (Thanks to Stan Hu for contributing this.)
14+
15+
### Changed
16+
- By default, the gem will use its own bundled version of RE2 rather than
17+
looking for the library on the system. To opt back into that behaviour, pass
18+
`--enable-system-libraries` when installing. (Thanks to Stan Hu for
19+
contributing this.)
20+
21+
### Removed
22+
- Due to the new dependency on MiniPortile2, the gem no longer supports Ruby
23+
versions older than 2.6.
24+
825
## [2.0.0.beta2] - 2023-09-10
926
### Added
1027
- Restored support for Ruby 2.6.
@@ -21,13 +38,13 @@ releases](https://github.com/mudge/re2/releases) for this project.
2138

2239
## [2.0.0.beta1] - 2023-09-08
2340
### Added
24-
- The gem now comes bundled with the underlying re2 library and its dependency,
25-
abseil. Installing the gem will compile those dependencies automatically. As
41+
- The gem now comes bundled with the underlying RE2 library and its dependency,
42+
Abseil. Installing the gem will compile those dependencies automatically. As
2643
this can take a while, precompiled native gems are available for Linux,
2744
Windows and macOS. (Thanks to Stan Hu for contributing this.)
2845

2946
### Changed
30-
- By default, the gem will use its own bundled version of re2 rather than
47+
- By default, the gem will use its own bundled version of RE2 rather than
3148
looking for the library on the system. To opt back into that behaviour, pass
3249
`--enable-system-libraries` when installing. (Thanks to Stan Hu for
3350
contributing this.)
@@ -113,6 +130,7 @@ releases](https://github.com/mudge/re2/releases) for this project.
113130
### Fixed
114131
- In Ruby 1.9.2 and later, re2 will now set the correct encoding for strings
115132

133+
[2.0.0]: https://github.com/mudge/re2/releases/tag/v2.0.0
116134
[2.0.0.beta2]: https://github.com/mudge/re2/releases/tag/v2.0.0.beta2
117135
[2.0.0.beta1]: https://github.com/mudge/re2/releases/tag/v2.0.0.beta1
118136
[1.7.0]: https://github.com/mudge/re2/releases/tag/v1.7.0

README.md

Lines changed: 3 additions & 1 deletion
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:** 2.0.0.beta1
7+
**Current version:** 2.0.0
88
**Supported Ruby versions:** 2.6, 2.7, 3.0, 3.1, 3.2
99
**Bundled re2 version:** libre2.11 (2023-09-01)
1010
**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), libre2.10 (2022-12-01), libre2.11 (2023-07-01)
@@ -54,6 +54,8 @@ following default locations:
5454
* `/opt/homebrew`
5555
* `/usr`
5656

57+
Alternatively, you can set the `RE2_USE_SYSTEM_LIBRARIES` environment variable instead of passing `--enable-system-libraries` to the `gem` command.
58+
5759
If you're using Bundler, you can use the
5860
[`force_ruby_platform`](https://bundler.io/v2.3/man/gemfile.5.html#FORCE_RUBY_PLATFORM)
5961
option in your Gemfile.

lib/re2/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module RE2
4-
VERSION = "2.0.0.beta2"
4+
VERSION = "2.0.0"
55
end

0 commit comments

Comments
 (0)