prepare for 3.11

This commit is contained in:
Simon Cruanes 2023-02-07 12:36:20 -05:00
parent d249ce5f13
commit 161c192bff
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
6 changed files with 16 additions and 6 deletions

View file

@ -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`

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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. *)