Skip to content

Commit

Permalink
Add a note about Symbol#to_s returning a chilled string in NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Dec 13, 2024
1 parent 4702143 commit c3a1f24
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ Note: We're only listing outstanding class updates.
It directly concatenate the arguments into the string without any encoding validation or conversion.
[[Feature #20594]]

* Symbol

* The string returned by `Symbol#to_s` now emits a deprecation warning when mutated, and will be
frozen in a future version of Ruby.
These warnings can be enabled with `-W:deprecated` or by setting `Warning[:deprecated] = true`.
[[Feature #20350]]

* Time

* On Windows, now Time#zone encodes the system timezone name in UTF-8
Expand Down Expand Up @@ -401,6 +408,7 @@ details of the default gems or bundled gems.
[Feature #20265]: https://bugs.ruby-lang.org/issues/20265
[Feature #20275]: https://bugs.ruby-lang.org/issues/20275
[Feature #20293]: https://bugs.ruby-lang.org/issues/20293
[Feature #20350]: https://bugs.ruby-lang.org/issues/20350
[Feature #20351]: https://bugs.ruby-lang.org/issues/20351
[Feature #20429]: https://bugs.ruby-lang.org/issues/20429
[Bug #20433]: https://bugs.ruby-lang.org/issues/20433
Expand Down

0 comments on commit c3a1f24

Please sign in to comment.