diff --git a/CHANGELOG.md b/CHANGELOG.md index 87f5dcbe..c05947a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 0.9 + +- add `Float`, `Ref`, `Set`, `Format` to `CCPervasives` +- `CCRingBuffer.append` (simple implementation) +- `containers.data` now depends on bytes +- new `CCRingBuffer` module, imperative deque with batch (blit) operations, + mostly done by Carmelo Piccione +- new `Lwt_pipe` and `Lwt_klist` streams for Lwt, respectively (un)bounded + synchronized queues and lazy lists +- `CCKTree.print`, a simple S-expressions printer for generic trees +- Add `CCMixmap` in containers.data (close #40), functional alternative to `CCMixtbl` +- remove old META file +- simplified `CCTrie` implementation +- use "compiledObject: best" in `_oasis` for binaries +- document some invariants in `CCCache` (see #38) +- tests for `CCCache.lru` +- fix `CCFormat.seq` combinator +- add `CCSet` module in core/ +- add `CCRef` module in core/ + ## 0.8 - add `@Emm` to authors diff --git a/_oasis b/_oasis index b4aa18f5..78f4d98b 100644 --- a/_oasis +++ b/_oasis @@ -1,6 +1,6 @@ OASISFormat: 0.4 Name: containers -Version: 0.8 +Version: 0.9 Homepage: https://github.com/c-cube/ocaml-containers Authors: Simon Cruanes License: BSD-2-clause diff --git a/src/core/CCRef.ml b/src/core/CCRef.ml index a0f74d70..e3965765 100644 --- a/src/core/CCRef.ml +++ b/src/core/CCRef.ml @@ -26,7 +26,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. (** {1 References} -@since NEXT_RELEASE *) +@since 0.9 *) type 'a print = Format.formatter -> 'a -> unit type 'a pp = Buffer.t -> 'a -> unit diff --git a/src/core/CCRef.mli b/src/core/CCRef.mli index e0d74cd6..35694e7e 100644 --- a/src/core/CCRef.mli +++ b/src/core/CCRef.mli @@ -25,7 +25,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *) (** {1 References} -@since NEXT_RELEASE *) +@since 0.9 *) type 'a print = Format.formatter -> 'a -> unit type 'a pp = Buffer.t -> 'a -> unit diff --git a/src/core/CCSet.mli b/src/core/CCSet.mli index 62bdd9fe..a9b1912a 100644 --- a/src/core/CCSet.mli +++ b/src/core/CCSet.mli @@ -26,7 +26,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. (** {1 Wrapper around Set} -@since NEXT_RELEASE *) +@since 0.9 *) type 'a sequence = ('a -> unit) -> unit type 'a printer = Buffer.t -> 'a -> unit diff --git a/src/data/CCMixmap.mli b/src/data/CCMixmap.mli index 3be7ea81..c7adfe68 100644 --- a/src/data/CCMixmap.mli +++ b/src/data/CCMixmap.mli @@ -27,7 +27,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. {b status: experimental} -@since NEXT_RELEASE *) +@since 0.9 *) type 'a injection (** An accessor for values of type 'a in any map. Values put diff --git a/src/data/CCRingBuffer.mli b/src/data/CCRingBuffer.mli index c90a07c9..7eadba09 100644 --- a/src/data/CCRingBuffer.mli +++ b/src/data/CCRingBuffer.mli @@ -25,7 +25,7 @@ {b status: experimental} - @since NEXT_RELEASE + @since 0.9 *) (** {2 Underlying Array} *) diff --git a/src/iter/CCKTree.mli b/src/iter/CCKTree.mli index 7b773ef3..30916abf 100644 --- a/src/iter/CCKTree.mli +++ b/src/iter/CCKTree.mli @@ -118,7 +118,7 @@ Example (tree of calls for naive Fibonacci function): val print : 'a formatter -> 'a t formatter (** A pretty-printer using S-expressions and boxes to render the tree. Empty nodes are not rendered; sharing is ignored. - @since NEXT_RELEASE *) + @since 0.9 *) (** {2 Pretty printing in the DOT (graphviz) format} *) diff --git a/src/lwt/lwt_klist.mli b/src/lwt/lwt_klist.mli index 2e7ab8ea..abc62b9b 100644 --- a/src/lwt/lwt_klist.mli +++ b/src/lwt/lwt_klist.mli @@ -32,7 +32,7 @@ several times, but might eat memory. {b status: experimental} -@since NEXT_RELEASE *) +@since 0.9 *) type 'a t = [ `Nil | `Cons of 'a * 'a t ] Lwt.t type 'a stream = 'a t diff --git a/src/lwt/lwt_pipe.mli b/src/lwt/lwt_pipe.mli index b9f5dfa5..46702c78 100644 --- a/src/lwt/lwt_pipe.mli +++ b/src/lwt/lwt_pipe.mli @@ -52,7 +52,7 @@ Lwt_io.with_file ~mode:Lwt_io.output "/tmp/foo" {b status: experimental} -@since NEXT_RELEASE +@since 0.9 *) type 'a or_error = [`Ok of 'a | `Error of string]