-
-
Notifications
You must be signed in to change notification settings - Fork 946
Comparing changes
Open a pull request
base repository: jruby/jruby
base: master
head repository: jruby/jruby
compare: ruby-4.1
- 14 commits
- 42 files changed
- 3 contributors
Commits on Jul 16, 2026
-
Add Proc#refined(mod1, ...), which returns a new Proc whose body runs with the given modules' refinements active. The receiver is unchanged and the captured closure environment is shared; only the refinement scope differs. In JRuby whether a call resolves refinements is decided at IR build time: CallInstr.create reads scope.maybeUsingRefinements() and, when true, builds a RefinedCachingCallSite that captures the static scope. So a refinement-aware copy of the receiver proc's IR is required (the analog of CRuby recursively deep-copying the block iseq); merely swapping an overlay at runtime is not enough. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 328c587 - Browse repository at this point
Copy the full SHA 328c587View commit details
Commits on Jul 17, 2026
-
Merge pull request #9486 from shugo/proc-with-refinements-ruby-4.1
Implement Proc#refined
Configuration menu - View commit details
-
Copy full SHA for 36738a3 - Browse repository at this point
Copy the full SHA 36738a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57bdaee - Browse repository at this point
Copy the full SHA 57bdaeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 300360a - Browse repository at this point
Copy the full SHA 300360aView commit details -
Remove deprecated ObjectSpace#_id2ref
Officially removed for Ruby 4.1. See https://bugs.ruby-lang.org/issues/22135
Configuration menu - View commit details
-
Copy full SHA for d68eeb4 - Browse repository at this point
Copy the full SHA d68eeb4View commit details
Commits on Jul 18, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 87accb2 - Browse repository at this point
Copy the full SHA 87accb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c05b1c - Browse repository at this point
Copy the full SHA 5c05b1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c73024 - Browse repository at this point
Copy the full SHA 6c73024View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7406fc - Browse repository at this point
Copy the full SHA a7406fcView commit details -
Reduce Proc#refined tests to JRuby-specific ones
Implementation-agnostic behavior is covered by spec/ruby/core/proc/refined_spec.rb (synced from ruby/spec) and by CRuby's test/ruby/test_proc.rb (synced as test/mri), so keep only the tests tied to JRuby internals: clone retention in the IR lexical parent, JIT compilation of the clone, concurrent refine/refined, backtrace construction through a top-level clone, and GC survival. Requested in #9486 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for d9e7fc0 - Browse repository at this point
Copy the full SHA d9e7fc0View commit details
Commits on Jul 20, 2026
-
Merge pull request #9533 from headius/remote_id2ref
Remove deprecated ObjectSpace#_id2ref
Configuration menu - View commit details
-
Copy full SHA for bfe1e44 - Browse repository at this point
Copy the full SHA bfe1e44View commit details -
Merge pull request #9535 from shugo/proc-refined-test-trim
Reduce Proc#refined tests to JRuby-specific ones
Configuration menu - View commit details
-
Copy full SHA for 7bb32af - Browse repository at this point
Copy the full SHA 7bb32afView commit details
Commits on Jul 21, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 5d8c5c3 - Browse repository at this point
Copy the full SHA 5d8c5c3View commit details
Commits on Jul 28, 2026
-
Deprecate ruby2_keywords at a Java level
The ruby2_keywords method will be deprecated for removal in CRuby starting with 4.1, with removal currently planned in Ruby 4.5. We duplicate the documentation change here in preparation for that process.
Configuration menu - View commit details
-
Copy full SHA for ea9e71e - Browse repository at this point
Copy the full SHA ea9e71eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...ruby-4.1