chore(deps): update rust crate tracing-subscriber to 0.3.11 #17
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.1
->0.3.11
Release Notes
tokio-rs/tracing
v0.3.11
Compare 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
Compare 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
Compare 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
Compare 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
Compare 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
Compare 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
Compare 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
Compare 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
Compare 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
Compare 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)
Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.