ruby-changes:74434
From: Nobuyoshi <ko1@a...>
Date: Fri, 11 Nov 2022 01:57:04 +0900 (JST)
Subject: [ruby-changes:74434] bab8051d2d (master): [Bug #19100] [DOC] Add NEWS about PRNG update and incompatiblity
https://git.ruby-lang.org/ruby.git/commit/?id=bab8051d2d From bab8051d2d20a13f4aa26330a25e72ccec980f7a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 9 Nov 2022 19:36:37 +0900 Subject: [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. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L291 * `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. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L305 ## 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. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L415 [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 -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/