Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracing: update minimum tracing-attributes to 0.1.12 #1222

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Feb 4, 2021

This branch updates the minimum tracing-attributes dependency from
v0.1.10 to v0.1.12. v0.1.12 includes a number of significant changes:

  • Support for arbitrary field expressions in #[instrument] was added
    in v0.1.11. This means that users who read the crates.io docs for
    tracing-attributes will see that arbitrary field expressions are
    permitted, but if tracing reexports an older version, this won't
    actually work.
  • v0.1.12 updates #[instrument] to use the Instrumented type from
    tracing rather than from tracing-futures. This means async/await
    will now work without an additional dependency on tracing-futures.
  • Also, a few bugs were fixed in v0.1.11 and v0.1.12.

This branch updates the minimum `tracing-attributes` dependency from
v0.1.10 to v0.1.12. v0.1.12 includes a number of significant changes:

* Support for arbitrary field expressions in `#[instrument]` was added
  in v0.1.11. This means that users who read the crates.io docs for
  `tracing-attributes` will see that arbitrary field expressions are
  permitted, but if `tracing` reexports an older version, this won't
  actually work.
* v0.1.12 updates `#[instrument]` to use the `Instrumented` type from
  `tracing` rather than from `tracing-futures`. This means async/await
  will now work without an additional dependency on `tracing-futures`.
* Also, a few bugs were fixed in v0.1.11 and v0.1.12.
@hawkw hawkw requested a review from davidbarsky February 4, 2021 20:48
@hawkw hawkw requested a review from a team as a code owner February 4, 2021 20:48
@hawkw hawkw merged commit b130785 into v0.1.x Feb 4, 2021
hawkw added a commit that referenced this pull request Feb 4, 2021
Fixed

- **attributes**: Compiler error when using `#[instrument(err)]` on
  functions with mutable parameters ([#1167])
- **attributes**: Missing function visibility modifier when using
  `#[instrument]` with `async-trait` ([#977])
- **attributes** Removed unused `syn` features ([#928])
- **log**: Fixed an issue where the `tracing` macros would generate code
  for events whose levels are disabled statically by the `log` crate's
  `static_max_level_XXX` features ([#1175])
- Fixed deprecations and clippy lints ([#1195])
- Several documentation fixes and improvements ([#941], [#965], [#981],
  [#1146], [#1215])

Changed

- **attributes**: `tracing-futures` dependency is no longer required
  when using `#[instrument]` on async functions ([#808])
- **attributes**: Updated `tracing-attributes` minimum dependency to
  v0.1.12 ([#1222])

Thanks to @nagisa, @Txuritan, @TaKO8Ki, @okready, and @krojew for
contributing to this release!
hawkw added a commit that referenced this pull request Feb 4, 2021
### Fixed

- **attributes**: Compiler error when using `#[instrument(err)]` on
  functions with mutable parameters ([#1167])
- **attributes**: Missing function visibility modifier when using
  `#[instrument]` with `async-trait` ([#977])
- **attributes** Removed unused `syn` features ([#928])
- **log**: Fixed an issue where the `tracing` macros would generate code
  for events whose levels are disabled statically by the `log` crate's
  `static_max_level_XXX` features ([#1175])
- Fixed deprecations and clippy lints ([#1195])
- Several documentation fixes and improvements ([#941], [#965], [#981],
  [#1146], [#1215])

### Changed

- **attributes**: `tracing-futures` dependency is no longer required
  when using `#[instrument]` on async functions ([#808])
- **attributes**: Updated `tracing-attributes` minimum dependency to
  v0.1.12 ([#1222])

Thanks to @nagisa, @Txuritan, @TaKO8Ki, @okready, and @krojew for
contributing to this release!
@hawkw hawkw deleted the eliza/bump-attrs-for-real branch February 5, 2021 18:20
kaffarell pushed a commit to kaffarell/tracing that referenced this pull request May 22, 2024
### Fixed

- **attributes**: Compiler error when using `#[instrument(err)]` on
  functions with mutable parameters ([tokio-rs#1167])
- **attributes**: Missing function visibility modifier when using
  `#[instrument]` with `async-trait` ([tokio-rs#977])
- **attributes** Removed unused `syn` features ([tokio-rs#928])
- **log**: Fixed an issue where the `tracing` macros would generate code
  for events whose levels are disabled statically by the `log` crate's
  `static_max_level_XXX` features ([tokio-rs#1175])
- Fixed deprecations and clippy lints ([tokio-rs#1195])
- Several documentation fixes and improvements ([tokio-rs#941], [tokio-rs#965], [tokio-rs#981],
  [tokio-rs#1146], [tokio-rs#1215])

### Changed

- **attributes**: `tracing-futures` dependency is no longer required
  when using `#[instrument]` on async functions ([tokio-rs#808])
- **attributes**: Updated `tracing-attributes` minimum dependency to
  v0.1.12 ([tokio-rs#1222])

Thanks to @nagisa, @Txuritan, @TaKO8Ki, @okready, and @krojew for
contributing to this release!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants