Thicket thicket
ocaml
REPOS 27

W08.2026 · 16–22 FebAll

OCaml 5.4.1 and 4.14.3 bug-fix releases published 2026-02-17 restore -pack on macOS and add a GCC 7 __has_builtin guard. js_of_ocaml 6.3.0 adds Wasm number unboxing, decorators, and using resource management; Dune merges OxCaml support for parameterised js_of_ocaml libraries.

Features

OCaml language (proposal): nested record definitions in record fields, e.g. type t = { a : { b : int } }, supporting arbitrary nesting and polymorphic parameters. Open PR #14527.

Dune OxCaml: merged support for js_of_ocaml with parameterised libraries, enabling separate compilation for OxCaml projects. Closes #12564 via #13414.

testcontainers 0.1.0: 11 new packages for Docker-based integration testing covering PostgreSQL, MySQL, Redis, Kafka, Elasticsearch, MongoDB, RabbitMQ, Memcached, LocalStack, and MockServer. Merged 2026-02-18. #29350

js_of_ocaml 6.3.0: adds Wasm number unboxing, reference unboxing, a constant-sinking pass, import/export attributes, decorators, and using resource management. 6.3.2 fixes shell-completion file installation. 6.3.0 6.3.2

Fixes

OCaml 5.5 trunk: fixes a let module value-restriction regression where type variables were incorrectly flagged as non-generalizable. Merged as #14556; cherry-picked to the 5.5 branch.

Dune C stubs: build rules now declare dependencies on *.h files in the OCaml runtime directory, so switching compilers under the same prefix triggers C stub recompilation. Merged in #13652.

opam: depexts availability is now computed during opam update instead of on demand, resolving the opam show slowdown from 2.0.7 to 2.1.0-alpha. Merged in #6489.

OxCaml unboxed products: fixes aliasing of nested unboxed product fields in records by deep-copying blocks on read and write, resolving divergent ocamlc/ocamlopt results. Merged in #5386.

Compatibility and Releases

OCaml 5.4.1 / 4.14.3: bug-fix releases published 2026-02-17. 5.4.1 restores -pack support on macOS; 4.14.3 includes a GCC 7 __has_builtin guard. 5.4.1 4.14.3

Dune 3.21.1: release branch merged to main 2026-02-19 via #13627. A NetBSD build fix is being amended into the changelog (#13076).

OCaml C API: removes the long-deprecated caml_fatal_error_arg and caml_fatal_error_arg2 symbols (absent from headers since 5.0). Merged as #14559.

containers 3.18: breaking changes: CCListLabel.compare/equal now take named arguments, CCFloat.{min,max} NaN semantics and CCInt.rem negative-number semantics align with Stdlib, CCMap.add_seq argument order changed. #29372