Skip to content

Commit 161c192

Browse files
committed
prepare for 3.11
1 parent d249ce5 commit 161c192

File tree

6 files changed

+16
-6
lines changed

6 files changed

+16
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 3.11
4+
5+
- official OCaml 5 support
6+
- add `CCFun.(let@)` (if OCaml >= 4.08)
7+
- add `CCHet.Tbl.{clear,reset}`
8+
9+
- fix(CCVector): concurrent modification safety in `resize_with`
10+
- fix(CCVector): always obtain a copy of array before using unsafe_{set,get}
11+
- CI: add ocaml 5.0.x
12+
313
## 3.10
414

515
- `CCArray`: add `mapi_inplace`

containers-data.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
opam-version: "2.0"
2-
version: "3.10"
2+
version: "3.11"
33
author: "Simon Cruanes"
44
maintainer: "[email protected]"
55
synopsis: "A set of advanced datatypes for containers"

containers-thread.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
opam-version: "2.0"
2-
version: "3.10"
2+
version: "3.11"
33
author: "Simon Cruanes"
44
maintainer: "[email protected]"
55
license: "BSD-2-Clause"

containers.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
opam-version: "2.0"
22
name: "containers"
3-
version: "3.10"
3+
version: "3.11"
44
author: "Simon Cruanes"
55
maintainer: "[email protected]"
66
license: "BSD-2-Clause"

src/core/CCFun.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module Infix : sig
107107
val ( let@ ) : ('a -> 'b) -> 'a -> 'b
108108
(** [let@ x = foo in bar] is the equivalent of [foo @@ fun x -> bar].
109109
It can be very useful for resource management, alongside with {!protect}.
110-
@since NEXT_RELEASE *)
110+
@since 3.11 *)
111111

112112
[@@@endif]
113113
end

src/data/CCHet.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ module Tbl : sig
4040

4141
val clear : t -> unit
4242
(** clear the table (like {!Hashtbl.clear})
43-
@since NEXT_RELEASE *)
43+
@since 3.11 *)
4444

4545
val reset : t -> unit
4646
(** reset the table (like {!Hashtbl.reset})
47-
@since NEXT_RELEASE *)
47+
@since 3.11 *)
4848

4949
val find_exn : t -> 'a Key.t -> 'a
5050
(** @raise Not_found if the key is not in the table. *)

0 commit comments

Comments
 (0)