# Batteries v3.6.0

**URL:** <https://discuss.ocaml.org/t/batteries-v3-6-0/10953>\
**Category:** Community\
**Tags:** batteries, announce\
**Created:** [December 13, 2022, 12:14am UTC](https://discuss.ocaml.org/t/batteries-v3-6-0/10953 "2022-12-13T00:14:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![UnixJunkie](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/unixjunkie/32/638_2.png) [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Post date:** [December 13, 2022, 12:14am UTC](https://discuss.ocaml.org/t/batteries-v3-6-0/10953/1 "2022-12-13T00:14:02Z")

</div>

Dear users,

The latest release of batteries landed in [GitHub - ocaml/opam-repository: Main public package repository for opam, the source package manager of OCaml.](https://github.com/ocaml/opam-repository).  
It is compatible with ocaml-5.

The change log can be seen below:

```auto
## v3.6.0 (minor release)

- BatBuffer.enum rewritten to work with OCaml-5
  (Francois Berenger)

- Fix 'make doc'
  #1097
  (Simmo Saan)

- Remove dependence to oasis
  #1095
  (Simmo Saan)

- Fix compilation and unit tests for OCaml 5.0.0
  #1094
  #1087
  #1086
  (Simmo Saan, Francois Berenger)

- Bug correction in BatString.split_on_string
  #1089
  (Francois Berenger, report by Lucas Franceschino)
	
- bug correction in BatBitset.inter
  #1091
  (report by Yongho Yoon, fix by Gabriel Scherer)

- Support new OCaml 5 unix primitive names
  #1082
  (David Allsopp, review by Francois Berenger)

- BatRandom.choice on an empty enum now throws Empty instead of
  Invalid_argument "Random.int" previously
  #1080
  (Nicolas Tollenaere, review by Francois Berenger)

```

Many thanks to all contributors.

Regards,  
Francois.
