summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-29 13:52:18 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-29 13:52:18 +0900
commitc0e913ae88057fed121d56f2057357b1e4c3b346 (patch)
tree540a3143b2b74cd56b98a2fddf38c8d76d582526 /NEWS.md
parent7e5c662a6f2e8435f8103bc16185bed6759cc557 (diff)
[DOC] Link method name references
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md34
1 files changed, 20 insertions, 14 deletions
diff --git a/NEWS.md b/NEWS.md
index 297ad8c1d3..befe02ccdb 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -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.