Skip to content

Commit

Permalink
prepare for 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Sep 17, 2024
1 parent f8b8f00 commit 9a7b471
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

(generate_opam_files true)

(version 0.7)
(version 0.8)

(source
(github c-cube/ocaml-trace))
Expand Down
2 changes: 1 addition & 1 deletion ppx_trace.opam
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion src/subscriber/trace_subscriber.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/tef-tldrs/trace_tef_tldrs.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/tef/trace_tef.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion trace-fuchsia.opam
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion trace-tef.opam
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion trace.opam
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 9a7b471

Please sign in to comment.