# \[ANN\] stdlib-random release 1.1.0

**URL:** <https://discuss.ocaml.org/t/ann-stdlib-random-release-1-1-0/12495>\
**Category:** Ecosystem\
**Tags:** announce\
**Created:** [June 28, 2023, 9:14am UTC](https://discuss.ocaml.org/t/ann-stdlib-random-release-1-1-0/12495 "2023-06-28T09:14:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![octachron](https://avatars.discourse-cdn.com/v4/letter/o/49beb7/32.png) [@octachron](https://discuss.ocaml.org/u/octachron)\
**Post date:** [June 28, 2023, 9:14am UTC](https://discuss.ocaml.org/t/ann-stdlib-random-release-1-1-0/12495/1 "2023-06-28T09:14:33Z")

</div>

The library `stdlib-random` is a small compatibility library that provides compiler-independent implementations of the PRNGs used in the history of the standard library `Random`:

- stdlib-random.v3: implement the PRNG used in OCaml 3.07 to 3.11
- stdlib-random.v4: implement the PRNG used in OCaml 3.12 to 4.14
- stdlib-random.v5: implement the PRNG currently used in OCaml 5
- stdlib-random.v5o: implement the PRNG currently used in OCaml 5 in pure OCaml

This library is targeted toward programs that need a deterministic and stable behavior of the `Random` module across OCaml versions.

The newly released version 1.1.0 updates all implementations to provide the new PRNG state serialization functions (`Random.State.to_binary_string` and `Random.State.of_binary_string`) that will be available in OCaml 5.1.0 .

---

_[View the full topic](https://discuss.ocaml.org/t/ann-stdlib-random-release-1-1-0/12495)._
