Sourced from tracing's releases.
tracing 0.1.40
This release fixes a potential stack use-after-free in the
Instrument::into_inner
method. Only uses of this method are affected by this bug.Fixed
- Use
mem::ManuallyDrop
instead ofmem::forget
inInstrument::into_inner
(#2765)Thanks to
@​cramertj
and@​manishearth
for finding and fixing this issue!tracing 0.1.39
This release adds several additional features to the
tracing
macros. In addition, it updates thetracing-core
dependency to [v0.1.32][core-0.1.32] and thetracing-attributes
dependency to [v0.1.27][attrs-0.1.27].Added
- Allow constant field names in macros (#2617)
- Allow setting event names in macros (#2699)
- core: Allow
ValueSet
s of any length (#2508)Changed
tracing-attributes
: updated to [0.1.27][attrs-0.1.27]tracing-core
: updated to [0.1.32][core-0.1.32]- attributes: Bump minimum version of proc-macro2 to 1.0.60 (#2732)
- attributes: Generate less dead code for async block return type hint (#2709)
Fixed
- Use fully qualified names in macros for items exported from std prelude (#2621, #2757)
- attributes: Allow [
clippy::let_with_type_underscore
] in macro-generated code (#2609)- attributes: Allow
unknown_lints
in macro-generated code (#2626)- attributes: Fix a compilation error in
#[instrument]
when the"log"
feature is enabled (#2599)Documented
... (truncated)
15600a3
tracing: prepare to release v0.1.4020a1762
tracing: use ManuallyDrop instead of mem::forget (#2765)4b99457
chore: prepare tracing 0.1.39 (#2755)b2a5e11
tracing: update core to v0.1.31 and attributes to v0.1.273825a50
tracing: use full path when calling format_args!
(#2757)c4b2a56
chore: prepare tracing-core 0.1.32 (#2754)2502f19
chore: prepare tracing-attributes 0.1.27 (#2756)9048762
Revert "log: update to env_logger 0.10 to fix GHSA-g98v-hv3f-hcfr
(#2740)"
(#...6ba5af2
docs: remove mention of Registration
on v0.1.x (#2753)11aac9a
log: deprecate env_logger
in favor of
tracing_subscriber::fmt::Subscriber
...