[Bug #19100] [DOC] Add NEWS about PRNG update and incompatiblity

This commit is contained in:
Nobuyoshi Nakada 2022-11-09 19:36:37 +09:00
Родитель c771d83593
Коммит bab8051d2d
1 изменённых файлов: 16 добавлений и 0 удалений

16
NEWS.md
Просмотреть файл

@ -291,6 +291,11 @@ The following deprecated methods are removed.
* `Kernel#trust`, `Kernel#untrust`, `Kernel#untrusted?`
[[Feature #16131]]
### Source code incompatiblity of extension libraries [[Bug #19100]]
* Extension libraries provide PRNG, subclasses of `Random`, need updates.
See [PRNG update] below for more information.
## Stdlib compatibility issues
* `Psych` no longer bundles libyaml sources.
@ -300,6 +305,16 @@ The following deprecated methods are removed.
## C API updates
### Updated C APIs
The following APIs are updated.
* PRNG update
`rb_random_interface_t` updated and versioned.
Extension libraries which use this interface and built for older versions.
Also `init_int32` function needs to be defined.
### Removed C APIs
The following deprecated APIs are removed.
@ -400,3 +415,4 @@ The following deprecated APIs are removed.
[Feature #19013]: https://bugs.ruby-lang.org/issues/19013
[Feature #19026]: https://bugs.ruby-lang.org/issues/19026
[Feature #19060]: https://bugs.ruby-lang.org/issues/19060
[Bug #19100]: https://bugs.ruby-lang.org/issues/19100