This release fixes a pair of regressions in tracing-subscriber's fmt
module.
Fixed
fmt: Fixed missing event fields with Compact formatter (#1755)
fmt: Fixed PrettyFields formatter (and thus format::Pretty
event formatter) ignoring the fmt::Layer's ANSI color code
configuration (#1747)
tracing-subscriber 0.3.2
Fixed
fmt: Fixed MakeWriter filtering not working with BoxMakeWriter
(#1694)
Added
fmt: Writer::has_ansi_escapes method to check if an output
supports ANSI terminal formatting escape codes (#1696)
fmt: Added additional ANSI terminal formatting to field formatters
when supported (#1702)
fmt: Added FmtContext::span_scope, FmtContext::event_scope,
and FmtContext::parent_span methods for accessing the current span
and its scope when formatting an event (#1728)
fmt: Improved documentation on implementing event formatters (#1727)
tracing-subscriber v0.3.0
This is a breaking release of tracing-subscriber. The primary breaking
change in this release is the removal of the dependency on the [chrono
crate], due to [RUSTSEC-2020-0159]. To replace chrono, support is
added for formatting timestamps using the [time crate] instead.
In addition, this release includes a number of other breaking API
changes, such as adding (limited) support for #![no_std] targets,
removing previously deprecated APIs, and more.
Breaking Changes
Removed APIs deprecated in the v0.2.x release series.
Renamed Layer::new_span to Layer::on_new_span (#1674)
Removed Layer impl for Arc<L: Layer<S>> and Arc<dyn Layer<S> + ...>
(#1649)
Replaced the [chrono crate] with the [time crate] for timestamp
formatting, to resolve [RUSTSEC-2020-0159] (#1646)
Removed json and env-filter from default features. They must now
be enabled explicitly (#1647). This means that RUST_LOG-based filters will not
work unless the env-filter feature is enabled.
Changed FormatEvent::format_event and FormatFields::format_fields
... (truncated)
Commits
a26ccd8 subscriber: prepare to release 0.3.3 (#1757)
e671318 subscriber: fix missing event fields in Compact formatter (#1755)
b3f508d subscriber: Ensure PrettyFields respects the writer's ANSI settings (#1747)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps tracing-subscriber from 0.2.25 to 0.3.3.
Release notes
Sourced from tracing-subscriber's releases.
... (truncated)
Commits
a26ccd8
subscriber: prepare to release 0.3.3 (#1757)e671318
subscriber: fix missing event fields inCompact
formatter (#1755)b3f508d
subscriber: Ensure PrettyFields respects the writer's ANSI settings (#1747)3a86d48
chore: fix cargo MSRV field typo (#1742)1890d18
docs: Mention test-log instead of test-env-log (#1735)950637d
subscriber: prepare to release v0.3.2e62e716
chore: add MSRV cargo metadata (#1730)6461d6b
subscriber: expose access to event scope inFmtContext
(#1728)ce6c403
subscriber: "implementing FormatEvent" docs (#1727)f86322a
subscriber: "implementing FormatEvent" docs (#1727)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)