Skip to content

Update stdlib - #9705

Merged
headius merged 4 commits into
jruby:masterfrom
headius:update_stdlib
Sep 16, 2026
Merged

headius merged 4 commits into
jruby:masterfrom
headius:update_stdlib

Conversation

@headius

@headius headius commented Sep 16, 2026

Copy link
Copy Markdown
Member

Several gems updated here, see commits.

I've also made "io/wait.rb" a provided library so that requires of it don't hit the deprecated source in the io-wait 1.0.0 gem (needed by #9656).

@headius headius added this to the JRuby 10.1.2.0 milestone Sep 16, 2026
@headius
headius force-pushed the update_stdlib branch 2 times, most recently from 9a1446b to d63720d Compare September 16, 2026 22:28
Several of these are newer than Ruby 4.0.7, but in most cases they
are either minor updates, of importance to JRuby (json 3 has a new
optimized parser), or may have security updates. We opt to go
ahead with latest versions of each, since they can be downgraded
by explicit dependency.

power_assert is not updated to 3.1.0 because that version depends
upon some features of TracePoint we do not yet support.

See jruby#9704

irb could not be updated to 1.18.0 because it depends on the
prism gem (currently requires a native library on JRuby) since
1.17.0.

Default gems:

* rubygems and bundler 4.0.3
* erb 6.0.7
* error_highligh 0.7.2
* ffi 1.17.4
* io-console 0.9.3
* ipaddr 1.2.9
* json 3.0.2
* net-protocol 0.3.0
* pp 0.6.4
* psych 5.5.0
* strscan 3.1.8
* syntax_suggest 3.0.0
* timeout 0.6.1
* win32-registry 0.1.2

Bundled gems:

* bigdecimal 4.1.2 (ruby parts only)
* csv 3.3.6
* minitest 6.0.6
* net-imap 0.6.7
* nkf 0.3.0
* pstore 0.2.1
* rdoc 8.0.0
* reline 0.7.0
* resolv-replace 0.2.0
* rss 0.3.3
* test-unit 3.7.8
This isn't done in CRuby until 4.1, but we need it due to a few
remaining requires of the deprecated io/wait library from io-wait
gem 1.0.0 (needed by us to avoid overwriting core IO#wait
functionality).

Adding this prevents any requires of io/wait from loading the
deprecated code.

We can remove the gem in our 4.1-compatible release next year, but
it should remain in the 4.0-compatible releases to fulfill that
dependency requirement.
@headius
headius merged commit 1eb8571 into jruby:master Sep 16, 2026
9 of 110 checks passed
@headius
headius deleted the update_stdlib branch September 16, 2026 22:47
headius added a commit to headius/jruby that referenced this pull request Sep 18, 2026
The verify_rails script raised errors if verification failed, but
because the rails_runner script did not confirm verification
succeeded it never would fail the CI job. This change makes it hard
fail in rails_runner if the verification subprocess fails.

Relates to jruby#9705 which caused our verification script
to fail (without failing CI) due to the json 3.0 update and
jruby#9709 which restored a working version of json.
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.

1 participant