summaryrefslogtreecommitdiff
path: root/NEWS.md
AgeCommit message (Collapse)Author
2022-04-19Resolve several markedown warningsTim Smith
- Spaces before and after blocks. - Single spaces after sentences everywhere Signed-off-by: Tim Smith <tsmith@mondoo.com> Notes: Merged: https://github.com/ruby/ruby/pull/5816
2022-04-15Update default gems list at 2aca566a104ad42579be03374446fd [ci skip]git
2022-04-06Update bundled gems list at 8197ae35f90aa1c260b5782c08827d [ci skip]git
2022-04-05Give some tips on how to find the missing ruby2_keywordsBenoit Daloze
2022-04-05Add NEWS entry for Bug #18625 to help adding ruby2_keywords in the missing ↵Benoit Daloze
places Notes: Merged: https://github.com/ruby/ruby/pull/5684
2022-04-02Update bundled gems list at e73d76027e7a7e0927785c66629c18 [ci skip]git
2022-04-01Update bundled gems list at b3a05827c716bbb6a54cb6924f5840 [ci skip]git
2022-04-01Update default gems list at 06f94d1784c6f00ba7d21af57af0d0 [ci skip]git
2022-03-31Update default gems list at 8a38419b73ec2b698dd2d0462055f3 [ci skip]git
2022-03-30Update NEWS for proc autosplat changeJeremy Evans
2022-03-29Update NEWS for TracePoint#enable target_thread default changeJeremy Evans
2022-03-28[DOC] Move the entry for [Feature #18571]Nobuyoshi Nakada
2022-03-28Fix a link [ci skip]Kazuhiro NISHIYAMA
2022-03-28Added entry of Psych changes for #18571Hiroshi SHIBATA
2022-03-25Update NEWS for {Kernel,TracePoint}#binding changeJeremy Evans
2022-03-24Update default gems list at 4c4a1e2035e08a627e71efd41d6654 [ci skip]git
2022-03-22Fix a link [ci skip]Kazuhiro NISHIYAMA
2022-03-18Add a NEWS entry about [Feature #18598] [ci skip]Shugo Maeda
2022-03-17Make Proc#parameters support lambda keyword for returning parameters as if ↵Jeremy Evans
lambda This makes it easier to use Proc#parameters to build wrappers. Implements [Feature #15357] Notes: Merged: https://github.com/ruby/ruby/pull/5677
2022-03-17Update default gems list at fadc7a150c90ad44dee90985b19e79 [ci skip]git
2022-03-14Fix a link [ci skip]Kazuhiro NISHIYAMA
2022-03-13mention Unicode Version 14.0.0Martin Dürst
2022-03-10Update default gems list at bd1862330756b177ba189597b9de10 [ci skip]git
2022-03-07Update default gems list at 9c531ca524506f9de7bc4643fd6d89 [ci skip]git
2022-03-03Update default gems list at 7f7db124ee6a72ec178d4045387062 [ci skip]git
2022-02-28Update default gems list at eb40ff73bfc8afae1d87e214f31564 [ci skip]git
2022-02-23Update bundled gems list at 2022-02-23git
2022-02-21Fix links [ci skip]Kazuhiro NISHIYAMA
2022-02-19Add String#byteindex, String#byterindex, and MatchData#byteoffset (#5518)Shugo Maeda
* Add String#byteindex, String#byterindex, and MatchData#byteoffset [Feature #13110] Co-authored-by: NARUSE, Yui <naruse@airemix.jp> Notes: Merged-By: shugo <shugo@ruby-lang.org>
2022-02-19Find pattern is no longer experimental [Feature #18585]Kazuki Tsujimoto
2022-02-18Mention Set as a new builtin class to NEWSAkinori MUSHA
Notes: Merged: https://github.com/ruby/ruby/pull/5563
2022-02-10Update default gems list at f07a2613e3f14ab713bc5ab8854110 [ci skip]git
2022-02-02Update bundled gems list at d4a8c04dc7bb1c9aa48eaf50dc6b18 [ci skip]git
2022-02-01Update default gems list at fc4fbeef28b1d243e45d7fc8d60778 [ci skip]git
2022-01-31[DOC] Fix a typo in the NEWS.mdKoichi ITO
Follow up of https://github.com/ruby/ruby/commit/fbb3cab. Notes: Merged: https://github.com/ruby/ruby/pull/5507 Merged-By: nobu <nobu@ruby-lang.org>
2022-01-29Add a NEWS entry about [Feature #16806]Takashi Kokubun
2022-01-25NEWS: `Fixnum` and `Bignum` are removed finally [Feature #12005]Nobuyoshi Nakada
2022-01-24Update default gems list at 328e6bf3b3a167529e5c64a281e773 [ci skip]git
2022-01-18Fix a link [ci skip]Kazuhiro NISHIYAMA
2022-01-17[ruby/erb] Revert "Remove safe_level and further positional arguments ↵Takashi Kokubun
(https://github.com/ruby/erb/pull/7)" This reverts commit https://github.com/ruby/erb/commit/5133efa06f0603ae79292f3b2b942957bc8a442e. While we already handled this deprecation in many libraries, we noticed that some (e.g. sprockets) relied on the format of `ERB.version` and https://github.com/ruby/erb/commit/2b4182eb108b9e42fa30bcfa41931896132f88b8 broke such handling. Given that the `ERB.version` change was released at 3.1 and it's obviously new, I'll skip this removal in 3.2 and postpone this to a future version.
2022-01-15Update NEWS.md about ERB.newTakashi Kokubun
2022-01-14Make Hash#shift return nil for empty hashJeremy Evans
Fixes [Bug #16908] Notes: Merged: https://github.com/ruby/ruby/pull/5360
2022-01-14Fix constant assignment evaluation orderJeremy Evans
Previously, the right hand side was always evaluated before the left hand side for constant assignments. For the following: ```ruby lhs::C = rhs ``` rhs was evaluated before lhs, which is inconsistant with attribute assignment (lhs.m = rhs), and apparently also does not conform to JIS 3017:2013 11.4.2.2.3. Fix this by changing evaluation order. Previously, the above compiled to: ``` 0000 putself ( 1)[Li] 0001 opt_send_without_block <calldata!mid:rhs, argc:0, FCALL|VCALL|ARGS_SIMPLE> 0003 dup 0004 putself 0005 opt_send_without_block <calldata!mid:lhs, argc:0, FCALL|VCALL|ARGS_SIMPLE> 0007 setconstant :C 0009 leave ``` After this change: ``` 0000 putself ( 1)[Li] 0001 opt_send_without_block <calldata!mid:lhs, argc:0, FCALL|VCALL|ARGS_SIMPLE> 0003 putself 0004 opt_send_without_block <calldata!mid:rhs, argc:0, FCALL|VCALL|ARGS_SIMPLE> 0006 swap 0007 topn 1 0009 swap 0010 setconstant :C 0012 leave ``` Note that if expr is not a module/class, then a TypeError is not raised until after the evaluation of rhs. This is because that error is raised by setconstant. If we wanted to raise TypeError before evaluation of rhs, we would have to add a VM instruction for calling vm_check_if_namespace. Changing assignment order for single assignments caused problems in the multiple assignment code, revealing that the issue also affected multiple assignment. Fix the multiple assignment code so left-to-right evaluation also works for constant assignments. Do some refactoring of the multiple assignment code to reduce duplication after adding support for constants. Rename struct masgn_attrasgn to masgn_lhs_node, since it now handles both constants and attributes. Add add_masgn_lhs_node static function for adding data for lhs attribute and constant setting. Fixes [Bug #15928] Notes: Merged: https://github.com/ruby/ruby/pull/4450
2022-01-14Add a Module#const_added callbackJean Boussier
[Feature #17881] Works similarly to `method_added` but for constants. ```ruby Foo::BAR = 42 # call Foo.const_added(:FOO) class Foo::Baz; end # call Foo.const_added(:Baz) Foo.autoload(:Something, "path") # call Foo.const_added(:Something) ``` Notes: Merged: https://github.com/ruby/ruby/pull/4521
2022-01-13add a NEWS entry of `Proc#dup`.Koichi Sasada
2022-01-07Fix typo [ci skip]Kazuhiro NISHIYAMA
2022-01-07Add bugs.ruby links.manga_osyo
Notes: Merged: https://github.com/ruby/ruby/pull/5400
2022-01-06Update bundled gems list at 2022-01-06git
2022-01-06NEWS: "taintedness" and "trustedness" methods are removedNobuyoshi Nakada
2022-01-06NEWS: Separate removed constants sectionNobuyoshi Nakada