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

Introduce an adapter from joni 2.1 to 2.2 #55

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

headius
Copy link
Contributor

@headius headius commented Feb 6, 2023

JOni 2.2 will hide these public fields and the direct constructors for Region, so these adapters will bridge the gap until the new API is widely available. The adapter and calls to it can be removed once JRuby has shipped a few releases of 9.4 (and possibly 9.3) with the updated JOni.

JOni 2.2 will hide these public fields and the direct constructors
for Region, so these adapters will bridge the gap until the new
API is widely available. The adapter and calls to it can be
removed once JRuby has shipped a few releases of 9.4 (and possibly
9.3) with the updated JOni.
@headius
Copy link
Contributor Author

headius commented Feb 6, 2023

See jruby/jruby#7620 which moves JRuby to the new API, jruby/joni#58 and jruby/joni#60 which introduce the API into joni, and jruby/joni#59 which will remove access to the public fields and constructors in joni 2.2.

@headius
Copy link
Contributor Author

headius commented Feb 6, 2023

This will not build cleanly until JRuby is released with the updated joni API. Merge and release after JRuby 9.4.1.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

You can merge this after JRuby 9.4.1 release.

@kou
Copy link
Member

kou commented Feb 6, 2023

I'll release a new version after this is merged.

@headius
Copy link
Contributor Author

headius commented Feb 7, 2023

This now builds cleanly and only fails the one known failure on Windows. Merging!

@headius headius merged commit eb9ae18 into ruby:master Feb 7, 2023
@headius headius deleted the joni_region_adapter branch February 7, 2023 22:39
@headius
Copy link
Contributor Author

headius commented Feb 7, 2023

@kou This is ready for a release any time!

@kou
Copy link
Member

kou commented Feb 8, 2023

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants