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

subscriber: deprecate CurrentSpan #1321

Merged
merged 4 commits into from Apr 30, 2021
Merged

subscriber: deprecate CurrentSpan #1321

merged 4 commits into from Apr 30, 2021

Conversation

Folyd
Copy link
Contributor

@Folyd Folyd commented Mar 24, 2021

The tracing-subscriber::CurrentSpan should be deprectead in v0.2.x.

Related PR #1320.

@Folyd Folyd requested review from hawkw and a team as code owners March 24, 2021 02:23
Copy link
Member

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like CI is emitting a bunch of warnings about the deprecated type in its own impls: https://github.com/tokio-rs/tracing/pull/1321/checks?check_run_id=2241220544 I've never seen this happen before, but I guess we need to add an allow(deprecated) attribute to the impl blocks to silence those warnings?

@Folyd
Copy link
Contributor Author

Folyd commented Apr 1, 2021

It looks like CI is emitting a bunch of warnings about the deprecated type in its own impls: https://github.com/tokio-rs/tracing/pull/1321/checks?check_run_id=2241220544 I've never seen this happen before, but I guess we need to add an allow(deprecated) attribute to the impl blocks to silence those warnings?

Hi @hawkw. I believe this has been fixed now.

Copy link
Member

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, this looks great, thank you!

@hawkw hawkw merged commit 5e435b1 into tokio-rs:v0.1.x Apr 30, 2021
hawkw added a commit that referenced this pull request Apr 30, 2021
# 0.2.18 (April 30, 2021)

### Deprecated

- Deprecated the `CurrentSpan` type, which is inefficient and largely
  superseded by the `registry` API ([#1321])

### Fixed

- **json**: Invalid JSON emitted for events in spans with no fields
  ([#1333])
- **json**: Missing span data for synthesized new span, exit, and close
  events ([#1334])
- **fmt**: Extra space before log lines when timestamps are disabled
  ([#1355])

### Added

- **env-filter**: Support for filters on spans whose names contain any
  characters other than `{` and `]` ([#1368])

Thanks to @Folyd, and new contributors @akinnane and @aym-v for
contributing to  this release!

[#1321]: #1321
[#1333]: #1333
[#1334]: #1334
[#1355]: #1355
[#1368]: #1368
hawkw added a commit that referenced this pull request May 1, 2021
# 0.2.18 (April 30, 2021)

### Deprecated

- Deprecated the `CurrentSpan` type, which is inefficient and largely
  superseded by the `registry` API ([#1321])

### Fixed

- **json**: Invalid JSON emitted for events in spans with no fields
  ([#1333])
- **json**: Missing span data for synthesized new span, exit, and close
  events ([#1334])
- **fmt**: Extra space before log lines when timestamps are disabled
  ([#1355])

### Added

- **env-filter**: Support for filters on spans whose names contain any
  characters other than `{` and `]` ([#1368])

Thanks to @Folyd, and new contributors @akinnane and @aym-v for
contributing to  this release!

[#1321]: #1321
[#1333]: #1333
[#1334]: #1334
[#1355]: #1355
[#1368]: #1368
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

2 participants