Skip to content

Commit 064e6e2

Browse files
committed
prepare for 0.9
1 parent 4dfa319 commit 064e6e2

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.9
2+
3+
- add an extensible sum type, so users can implement custom events. For example
4+
an OTEL collector can provide custom events to link two spans to one another.
15

26
# 0.8
37

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
(generate_opam_files true)
66

7-
(version 0.8)
7+
(version 0.9)
88

99
(source
1010
(github c-cube/ocaml-trace))

src/core/collector.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ module type S = sig
9898
(** Handle an extension event.
9999
A collector {b MUST} simple ignore events it doesn't know,
100100
and return [()] silently.
101-
@since NEXT_RELEASE *)
101+
@since 0.8 *)
102102

103103
val shutdown : unit -> unit
104104
(** Shutdown collector, possibly waiting for it to finish sending data. *)

src/core/trace_core.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ val shutdown : unit -> unit
219219

220220
type extension_event = Types.extension_event = ..
221221
(** Extension event
222-
@since NEXT_RELEASE *)
222+
@since 0.8 *)
223223

224224
val extension_event : extension_event -> unit
225225
(** Trigger an extension event, whose meaning depends on
226226
the library that defines it. Some collectors will
227227
simply ignore it. This does nothing if no collector
228228
is setup.
229-
@since NEXT_RELEASE *)
229+
@since 0.8 *)

src/core/types.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ type explicit_span = {
2727
type extension_event = ..
2828
(** An extension event, used to add features that are backend specific
2929
or simply not envisioned by [trace].
30-
@since NEXT_RELEASE *)
30+
@since 0.8 *)

src/subscriber/callbacks.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ module type S = sig
108108
val on_extension_event :
109109
st -> time_ns:float -> tid:int -> extension_event -> unit
110110
(** Extension event
111-
@since NEXT_RELEASE *)
111+
@since 0.8 *)
112112
end
113113

114114
type 'st t = (module S with type st = 'st)

0 commit comments

Comments
 (0)