Skip to content

Latest commit

 

History

History
107 lines (62 loc) · 2.41 KB

CHANGELOG.md

File metadata and controls

107 lines (62 loc) · 2.41 KB

0.1.11 (August 18, 2020)

Fixed

  • Corrected wrong minimum supported Rust version note in docs (#941)
  • Removed unused syn features (#928)

Thanks to new contributor @jhpratt for contributing to this release!`

0.1.10 (August 10, 2020)

Added

  • Support for using self in field expressions when instrumenting async-trait functions (#875)
  • Several documentation improvements (#832, #897, #911, #913)

Thanks to @anton-dutov and @nightmared for contributing to this release!

0.1.9 (July 8, 2020)

Added

  • Support for arbitrary expressions as fields in #[instrument] (#672)

Changed

  • #[instrument] now emits a compiler warning when ignoring unrecognized input (#672, #786)

0.1.8 (May 13, 2020)

Added

  • Support for using #[instrument] on methods that are part of async-trait trait implementations (#711)
  • Optional #[instrument(err)] argument to automatically emit an event if an instrumented function returns Err (#637)

Thanks to @ilana and @nightmared for contributing to this release!

0.1.7 (February 26, 2020)

Added

  • Support for adding arbitrary literal fields to spans generated by #[instrument] (#569)
  • #[instrument] now emits a helpful compiler error when attempting to skip a function parameter (#600)

Thanks to @Kobzol for contributing to this release!

0.1.6 (December 20, 2019)

Added

  • Updated documentation (#468)

0.1.5 (October 22, 2019)

Added

  • Support for destructuring in arguments to #[instrument]ed functions (#397)
  • Generated field for self parameters when #[instrument]ing methods (#397)

0.1.4 (September 26, 2019)

Added

  • Optional skip argument to #[instrument] for excluding function parameters from generated spans (#359)

0.1.3 (September 12, 2019)

Fixed

  • Fixed #[instrument]ed async functions not compiling on nightly-2019-09-11 or newer (#342)

0.1.2 (August 19, 2019)

Changed

  • Updated syn and quote dependencies to 1.0 (#292)
  • Removed direct dependency on proc-macro2 to avoid potential version conflicts (#296)

Fixed

  • Outdated idioms in examples (#271, #273)

0.1.1 (August 9, 2019)

Changed

  • Using the #[instrument] attribute on async fns no longer requires a feature flag (#258)

Fixed

  • The #[instrument] macro now works on generic functions (#262)

0.1.0 (August 8, 2019)

  • Initial release