prepare for 3.8

This commit is contained in:
Simon Cruanes 2022-06-10 23:47:21 -04:00
parent 259edb965b
commit 75b498a433
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
10 changed files with 24 additions and 13 deletions

View file

@ -1,5 +1,16 @@
# Changelog
## 3.8
- add `Containers_bencode` for lightweight (de)ser
- perf(CCHash): improve a bit commutative hashing of arrays/lists
- perf(CCHash): only hash prefix of string/bytes
- feat(CCList): Add `Assoc.{keys,values,map_values}`
- feat(CCArray): add `CCArray.map_inplace`
- add `CCString.{to_hex,of_hex}`
- fix(Atomic): prevent race conditions under flambda, for now
## 3.7
- add `Format.styling`

View file

@ -1,5 +1,5 @@
opam-version: "2.0"
version: "3.7"
version: "3.8"
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.7"
version: "3.8"
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.7"
version: "3.8"
author: "Simon Cruanes"
maintainer: "simon.cruanes.2007@m4x.org"
license: "BSD-2-Clause"

View file

@ -2,7 +2,7 @@
See https://en.wikipedia.org/wiki/Bencode .
@since NEXT_RELEASE *)
@since 3.8 *)
module Str_map : module type of Map.Make(String)

View file

@ -60,7 +60,7 @@ val get_safe : 'a t -> int -> 'a option
val map_inplace : ('a -> 'a) -> 'a t -> unit
(** [map_inplace f a] replace all elements of [a] by its image by [f].
@since NEXT_RELEASE *)
@since 3.8 *)
val fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
(** [fold f init a] computes [f ((f (f init a.(0)) a.(1))) a.(n-1)],

View file

@ -61,7 +61,7 @@ val get_safe : 'a t -> int -> 'a option
val map_inplace : f:('a -> 'a) -> 'a t -> unit
(** [map_inplace ~f a] replace all elements of [a] by its image by [f].
@since NEXT_RELEASE *)
@since 3.8 *)
val fold : f:('a -> 'b -> 'a) -> init:'a -> 'b t -> 'a
(** [fold ~f ~init a] computes [f ((f (f init a.(0)) a.(1))) a.(n-1)],

View file

@ -168,7 +168,7 @@ val unzip : ('a * 'b) t -> 'a t * 'b t
val zip_i : 'a t -> (int * 'a) t
(** [zip_i seq] zips the index of each element with the element itself.
@since NEXT
@since 3.8
*)
(** {2 Misc} *)

View file

@ -327,16 +327,16 @@ val equal_caseless : string -> string -> bool
val to_hex : string -> string
(** Convert a string with arbitrary content into a hexadecimal string.
@since NEXT_RELEASE *)
@since 3.8 *)
val of_hex : string -> string option
(** Convert a string in hex into a string with arbitrary content.
@since NEXT_RELEASE *)
@since 3.8 *)
val of_hex_exn : string -> string
(** Same as {!of_hex} but fails harder.
@raise Invalid_argument if the input is not valid hex.
@since NEXT_RELEASE *)
@since 3.8 *)
(** {2 Finding}

View file

@ -356,16 +356,16 @@ val equal_caseless : string -> string -> bool
val to_hex : string -> string
(** Convert a string with arbitrary content into a hexadecimal string.
@since NEXT_RELEASE *)
@since 3.8 *)
val of_hex : string -> string option
(** Convert a string in hex into a string with arbitrary content.
@since NEXT_RELEASE *)
@since 3.8 *)
val of_hex_exn : string -> string
(** Same as {!of_hex} but fails harder.
@raise Invalid_argument if the input is not valid hex.
@since NEXT_RELEASE *)
@since 3.8 *)
(** {2 Finding}