[DOC] NEWS: Mention String#+@ change with chilled string

From experience, a not insignificant number of people run into this when
trying upgrade. Also it's good to bring up `+@` because it's relevant in
general to the topic.

[Feature #20205]
This commit is contained in:
Alan Wu 2024-12-13 13:26:27 -05:00
parent ba304ec029
commit c3b0679241
Notes: git 2024-12-13 19:25:52 +00:00

View File

@ -13,6 +13,10 @@ Note that each entry is kept to a minimum, see links for details.
To disable this change, you can run Ruby with the `--disable-frozen-string-literal`
command line argument. [[Feature #20205]]
* String#+@ now duplicates when mutating the string would emit
a deprecation warning, offered as a replacement for the
`str.dup if str.frozen?` pattern.
* `it` is added to reference a block parameter. [[Feature #18980]]
* Keyword splatting `nil` when calling methods is now supported.