chore(deps): update rust crate tracing to v0.1.41 #7

Merged
kjuulh merged 1 commits from renovate/tokio-tracing-monorepo into main 2024-12-14 02:28:19 +01:00
Owner

This PR contains the following updates:

Package Type Update Change
tracing (source) workspace.dependencies patch 0.1.37 -> 0.1.41

Release Notes

tokio-rs/tracing (tracing)

v0.1.41: tracing 0.1.41

Compare Source

 [crates.io][crate-0.1.41] ] | \[ [docs.rs][docs-0.1.41] ]

This release updates the `tracing-core` dependency to [v0.1.33][core-0.1.33] and
the `tracing-attributes` dependency to [v0.1.28][attrs-0.1.28].

##### Added

-   **core**: Add index API for `Field` ([#​2820])
-   **core**: Allow `&[u8]` to be recorded as event/span field ([#​2954])

##### Changed

-   Bump MSRV to 1.63 ([#​2793])
-   **core**: Use const `thread_local`s when possible ([#​2838])

##### Fixed

-   Removed core imports in macros ([#​2762])
-   **attributes**: Added missing RecordTypes for instrument ([#​2781])
-   **attributes**: Change order of async and unsafe modifier ([#​2864])
-   Fix missing field prefixes ([#​2878])
-   **attributes**: Extract match scrutinee ([#​2880])
-   Fix non-simple macro usage without message ([#​2879])
-   Fix event macros with constant field names in the first position ([#​2883])
-   Allow field path segments to be keywords ([#​2925])
-   **core**: Fix missed `register_callsite` error ([#​2938])
-   **attributes**: Support const values for `target` and `name` ([#​2941])
-   Prefix macro calls with ::core to avoid clashing with local macros ([#​3024])

[#​2762]: https://github.com/tokio-rs/tracing/pull/2762

[#​2781]: https://github.com/tokio-rs/tracing/pull/2781

[#​2793]: https://github.com/tokio-rs/tracing/pull/2793

[#​2820]: https://github.com/tokio-rs/tracing/pull/2820

[#​2838]: https://github.com/tokio-rs/tracing/pull/2838

[#​2864]: https://github.com/tokio-rs/tracing/pull/2864

[#​2878]: https://github.com/tokio-rs/tracing/pull/2878

[#​2879]: https://github.com/tokio-rs/tracing/pull/2879

[#​2880]: https://github.com/tokio-rs/tracing/pull/2880

[#​2883]: https://github.com/tokio-rs/tracing/pull/2883

[#​2925]: https://github.com/tokio-rs/tracing/pull/2925

[#​2938]: https://github.com/tokio-rs/tracing/pull/2938

[#​2941]: https://github.com/tokio-rs/tracing/pull/2941

[#​2954]: https://github.com/tokio-rs/tracing/pull/2954

[#​3024]: https://github.com/tokio-rs/tracing/pull/3024

[attrs-0.1.28]: https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.28

[core-0.1.33]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.33

[docs-0.1.41]: https://docs.rs/tracing/0.1.41/tracing/

[crate-0.1.41]: https://crates.io/crates/tracing/0.1.41

### [`v0.1.40`](https://github.com/tokio-rs/tracing/releases/tag/tracing-0.1.40): tracing 0.1.40

[Compare Source](https://github.com/tokio-rs/tracing/compare/tracing-0.1.39...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 of `mem::forget` in `Instrument::into_inner`
    ([#​2765])

[#​2765]: https://github.com/tokio-rs/tracing/pull/2765

Thanks to [@​cramertj](https://github.com/cramertj) and [@​manishearth](https://github.com/manishearth) for finding and fixing this issue!

### [`v0.1.39`](https://github.com/tokio-rs/tracing/releases/tag/tracing-0.1.39): tracing 0.1.39

[Compare Source](https://github.com/tokio-rs/tracing/compare/tracing-0.1.38...tracing-0.1.39)

This release adds several additional features to the `tracing` macros. In
addition, it updates the `tracing-core` dependency to [v0.1.32][core-0.1.32] and
the `tracing-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](https://github.com/tokio-rs/tracing/issues/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

-   Add `axum-insights` to relevant crates. ([#​2713])
-   Fix link to RAI pattern crate documentation (\[[#​2612](https://github.com/tokio-rs/tracing/issues/2612)])
-   Fix docs typos and warnings ([#​2581])
-   Add `clippy-tracing` to related crates ([#​2628])
-   Add `tracing-cloudwatch` to related crates ([#​2667])
-   Fix deadlink to `tracing-etw` repo ([#​2602])

[#​2617]: https://github.com/tokio-rs/tracing/pull/2617

[#​2699]: https://github.com/tokio-rs/tracing/pull/2699

[#​2508]: https://github.com/tokio-rs/tracing/pull/2508

[#​2621]: https://github.com/tokio-rs/tracing/pull/2621

[#​2713]: https://github.com/tokio-rs/tracing/pull/2713

[#​2581]: https://github.com/tokio-rs/tracing/pull/2581

[#​2628]: https://github.com/tokio-rs/tracing/pull/2628

[#​2667]: https://github.com/tokio-rs/tracing/pull/2667

[#​2602]: https://github.com/tokio-rs/tracing/pull/2602

[#​2626]: https://github.com/tokio-rs/tracing/pull/2626

[#​2757]: https://github.com/tokio-rs/tracing/pull/2757

[#​2732]: https://github.com/tokio-rs/tracing/pull/2732

[#​2709]: https://github.com/tokio-rs/tracing/pull/2709

[#​2599]: https://github.com/tokio-rs/tracing/pull/2599

[`let_with_type_underscore`]: http://rust-lang.github.io/rust-clippy/rust-1.70.0/index.html#let_with_type_underscore

[attrs-0.1.27]: https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.27

[core-0.1.32]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.32

### [`v0.1.38`](https://github.com/tokio-rs/tracing/releases/tag/tracing-0.1.38): tracing 0.1.38

[Compare Source](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.38)

This `tracing` release changes the `Drop` implementation for `Instrumented`
`Future`s so that the attached `Span` is entered when dropping the `Future`. This
means that events emitted by the `Future`'s `Drop` implementation will now be
recorded within its `Span`. It also adds `#[inline]` hints to methods called in
the `event!` macro's expansion, for an improvement in both binary size and
performance.

Additionally, this release updates the `tracing-attributes` dependency to
[v0.1.24][attrs-0.1.24], which updates the [`syn`][syn] dependency to v2.x.x.
`tracing-attributes` v0.1.24 also includes improvements to the `#[instrument]`
macro; see [the `tracing-attributes` 0.1.24 release notes][attrs-0.1.24] for
details.

##### Added

-   `Instrumented` futures will now enter the attached `Span` in their `Drop`
    implementation, allowing events emitted when dropping the future to occur
    within the span ([#​2562](https://github.com/tokio-rs/tracing/issues/2562))
-   `#[inline]` attributes for methods called by the `event!` macros, making
    generated code smaller ([#​2555](https://github.com/tokio-rs/tracing/issues/2555))
-   **attributes**: `level` argument to `#[instrument(err)]` and
    `#[instrument(ret)]` to override the level of
    the generated return value event ([#​2335](https://github.com/tokio-rs/tracing/issues/2335))
-   **attributes**: Improved compiler error message when `#[instrument]` is added to a `const fn`
    ([#​2418](https://github.com/tokio-rs/tracing/issues/2418))

##### Changed

-   `tracing-attributes`: updated to [0.1.24][attrs-0.1.24]
-   Removed unneeded `cfg-if` dependency ([#​2553](https://github.com/tokio-rs/tracing/issues/2553))
-   **attributes**: Updated [`syn`][syn] dependency to 2.0 ([#​2516](https://github.com/tokio-rs/tracing/issues/2516))

##### Fixed

-   **attributes**: Fix `clippy::unreachable` warnings in `#[instrument]`-generated code ([#​2356](https://github.com/tokio-rs/tracing/issues/2356))
-   **attributes**: Removed unused "visit" feature flag from `syn` dependency ([#​2530](https://github.com/tokio-rs/tracing/issues/2530))

##### Documented

-   **attributes**: Documented default level for `#[instrument(err)]` ([#​2433](https://github.com/tokio-rs/tracing/issues/2433))
-   **attributes**: Improved documentation for levels in `#[instrument]` ([#​2350](https://github.com/tokio-rs/tracing/issues/2350))

Thanks to [@​nitnelave](https://github.com/nitnelave), [@​jsgf](https://github.com/jsgf), [@​Abhicodes-crypto](https://github.com/Abhicodes-crypto), [@​LukeMathWalker](https://github.com/LukeMathWalker), [@​andrewpollack](https://github.com/andrewpollack),
[@​quad](https://github.com/quad), [@​klensy](https://github.com/klensy), [@​davidpdrsn](https://github.com/davidpdrsn), [@​dbidwell94](https://github.com/dbidwell94), [@​ldm0](https://github.com/ldm0), [@​NobodyXu](https://github.com/NobodyXu), [@​ilsv](https://github.com/ilsv), and [@​daxpedda](https://github.com/daxpedda)
for contributing to this release!

[`syn`]: https://crates.io/crates/syn

[attrs-0.1.24]: https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.24

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tracing](https://tokio.rs) ([source](https://github.com/tokio-rs/tracing)) | workspace.dependencies | patch | `0.1.37` -> `0.1.41` | --- ### Release Notes <details> <summary>tokio-rs/tracing (tracing)</summary> ### [`v0.1.41`](https://github.com/tokio-rs/tracing/releases/tag/tracing-0.1.41): tracing 0.1.41 [Compare Source](https://github.com/tokio-rs/tracing/compare/tracing-0.1.40...tracing-0.1.41) \[ [crates.io][crate-0.1.41] ] | \[ [docs.rs][docs-0.1.41] ] This release updates the `tracing-core` dependency to [v0.1.33][core-0.1.33] and the `tracing-attributes` dependency to [v0.1.28][attrs-0.1.28]. ##### Added - **core**: Add index API for `Field` ([#&#8203;2820]) - **core**: Allow `&[u8]` to be recorded as event/span field ([#&#8203;2954]) ##### Changed - Bump MSRV to 1.63 ([#&#8203;2793]) - **core**: Use const `thread_local`s when possible ([#&#8203;2838]) ##### Fixed - Removed core imports in macros ([#&#8203;2762]) - **attributes**: Added missing RecordTypes for instrument ([#&#8203;2781]) - **attributes**: Change order of async and unsafe modifier ([#&#8203;2864]) - Fix missing field prefixes ([#&#8203;2878]) - **attributes**: Extract match scrutinee ([#&#8203;2880]) - Fix non-simple macro usage without message ([#&#8203;2879]) - Fix event macros with constant field names in the first position ([#&#8203;2883]) - Allow field path segments to be keywords ([#&#8203;2925]) - **core**: Fix missed `register_callsite` error ([#&#8203;2938]) - **attributes**: Support const values for `target` and `name` ([#&#8203;2941]) - Prefix macro calls with ::core to avoid clashing with local macros ([#&#8203;3024]) [#&#8203;2762]: https://github.com/tokio-rs/tracing/pull/2762 [#&#8203;2781]: https://github.com/tokio-rs/tracing/pull/2781 [#&#8203;2793]: https://github.com/tokio-rs/tracing/pull/2793 [#&#8203;2820]: https://github.com/tokio-rs/tracing/pull/2820 [#&#8203;2838]: https://github.com/tokio-rs/tracing/pull/2838 [#&#8203;2864]: https://github.com/tokio-rs/tracing/pull/2864 [#&#8203;2878]: https://github.com/tokio-rs/tracing/pull/2878 [#&#8203;2879]: https://github.com/tokio-rs/tracing/pull/2879 [#&#8203;2880]: https://github.com/tokio-rs/tracing/pull/2880 [#&#8203;2883]: https://github.com/tokio-rs/tracing/pull/2883 [#&#8203;2925]: https://github.com/tokio-rs/tracing/pull/2925 [#&#8203;2938]: https://github.com/tokio-rs/tracing/pull/2938 [#&#8203;2941]: https://github.com/tokio-rs/tracing/pull/2941 [#&#8203;2954]: https://github.com/tokio-rs/tracing/pull/2954 [#&#8203;3024]: https://github.com/tokio-rs/tracing/pull/3024 [attrs-0.1.28]: https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.28 [core-0.1.33]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.33 [docs-0.1.41]: https://docs.rs/tracing/0.1.41/tracing/ [crate-0.1.41]: https://crates.io/crates/tracing/0.1.41 ### [`v0.1.40`](https://github.com/tokio-rs/tracing/releases/tag/tracing-0.1.40): tracing 0.1.40 [Compare Source](https://github.com/tokio-rs/tracing/compare/tracing-0.1.39...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 of `mem::forget` in `Instrument::into_inner` ([#&#8203;2765]) [#&#8203;2765]: https://github.com/tokio-rs/tracing/pull/2765 Thanks to [@&#8203;cramertj](https://github.com/cramertj) and [@&#8203;manishearth](https://github.com/manishearth) for finding and fixing this issue! ### [`v0.1.39`](https://github.com/tokio-rs/tracing/releases/tag/tracing-0.1.39): tracing 0.1.39 [Compare Source](https://github.com/tokio-rs/tracing/compare/tracing-0.1.38...tracing-0.1.39) This release adds several additional features to the `tracing` macros. In addition, it updates the `tracing-core` dependency to [v0.1.32][core-0.1.32] and the `tracing-attributes` dependency to [v0.1.27][attrs-0.1.27]. ##### Added - Allow constant field names in macros ([#&#8203;2617]) - Allow setting event names in macros ([#&#8203;2699]) - **core**: Allow `ValueSet`s of any length ([#&#8203;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 ([#&#8203;2732]) - **attributes**: Generate less dead code for async block return type hint ([#&#8203;2709]) ##### Fixed - Use fully qualified names in macros for items exported from std prelude ([#&#8203;2621], [#&#8203;2757]) - **attributes**: Allow \[`clippy::let_with_type_underscore`] in macro-generated code (\[[#&#8203;2609](https://github.com/tokio-rs/tracing/issues/2609)]) - **attributes**: Allow `unknown_lints` in macro-generated code ([#&#8203;2626]) - **attributes**: Fix a compilation error in `#[instrument]` when the `"log"` feature is enabled ([#&#8203;2599]) ##### Documented - Add `axum-insights` to relevant crates. ([#&#8203;2713]) - Fix link to RAI pattern crate documentation (\[[#&#8203;2612](https://github.com/tokio-rs/tracing/issues/2612)]) - Fix docs typos and warnings ([#&#8203;2581]) - Add `clippy-tracing` to related crates ([#&#8203;2628]) - Add `tracing-cloudwatch` to related crates ([#&#8203;2667]) - Fix deadlink to `tracing-etw` repo ([#&#8203;2602]) [#&#8203;2617]: https://github.com/tokio-rs/tracing/pull/2617 [#&#8203;2699]: https://github.com/tokio-rs/tracing/pull/2699 [#&#8203;2508]: https://github.com/tokio-rs/tracing/pull/2508 [#&#8203;2621]: https://github.com/tokio-rs/tracing/pull/2621 [#&#8203;2713]: https://github.com/tokio-rs/tracing/pull/2713 [#&#8203;2581]: https://github.com/tokio-rs/tracing/pull/2581 [#&#8203;2628]: https://github.com/tokio-rs/tracing/pull/2628 [#&#8203;2667]: https://github.com/tokio-rs/tracing/pull/2667 [#&#8203;2602]: https://github.com/tokio-rs/tracing/pull/2602 [#&#8203;2626]: https://github.com/tokio-rs/tracing/pull/2626 [#&#8203;2757]: https://github.com/tokio-rs/tracing/pull/2757 [#&#8203;2732]: https://github.com/tokio-rs/tracing/pull/2732 [#&#8203;2709]: https://github.com/tokio-rs/tracing/pull/2709 [#&#8203;2599]: https://github.com/tokio-rs/tracing/pull/2599 [`let_with_type_underscore`]: http://rust-lang.github.io/rust-clippy/rust-1.70.0/index.html#let_with_type_underscore [attrs-0.1.27]: https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.27 [core-0.1.32]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.32 ### [`v0.1.38`](https://github.com/tokio-rs/tracing/releases/tag/tracing-0.1.38): tracing 0.1.38 [Compare Source](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.38) This `tracing` release changes the `Drop` implementation for `Instrumented` `Future`s so that the attached `Span` is entered when dropping the `Future`. This means that events emitted by the `Future`'s `Drop` implementation will now be recorded within its `Span`. It also adds `#[inline]` hints to methods called in the `event!` macro's expansion, for an improvement in both binary size and performance. Additionally, this release updates the `tracing-attributes` dependency to [v0.1.24][attrs-0.1.24], which updates the [`syn`][syn] dependency to v2.x.x. `tracing-attributes` v0.1.24 also includes improvements to the `#[instrument]` macro; see [the `tracing-attributes` 0.1.24 release notes][attrs-0.1.24] for details. ##### Added - `Instrumented` futures will now enter the attached `Span` in their `Drop` implementation, allowing events emitted when dropping the future to occur within the span ([#&#8203;2562](https://github.com/tokio-rs/tracing/issues/2562)) - `#[inline]` attributes for methods called by the `event!` macros, making generated code smaller ([#&#8203;2555](https://github.com/tokio-rs/tracing/issues/2555)) - **attributes**: `level` argument to `#[instrument(err)]` and `#[instrument(ret)]` to override the level of the generated return value event ([#&#8203;2335](https://github.com/tokio-rs/tracing/issues/2335)) - **attributes**: Improved compiler error message when `#[instrument]` is added to a `const fn` ([#&#8203;2418](https://github.com/tokio-rs/tracing/issues/2418)) ##### Changed - `tracing-attributes`: updated to [0.1.24][attrs-0.1.24] - Removed unneeded `cfg-if` dependency ([#&#8203;2553](https://github.com/tokio-rs/tracing/issues/2553)) - **attributes**: Updated [`syn`][syn] dependency to 2.0 ([#&#8203;2516](https://github.com/tokio-rs/tracing/issues/2516)) ##### Fixed - **attributes**: Fix `clippy::unreachable` warnings in `#[instrument]`-generated code ([#&#8203;2356](https://github.com/tokio-rs/tracing/issues/2356)) - **attributes**: Removed unused "visit" feature flag from `syn` dependency ([#&#8203;2530](https://github.com/tokio-rs/tracing/issues/2530)) ##### Documented - **attributes**: Documented default level for `#[instrument(err)]` ([#&#8203;2433](https://github.com/tokio-rs/tracing/issues/2433)) - **attributes**: Improved documentation for levels in `#[instrument]` ([#&#8203;2350](https://github.com/tokio-rs/tracing/issues/2350)) Thanks to [@&#8203;nitnelave](https://github.com/nitnelave), [@&#8203;jsgf](https://github.com/jsgf), [@&#8203;Abhicodes-crypto](https://github.com/Abhicodes-crypto), [@&#8203;LukeMathWalker](https://github.com/LukeMathWalker), [@&#8203;andrewpollack](https://github.com/andrewpollack), [@&#8203;quad](https://github.com/quad), [@&#8203;klensy](https://github.com/klensy), [@&#8203;davidpdrsn](https://github.com/davidpdrsn), [@&#8203;dbidwell94](https://github.com/dbidwell94), [@&#8203;ldm0](https://github.com/ldm0), [@&#8203;NobodyXu](https://github.com/NobodyXu), [@&#8203;ilsv](https://github.com/ilsv), and [@&#8203;daxpedda](https://github.com/daxpedda) for contributing to this release! [`syn`]: https://crates.io/crates/syn [attrs-0.1.24]: https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.24 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kjuulh added 1 commit 2024-12-14 02:28:12 +01:00
chore(deps): update rust crate tracing to v0.1.41
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
d684ca866c
kjuulh scheduled this pull request to auto merge when all checks succeed 2024-12-14 02:28:12 +01:00
kjuulh merged commit d684ca866c into main 2024-12-14 02:28:19 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/drift#7
No description provided.