diff --git a/CHANGES.md b/CHANGES.md index ae8e411..2721a13 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,12 @@ +# 0.8 + +- add `trace.subscriber` instead of a separate library +- add `trace-tef.tldrs`, to trace multiple processes easily (with external rust daemon) + +- breaking: `trace-tef`: use `mtime.now`, not a counter, for multiproc +- `trace-fuchsia`: require thread-local-storage 0.2 + # 0.7 - feat: add levels to `Trace_core`. Levels are similar to `logs` levels, to help control verbosity. diff --git a/dune-project b/dune-project index 102cf8e..46a309c 100644 --- a/dune-project +++ b/dune-project @@ -4,7 +4,7 @@ (generate_opam_files true) -(version 0.7) +(version 0.8) (source (github c-cube/ocaml-trace)) diff --git a/ppx_trace.opam b/ppx_trace.opam index 5c83993..4344761 100644 --- a/ppx_trace.opam +++ b/ppx_trace.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.7" +version: "0.8" synopsis: "A ppx-based preprocessor for trace" maintainer: ["Simon Cruanes"] authors: ["Simon Cruanes"] diff --git a/src/subscriber/trace_subscriber.mli b/src/subscriber/trace_subscriber.mli index a20daf0..45b9978 100644 --- a/src/subscriber/trace_subscriber.mli +++ b/src/subscriber/trace_subscriber.mli @@ -5,7 +5,7 @@ It also defines a collector that needs to be installed for the subscriber(s) to be called. - @since NEXT_RELEASE + @since 0.8 *) module Callbacks = Callbacks diff --git a/src/tef-tldrs/trace_tef_tldrs.mli b/src/tef-tldrs/trace_tef_tldrs.mli index e9e8132..79fd841 100644 --- a/src/tef-tldrs/trace_tef_tldrs.mli +++ b/src/tef-tldrs/trace_tef_tldrs.mli @@ -6,7 +6,7 @@ val collector : out:[ `File of string ] -> unit -> Trace_core.collector val subscriber : out:[ `File of string ] -> unit -> Trace_subscriber.t (** Make a subscriber that writes into the given output. - @since NEXT_RELEASE *) + @since 0.8 *) type output = [ `File of string ] (** Output for tracing. diff --git a/src/tef/trace_tef.mli b/src/tef/trace_tef.mli index d9529b5..c2e5ab4 100644 --- a/src/tef/trace_tef.mli +++ b/src/tef/trace_tef.mli @@ -13,7 +13,7 @@ type output = val subscriber : out:[< output ] -> unit -> Trace_subscriber.t (** A subscriber emitting TEF traces into [out]. - @since NEXT_RELEASE *) + @since 0.8 *) val collector : out:[< output ] -> unit -> Trace_core.collector (** Make a collector that writes into the given output. diff --git a/trace-fuchsia.opam b/trace-fuchsia.opam index c668d24..3951a3c 100644 --- a/trace-fuchsia.opam +++ b/trace-fuchsia.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.7" +version: "0.8" synopsis: "A high-performance backend for trace, emitting a Fuchsia trace into a file" maintainer: ["Simon Cruanes"] diff --git a/trace-tef.opam b/trace-tef.opam index 2c255e7..10a2640 100644 --- a/trace-tef.opam +++ b/trace-tef.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.7" +version: "0.8" synopsis: "A simple backend for trace, emitting Catapult/TEF JSON into a file" maintainer: ["Simon Cruanes"] diff --git a/trace.opam b/trace.opam index 0e46ffe..f0f39a0 100644 --- a/trace.opam +++ b/trace.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.7" +version: "0.8" synopsis: "A stub for tracing/observability, agnostic in how data is collected" maintainer: ["Simon Cruanes"]