diff --git a/CHANGELOG.md b/CHANGELOG.md index ffb8c5ea7..4fcf096a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 3.11 + +- official OCaml 5 support +- add `CCFun.(let@)` (if OCaml >= 4.08) +- add `CCHet.Tbl.{clear,reset}` + +- fix(CCVector): concurrent modification safety in `resize_with` +- fix(CCVector): always obtain a copy of array before using unsafe_{set,get} +- CI: add ocaml 5.0.x + ## 3.10 - `CCArray`: add `mapi_inplace` diff --git a/containers-data.opam b/containers-data.opam index 57ac17381..241fad926 100644 --- a/containers-data.opam +++ b/containers-data.opam @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "3.10" +version: "3.11" author: "Simon Cruanes" maintainer: "simon.cruanes.2007@m4x.org" synopsis: "A set of advanced datatypes for containers" diff --git a/containers-thread.opam b/containers-thread.opam index 4d1d4f6ac..2b2d71977 100644 --- a/containers-thread.opam +++ b/containers-thread.opam @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "3.10" +version: "3.11" author: "Simon Cruanes" maintainer: "simon.cruanes.2007@m4x.org" license: "BSD-2-Clause" diff --git a/containers.opam b/containers.opam index d49e64ffe..cf989702e 100644 --- a/containers.opam +++ b/containers.opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "containers" -version: "3.10" +version: "3.11" author: "Simon Cruanes" maintainer: "simon.cruanes.2007@m4x.org" license: "BSD-2-Clause" diff --git a/src/core/CCFun.mli b/src/core/CCFun.mli index 560171cdc..4f4013dbc 100644 --- a/src/core/CCFun.mli +++ b/src/core/CCFun.mli @@ -107,7 +107,7 @@ module Infix : sig val ( let@ ) : ('a -> 'b) -> 'a -> 'b (** [let@ x = foo in bar] is the equivalent of [foo @@ fun x -> bar]. It can be very useful for resource management, alongside with {!protect}. - @since NEXT_RELEASE *) + @since 3.11 *) [@@@endif] end diff --git a/src/data/CCHet.mli b/src/data/CCHet.mli index 70b353545..c28bd7237 100644 --- a/src/data/CCHet.mli +++ b/src/data/CCHet.mli @@ -40,11 +40,11 @@ module Tbl : sig val clear : t -> unit (** clear the table (like {!Hashtbl.clear}) - @since NEXT_RELEASE *) + @since 3.11 *) val reset : t -> unit (** reset the table (like {!Hashtbl.reset}) - @since NEXT_RELEASE *) + @since 3.11 *) val find_exn : t -> 'a Key.t -> 'a (** @raise Not_found if the key is not in the table. *)