summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2024-12-13 09:51:16 +0100
committerJean Boussier <jean.boussier@gmail.com>2024-12-13 10:27:48 +0100
commit4702143a7525e12923c8d4dbec76123e72d06765 (patch)
tree7d66012b76f15c4a4e10245be54f13c883d92884
parente09c23433e2a7f4e2410b46c8dc79496f0453307 (diff)
Update NEWS.md with Time#xmlschema, Array#fetch_values and String#append_as_bytes
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12334
-rw-r--r--NEWS.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index d7bf5e66c0..e5b90aaf4f 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -32,6 +32,11 @@ Note that each entry is kept to a minimum, see links for details.
Note: We're only listing outstanding class updates.
+
+* Array
+
+ * `Array#fetch_values` was added. [[Feature #20702]]
+
* Exception
* Exception#set_backtrace now accepts arrays of Thread::Backtrace::Location.
@@ -113,12 +118,22 @@ Note: We're only listing outstanding class updates.
associated with the AST node. [[Feature #20624]]
* Add RubyVM::AbstractSyntaxTree::Location class which holds location information. [[Feature #20624]]
+
+* String
+
+ * `String#append_as_bytes` was added to more easily and efficiently work with binary buffers and protocols.
+ It directly concatenate the arguments into the string without any encoding validation or conversion.
+ [[Feature #20594]]
+
* Time
* On Windows, now Time#zone encodes the system timezone name in UTF-8
instead of the active code page, if it contains non-ASCII characters.
[[Bug #20929]]
+ * `Time#xmlschema`, and its `Time#iso8601` alias have been moved into the core Time
+ class while previously it was an extension provided by the `time` gem. [[Feature #20707]]
+
* Warning
* Add Warning.categories method which returns a list of possible warning categories.
@@ -394,10 +409,13 @@ details of the default gems or bundled gems.
[Feature #20497]: https://bugs.ruby-lang.org/issues/20497
[Feature #20564]: https://bugs.ruby-lang.org/issues/20564
[Feature #20576]: https://bugs.ruby-lang.org/issues/20576
+[Feature #20594]: https://bugs.ruby-lang.org/issues/20594
[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 #20702]: https://bugs.ruby-lang.org/issues/20702
[Feature #20705]: https://bugs.ruby-lang.org/issues/20705
+[Feature #20707]: https://bugs.ruby-lang.org/issues/20707
[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