core: prepare to release 0.1.20 (#1554)

# 0.1.20 (September 12, 2021)

This release adds support for `f64` as one of the `tracing-core`
primitive field values, allowing floating-point values to be recorded as
typed values rather than with `fmt::Debug`. Additionally, it adds
`NoSubscriber`, a `Subscriber` implementation that does nothing.
### Added

- **subscriber**: `NoSubscriber`, a no-op `Subscriber` implementation
  ([#1549])
- **field**: Added `Visit::record_f64` and support for recording
  floating-point values ([#1507])

Thanks to new contributors @jsgf and @maxburke for contributing to this
release!

[#1549]: https://github.com/tokio-rs/tracing/pull/1549
[#1507]: https://github.com/tokio-rs/tracing/pull/1507
This commit is contained in:
Eliza Weisman 2021-09-12 15:29:10 -07:00 committed by GitHub
parent cdb7115e22
commit c4b0058d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 16 deletions

View File

@ -1,3 +1,23 @@
# 0.1.20 (September 12, 2021)
This release adds support for `f64` as one of the `tracing-core`
primitive field values, allowing floating-point values to be recorded as
typed values rather than with `fmt::Debug`. Additionally, it adds
`NoSubscriber`, a `Subscriber` implementation that does nothing.
### Added
- **subscriber**: `NoSubscriber`, a no-op `Subscriber` implementation
([#1549])
- **field**: Added `Visit::record_f64` and support for recording
floating-point values ([#1507])
Thanks to new contributors @jsgf and @maxburke for contributing to this
release!
[#1549]: https://github.com/tokio-rs/tracing/pull/1549 [#1507]:
https://github.com/tokio-rs/tracing/pull/1507
# 0.1.19 (August 17, 2021) # 0.1.19 (August 17, 2021)
### Added ### Added

View File

@ -8,7 +8,7 @@ name = "tracing-core"
# - README.md # - README.md
# - Update CHANGELOG.md. # - Update CHANGELOG.md.
# - Create "v0.1.x" git tag. # - Create "v0.1.x" git tag.
version = "0.1.19" version = "0.1.20"
authors = ["Tokio Contributors <team@tokio.rs>"] authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"

View File

@ -16,9 +16,9 @@ Core primitives for application-level tracing.
[Documentation][docs-url] | [Chat][discord-url] [Documentation][docs-url] | [Chat][discord-url]
[crates-badge]: https://img.shields.io/crates/v/tracing-core.svg [crates-badge]: https://img.shields.io/crates/v/tracing-core.svg
[crates-url]: https://crates.io/crates/tracing-core/0.1.19 [crates-url]: https://crates.io/crates/tracing-core/0.1.20
[docs-badge]: https://docs.rs/tracing-core/badge.svg [docs-badge]: https://docs.rs/tracing-core/badge.svg
[docs-url]: https://docs.rs/tracing-core/0.1.19 [docs-url]: https://docs.rs/tracing-core/0.1.20
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue [docs-master-badge]: https://img.shields.io/badge/docs-master-blue
[docs-master-url]: https://tracing-rs.netlify.com/tracing_core [docs-master-url]: https://tracing-rs.netlify.com/tracing_core
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
@ -79,22 +79,22 @@ The following crate feature flags are available:
```toml ```toml
[dependencies] [dependencies]
tracing-core = { version = "0.1.19", default-features = false } tracing-core = { version = "0.1.20", default-features = false }
``` ```
**Note**:`tracing-core`'s `no_std` support requires `liballoc`. **Note**:`tracing-core`'s `no_std` support requires `liballoc`.
[`tracing`]: ../tracing [`tracing`]: ../tracing
[`span::Id`]: https://docs.rs/tracing-core/0.1.19/tracing_core/span/struct.Id.html [`span::Id`]: https://docs.rs/tracing-core/0.1.20/tracing_core/span/struct.Id.html
[`Event`]: https://docs.rs/tracing-core/0.1.19/tracing_core/event/struct.Event.html [`Event`]: https://docs.rs/tracing-core/0.1.20/tracing_core/event/struct.Event.html
[`Subscriber`]: https://docs.rs/tracing-core/0.1.19/tracing_core/subscriber/trait.Subscriber.html [`Subscriber`]: https://docs.rs/tracing-core/0.1.20/tracing_core/subscriber/trait.Subscriber.html
[`Metadata`]: https://docs.rs/tracing-core/0.1.19/tracing_core/metadata/struct.Metadata.html [`Metadata`]: https://docs.rs/tracing-core/0.1.20/tracing_core/metadata/struct.Metadata.html
[`Callsite`]: https://docs.rs/tracing-core/0.1.19/tracing_core/callsite/trait.Callsite.html [`Callsite`]: https://docs.rs/tracing-core/0.1.20/tracing_core/callsite/trait.Callsite.html
[`Field`]: https://docs.rs/tracing-core/0.1.19/tracing_core/field/struct.Field.html [`Field`]: https://docs.rs/tracing-core/0.1.20/tracing_core/field/struct.Field.html
[`FieldSet`]: https://docs.rs/tracing-core/0.1.19/tracing_core/field/struct.FieldSet.html [`FieldSet`]: https://docs.rs/tracing-core/0.1.20/tracing_core/field/struct.FieldSet.html
[`Value`]: https://docs.rs/tracing-core/0.1.19/tracing_core/field/trait.Value.html [`Value`]: https://docs.rs/tracing-core/0.1.20/tracing_core/field/trait.Value.html
[`ValueSet`]: https://docs.rs/tracing-core/0.1.19/tracing_core/field/struct.ValueSet.html [`ValueSet`]: https://docs.rs/tracing-core/0.1.20/tracing_core/field/struct.ValueSet.html
[`Dispatch`]: https://docs.rs/tracing-core/0.1.19/tracing_core/dispatcher/struct.Dispatch.html [`Dispatch`]: https://docs.rs/tracing-core/0.1.20/tracing_core/dispatcher/struct.Dispatch.html
## Supported Rust Versions ## Supported Rust Versions

View File

@ -53,7 +53,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! tracing-core = { version = "0.1.19", default-features = false } //! tracing-core = { version = "0.1.20", default-features = false }
//! ``` //! ```
//! //!
//! **Note**:`tracing-core`'s `no_std` support requires `liballoc`. //! **Note**:`tracing-core`'s `no_std` support requires `liballoc`.
@ -85,7 +85,7 @@
//! [`Dispatch`]: dispatcher/struct.Dispatch.html //! [`Dispatch`]: dispatcher/struct.Dispatch.html
//! [`tokio-rs/tracing`]: https://github.com/tokio-rs/tracing //! [`tokio-rs/tracing`]: https://github.com/tokio-rs/tracing
//! [`tracing`]: https://crates.io/crates/tracing //! [`tracing`]: https://crates.io/crates/tracing
#![doc(html_root_url = "https://docs.rs/tracing-core/0.1.19")] #![doc(html_root_url = "https://docs.rs/tracing-core/0.1.20")]
#![doc( #![doc(
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png", html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/" issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"