[DOC] Link method name references

This commit is contained in:
Nobuyoshi Nakada 2023-08-29 13:52:18 +09:00
parent 7e5c662a6f
commit c0e913ae88
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

34
NEWS.md
View File

@ -12,7 +12,9 @@ Note that each entry is kept to a minimum, see links for details.
* A new `performance` warning category was introduced.
They are not displayed by default even in verbose mode.
Turn them on with `-W:performance` or `Warning[:performance] = true`. [[Feature #19538]]
* The `RUBY_GC_HEAP_INIT_SLOTS` environment variable has been deprecated and removed. Environment variables `RUBY_GC_HEAP_INIT_SIZE_%d_SLOTS` should be used instead. [[Feature #19785]]
* The `RUBY_GC_HEAP_INIT_SLOTS` environment variable has been deprecated and
removed. Environment variables `RUBY_GC_HEAP_INIT_SIZE_%d_SLOTS` should be
used instead. [[Feature #19785]]
## Core classes updates
@ -20,25 +22,27 @@ Note: We're only listing outstanding class updates.
* Array
* `Array#pack` now raises ArgumentError for unknown directives. [[Bug #19150]]
* Array#pack now raises ArgumentError for unknown directives. [[Bug #19150]]
* Dir
* `Dir.for_fd` added for returning a Dir object for the directory specified
* Dir.for_fd added for returning a Dir object for the directory specified
by the provided directory file descriptor. [[Feature #19347]]
* `Dir.fchdir` added for changing the directory to the directory specified
* Dir.fchdir added for changing the directory to the directory specified
by the provided directory file descriptor. [[Feature #19347]]
* `Dir#chdir` added for changing the directory to the directory specified
by the provided `Dir` object. [[Feature #19347]]
* Dir#chdir added for changing the directory to the directory specified by
the provided `Dir` object. [[Feature #19347]]
* MatchData
* MatchData#named_captures now accepts optional `symbolize_names` keyword. [[Feature #19591]]
* MatchData#named_captures now accepts optional `symbolize_names`
keyword. [[Feature #19591]]
* String
* `String#unpack` now raises ArgumentError for unknown directives. [[Bug #19150]]
* `String#bytesplice` now accepts new arguments index/length or range of the source string to be copied. [[Feature #19314]]
* String#unpack now raises ArgumentError for unknown directives. [[Bug #19150]]
* String#bytesplice now accepts new arguments index/length or range of the
source string to be copied. [[Feature #19314]]
* ObjectSpace::WeakKeyMap
@ -48,7 +52,8 @@ Note: We're only listing outstanding class updates.
* Module
* `Module#set_temporary_name` added for setting a temporary name for a module. [[Feature #19521]]
* Module#set_temporary_name added for setting a temporary name for a
module. [[Feature #19521]]
* Process.warmup
@ -60,7 +65,8 @@ Note: We're only listing outstanding class updates.
* Refinement
* Add Refinement#target as an alternative of Refinement#refined_class.
Refinement#refined_class is deprecated and will be removed in Ruby 3.4. [[Feature #19714]]
Refinement#refined_class is deprecated and will be removed in Ruby
3.4. [[Feature #19714]]
## Stdlib updates
@ -135,13 +141,13 @@ changelog for details of the default gems or bundled gems.
* Instance variables no longer exit to the interpreter
with megamorphic Object Shapes.
* Unsupported call types no longer exit to the interpreter.
* `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`,
`Kernel#instance_of?`, `Module#===` are specially optimized.
* Integer#!=, String#!=, Kernel#block_given?, Kernel#is_a?,
Kernel#instance_of?, Module#=== are specially optimized.
* Now more than 3x faster than the interpreter on optcarrot!
* Metadata for compiled code uses a lot less memory.
* Generate more compact code on ARM64
* Option to start YJIT in paused mode and then later enable it manually
* `--yjit-pause` and `RubyVM::YJIT.resume`
* `--yjit-pause` and RubyVM::YJIT.resume
* This can be used to enable YJIT only once your application is done booting
* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds,
a special stats or dev build is no longer required.