summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-04-22[ruby/erb] Version 4.0.3.1ruby_3_3Takashi Kokubun
2026-04-22[ruby/erb] Prohibit def_method on marshal-loaded ERB instancesTakashi Kokubun
Extends the @_init guard to def_method so that an ERB object created via Marshal.load (which bypasses initialize) raises ArgumentError instead of evaluating arbitrary source. def_module and def_class both delegate to def_method and are covered by the same check. Co-authored-by: Tristan Madani <TristanInSec@gmail.com>
2026-04-02Our test suite is broken with rb_sys-0.9.125 bacause we can't build json ↵Hiroshi SHIBATA
extension
2026-03-26Bump up to 3.3.11v3_3_11Hiroshi SHIBATA
2026-03-26[ruby/pstore] Bump upNobuyoshi Nakada
https://github.com/ruby/pstore/commit/d93352e365
2026-03-26[ruby/pstore] [DOC] Complete RDoc coverageNobuyoshi Nakada
https://github.com/ruby/pstore/commit/bbb1e239f0
2026-03-26[ruby/pstore] Make the internal constants privateNobuyoshi Nakada
https://github.com/ruby/pstore/commit/74fe0e516b
2026-03-26[ruby/pstore] Define the platform constantNobuyoshi Nakada
Rather than overwriting the predicate method dynamically. Fix [Bug #21880](https://bugs.ruby-lang.org/issues/21880). https://github.com/ruby/pstore/commit/b2e474e619
2026-03-26[ruby/pstore] Bump up v0.2.0Hiroshi SHIBATA
https://github.com/ruby/pstore/commit/aab62bf4cf
2026-03-26[ruby/pstore] Added lib path to in assert_in_out_errHiroshi SHIBATA
https://github.com/ruby/pstore/commit/b563c4d354
2026-03-26[ruby/pstore] Bump up v0.1.4Hiroshi SHIBATA
https://github.com/ruby/pstore/commit/a63a70a830
2026-03-26[ruby/pstore] Do not include a backtick in error messages and backtracesYusuke Endoh
[Feature #16495] https://github.com/ruby/pstore/commit/6be4e72a66
2026-03-26[ruby/pstore] Improve Ractor-compliancerm155
https://github.com/ruby/pstore/commit/fa564a6965
2026-03-26merge revision(s) 54c4694994cc3bcfea9058b22ba3e68af6aaf740: [Backport #21961]Hiroshi SHIBATA
[PATCH] marshal.c: properly freeze linked strings [Bug #21961]
2026-03-24Revert "merge revision(s) 190b017fc6c21ff7b61c2b5ece0294785e4a4ca2: ↵Hiroshi SHIBATA
[Backport #21703]" This reverts commit 83637aea6ea726f7fc4c17e56ac60c289e2d98db.
2026-03-24merge revision(s) d7a6ff8224519005d2deeb3f4e98689a8a0835ad: [Backport #21819]Hiroshi SHIBATA
[Bug #21819] Data objects without members should also be frozen
2026-03-24merge revision(s) 19e539c9ee1701b34189fa0c1feb942adeb0e326: [Backport #21814]Hiroshi SHIBATA
[Bug #21814] Fix negative bignum modulo If modulo is zero, do not apply bias even if the divisor is zero. `BIGNUM_POSITIVE_P` is true even on bignum zero.
2026-03-24merge revision(s) 4e0bb58a0a374b40b7691e7b7aa88e759a0fc9f2: [Backport #21811]Hiroshi SHIBATA
fix underflow
2026-03-24merge revision(s) bc2a8a002a6c41fc1b28e02e15e2fb2b72d1b66e, ↵Hiroshi SHIBATA
c26057ebafb23b063190d31d5b4d19a0e0a1306c: [Backport #21779] [Bug #21779] Uniquify `InitVM` functions as well as `Init` Avoid possible name conflict when `--with-static-linked-ext`. [Bug #21779] Do not export InitVM functions Fix ruby/io-console#105.
2026-03-24merge revision(s) 1e7cf7b2bc1f9b356b2e980e1e18548618da6363: [Backport #21446]Hiroshi SHIBATA
[PATCH] Fix refinement modification of method visibility in superclass Previously, this didn't work correctly, resulting in a SystemStackError. This fixes the issue by finding the related superclass method entry, and updating the orig_me in the refinement method to point to the superclass method. Fixes [Bug #21446]
2026-03-24merge revision(s) 190b017fc6c21ff7b61c2b5ece0294785e4a4ca2: [Backport #21703]Hiroshi SHIBATA
[PATCH] Don't use non blocking pipes for RUBY_CRASH_REPORT [Bug #21703] RUBY_CRASH_REPORT does not work in some cases when shelling out on Linux. For example, given the following shell script dump.sh: #!/usr/bin/env bash cat > /tmp/crash And we see it fails like this: $ RUBY_CRASH_REPORT="|dump.sh" ruby -rfiddle -e "Fiddle::Pointer.new(1, 10)[0]" cat: -: Resource temporarily unavailable
2026-03-24merge revision(s) c8155822c460a5734d700cd468d306ca03b44ce4: [Backport #21959]Hiroshi SHIBATA
[PATCH] reinit rb_internal_thread_event_hooks_rw_lock at fork [Bug #21959]
2026-03-24Sync the latest version of backport toolsHiroshi SHIBATA
2026-03-23Manually apply ↵Earlopain
https://github.com/ruby/syntax_suggest/commit/b782897560d7749c183eb2ce4286455b4c680090 This commit didn't apply for some reason
2026-03-23[ruby/syntax_suggest] v2.0.3Schneems
https://github.com/ruby/syntax_suggest/commit/a81b92fcf2 [Bug #21847]
2026-03-23[ruby/syntax_suggest] Refactor multi-prism version logicSchneems
The reason this logic for different methods branches in the class instead of internally was to be eagerly aggressive about runtime performance. This code is currently only used once for the document where it's invoked ~N times (where N is number of lines): ```ruby module SyntaxSuggest class CleanDocument # ... def join_trailing_slash! trailing_groups = @document.select(&:trailing_slash?).map do |code_line| take_while_including(code_line.index..) { |x| x.trailing_slash? } end join_groups(trailing_groups) self end ``` Since this is not currently a hot-spot I think merging the branches and using a case statement is a reasonable tradeoff and avoids the need to do specific version testing. An alternative idea was presented in #241 of behavior-based testing for branch logic (which I would prefer), however, calling the code triggered requiring a `DelegateClass` when the `syntax_suggest/api` is being required. https://github.com/ruby/syntax_suggest/commit/ab122c455f
2026-03-23[ruby/syntax_suggest] Handle `on_sp` when using prismEarlopain
It used to not emit this token type, but now it does. So when a newer version of prism is present, we can fall back to the same code that ripper uses. Ref: * https://github.com/ruby/ruby/pull/15914 * https://github.com/ruby/prism/pull/3859 https://github.com/ruby/syntax_suggest/commit/42a3b8f6cb
2026-03-23[ruby/syntax_suggest] bundle exec standardrb --fixHiroshi SHIBATA
https://github.com/ruby/syntax_suggest/commit/54bb8ab330
2026-03-23[ruby/syntax_suggest] Resolve to lint failure of standardrbHiroshi SHIBATA
https://github.com/ruby/syntax_suggest/commit/ce7b87184e
2026-03-23[ruby/syntax_suggest] Make benchmark exapmles as optionalHiroshi SHIBATA
https://github.com/ruby/syntax_suggest/commit/ea73ed586a
2026-03-23[ruby/syntax_suggest] v2.0.2Schneems
https://github.com/ruby/syntax_suggest/commit/e99b5ba287
2026-03-23[ruby/syntax_suggest] Explain why class existsSchneems
https://github.com/ruby/syntax_suggest/commit/8c36b0cb35
2026-03-23[ruby/syntax_suggest] Fix spellingSchneems
https://github.com/ruby/syntax_suggest/commit/9c78283363
2026-03-23[ruby/syntax_suggest] Freeze stringsSchneems
https://github.com/ruby/syntax_suggest/commit/b17bf0baca
2026-03-23[ruby/syntax_suggest] Fix missing line break due to puts logicSchneems
In #225 it was reported that the output looks incorrect: ``` $ cat /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb def x.y.z end $ ruby /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb: --> /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb expected a delimiter to close the parametersunexpected '.', ignoring it > 1 def x.y.z > 2 end ``` Specifically: ``` expected a delimiter to close the parametersunexpected '.', ignoring it ``` However this does not show up when executing the debug executable: ``` $ bin/bundle exec exe/syntax_suggest /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb --> /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb expected a delimiter to close the parameters unexpected '.', ignoring it > 1 def x.y.z > 2 end ``` This is because `exe/syntax_suggest` uses STDOUT.puts while calling `ruby` with the filename uses a fake IO object represented by MiniStringIO. This class was incorrectly not adding a newline to the end of the print. The fix was to move the class to it's own file where it can be tested and then fix the behavior. close https://github.com/ruby/syntax_suggest/pull/225 https://github.com/ruby/syntax_suggest/commit/d2ecd94a3b Co-authored-by: Andy Yong <andyywz@gmail.com>
2026-03-10Merge zlib-3.1.2Hiroshi SHIBATA
2026-03-04YJIT: Bail out if proc would be stored above stack topRandy Stauner
Fixes [Bug #21266]. Backport of 9168cad4d63a5d281d443bde4edea6be213b0b25 to 3.3
2026-03-04Fix integer overflow checks in enumeratorJörmungandrk
2026-03-04string.c: guard tmp in rb_str_format_m (GH-16280)ZHIJIE XIE
[Bug #21931] Keep tmp alive while RARRAY_CONST_PTR(tmp) is used by rb_str_format. [alan: sunk the guard below usage] Reviewed-by: Alan Wu <XrXr@users.noreply.github.com>
2026-02-12Fix UnboundMethod#== for methods from included/extended modules [Backport ↵Mike Dalessio
#21873] Method#unbind clones the method entry, preserving its defined_class. For methods mixed in via include/extend, defined_class is an ICLASS, causing UnboundMethod#== to return false when comparing against the same method obtained via Module#instance_method. Resolve ICLASS defined_class in method_eq. [Bug #21873]
2026-02-05[3.3] Fix deadlock on th->interrupt_lock after forkJean Boussier
[Bug #21860] If a thread was holding this lock before fork, it will not exist in the child process. We should re-initialize these locks as we do with the VM locks when forking. Co-Authored-By: John Hawthorn <john@hawthorn.email> Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org>
2026-01-16merge revision(s) d209e6f1c0a93ad3ce1cc64dd165a6b67672614d: [Backport #21715]Hiroshi SHIBATA
search_nonascii(): Replace UB pointer cast with memcpy Casting a pointer to create an unaligned one is undefined behavior in C standards. Use memcpy to express the unaligned load instead to play by the rules. Practically, this yields the same binary output in many situations while fixing the crash in [Bug #21715].
2025-12-15Skip test_crash_report_pipe with macOS 15Hiroshi SHIBATA
2025-12-15macOS 15 is the stable version todayHiroshi SHIBATA
2025-12-15Add predicates for platformsNobuyoshi Nakada
2025-12-15Pend some tests because these are not working with macOS 15 beta and Xcode ↵Hiroshi SHIBATA
16 beta
2025-12-15Remove macos-13 and add macos-15.Hiroshi SHIBATA
2025-11-30merge revision(s) beb85e7eeee4163cd45b69645a60cdb942f72c05: [Backport #21705]nagachika
[PATCH] [Bug #21705] Fix segfaults on Windows It should check the type of the argument and coercion before converting the encoding.
2025-11-30merge revision(s) f4f728b319086eea3db6e9909fb9c849c276f813: [Backport #21680]nagachika
[PATCH] [Bug #21680] Fix (base**power_of_two).digits(base) bug (#15144) Fix wrong condition in base multiplying loop.
2025-11-29merge revision(s) c5bd4acd30320a8e180ce9fcb24acdab4e10c73a: [Backport #21666]nagachika
[PATCH] [Bug #21666] Get rid of use of unspecified values