fix(deps): update rust crate tracing-subscriber to 0.3.18 - autoclosed #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.3
->0.3.18
Release Notes
tokio-rs/tracing (tracing-subscriber)
v0.3.18
: tracing-subscriber 0.3.18Compare Source
This release of
tracing-subscriber
adds support for the [NO_COLOR
][NO_COLOR] environmentvariable (an informal standard to disable emitting ANSI color escape codes) in
fmt::Layer
, reintroduces support for the [chrono
][chrono] crate, and increases theminimum supported Rust version (MSRV) to Rust 1.63.0.
It also introduces several minor API improvements.
Added
chrono
][chrono] implementations ofFormatTime
(#2690)NO_COLOR
][NO_COLOR] environment variable infmt::Layer
(#2647)format::Writer::new()
public (#2680)layer::Filter
forOption<Filter>
(#2407)Changed
tracing-log
to 0.2 (#2772)Thanks to @shayne-fletcher, @dmlary, @kaifastromai, and @jsgf for contributing!
v0.3.17
: tracing-subscriber 0.3.17Compare Source
This release of
tracing-subscriber
fixes a build error when usingenv-filter
with recent versions of the
regex
crate. It also introduces several minor APIimprovements.
Fixed
regex
dependency, fixing a build error with recent versions of
regex
(#2566)#2368, #2548)
Added
fmt::Display
impl forfilter::Targets
(#2343)with_ansi(false)
no longer require the "ansi" feature, so thatANSI formatting escapes can be disabled without requiring ANSI-specific
dependencies (#2532)
Changed
Compact
formatter, matching the defaultformatter (#2409)
Thanks to @keepsimple1, @andrewhalle, @LeoniePhiline, @LukeMathWalker,
@howardjohn, @daxpedda, and @dbidwell94 for contributing to this release!
v0.3.16
: tracing-subscriber 0.3.16Compare Source
This release of
tracing-subscriber
fixes a regression introduced inv0.3.15 where
Option::None
'sLayer
implementation wouldset the max level hint to
OFF
. In addition, it adds several new APIs,including the
Filter::event_enabled
method for filtering events based onfields values, and the ability to log internal errors that occur when writing a
log line.
This release also replaces the dependency on the unmaintained [
ansi-term
]crate with the [
nu-ansi-term
] crate, resolving an informational securityadvisory (RUSTSEC-2021-0139) for [
ansi-term
]'s maintainance status. Thisincreases the minimum supported Rust version (MSRV) to Rust 1.50+, although the
crate should still compile for the previous MSRV of Rust 1.49+ when the
ansi
feature is not enabled.
Fixed
Option::None
'sLayer
impl always setting themax_level_hint
to
LevelFilter::OFF
(#2321)-Z minimal versions
(#2246)tracing-subscriber
(#2285)Added
stderr
if writing a log line fails (#2102)FmtLayer::log_internal_errors
andFmtSubscriber::log_internal_errors
methods for configuring whether internalwriter errors are printed to
stderr
(#2102)#[must_use]
attributes on builders to warn if aSubscriber
isconfigured but not set as the default subscriber (#2239)
Filter::event_enabled
method for filtering an event based on itsfields (#2245, #2251)
Targets::default_level
accessor ([#2242])Changed
ansi-term
crate withnu-ansi-term
((#2287, fixes informational advisory RUSTSEC-2021-0139)tracing-core
: updated to 0.1.30ansi
) feature flag is enabled (#2287)Documented
fmt::init
documentation (#2224)filter::Not
combinator (#2249)Thanks to new contributors @cgbur, @DesmondWillowbrook, @RalfJung, and
@poliorcetics, as well as returning contributors @CAD97, @connec, @jswrenn,
@guswynn, and @bryangarza, for contributing to this release!
v0.3.15
: tracing-subscriber 0.3.15Compare Source
This release fixes a bug where the
reload
layer would fail to pass throughmax_level_hint
to the underlying layer, potentially breaking filtering.Fixed
max_level_hint
to the innerLayer
(#2204)Thanks to @guswynn for contributing to this release!
v0.3.14
: tracing-subscriber 0.3.14Compare Source
This release fixes multiple filtering bugs in the
Layer
implementations forOption<impl Layer>
andVec<impl Layer>
.Fixed
Layer::event_enabled
implementation forOption<impl Layer<S>>
returning
false
when theOption
isNone
, disabling all events globally(#2193)
Layer::max_level_hint
implementation forOption<impl Layer<S>>
incorrectly disabling max level filtering when the option is
None
(#2195)Layer::max_level_hint
implementation forVec<impl Layer<S>>
returning
LevelFilter::ERROR
rather thanLevelFilter::OFF
when theVec
is empty (#2195)
Thanks to @CAD97 and @guswynn for contributing to this release!
v0.3.13
: tracing-subscriber 0.3.13Compare Source
This release of
tracing-subscriber
fixes a compilation failure due to anincorrect
tracing-core
dependency that was introduced in v0.3.12.Changed
v0.3.12
: tracing-subscriber 0.3.12Compare Source
This release of
tracing-subscriber
adds a newLayer::event_enabled
method,which allows
Layer
s to filter events after their field values are recorded;a
Filter
implementation forreload::Layer
, to make usingreload
withper-layer filtering more ergonomic, and additional inherent method downcasting
APIs for the
Layered
type. In addition, it includes dependency updates, andminor fixes for documentation and feature flagging.
Added
Layer::event_enabled
method, which can be implemented to filterevents based on their field values (#2008)
Filter
implementation forreload::Layer
(#2159)Layered::downcast_ref
andLayered::is
inherent methods(#2160)
Changed
parking_lot
to 0.13.0 (#2143)lazy_static
dependency withonce_cell
([#2147])Fixed
tracing-core
features by default (#2107)#1088)
Thanks to @ben0x539, @jamesmunns, @georgemp, @james7132, @jswrenn, @CAD97, and
@guswynn for contributing to this release!
v0.3.11
: tracing-subscriber 0.3.11Compare Source
This is a bugfix release for the
Filter
implementation forEnvFilter
addedin v0.3.10.
Fixed
Filter::on_record
callback toEnvFilter
'sFilter
impl (#2058)EnvFilter
methods with both the
Filter
andLayer
traits in scope (#2057)EnvFilter::builder().parse()
and other parsing methodsreturning an error when parsing an empty string (#2052)
Thanks to new contributor @Ma124 for contributing to this release!
v0.3.10
: tracing-subscriber 0.3.10Compare Source
This release adds several new features, including a
Filter
implementation andnew builder API for
EnvFilter
, support for using aVec<L> where L: Layer
asa
Layer
, and a number of smaller API improvements to make working with dynamicand reloadable layers easier.
Added
Filter
forEnvFilter
, allowing it to be used withper-layer filtering (#1983)
Filter::on_new_span
,Filter::on_enter
,Filter::on_exit
,Filter::on_close
andFilter::on_record
callbacks toallow
Filter
s to track span states internally (#1973, #2017, #2031)Filtered::filter
andFiltered::filter_mut
accessors(#1959)
Filtered::inner
andFiltered::inner_mut
accessors to borrowthe wrapped
Layer
(#2034)Layer
forVec<L: Layer>
, to allow composing togethera dynamically sized list of
Layer
s (#2027)Layer::boxed
method to make type-erasingLayer
s easier(#2026)
fmt::Layer::writer
andfmt::Layer::writer_mut
accessors (#2034)fmt::Layer::set_ansi
method to allow changing the ANSI formattingconfiguration at runtime (#2034)
EnvFilter::builder
to configure a newEnvFilter
prior toparsing it (#2035)
#2023)
Fixed
fmt::Layer
's auto traits no longer depend on theSubscriber
typeparameter's auto traits (#2025)
ansi
feature is disabled(#2029)
Thanks to new contributors @TimoFreiberg and @wagenet, as well as @CAD97 for
contributing to this release!
v0.3.9
: tracing-subscriber 0.3.9Compare Source
This release updates the minimum supported Rust version (MSRV) to 1.49.0, and
updates the (optional) dependency on
parking_lot
to v0.12.Changed
parking_lot
: updated to v0.12 (008339d)Added
v0.3.8
: tracing-subscriber 0.3.8Compare Source
This release adds experimental support for recording structured field
values using the [
valuable
][valuable] crate to theformat::Json
formatter. Inparticular, user-defined types which are recorded using their
[
valuable::Valuable
][valuable::Valuable] implementations will be serialized as JSON objects,rather than using their
fmt::Debug
representation. See this blog postfor details on
valuable
.Note that
valuable
support currently requires--cfg tracing_unstable
. Seethe documentation for details.
Additionally, this release includes a number of other smaller API improvements.
Added
valuable
][valuable] values as structuredJSON (#1862, #1901)
Targets::would_enable
method for testing if aTargets
filterwould enable a given target (#1903)
map_event_format
,map_fmt_fields
, andmap_writer
methods tofmt::Layer
andfmt::SubscriberBuilder
(#1871)Changed
tracing-core
: updated to 0.1.22Fixed
smallvec
minimal version to 1.2.0, to fix compilation errors with-Z minimal-versions
(#1890)Thanks to @guswynn, @glts, and @lilyball for contributing to this release!
v0.3.7
: tracing-subscriber 0.3.7Compare Source
This release adds combinators for combining filters.
Additionally, this release also updates the
thread-local
crate to v1.1.4,fixing warnings for the security advisory RUSTSEC-2022-0006. Note that
previous versions of
tracing-subscriber
did not use any of thethread-local
crate's APIs effected by the vulnerability. However, updating the version fixes
warnings emitted by
cargo audit
and similar tools.Added
Fixed
thread-local
to v1.1.4 (#1858)Thanks to new contributor @matze for contributing to this release!
v0.3.6
: tracing-subscriber 0.3.6Compare Source
This release adds configuration options to
tracing_subscriber::fmt
to logsource code locations for events.
Added
with_file
andwith_line_number
configuration methods to
fmt::Format
,fmt::SubscriberBuilder
, andfmt::Layer
(#1773)Fixed
Pretty
formatter (#1833)
Deprecated
Pretty::with_source_location
, as it can now be replacedby the more general
Format
,SubscriberBuilder
, andLayer
methods(#1773)
Thanks to new contributor @renecouto for contributing to this release!
v0.3.5
: tracing-subscriber 0.3.5Compare Source
This release re-enables
RUST_LOG
filtering intracing_subscriber::fmt
'sdefault initialization methods, and adds an
OffsetLocalTime
formatter forusing local timestamps with the
time
crate.Added
OffsetLocalTime
formatter tofmt::time
for formatting localtimestamps with a fixed offset (#1772)
Fixed
Targets
filter tofmt::init()
andfmt::try_init()
whenthe "env-filter" feature is disabled, so that
RUST_LOG
is still honored(#1781)
Thanks to @marienz and @ishitatsuyuki for contributing to this release!
v0.3.4
: tracing-subscriber 0.3.4Compare Source
This release contains bugfixes for the
fmt
module, as well as documentationimprovements.
Fixed
fmt
not emitting log lines when timestamp formatting fails(#1689)
Pretty
formatter(#1778)
Thanks to new contributors @Swatinem and @rukai for contributing to this
release!
v0.3.3
: tracing-subscriber 0.3.3Compare Source
This release fixes a pair of regressions in
tracing-subscriber
'sfmt
module.
Fixed
Compact
formatter (#1755)PrettyFields
formatter (and thusformat::Pretty
event formatter) ignoring the
fmt::Layer
's ANSI color codeconfiguration (#1747)
v0.3.2
: tracing-subscriber 0.3.2Compare Source
Fixed
MakeWriter
filtering not working withBoxMakeWriter
(#1694)
Added
Writer::has_ansi_escapes
method to check if an outputsupports ANSI terminal formatting escape codes (#1696)
when supported (#1702)
FmtContext::span_scope
,FmtContext::event_scope
,and
FmtContext::parent_span
methods for accessing the current spanand its scope when formatting an event (#1728)
v0.3.1
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.