Skip to content

Commit 542c34d

Browse files
authored
chore: prepare to release tracing-core v0.1.28 (#2177)
# 0.1.28 (June 23, 2022) This release of `tracing-core` adds new `Value` implementations, including one for `String`, to allow recording `&String` as a value without having to call `as_str()` or similar, and for 128-bit integers (`i128` and `u128`). In addition, it adds new methods and trait implementations for `Subscriber`s. ### Added - `Value` implementation for `String` ([#2164]) - `Value` implementation for `u128` and `i28` ([#2166]) - `downcast_ref` and `is` methods for `dyn Subscriber + Sync`, `dyn Subscriber + Send`, and `dyn Subscriber + Send + Sync` ([#2160]) - `Subscriber::event_enabled` method to enable filtering based on `Event` field values ([#2008]) - `Subscriber` implementation for `Box<S: Subscriber + ?Sized>` and `Arc<S: Subscriber + ?Sized>` ([#2161]) Thanks to @jswrenn and @CAD97 for contributing to this release! [#2164]: #2164 [#2166]: #2166 [#2160]: #2160 [#2008]: #2008 [#2161]: #2161
1 parent af699c9 commit 542c34d

File tree

3 files changed

+40
-14
lines changed

3 files changed

+40
-14
lines changed

Diff for: tracing-core/CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
# 0.1.28 (June 23, 2022)
2+
3+
This release of `tracing-core` adds new `Value` implementations, including one
4+
for `String`, to allow recording `&String` as a value without having to call
5+
`as_str()` or similar, and for 128-bit integers (`i128` and `u128`). In
6+
addition, it adds new methods and trait implementations for `Subscriber`s.
7+
8+
### Added
9+
10+
- `Value` implementation for `String` ([#2164])
11+
- `Value` implementation for `u128` and `i28` ([#2166])
12+
- `downcast_ref` and `is` methods for `dyn Subscriber + Sync`,
13+
`dyn Subscriber + Send`, and `dyn Subscriber + Send + Sync` ([#2160])
14+
- `Subscriber::event_enabled` method to enable filtering based on `Event` field
15+
values ([#2008])
16+
- `Subscriber` implementation for `Box<S: Subscriber + ?Sized>` and
17+
`Arc<S: Subscriber + ?Sized>` ([#2161])
18+
19+
Thanks to @jswrenn and @CAD97 for contributing to this release!
20+
21+
[#2164]: https://github.com/tokio-rs/tracing/pull/2164
22+
[#2166]: https://github.com/tokio-rs/tracing/pull/2166
23+
[#2160]: https://github.com/tokio-rs/tracing/pull/2160
24+
[#2008]: https://github.com/tokio-rs/tracing/pull/2008
25+
[#2161]: https://github.com/tokio-rs/tracing/pull/2161
26+
127
# 0.1.27 (June 7, 2022)
228

329
This release of `tracing-core` introduces a new `DefaultCallsite` type, which

Diff for: tracing-core/Cargo.toml

+1-1
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.27"
11+
version = "0.1.28"
1212
authors = ["Tokio Contributors <[email protected]>"]
1313
license = "MIT"
1414
readme = "README.md"

Diff for: tracing-core/README.md

+13-13
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.27
19+
[crates-url]: https://crates.io/crates/tracing-core/0.1.28
2020
[docs-badge]: https://docs.rs/tracing-core/badge.svg
21-
[docs-url]: https://docs.rs/tracing-core/0.1.27
21+
[docs-url]: https://docs.rs/tracing-core/0.1.28
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.27", default-features = false }
82+
tracing-core = { version = "0.1.28", 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.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
88+
[`span::Id`]: https://docs.rs/tracing-core/0.1.28/tracing_core/span/struct.Id.html
89+
[`Event`]: https://docs.rs/tracing-core/0.1.28/tracing_core/event/struct.Event.html
90+
[`Subscriber`]: https://docs.rs/tracing-core/0.1.28/tracing_core/subscriber/trait.Subscriber.html
91+
[`Metadata`]: https://docs.rs/tracing-core/0.1.28/tracing_core/metadata/struct.Metadata.html
92+
[`Callsite`]: https://docs.rs/tracing-core/0.1.28/tracing_core/callsite/trait.Callsite.html
93+
[`Field`]: https://docs.rs/tracing-core/0.1.28/tracing_core/field/struct.Field.html
94+
[`FieldSet`]: https://docs.rs/tracing-core/0.1.28/tracing_core/field/struct.FieldSet.html
95+
[`Value`]: https://docs.rs/tracing-core/0.1.28/tracing_core/field/trait.Value.html
96+
[`ValueSet`]: https://docs.rs/tracing-core/0.1.28/tracing_core/field/struct.ValueSet.html
97+
[`Dispatch`]: https://docs.rs/tracing-core/0.1.28/tracing_core/dispatcher/struct.Dispatch.html
9898

9999
## Supported Rust Versions
100100

0 commit comments

Comments
 (0)