Repository navigation
chore(deps): update dependency ruby to v4 - #28
renovate[bot] wants to merge 1 commit into
Conversation
e9fc11f to
b7754ad
Compare
| @@ -1 +1 @@ | |||
| 3.2.2 | |||
| 4.0.1 | |||
There was a problem hiding this comment.
Bug: The Ruby version is updated to 4.0.1, but Gemfile.lock hasn't been regenerated. The old gem versions are likely incompatible and will cause the documentation workflow to fail on release.
Severity: CRITICAL
🔍 Detailed Analysis
The .ruby-version was updated to 4.0.1, but the Gemfile.lock was not regenerated. The dependencies listed, such as bundler 2.1.4, jazzy 0.14.3, and gems with native extensions like nokogiri, predate Ruby 4.0 and are unlikely to be compatible. The documentation.yml workflow, which runs bundle install, will execute only upon release publication, not during PR checks. This means the bundle install command will almost certainly fail during the production release process, preventing API documentation from being generated and deployed.
💡 Suggested Fix
After updating the Ruby version in .ruby-version, run bundle update to regenerate the Gemfile.lock with versions of dependencies compatible with Ruby 4.0.1. Commit the updated Gemfile.lock. Consider adding a CI step to test the documentation build on pull requests to prevent this in the future.
🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: .ruby-version#L1
Potential issue: The `.ruby-version` was updated to `4.0.1`, but the `Gemfile.lock` was
not regenerated. The dependencies listed, such as `bundler` 2.1.4, `jazzy` 0.14.3, and
gems with native extensions like `nokogiri`, predate Ruby 4.0 and are unlikely to be
compatible. The `documentation.yml` workflow, which runs `bundle install`, will execute
only upon release publication, not during PR checks. This means the `bundle install`
command will almost certainly fail during the production release process, preventing API
documentation from being generated and deployed.
Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 8517962
b7754ad to
45e615f
Compare
45e615f to
b3d8530
Compare
b3d8530 to
4774aa6
Compare
4774aa6 to
d6b51f3
Compare
d6b51f3 to
7cb374a
Compare
7cb374a to
9f72922
Compare
abfba9d to
e4577fc
Compare
e4577fc to
5bce8f6
Compare
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
3.2.2→4.0.10Release Notes
ruby/ruby (ruby)
v4.0.10: 4.0.10Compare Source
What's Changed
Security fixes
This release fixes seven vulnerabilities. See Security advisories: multiple vulnerabilities in Regexp and String case conversion for details.
String and encodings
Stringformatting with wide character encodings (Bug #22461, #19472)rb_gc_impl_free” by byroot (#15989)Regexp
Core classes
.each_with_indexignores.take(0)before it (Bug #21142, Bug #22496, #19109, #19668)Array#samplewhen array modified (Bug #22449, #19384)Time#strftimeout-of-bound access (Bug #22458, #19457)st_init_existing_table_with_size/Hash.new(capacity:)(Bug #22512, #19773)T_DATAbeforeRTYPEDDATA_Pby nobu (#15758)ALLOCVoverALLOCAfor unknown size by nobu (#15765)default_seed_bitsis 0 by nobu (#16341)eargsinappend_methodandarith_seq_inspectby dummyx (#16809)Set#&by nobu (#19166, follow-up of Bug #22388)rb_int_parse_cstrby fuzzyrichie (#19656; the pull request is titled afterMatchData#integer_at, which does not exist in Ruby 4.0)ary_sampleif the sampling number is 0 by nobu (#19673)IO, File, Process and Socket
IO#external_encoding/IO#internal_encodingsegfault on an uninitialized IO (Bug #22410, #19252)IO#gets(nil, limit)stops right after a 0xFF byte (Bug #22537, #19941)rb_fiber_scheduler_blocking_operation_waitcan garbage collectblocking_operationincorrectly. by samuel-williams-shopify (#16908)TCPSocket.newfast fallback by hsbt (#18846)Socket.tcp_with_fast_fallbackby nobu (c091c186e4, backported in #19810)VM, GC, Thread and Ractor
Thread#raiseandFiber#raisecan set VM throw data asException#cause, causing a crash. (Bug #22541, Bug #19593, #19861)ee90e8e(concurrent set size overcount) to 4.0: fstring table keeps doubling in long-running apps (Bug #22511, #16701)rb_gccct_clear_tableby byroot (#16398)backtraceby nobu (#19033)Parser and compiler
CONST ||= value,CONST &&= valueorCONST += valueunder# shareable_constant_value: literal(Prism compiler) (Bug #22543, #19892)&&=and||=on multi-line (Bug #22556, #19943)Invalid retry after ensure) (Bug #22599, #19984)ibf_load_builtinby nobu (#16723)YJIT and ZJIT
--enable=zjitdoes not enable ZJIT (Bug #22427, #19307)Windows
Default gems
Build, installation and tests
require "strscan"no longer activates the default gem, so a newer installed strscan is ignored and later loaded twice (Bug #22420, #19275)EHOSTUNREACHby byroot (#19828)Full Changelog
v4.0.9: 4.0.9Compare Source
What's Changed
Note: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.8: 4.0.8Compare Source
What's Changed
STR_SHAREDcheck inrb_str_tmp_frozen_release- Ruby - Ruby Issue Tracking Systemerrnoinrb_io_maybe_wait. - Ruby - Ruby Issue Tracking Systemeachblock - Ruby - Ruby Issue Tracking SystemTime#strftime- Ruby - Ruby Issue Tracking SystemNote: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.7: 4.0.7Compare Source
What's Changed
Coverage.startand ruby/debug - Ruby - Ruby Issue Tracking SystemBUNDLER_SETUPcan evaluate gemspecs before main-box RubyGems initialization - Ruby - Ruby Issue Tracking Systemaws-sdk-ec2in Ruby 4.0.6 - Ruby - Ruby Issue Tracking Systemfiber_switchwith transfer-terminated async tasks on 3.4.10 - Ruby - Ruby Issue Tracking Systemvm_call_iseq_setup_kwparm_nokwarg/def_iseq_ptr) on Ruby 4.0.6 — Rails CI - Ruby - Ruby Issue Tracking SystemCoverage.line_stubclobbers already-collected coverage data - Ruby - Ruby Issue Tracking SystemNote: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.6: 4.0.6Compare Source
What's Changed
Thread.each_caller_location(1, 1)segfaults when called from a cfunc - Ruby - Ruby Issue Tracking Systemrb_vm_ci_lookupunder parallel Ractors - Ruby - Ruby Issue Tracking SystemArray#sumtakes slow path, does not perform compensated summation of Float elements when init argument is a Float - Ruby - Ruby Issue Tracking System$!stays as the first exception in Ruby Box - Ruby - Ruby Issue Tracking SystemThread.handle_interruptmasking. - Ruby - Ruby Issue Tracking SystemEnumerator::Lazy#to_enumdoes not accept method names as strings - Ruby - Ruby Issue Tracking SystemSignal.trap(:EXIT)exception only shown ifat_exitalso raises - Ruby - Ruby Issue Tracking SystemNote: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.5: 4.0.5Compare Source
What's Changed
make rdocfails withinvalid byte sequence in US-ASCIIon Ruby 4.0.4 under C locale - Ruby - Ruby Issue Tracking SystemNote: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.4: 4.0.4Compare Source
What's Changed
Fiber#transfer: machine stack not released when fiber terminates, causingFiberError: can't set a guard page- Ruby - Ruby Issue Tracking SystemRubyVM::InstructionSequence.compiledon't support coverage - Ruby - Ruby Issue Tracking SystemConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.