Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using the deprecated utf8 API on RE2::Options #42

Merged
merged 1 commit into from
Apr 18, 2020

Conversation

mudge
Copy link
Owner

@mudge mudge commented Apr 18, 2020

GitHub: #40

As re2 has deprecated and now removed the utf8 option, re-implement the option in the gem in terms of the encoding and set_encoding API.

This should be entirely backward-compatible as the encoding API has been present since the initial release in 2010.

Thanks to @buzzdeee for reporting this upcoming breaking change.

GitHub: #40

As re2 has deprecated [0] and now removed [1] the utf8 option,
re-implement the option in the gem in terms of the encoding and
set_encoding API.

This should be entirely backward-compatible as the encoding API has been
present since the initial release in 2010.

Thanks to @buzzdeee for reporting this upcoming breaking change.

  [0]: google/re2@58141dc#diff-6dc69df7618951357bb5fb674c66aa34R640
  [1]: google/re2@ac65d45#diff-6dc69df7618951357bb5fb674c66aa34L640-L649
@mudge mudge merged commit df1b44a into master Apr 18, 2020
@mudge mudge deleted the deprecated-utf8-option branch April 18, 2020 11:07
@mudge mudge linked an issue Apr 18, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

building fails with latest re2 from GIT installed
1 participant