Skip to content

Commit e8cd571

Browse files
committed
prepare 0.22
1 parent 331d87e commit e8cd571

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGELOG.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
= Changelog
22

3+
== 0.22
4+
5+
- threads/CCLock: add `try_with_lock` to wrap `Mutex.try_lock`
6+
- Add `CCMultiSet.remove_all`
7+
- document errors in `CCIO` (close #86)
8+
- use the new qtest/qcheck
9+
310
== 0.21
411

512
- (breaking) make default `start`/`stop` arguments empty in printers (#82)

_oasis

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OASISFormat: 0.4
22
Name: containers
3-
Version: 0.21
3+
Version: 0.22
44
Homepage: https://github.com/c-cube/ocaml-containers
55
Authors: Simon Cruanes
66
License: BSD-2-clause

src/data/CCMultiSet.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module type S = sig
3535

3636
val remove_all : t -> elt -> t
3737
(** [remove_all set x] removes all occurrences of [x] from [set]
38-
@since NEXT_RELEASE *)
38+
@since 0.22 *)
3939

4040
val update : t -> elt -> (int -> int) -> t
4141
(** [update set x f] calls [f n] where [n] is the current multiplicity

src/data/CCMultiSet.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module type S = sig
3535

3636
val remove_all : t -> elt -> t
3737
(** [remove_all set x] removes all occurrences of [x] from [set]
38-
@since NEXT_RELEASE *)
38+
@since 0.22 *)
3939

4040
val update : t -> elt -> (int -> int) -> t
4141
(** [update set x f] calls [f n] where [n] is the current multiplicity

src/threads/CCLock.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ val try_with_lock : 'a t -> ('a -> 'b) -> 'b option
2222
(** [try_with_lock l f] runs [f x] in a critical section if [l] is not
2323
locked. [x] is the value protected by the lock [l]. If [f x]
2424
fails, [try_with_lock l f] fails too but the lock is released
25-
@since NEXT_RELEASE *)
25+
@since 0.22 *)
2626

2727
(** Type allowing to manipulate the lock as a reference
2828
@since 0.13 *)

0 commit comments

Comments
 (0)