Skip to content

Commit

Permalink
Prepare for 2.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mudge committed Sep 13, 2023
1 parent fbb7df5 commit 2660642
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
24 changes: 21 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ project adheres to [Semantic Versioning](http://semver.org/).
Older versions are detailed as [GitHub
releases](https://github.com/mudge/re2/releases) for this project.

## [2.0.0] - 2023-09-13
### Added
- The gem now comes bundled with the underlying RE2 library and its dependency,
Abseil. Installing the gem will compile those dependencies automatically. As
this can take a while, precompiled native gems are available for Linux,
Windows and macOS. (Thanks to Stan Hu for contributing this.)

### Changed
- By default, the gem will use its own bundled version of RE2 rather than
looking for the library on the system. To opt back into that behaviour, pass
`--enable-system-libraries` when installing. (Thanks to Stan Hu for
contributing this.)

### Removed
- Due to the new dependency on MiniPortile2, the gem no longer supports Ruby
versions older than 2.6.

## [2.0.0.beta2] - 2023-09-10
### Added
- Restored support for Ruby 2.6.
Expand All @@ -21,13 +38,13 @@ releases](https://github.com/mudge/re2/releases) for this project.

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

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

[2.0.0]: https://github.com/mudge/re2/releases/tag/v2.0.0
[2.0.0.beta2]: https://github.com/mudge/re2/releases/tag/v2.0.0.beta2
[2.0.0.beta1]: https://github.com/mudge/re2/releases/tag/v2.0.0.beta1
[1.7.0]: https://github.com/mudge/re2/releases/tag/v1.7.0
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ re2 [![Build Status](https://github.com/mudge/re2/actions/workflows/tests.yml/ba
A Ruby binding to [re2][], an "efficient, principled regular expression
library".

**Current version:** 2.0.0.beta1
**Current version:** 2.0.0
**Supported Ruby versions:** 2.6, 2.7, 3.0, 3.1, 3.2
**Bundled re2 version:** libre2.11 (2023-09-01)
**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)
Expand Down Expand Up @@ -54,6 +54,8 @@ following default locations:
* `/opt/homebrew`
* `/usr`

Alternatively, you can set the `RE2_USE_SYSTEM_LIBRARIES` environment variable instead of passing `--enable-system-libraries` to the `gem` command.

If you're using Bundler, you can use the
[`force_ruby_platform`](https://bundler.io/v2.3/man/gemfile.5.html#FORCE_RUBY_PLATFORM)
option in your Gemfile.
Expand Down
2 changes: 1 addition & 1 deletion lib/re2/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module RE2
VERSION = "2.0.0.beta2"
VERSION = "2.0.0"
end

0 comments on commit 2660642

Please sign in to comment.