mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-10-02 23:34:40 +00:00
attributes: prepare to release v0.1.16 (#1560)
# 0.1.16 (September 13, 2021) This release adds a new `#[instrument(skip_all)]` option to skip recording *all* arguments to an instrumented function as fields. Additionally, it adds support for recording arguments that are `tracing` primitive types as typed values, rather than as `fmt::Debug`. ### Added - add `skip_all` option to `#[instrument]` ([#1548]) - record primitive types as primitive values rather than as `fmt::Debug` ([#1378]) - added support for `f64`s as typed values ([#1522]) Thanks to @Folyd and @jsgf for contributing to this release! [#1548]: https://github.com/tokio-rs/tracing/pull/1548 [#1378]: https://github.com/tokio-rs/tracing/pull/1378 [#1522]: https://github.com/tokio-rs/tracing/pull/1524
This commit is contained in:
parent
00ffaee5c9
commit
47036aa61d
@ -1,3 +1,23 @@
|
|||||||
|
# 0.1.16 (September 13, 2021)
|
||||||
|
|
||||||
|
This release adds a new `#[instrument(skip_all)]` option to skip recording *all*
|
||||||
|
arguments to an instrumented function as fields. Additionally, it adds support
|
||||||
|
for recording arguments that are `tracing` primitive types as typed values,
|
||||||
|
rather than as `fmt::Debug`.
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- add `skip_all` option to `#[instrument]` ([#1548])
|
||||||
|
- record primitive types as primitive values rather than as `fmt::Debug`
|
||||||
|
([#1378])
|
||||||
|
- added support for `f64`s as typed values ([#1522])
|
||||||
|
|
||||||
|
Thanks to @Folyd and @jsgf for contributing to this release!
|
||||||
|
|
||||||
|
[#1548]: https://github.com/tokio-rs/tracing/pull/1548
|
||||||
|
[#1378]: https://github.com/tokio-rs/tracing/pull/1378
|
||||||
|
[#1522]: https://github.com/tokio-rs/tracing/pull/1524
|
||||||
|
|
||||||
# 0.1.15 (March 12, 2021)
|
# 0.1.15 (March 12, 2021)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -8,7 +8,7 @@ name = "tracing-attributes"
|
|||||||
# - 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.15"
|
version = "0.1.16"
|
||||||
authors = [
|
authors = [
|
||||||
"Tokio Contributors <team@tokio.rs>",
|
"Tokio Contributors <team@tokio.rs>",
|
||||||
"Eliza Weisman <eliza@buoyant.io>",
|
"Eliza Weisman <eliza@buoyant.io>",
|
||||||
|
@ -18,7 +18,7 @@ Macro attributes for application-level tracing.
|
|||||||
[crates-badge]: https://img.shields.io/crates/v/tracing-attributes.svg
|
[crates-badge]: https://img.shields.io/crates/v/tracing-attributes.svg
|
||||||
[crates-url]: https://crates.io/crates/tracing-attributes
|
[crates-url]: https://crates.io/crates/tracing-attributes
|
||||||
[docs-badge]: https://docs.rs/tracing-attributes/badge.svg
|
[docs-badge]: https://docs.rs/tracing-attributes/badge.svg
|
||||||
[docs-url]: https://docs.rs/tracing-attributes/0.1.15
|
[docs-url]: https://docs.rs/tracing-attributes/0.1.16
|
||||||
[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_attributes
|
[docs-master-url]: https://tracing-rs.netlify.com/tracing_attributes
|
||||||
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
||||||
@ -47,7 +47,7 @@ First, add this to your `Cargo.toml`:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tracing-attributes = "0.1.15"
|
tracing-attributes = "0.1.16"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! tracing-attributes = "0.1.15"
|
//! tracing-attributes = "0.1.16"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! The [`#[instrument]`][instrument] attribute can now be added to a function
|
//! The [`#[instrument]`][instrument] attribute can now be added to a function
|
||||||
@ -52,7 +52,7 @@
|
|||||||
//! supported compiler version is not considered a semver breaking change as
|
//! supported compiler version is not considered a semver breaking change as
|
||||||
//! long as doing so complies with this policy.
|
//! long as doing so complies with this policy.
|
||||||
//!
|
//!
|
||||||
#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.15")]
|
#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.16")]
|
||||||
#![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/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user