Update dependency ruby to v4
This MR contains the following updates:
| Package | Update | Change |
|---|---|---|
| ruby (source) | major | 3.4.10 -> 4.0.6 |
⚠️ WarningSome dependencies could not be looked up. Check the Dependency Dashboard for more information.
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
ruby/ruby (ruby)
v4.0.6: 4.0.6
What's Changed
- Bug #22070:
Thread.each_caller_location(1, 1)segfaults when called from a cfunc - Ruby - Ruby Issue Tracking System - Bug #22075: heap-use-after-free in
rb_vm_ci_lookupunder parallel Ractors - Ruby - Ruby Issue Tracking System - Bug #22076: defined? returns nil for protected methods defined in a module even when callable - Ruby - Ruby Issue Tracking System
- Bug #22072: [BUG] should have cvar cache entry - Ruby - Ruby Issue Tracking System
- Bug #22074: YJIT misaligns locals when there are > 256 local variables - Ruby - Ruby Issue Tracking System
- Bug #22064: GC compaction breaks compare-by-identity sets - Ruby - Ruby Issue Tracking System
- Bug #22084: invokesuper from define_method in Ractor can call wrong super method or crash - Ruby - Ruby Issue Tracking System
- Bug #22092:
Array#sumtakes slow path, does not perform compensated summation of Float elements when init argument is a Float - Ruby - Ruby Issue Tracking System - Bug #14635: Float#round(n) returns a wrong result when n is big - Ruby - Ruby Issue Tracking System
- Bug #22079: Float#ceil gives incorrect result - Ruby - Ruby Issue Tracking System
- Bug #22096: Freeing a mutex locked by a fiber inside fiber scheduler can crash - Ruby - Ruby Issue Tracking System
- Bug #21996: Crash when modifying instance variables during inspect or Marshal dump - Ruby - Ruby Issue Tracking System
- Bug #22101: ASAN heap-use-after-free in rb_data_free after TypedData dfree frees dynamic rb_data_type_t - Ruby - Ruby Issue Tracking System
- Bug #22103: Constant-folded /o regexp crashes with dupstring of a Regexp - Ruby - Ruby Issue Tracking System
- Bug #21991:
$!stays as the first exception in Ruby Box - Ruby - Ruby Issue Tracking System - Feature #21881: Split the root box into the (newer) root box and the master of copied user boxes - Ruby - Ruby Issue Tracking System
- Bug #22120: Segfault caused by ar_find_entry_hint() not checking for conversion to st_table - Ruby - Ruby Issue Tracking System
- Bug #22129: error_highlight raises NotImplementedError for ArgumentErrors that get wrapped - Ruby - Ruby Issue Tracking System
- Bug #21864: Inconsistencies in type coercion error messages for integers - Ruby - Ruby Issue Tracking System
- Bug #21882: IO::Buffer#locked leaves the buffer locked when the block raises - Ruby - Ruby Issue Tracking System
- Bug #22127: parse.y regexp crash on invalid encoding - Ruby - Ruby Issue Tracking System
- Bug #22126: Stack underflow for partial DCE and loops - Ruby - Ruby Issue Tracking System
- Bug #22124: void value missed in parse.y - Ruby - Ruby Issue Tracking System
- Bug #22104: Segfault in PRISM while Bootsnap compiles aws-sdk client_api.rb - Ruby - Ruby Issue Tracking System
- Bug #21685: Unnecessary context-switching, especially bad on multi-core machines. - Ruby - Ruby Issue Tracking System
- Bug #22099: Keyword-only method silently accepts a positional argument - Ruby - Ruby Issue Tracking System
- Bug #22183: parse.y interpolation inside lambda literal - Ruby - Ruby Issue Tracking System
- Bug #22181: SEGV in branch peephole optimization due to label/insn struct aliasing - Ruby - Ruby Issue Tracking System
- Bug #22133: Ruby's default SIGINT handling ignores
Thread.handle_interruptmasking. - Ruby - Ruby Issue Tracking System - Bug #22189:
Enumerator::Lazy#to_enumdoes not accept method names as strings - Ruby - Ruby Issue Tracking System - Bug #22191:
Signal.trap(:EXIT)exception only shown ifat_exitalso raises - Ruby - Ruby Issue Tracking System
Note: 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.5
What's Changed
- CVE-2026-46727: Use-after-free in pthread-based getaddrinfo timeout handler
- Bug #22065:
make rdocfails withinvalid byte sequence in US-ASCIIon Ruby 4.0.4 under C locale - Ruby - Ruby Issue Tracking System
Note: 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.4
What's Changed
- Bug #21955:
Fiber#transfer: machine stack not released when fiber terminates, causingFiberError: can't set a guard page- Ruby - Ruby Issue Tracking System - Bug #21964: Fiber stack acquire can expand unnecessarily - Ruby - Ruby Issue Tracking System
- Bug #21971: Fix regexp performance regression for patterns starting with s/k - Ruby - Ruby Issue Tracking System
- Bug #21961: Marshal.load freeze option fail to freeze linked strings - Ruby - Ruby Issue Tracking System
- Bug #21959: rb_internal_thread_event_hooks_rw_lock is not reinitialized after fork causing deadlocks - Ruby - Ruby Issue Tracking System
- Bug #21954: NoMethodError instead of Gem::LoadError on gem activation problem in Ruby 4.0.2 - Ruby - Ruby Issue Tracking System
- Bug #21844: Inconsistent ArgumentError message for Data::define.new - Ruby - Ruby Issue Tracking System
- Bug #21992: Defining BasicObject#initialize causes segmentation fault - Ruby - Ruby Issue Tracking System
- Bug #22018: ISeq created via
RubyVM::InstructionSequence.compiledon't support coverage - Ruby - Ruby Issue Tracking System - Bug #21985: RubyVM::AST negative numbers do not include - in location - Ruby - Ruby Issue Tracking System
- Bug #21986: RubyVM::AST incorrect location for literals followed by modifier
if- Ruby - Ruby Issue Tracking System - Bug #21933: Ruby::Box: named capture local variable can become nil after non-matching lines - Ruby - Ruby Issue Tracking System
- Bug #21940: Ruby::Box:
$_returns stale value due to gvar_tbl caching - Ruby - Ruby Issue Tracking System - Bug #22004: parse.y doesn't executes loop body with
while true || truecondition - Ruby - Ruby Issue Tracking System - Bug #21952: Ruby::Box double free at process exit when
fiddle/importis required in multiple boxes - Ruby - Ruby Issue Tracking System - Bug #22003: .bundle extensions not built when doing out-of-source build - Ruby - Ruby Issue Tracking System
- Bug #22002: argument stack underflow (-1) - Ruby - Ruby Issue Tracking System
Note: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.3: 4.0.3
What's Changed
Full Changelog
v4.0.2: 4.0.2
What's Changed
- Bug #21941: Local variable becomes nil when YJIT enabled mid-method with fork/signal/ensure - Ruby - Ruby Issue Tracking System
- Bug #21832: segfault with argument forwarding, when combined with splat & positional arg - Ruby - Ruby Issue Tracking System
- Bug #21723:
binding.irbraises a LoadError underbundle execwhen Gemfile containspath:orgit:- Ruby - Ruby Issue Tracking System - Bug #21847: Backport
syntax_suggest2.0.3 to supported branches - Ruby - Ruby Issue Tracking System - Bug #21866: Backport Fix for integer overflow checks in enumerator - Ruby - Ruby Issue Tracking System
- Bug #21865: Crash on signal raise - Ruby - Ruby Issue Tracking System
- Bug #21842: Encoding of rb_interned_str - Ruby - Ruby Issue Tracking System
- Bug #21838: Rails seeing degradation (20% slowdown) related to Revision 079ef92b "Implement global allocatable slots and empty pages" (from Sep 5 2024) - Ruby - Ruby Issue Tracking System
- Bug #21873:
UnboundMethod#==returns false for methods from included/extended modules - Ruby - Ruby Issue Tracking System - ZJIT: Avoid runtime exceptions from RubyVM::ZJIT.stats_string by k0kubun · Merge Request #16139
- Bug #21931: GC Crash in
String#%(backport 726205b354d1068147719fb42e1de743f1838ef1) - Ruby - Ruby Issue Tracking System - Bug #21944: "Cannot allocate memory" with M:N threads or Ractors on a low RAM Linux machine - Ruby - Ruby Issue Tracking System
- Bug #21946:
and?predicate confused for leadingandkeyword - Ruby - Ruby Issue Tracking System - Bug #21927: Prism: misleading error message for forwarding in lambda argument - Ruby - Ruby Issue Tracking System
- Bug #21925: Prism misparses standalone "in" pattern matching in "case/in" - Ruby - Ruby Issue Tracking System
- Bug #21828: An incorrect warning message related to
benchmarkis shown when usingbenchmark-ips- Ruby - Ruby Issue Tracking System - Bug #21917: Unable to build 4.0.1 on AIX 7.2 - Ruby - Ruby Issue Tracking System
- Bug #21945: Ripper lexes newline between identifier and
and?as ignored newline - Ruby - Ruby Issue Tracking System - Bug #21947:
Timeout.timeoutdoesn't useTimeout::ExitExceptionwhen Fiber scheduler is in use. - Ruby - Ruby Issue Tracking System - Bug #21926: Thread#value on popen3 wait thread hangs in finalizer - Ruby - Ruby Issue Tracking System
- Bug #21880: The ultra_safe mode of pstore bundled with Ruby 4.0 is broken. - Ruby - Ruby Issue Tracking System
- Bug #21097:
x = a rescue b in canddef f = a rescue b in cparsed differently between parse.y and prism - Ruby - Ruby Issue Tracking System
Note: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.1: 4.0.1
What's Changed
- Bug #21812: Kernel#sleep without arguments returns immediately when subprocess exits in another thread (regression in Ruby 4.0) - Ruby - Ruby Issue Tracking System
- Bug #21828: An incorrect warning message related to
benchmarkis shown when usingbenchmark-ips- Ruby - Ruby Issue Tracking System - Bug #21811: Fix underflow in Array#pack - Ruby - Ruby Issue Tracking System
- Bug #21814: 0.pow(2,-9999999999999999990) should be zero - Ruby - Ruby Issue Tracking System
- Bug #21819: A Data object should be frozen even if it has no members - Ruby - Ruby Issue Tracking System
Note: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
v4.0.0: 4.0.0
See also:
- Release 3.5.0-preview1 · ruby/ruby
- Release 4.0.0-preview2 · ruby/ruby
- Release 4.0.0-preview3 · ruby/ruby
What's Changed
- Bump RDoc to 7.0.1 by st0012 · Merge Request #15628
- make rb_singleton_class ractor safe by luke-gruber · Merge Request #15591
- Remove assertion in encoded_iseq_trace_instrument by luke-gruber · Merge Request #15616
- Bug #21793: function name conflict of "mutex_trylock" on Solaris - Ruby - Ruby Issue Tracking System
- [DOC] small improvements to ractor class docs by luke-gruber · Merge Request #15584
- Check for NULL fields in TYPEDDATA memsize functions by luke-gruber · Merge Request #15633
- Feature #21785: Add signed and unsigned LEB128 support to pack / unpack - Ruby - Ruby Issue Tracking System
- Fix rbs test failure caused by minitest6 by soutaro · Merge Request #15643
- Fix: Do not check open_timeout twice by shioimm · Merge Request #15626
- Fix: Specifying 0 should cause an immediate timeout by shioimm · Merge Request #15641
- Bug #21794: O_CLOEXEC is not available on Solaris 10 - Ruby - Ruby Issue Tracking System
- Fiber scheduler: invoke
#io_writehook on IO flush by noteflakes · Merge Request #15609 - Update NEWS.md for Fiber Scheduler by noteflakes · Merge Request #15629
- Small documentation adjustments for new/updated features by zverok · Merge Request #15634
- Add clarifications about the Enumerator.size by zverok · Merge Request #15615
- Bug #21792: 4.0.0-preview3: Build fails with
--with-ext=when ENABLE_SHARED=yes: ruby/digest.h not found for rubyspec CAPI extensions - Ruby - Ruby Issue Tracking System - [DOC] Enhancements for globals.md by BurdetteLamar · Merge Request #15545
- Small improvements to doc/language/ractor.md by luke-gruber · Merge Request #15588
- More doc improvements to ractor.md by luke-gruber · Merge Request #15676
- Bump RDoc to 7.0.2 by st0012 · Merge Request #15691
- [DOC] Improve ractor class docs (grammar, code examples) by luke-gruber · Merge Request #15686
- [DOC] Languages in Examples by BurdetteLamar · Merge Request #15697
- Bundle RBS 3.10.0 by soutaro · Merge Request #15701
- Describe base code layout rules by zverok · Merge Request #15696
- [DOC] Enhance Fiber::Scheduler docs by zverok · Merge Request #15708
- [DOC] Cross-links between Japanese and English pages by BurdetteLamar · Merge Request #15705
- ZJIT: Don't mark control-flow opcodes as invalidating locals by tekknolagi · Merge Request #15694
- [DOC] Add back Rust 1.85.0 requirement to NEWS.md by chancancode · Merge Request #15728
Note: This list is automatically generated by tool/gen-github-release.rb. Because of this, some commits may be missing.
Full Changelog
Configuration
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.