prepare for 0.8

This commit is contained in:
Simon Cruanes 2024-09-17 11:29:48 -04:00
parent f8b8f00a14
commit 9a7b4710a3
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
9 changed files with 16 additions and 8 deletions

View file

@ -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.

View file

@ -4,7 +4,7 @@
(generate_opam_files true)
(version 0.7)
(version 0.8)
(source
(github c-cube/ocaml-trace))

View file

@ -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"]

View file

@ -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

View file

@ -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.

View file

@ -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.

View file

@ -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"]

View file

@ -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"]

View file

@ -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"]