summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-09 19:36:37 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-11 01:56:46 +0900
commitbab8051d2d20a13f4aa26330a25e72ccec980f7a (patch)
tree08620d9d69bbd0ce1a2ec1b00b437fe42173a90b
parentc771d835934141645db72bb98351c77b378ac17e (diff)
downloadruby-bab8051d2d20a13f4aa26330a25e72ccec980f7a.tar.gz
[Bug #19100] [DOC] Add NEWS about PRNG update and incompatiblity
-rw-r--r--NEWS.md16
1 files changed, 16 insertions, 0 deletions
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