summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2024-11-28 16:50:14 +0900
committerKoichi Sasada <ko1@atdot.net>2024-11-28 17:36:31 +0900
commit2f870b651aae5bb42a76b5d067a9f27f5864516b (patch)
treea2e4e68c4dcd9b845b853e591a405f876e318156
parent319ac31529eb7bf7e5a4ef582c6f930bd8fca62e (diff)
add NEWS entries about Ractor related changes.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12196
-rw-r--r--NEWS.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index a5c26ff339..752e3b9f2d 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -65,6 +65,19 @@ Note: We're only listing outstanding class updates.
* MatchData#bytebegin and MatchData#byteend have been added. [[Feature #20576]]
+* Ractor
+
+ * `require` in Ractor is allowed. The requiring process will be run on
+ the main Ractor.
+ `Ractor._require(feature)` is added to run requiring process on the
+ main Ractor.
+ [[Feature #20627]]
+
+ * `Ractor.main?` is added. [[Feature #20627]]
+
+ * `Ractor.[key]` and Ractor.[val]=` is added to access the ractor local storage
+ of the current Racotr. [[Feature #20715]]
+
* Range
* Range#size now raises TypeError if the range is not iterable. [[Misc #18984]]
@@ -322,7 +335,9 @@ details of the default gems or bundled gems.
[Feature #20576]: https://bugs.ruby-lang.org/issues/20576
[Bug #20620]: https://bugs.ruby-lang.org/issues/20620
[Feature #20624]: https://bugs.ruby-lang.org/issues/20624
+[Feature #20627]: https://bugs.ruby-lang.org/issues/20627
[Feature #20705]: https://bugs.ruby-lang.org/issues/20705
+[Feature #20715]: https://bugs.ruby-lang.org/issues/20715
[Feature #20775]: https://bugs.ruby-lang.org/issues/20775
[Feature #20782]: https://bugs.ruby-lang.org/issues/20782
[Feature #20811]: https://bugs.ruby-lang.org/issues/20811