Skip to content

Commit 316eac1

Browse files
authored
Release 0.3.6 et al (0.4.0 for perf-self-profile) (#353)
1 parent 3e02d31 commit 316eac1

7 files changed

Lines changed: 30 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
### Added
10+
## [0.3.7](https://github.com/dial9-rs/dial9-tokio-telemetry/compare/dial9-tokio-telemetry-v0.3.6...dial9-tokio-telemetry-v0.3.7) - 2026-05-04
1111

12-
- **Inline config in the macro**: `#[dial9_tokio_telemetry::main]` now accepts a closure, so simple setups no longer need a separate config function.
13-
- **Fluent config builder**: `Dial9Config::builder()` with named setters, `with_tokio`/`with_runtime` closures, and `.enabled(bool)`. The original positional API under `dial9_tokio_telemetry::config` is unchanged.
14-
- **`build_or_disabled()`**: on config validation or writer I/O failure, logs an error and starts a plain tokio runtime instead of crashing. Use `build()` to handle failures explicitly.
12+
### Added
1513

16-
All three in action:
14+
- Include CPU id in CPU profile samples ([#338](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/338))
15+
- **New config API** ([#256](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/256)): `Dial9Config::builder()` replaces the positional `Dial9ConfigBuilder::new(path, file_size, total_size)` with a fluent builder. Inline closures are now supported in the macro, and `build_or_disabled()` gracefully falls back to a plain tokio runtime on config/IO failure:
1716

1817
```rust
1918
#[dial9_tokio_telemetry::main(config = || {
@@ -25,10 +24,25 @@ All three in action:
2524
})]
2625
async fn main() { /* ... */ }
2726
```
27+
- free `dial9_tokio_telemetry::spawn()` function ([#343](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/343))
2828

2929
### Changed
3030

31-
- `TelemetryHandle::current()` no longer panics off-runtime. It returns an inert handle whose `spawn` falls through to `tokio::spawn`. Use `TelemetryHandle::is_enabled()` to check whether telemetry is live.
31+
- `TelemetryHandle::current()` no longer panics off-runtime — it returns an inert handle whose `spawn` falls through to `tokio::spawn`. Use `TelemetryHandle::is_enabled()` to check whether telemetry is live. ([#256](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/256))
32+
33+
### Fixed
34+
35+
- fix security audit ([#344](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/344))
36+
- Avoid constructing events when telemetry is disabled ([#332](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/332))
37+
- align span panel to worker lane coordinate system ([#341](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/341))
38+
39+
### Other
40+
41+
- Add metrics section to the prod use docs ([#352](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/352))
42+
- Add SpanCloseEvent to tracing layer ([#348](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/348))
43+
- Remove RawEvent and unify internals to use public API ([#339](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/339))
44+
- fix unresolved intra-doc links in rustdoc builds ([#347](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/347))
45+
- Add dial9-in-prod example ([#335](https://github.com/dial9-rs/dial9-tokio-telemetry/pull/335))
3246

3347
## [0.3.6](https://github.com/dial9-rs/dial9-tokio-telemetry/compare/dial9-tokio-telemetry-v0.3.5...dial9-tokio-telemetry-v0.3.6) - 2026-04-30
3448

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ repository = "https://github.com/dial9-rs/dial9-tokio-telemetry"
2121

2222
[workspace.dependencies]
2323
libc = "0.2"
24-
dial9-perf-self-profile = { version = "0.3.6", path = "perf-self-profile" }
24+
dial9-perf-self-profile = { version = "0.4.0", path = "perf-self-profile" }
2525
dial9-trace-format = { version = "0.3.6", path = "dial9-trace-format" }
2626
dial9-trace-format-derive = { version = "0.3.5", path = "dial9-trace-format-derive" }
27-
dial9-macro = { version = "0.3.5", path = "dial9-macro" }
27+
dial9-macro = { version = "0.3.6", path = "dial9-macro" }
2828
assert2 = "0.4"
2929

3030
[profile.release]

dial9-macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dial9-macro"
3-
version = "0.3.5"
3+
version = "0.3.6"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true

dial9-tokio-telemetry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dial9-tokio-telemetry"
3-
version = "0.3.6"
3+
version = "0.3.7"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true

dial9-viewer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dial9-viewer"
3-
version = "0.3.6"
3+
version = "0.3.7"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true

perf-self-profile/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dial9-perf-self-profile"
3-
version = "0.3.6"
3+
version = "0.4.0"
44
edition.workspace = true
55
repository.workspace = true
66
description = "Minimal self-profiling via Linux perf_event_open with frame-pointer-based stack traces"

0 commit comments

Comments
 (0)