aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS.md
Commit message (Collapse)AuthorAgeFilesLines
* Update default gems list at ecf32dbfc03c39a75fdd8a4e4dc3cb [ci skip]git2022-05-091-1/+1
|
* Update default gems list at a370eb5a6360a789b7c5249d97169f [ci skip]git2022-05-091-1/+1
|
* Update default gems list at 30632efeaad6f5837102ff4229777e [ci skip]git2022-05-091-1/+1
|
* Update default gems list at fbbe7ac7e3256e78d01e0b92d74611 [ci skip]git2022-05-091-1/+1
|
* Update bundled gems list at 25eb63fa7fa7075764cd71920eb89d [ci skip]git2022-05-081-1/+1
|
* Update default gems list at cd2613b6a43bac87574dac17b8b9b8 [ci skip]git2022-04-271-0/+1
|
* Resolve several markedown warningsTim Smith2022-04-191-6/+6
| | | | | | | - Spaces before and after blocks. - Single spaces after sentences everywhere Signed-off-by: Tim Smith <tsmith@mondoo.com>
* Update default gems list at 2aca566a104ad42579be03374446fd [ci skip]git2022-04-151-0/+1
|
* Update bundled gems list at 8197ae35f90aa1c260b5782c08827d [ci skip]git2022-04-061-1/+1
|
* Give some tips on how to find the missing ruby2_keywordsBenoit Daloze2022-04-051-1/+5
|
* Add NEWS entry for Bug #18625 to help adding ruby2_keywords in the missing ↵Benoit Daloze2022-04-051-0/+29
| | | | places
* Update bundled gems list at e73d76027e7a7e0927785c66629c18 [ci skip]git2022-04-021-1/+1
|
* Update bundled gems list at b3a05827c716bbb6a54cb6924f5840 [ci skip]git2022-04-011-0/+1
|
* Update default gems list at 06f94d1784c6f00ba7d21af57af0d0 [ci skip]git2022-04-011-0/+1
|
* Update default gems list at 8a38419b73ec2b698dd2d0462055f3 [ci skip]git2022-03-311-1/+1
|
* Update NEWS for proc autosplat changeJeremy Evans2022-03-301-0/+12
|
* Update NEWS for TracePoint#enable target_thread default changeJeremy Evans2022-03-291-0/+4
|
* [DOC] Move the entry for [Feature #18571]Nobuyoshi Nakada2022-03-281-3/+5
|
* Fix a link [ci skip]Kazuhiro NISHIYAMA2022-03-281-0/+1
|
* Added entry of Psych changes for #18571Hiroshi SHIBATA2022-03-281-1/+3
|
* Update NEWS for {Kernel,TracePoint}#binding changeJeremy Evans2022-03-251-0/+9
|
* Update default gems list at 4c4a1e2035e08a627e71efd41d6654 [ci skip]git2022-03-241-1/+1
|
* Fix a link [ci skip]Kazuhiro NISHIYAMA2022-03-221-0/+1
|
* Add a NEWS entry about [Feature #18598] [ci skip]Shugo Maeda2022-03-181-0/+1
|
* Make Proc#parameters support lambda keyword for returning parameters as if ↵Jeremy Evans2022-03-171-0/+2
| | | | | | | | lambda This makes it easier to use Proc#parameters to build wrappers. Implements [Feature #15357]
* Update default gems list at fadc7a150c90ad44dee90985b19e79 [ci skip]git2022-03-171-0/+1
|
* Fix a link [ci skip]Kazuhiro NISHIYAMA2022-03-141-0/+1
|
* mention Unicode Version 14.0.0Martin Dürst2022-03-131-0/+2
|
* Update default gems list at bd1862330756b177ba189597b9de10 [ci skip]git2022-03-101-1/+1
|
* Update default gems list at 9c531ca524506f9de7bc4643fd6d89 [ci skip]git2022-03-071-0/+1
|
* Update default gems list at 7f7db124ee6a72ec178d4045387062 [ci skip]git2022-03-031-0/+1
|
* Update default gems list at eb40ff73bfc8afae1d87e214f31564 [ci skip]git2022-02-281-0/+1
|
* Update bundled gems list at 2022-02-23git2022-02-231-1/+1
|
* Fix links [ci skip]Kazuhiro NISHIYAMA2022-02-211-0/+1
|
* Add String#byteindex, String#byterindex, and MatchData#byteoffset (#5518)Shugo Maeda2022-02-191-0/+6
| | | | | | * Add String#byteindex, String#byterindex, and MatchData#byteoffset [Feature #13110] Co-authored-by: NARUSE, Yui <naruse@airemix.jp>
* Find pattern is no longer experimental [Feature #18585]Kazuki Tsujimoto2022-02-191-0/+4
|
* Mention Set as a new builtin class to NEWSAkinori MUSHA2022-02-181-0/+5
|
* Update default gems list at f07a2613e3f14ab713bc5ab8854110 [ci skip]git2022-02-101-0/+1
|
* Update bundled gems list at d4a8c04dc7bb1c9aa48eaf50dc6b18 [ci skip]git2022-02-021-0/+1
|
* Update default gems list at fc4fbeef28b1d243e45d7fc8d60778 [ci skip]git2022-02-011-0/+1
|
* [DOC] Fix a typo in the NEWS.mdKoichi ITO2022-01-311-1/+1
| | | Follow up of https://github.com/ruby/ruby/commit/fbb3cab.
* Add a NEWS entry about [Feature #16806]Takashi Kokubun2022-01-291-0/+5
|
* NEWS: `Fixnum` and `Bignum` are removed finally [Feature #12005]Nobuyoshi Nakada2022-01-251-0/+2
|
* Update default gems list at 328e6bf3b3a167529e5c64a281e773 [ci skip]git2022-01-241-0/+1
|
* Fix a link [ci skip]Kazuhiro NISHIYAMA2022-01-181-0/+1
|
* [ruby/erb] Revert "Remove safe_level and further positional arguments ↵Takashi Kokubun2022-01-171-5/+0
| | | | | | | | | | | | | | (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.
* Update NEWS.md about ERB.newTakashi Kokubun2022-01-151-0/+5
|
* Make Hash#shift return nil for empty hashJeremy Evans2022-01-141-0/+6
| | | | Fixes [Bug #16908]
* Fix constant assignment evaluation orderJeremy Evans2022-01-141-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* Add a Module#const_added callbackJean Boussier2022-01-141-0/+1
| | | | | | | | | | | | [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) ```