prepare for 3.18
Some checks failed
format / format (push) Has been cancelled
Build and Test / build (push) Has been cancelled

This commit is contained in:
Simon Cruanes 2026-02-10 21:08:02 -05:00
parent 9ec34f8bf8
commit ec898e631f
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
6 changed files with 16 additions and 11 deletions

View file

@ -1,10 +1,15 @@
## main ## 3.18
- breaking: CCListLabel.compare and CCListLabel.equal takes the function on the elements as named arguments
- breaking: CCListLabel.init now takes the length as a named arguments to follow the Stdlib - fix leb128 slice bug
- breaking: change the semantic of CCFloat.{min,max} with respect to NaN to follow the Stdlib - fix leb128 `Int64.min_int` bug
- breaking: change the semantic of CCInt.rem with respect to negative number to follow the Stdlib - add tests for leb128 library (#486)
- breaking: change the order of argument of CCMap.add_seq to align with the stdlib. - some breaking changes after the big bump to 4.08 as lower bound, thanks to @fardale for the cleanup
* breaking: CCListLabel.compare and CCListLabel.equal takes the function on the elements as named arguments
* breaking: CCListLabel.init now takes the length as a named arguments to follow the Stdlib
* breaking: change the semantic of CCFloat.{min,max} with respect to NaN to follow the Stdlib
* breaking: change the semantic of CCInt.rem with respect to negative number to follow the Stdlib
* breaking: change the order of argument of `CCMap.add_seq` to align with the stdlib.
## 3.17 ## 3.17

View file

@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead # This file is generated by dune, edit dune-project instead
opam-version: "2.0" opam-version: "2.0"
version: "3.17" version: "3.18"
synopsis: "A set of advanced datatypes for containers" synopsis: "A set of advanced datatypes for containers"
maintainer: ["c-cube"] maintainer: ["c-cube"]
authors: ["c-cube"] authors: ["c-cube"]

View file

@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead # This file is generated by dune, edit dune-project instead
opam-version: "2.0" opam-version: "2.0"
version: "3.17" version: "3.18"
synopsis: synopsis:
"A modular, clean and powerful extension of the OCaml standard library" "A modular, clean and powerful extension of the OCaml standard library"
maintainer: ["c-cube"] maintainer: ["c-cube"]

View file

@ -4,7 +4,7 @@
(generate_opam_files true) (generate_opam_files true)
(version 3.17) (version 3.18)
(authors c-cube) (authors c-cube)

View file

@ -104,7 +104,7 @@ val option : ?none:unit printer -> 'a printer -> 'a option printer
- [Some x] will become [pp x] - [Some x] will become [pp x]
- [None] will become [none ()] - [None] will become [none ()]
Alias of {!Format.pp_print_option} Alias of {!Format.pp_print_option}
@since NEXT_RELEASE *) @since 3.18 *)
val opt : 'a printer -> 'a option printer val opt : 'a printer -> 'a option printer
(** [opt pp] prints options as follows: (** [opt pp] prints options as follows:

View file

@ -49,7 +49,7 @@ val forever : (unit -> 'a) -> 'a t
val cycle : 'a t -> 'a t val cycle : 'a t -> 'a t
(** Cycle through the sequence infinitely. The sequence should be persistent. (** Cycle through the sequence infinitely. The sequence should be persistent.
@since NEXT_RELEASE the sequence can be empty, in this case cycle return an empty sequence. *) @since 3.18 the sequence can be empty, in this case cycle return an empty sequence. *)
val iterate : ('a -> 'a) -> 'a -> 'a t val iterate : ('a -> 'a) -> 'a -> 'a t
(** [iterate f a] corresponds to the infinite sequence containing [a], [f a], [f (f a)], (** [iterate f a] corresponds to the infinite sequence containing [a], [f a], [f (f a)],