rubyreferences / rubychanges

Comprehensive changelog of Ruby Programming Language
https://rubyreferences.github.io/rubychanges/
195 stars 39 forks source link

Ruby 3.3 breaking change with Regexp.new #60

Open Fryguy opened 9 months ago

Fryguy commented 9 months ago

Apologies if this is the wrong place (perhaps I should open an issue in ruby/ruby for the NEWS.md instead?).

We've found an undocumented breaking change in Regexp.new that was put in place for https://bugs.ruby-lang.org/issues/18797

https://github.com/ruby/ruby/commit/7e8fa06022a9e412e3f8e6c8b6f0ba1909f648d5 changed the interface to issue a deprecation warning for the third parameter (in Ruby 3.2.0) and https://github.com/ruby/ruby/commit/04cfb26bd394b8e92f24f18799f5e9fc96b2ea69 actually removed it (for Ruby 3.3.0)

Fryguy commented 9 months ago

I also found this: https://bugs.ruby-lang.org/issues/20084