Skip to content

Commit f835405

Browse files
authored
subscriber: prepare to release 0.3.6 (#1839)
# 0.3.6 (Jan 14, 2022) This release adds configuration options to `tracing_subscriber::fmt` to log source code locations for events. ### Added - **fmt**: Added `with_file` and `with_line_number` configuration methods to `fmt::Format`, `fmt::SubscriberBuilder`, and `fmt::Layer` ([#1773]) ### Fixed - **fmt**: Removed incorrect leading comma from span fields with the `Pretty` formatter ([#1833]) ### Deprecated - **fmt**: Deprecated `Pretty::with_source_location`, as it can now be replaced by the more general `Format`, `SubscriberBuilder`, and `Layer` methods ([#1773]) Thanks to new contributor @renecouto for contributing to this release! [#1773]: #1773 [#1833]: #1833
1 parent 35d1776 commit f835405

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

tracing-subscriber/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
# 0.3.6 (Jan 14, 2022)
2+
3+
This release adds configuration options to `tracing_subscriber::fmt` to log
4+
source code locations for events.
5+
### Added
6+
7+
- **fmt**: Added `with_file` and `with_line_number`
8+
configuration methods to `fmt::Format`, `fmt::SubscriberBuilder`, and
9+
`fmt::Layer` ([#1773])
10+
11+
### Fixed
12+
13+
- **fmt**: Removed incorrect leading comma from span fields with the `Pretty`
14+
formatter ([#1833])
15+
16+
### Deprecated
17+
18+
- **fmt**: Deprecated `Pretty::with_source_location`, as it can now be replaced
19+
by the more general `Format`, `SubscriberBuilder`, and `Layer` methods
20+
([#1773])
21+
22+
Thanks to new contributor @renecouto for contributing to this release!
23+
24+
[#1773]: https://github.com/tokio-rs/tracing/pull/1773
25+
[#1833]: https://github.com/tokio-rs/tracing/pull/1833
26+
127
# 0.3.5 (Dec 29, 2021)
228

329
This release re-enables `RUST_LOG` filtering in `tracing_subscriber::fmt`'s

tracing-subscriber/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tracing-subscriber"
3-
version = "0.3.5"
3+
version = "0.3.6"
44
authors = [
55
"Eliza Weisman <eliza@buoyant.io>",
66
"David Barsky <me@davidbarsky.com>",

tracing-subscriber/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Utilities for implementing and composing [`tracing`][tracing] subscribers.
2121
[crates-badge]: https://img.shields.io/crates/v/tracing-subscriber.svg
2222
[crates-url]: https://crates.io/crates/tracing-subscriber
2323
[docs-badge]: https://docs.rs/tracing-subscriber/badge.svg
24-
[docs-url]: https://docs.rs/tracing-subscriber/0.3.5
24+
[docs-url]: https://docs.rs/tracing-subscriber/0.3.6
2525
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
2626
[docs-master-url]: https://tracing-rs.netlify.com/tracing_subscriber
2727
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg

tracing-subscriber/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
//! [`parking_lot`]: https://crates.io/crates/parking_lot
127127
//! [`time` crate]: https://crates.io/crates/time
128128
//! [`liballoc`]: https://doc.rust-lang.org/alloc/index.html
129-
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.3.5")]
129+
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.3.6")]
130130
#![doc(
131131
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
132132
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)