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

core: prepare to release v0.1.31 #2594

Merged
merged 1 commit into from
May 11, 2023
Merged

core: prepare to release v0.1.31 #2594

merged 1 commit into from
May 11, 2023

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented May 11, 2023

0.1.31 (May 11, 2023)

This release of tracing-core fixes a bug that caused threads which
call dispatcher::get_default before a global default subscriber is
set to never see the global default once it is set. In addition, it
includes improvements for instrumentation performance in some cases,
especially when using a global default dispatcher.

Fixed

Changed

Thanks to new contributor @ldm0 for contributing to this release!

Verified

This commit was signed with the committer’s verified signature.
hawkw Eliza Weisman
# 0.1.31 (May 11, 2023)

This release of `tracing-core` fixes a bug that caused threads which
call `dispatcher::get_default` _before_ a global default subscriber is
set to never see the global default once it is set. In addition, it
includes improvements for instrumentation performance in some cases,
especially when using a global default dispatcher.

### Fixed

- Fixed incorrect thread-local caching of `Dispatch::none` if
  `dispatcher::get_default` is called before
  `dispatcher::set_global_default` (#2593)

### Changed

- Cloning a `Dispatch` that points at a global default subscriber no
  longer requires an `Arc` reference count increment, improving
  performance substantially (#2593)
- `dispatcher::get_default` no longer attempts to access a thread local
  if the scoped dispatcher is not in use, improving performance when the
  default dispatcher is global (#2593)
- Added `#[inline]` annotations called by the `event!` and `span!`
  macros to reduce the size of macro-generated code and improve
  recording performance (#2555)

Thanks to new contributor @ldm0 for contributing to this release!
@hawkw hawkw requested a review from a team as a code owner May 11, 2023 23:06
@hawkw hawkw merged commit bec8228 into v0.1.x May 11, 2023
@hawkw hawkw deleted the eliza/core-0.1.31 branch May 11, 2023 23:22
kaffarell pushed a commit to kaffarell/tracing that referenced this pull request May 22, 2024
# 0.1.31 (May 11, 2023)

This release of `tracing-core` fixes a bug that caused threads which
call `dispatcher::get_default` _before_ a global default subscriber is
set to never see the global default once it is set. In addition, it
includes improvements for instrumentation performance in some cases,
especially when using a global default dispatcher.

### Fixed

- Fixed incorrect thread-local caching of `Dispatch::none` if
  `dispatcher::get_default` is called before
  `dispatcher::set_global_default` (tokio-rs#2593)

### Changed

- Cloning a `Dispatch` that points at a global default subscriber no
  longer requires an `Arc` reference count increment, improving
  performance substantially (tokio-rs#2593)
- `dispatcher::get_default` no longer attempts to access a thread local
  if the scoped dispatcher is not in use, improving performance when the
  default dispatcher is global (tokio-rs#2593)
- Added `#[inline]` annotations called by the `event!` and `span!`
  macros to reduce the size of macro-generated code and improve
  recording performance (tokio-rs#2555)

Thanks to new contributor @ldm0 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.

None yet

1 participant