1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add NEWS entry for the previous commit

This commit is contained in:
Benoit Daloze 2022-09-12 14:59:45 +02:00
parent 6525b6f760
commit acc61cbf4a

View file

@ -98,6 +98,10 @@ Note: We're only listing outstanding class updates.
* Encoding
* Encoding#replicate has been deprecated and will be removed in 3.3. [[Feature #18949]]
* The dummy `Encoding::UTF_16` and `Encoding::UTF_32` encodings no longer
try to dynamically guess the endian based on a byte order mark.
Use `Encoding::UTF_16BE/UTF_16LE` and `Encoding::UTF_32BE/UTF_32LE` instead.
This change speeds up getting the encoding of a String. [[Feature #18949]]
* Enumerator
* Enumerator.product has been added. Enumerator::Product is the implementation. [[Feature #18685]]