use-ink / ink-playground

Browser Based Playground for editing, sharing & compiling ink! Smart Contracts
https://ink-playground.substrate.io
Apache License 2.0
26 stars 17 forks source link

Bump tracing from 0.1.37 to 0.1.38 #693

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps tracing from 0.1.37 to 0.1.38.

Release notes

Sourced from tracing's releases.

tracing 0.1.38

This tracing release changes the Drop implementation for Instrumented Futures 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, which updates the 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 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)
  • #[inline] attributes for methods called by the event! macros, making generated code smaller (#2555)
  • attributes: level argument to #[instrument(err)] and #[instrument(ret)] to override the level of the generated return value event (#2335)
  • attributes: Improved compiler error message when #[instrument] is added to a const fn (#2418)

Changed

  • tracing-attributes: updated to 0.1.24
  • Removed unneeded cfg-if dependency (#2553)
  • attributes: Updated syn dependency to 2.0 (#2516)

Fixed

  • attributes: Fix clippy::unreachable warnings in #[instrument]-generated code (#2356)
  • attributes: Removed unused "visit" feature flag from syn dependency (#2530)

Documented

  • attributes: Documented default level for #[instrument(err)] (#2433)
  • attributes: Improved documentation for levels in #[instrument] (#2350)

Thanks to @​nitnelave, @​jsgf, @​Abhicodes-crypto, @​LukeMathWalker, @​andrewpollack, @​quad, @​klensy, @​davidpdrsn, @​dbidwell94, @​ldm0, @​NobodyXu, @​ilsv, and @​daxpedda for contributing to this release!

Commits
  • 3de7f8c tracing: prepare to release v0.1.38 (#2575)
  • e35265a attributes: prepare to release v0.1.24 (#2574)
  • 0114ec1 subscriber: prepare to release v0.3.17 (#2571)
  • 53989b4 chore: fix rustfmt
  • 2235570 subscriber: add "unicode-case" and "unicode-perl" features to regex depende...
  • b9becf9 attributes: update UI tests with the latest stable version of Rust (#2568)
  • 3a65354 tracing, tracing-futures: instrument Future inside Drop (#2562)
  • 29d85b1 mock: move layer mock from tracing-subscriber tests (#2369)
  • 049ad73 subscriber: add ability to disable ANSI without crate feature (#2532)
  • a066c36 attributes: update to syn 2.0 (#2516)
  • Additional commits viewable in compare view


Dependabot compatibility score

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)