From bab8051d2d20a13f4aa26330a25e72ccec980f7a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 9 Nov 2022 19:36:37 +0900 Subject: [PATCH] [Bug #19100] [DOC] Add NEWS about PRNG update and incompatiblity --- NEWS.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/NEWS.md b/NEWS.md index 2b3bbc8390..19f5546fca 100644 --- a/NEWS.md +++ b/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