Skip to content

Commit 18fe1c1

Browse files
committed
core: prepare to release v0.1.27
# 0.1.27 (June 7, 2022) This release of `tracing-core` introduces a new `DefaultCallsite` type, which can be used by instrumentation crates rather than implementing their own callsite types. Using `DefaultCallsite` may offer reduced overhead from callsite registration. ### Added - `DefaultCallsite`, a pre-written `Callsite` implementation for use in instrumentation crates ([#2083]) - `ValueSet::len` and `Record::len` methods returning the number of fields in a `ValueSet` or `Record` ([#2152]) ### Changed - Replaced `lazy_static` dependency with `once_cell` ([#2147]) ### Documented - Added documentation to the `callsite` module ([#2088], [#2149]) Thanks to new contributors @jamesmunns and @james7132 for contributing to this release! [#2083]: #2083 [#2152]: #2152 [#2147]: #2147 [#2088]: #2088 [#2149]: #2149
1 parent 2f23ecc commit 18fe1c1

File tree

4 files changed

+47
-16
lines changed

4 files changed

+47
-16
lines changed

tracing-core/CHANGELOG.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,40 @@
1+
# 0.1.27 (June 7, 2022)
2+
3+
This release of `tracing-core` introduces a new `DefaultCallsite` type, which
4+
can be used by instrumentation crates rather than implementing their own
5+
callsite types. Using `DefaultCallsite` may offer reduced overhead from callsite
6+
registration.
7+
8+
### Added
9+
10+
- `DefaultCallsite`, a pre-written `Callsite` implementation for use in
11+
instrumentation crates ([#2083])
12+
- `ValueSet::len` and `Record::len` methods returning the number of fields in a
13+
`ValueSet` or `Record` ([#2152])
14+
15+
### Changed
16+
17+
- Replaced `lazy_static` dependency with `once_cell` ([#2147])
18+
19+
### Documented
20+
21+
- Added documentation to the `callsite` module ([#2088], [#2149])
22+
23+
Thanks to new contributors @jamesmunns and @james7132 for contributing to this
24+
release!
25+
26+
[#2083]: https://github.com/tokio-rs/tracing/pull/2083
27+
[#2152]: https://github.com/tokio-rs/tracing/pull/2152
28+
[#2147]: https://github.com/tokio-rs/tracing/pull/2147
29+
[#2088]: https://github.com/tokio-rs/tracing/pull/2088
30+
[#2149]: https://github.com/tokio-rs/tracing/pull/2149
31+
132
# 0.1.26 (April 14, 2022)
233

334
This release adds a `Value` implementation for `Box<T: Value>` to allow
435
recording boxed values more conveniently. In particular, this should improve
536
the ergonomics of the implementations for `dyn std::error::Error` trait objects,
6-
including those added in [v0.1.25].
37+
including those added in [v0.1.25].
738

839
### Added
940

tracing-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "tracing-core"
88
# - README.md
99
# - Update CHANGELOG.md.
1010
# - Create "v0.1.x" git tag.
11-
version = "0.1.26"
11+
version = "0.1.27"
1212
authors = ["Tokio Contributors <[email protected]>"]
1313
license = "MIT"
1414
readme = "README.md"

tracing-core/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Core primitives for application-level tracing.
1616
[Documentation][docs-url] | [Chat][discord-url]
1717

1818
[crates-badge]: https://img.shields.io/crates/v/tracing-core.svg
19-
[crates-url]: https://crates.io/crates/tracing-core/0.1.26
19+
[crates-url]: https://crates.io/crates/tracing-core/0.1.27
2020
[docs-badge]: https://docs.rs/tracing-core/badge.svg
21-
[docs-url]: https://docs.rs/tracing-core/0.1.26
21+
[docs-url]: https://docs.rs/tracing-core/0.1.27
2222
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
2323
[docs-master-url]: https://tracing-rs.netlify.com/tracing_core
2424
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
@@ -79,22 +79,22 @@ The following crate feature flags are available:
7979

8080
```toml
8181
[dependencies]
82-
tracing-core = { version = "0.1.26", default-features = false }
82+
tracing-core = { version = "0.1.27", default-features = false }
8383
```
8484

8585
**Note**:`tracing-core`'s `no_std` support requires `liballoc`.
8686

8787
[`tracing`]: ../tracing
88-
[`span::Id`]: https://docs.rs/tracing-core/0.1.26/tracing_core/span/struct.Id.html
89-
[`Event`]: https://docs.rs/tracing-core/0.1.26/tracing_core/event/struct.Event.html
90-
[`Subscriber`]: https://docs.rs/tracing-core/0.1.26/tracing_core/subscriber/trait.Subscriber.html
91-
[`Metadata`]: https://docs.rs/tracing-core/0.1.26/tracing_core/metadata/struct.Metadata.html
92-
[`Callsite`]: https://docs.rs/tracing-core/0.1.26/tracing_core/callsite/trait.Callsite.html
93-
[`Field`]: https://docs.rs/tracing-core/0.1.26/tracing_core/field/struct.Field.html
94-
[`FieldSet`]: https://docs.rs/tracing-core/0.1.26/tracing_core/field/struct.FieldSet.html
95-
[`Value`]: https://docs.rs/tracing-core/0.1.26/tracing_core/field/trait.Value.html
96-
[`ValueSet`]: https://docs.rs/tracing-core/0.1.26/tracing_core/field/struct.ValueSet.html
97-
[`Dispatch`]: https://docs.rs/tracing-core/0.1.26/tracing_core/dispatcher/struct.Dispatch.html
88+
[`span::Id`]: https://docs.rs/tracing-core/0.1.27/tracing_core/span/struct.Id.html
89+
[`Event`]: https://docs.rs/tracing-core/0.1.27/tracing_core/event/struct.Event.html
90+
[`Subscriber`]: https://docs.rs/tracing-core/0.1.27/tracing_core/subscriber/trait.Subscriber.html
91+
[`Metadata`]: https://docs.rs/tracing-core/0.1.27/tracing_core/metadata/struct.Metadata.html
92+
[`Callsite`]: https://docs.rs/tracing-core/0.1.27/tracing_core/callsite/trait.Callsite.html
93+
[`Field`]: https://docs.rs/tracing-core/0.1.27/tracing_core/field/struct.Field.html
94+
[`FieldSet`]: https://docs.rs/tracing-core/0.1.27/tracing_core/field/struct.FieldSet.html
95+
[`Value`]: https://docs.rs/tracing-core/0.1.27/tracing_core/field/trait.Value.html
96+
[`ValueSet`]: https://docs.rs/tracing-core/0.1.27/tracing_core/field/struct.ValueSet.html
97+
[`Dispatch`]: https://docs.rs/tracing-core/0.1.27/tracing_core/dispatcher/struct.Dispatch.html
9898

9999
## Supported Rust Versions
100100

tracing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ edition = "2018"
2828
rust-version = "1.49.0"
2929

3030
[dependencies]
31-
tracing-core = { path = "../tracing-core", version = "0.1.26", default-features = false }
31+
tracing-core = { path = "../tracing-core", version = "0.1.27", default-features = false }
3232
log = { version = "0.4", optional = true }
3333
tracing-attributes = { path = "../tracing-attributes", version = "0.1.20", optional = true }
3434
cfg-if = "1.0.0"

0 commit comments

Comments
 (0)