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

chore: update MSRVs from 1.42 to 1.49 #1913

Merged
merged 1 commit into from Feb 7, 2022
Merged

chore: update MSRVs from 1.42 to 1.49 #1913

merged 1 commit into from Feb 7, 2022

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Feb 7, 2022

This updates all crates' MSRVs to 1.49 if they were not already greater
than that (tracing-appender is at 1.53). Rust 1.49+ is required to
update parking_lot to v0.12 (see #1878). Also, futures-task (which I
believe is only needed as a transitive dep) now needs 1.45+, so this
also fixes our CI build.

Because tracing-opentelemetry previously required 1.46.0, it had a
separate CI MSRV job. Since 1.49.0 is greater than 1.46.0, the separate
check for tracing-opentelemetry is no longer needed.

In the process, I removed deprecated uses of
core::atomic::spin_loop_hint, which is replaced with
core::hint::spin_loop in 1.49.

This updates all crates' MSRVs to 1.49 if they were not already greater
than that (`tracing-appender` is at 1.53). Rust 1.49+ is required to
update `parking_lot` to v0.12 (see #1878). Also, `futures-task` (which I
believe is only needed as a transitive dep) now needs 1.45+, so this
also fixes our CI build.

In the process, I removed deprecated uses of
`core::atomic::spin_loop_hint`, which is replaced with
`core::hint::spin_loop` in 1.49.
@hawkw hawkw enabled auto-merge (squash) February 7, 2022 17:43
Copy link
Collaborator

@jtescher jtescher left a comment

Choose a reason for hiding this comment

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

🥳

@hawkw hawkw merged commit 4365b39 into master Feb 7, 2022
@hawkw hawkw deleted the eliza/msrv-1.49 branch February 7, 2022 17:52
hawkw added a commit that referenced this pull request Feb 7, 2022
This updates all crates' MSRVs to 1.49 if they were not already greater
than that (`tracing-appender` is at 1.53). Rust 1.49+ is required to
update `parking_lot` to v0.12 (see #1878). Also, `futures-task` (which I
believe is only needed as a transitive dep) now needs 1.45+, so this
also fixes our CI build.

Because `tracing-opentelemetry` previously required 1.46.0, it had a
separate CI MSRV job. Since 1.49.0 is greater than 1.46.0, the separate
check for `tracing-opentelemetry` is no longer needed.

In the process, I removed deprecated uses of
`core::atomic::spin_loop_hint`, which is replaced with
`core::hint::spin_loop` in 1.49.
@hawkw hawkw mentioned this pull request Feb 7, 2022
hawkw added a commit that referenced this pull request Feb 7, 2022
This updates all crates' MSRVs to 1.49 if they were not already greater
than that (`tracing-appender` is at 1.53). Rust 1.49+ is required to
update `parking_lot` to v0.12 (see #1878). Also, `futures-task` (which I
believe is only needed as a transitive dep) now needs 1.45+, so this
also fixes our CI build.

Because `tracing-opentelemetry` previously required 1.46.0, it had a
separate CI MSRV job. Since 1.49.0 is greater than 1.46.0, the separate
check for `tracing-opentelemetry` is no longer needed.

In the process, I removed deprecated uses of
`core::atomic::spin_loop_hint`, which is replaced with
`core::hint::spin_loop` in 1.49.
hawkw added a commit that referenced this pull request Feb 8, 2022
# 0.2.3 (February 7, 2022)

### Fixed

- Fixed missing `memfd_create` with `glibc` versions < 2.25 ([#1912])

### Changed

- Updated minimum supported Rust version to 1.49.0 ([#1913])

Thanks to @9999years for contributing to this release!

[#1912]: #1912
[#1913]: #1913
hawkw added a commit that referenced this pull request Feb 8, 2022
# 0.2.3 (February 7, 2022)

### Fixed

- Fixed missing `memfd_create` with `glibc` versions < 2.25 ([#1912])

### Changed

- Updated minimum supported Rust version to 1.49.0 ([#1913])

Thanks to @9999years for contributing to this release!

[#1912]: #1912
[#1913]: #1913
@arlyon
Copy link

arlyon commented Feb 10, 2022

Hello, something of note is that tokio-rs/valuable specifies 1.51.0 as the minimal rust version:

https://github.com/tokio-rs/valuable/blob/master/valuable/Cargo.toml#L6

Any crates that depend on it such as tracing-core, tracing-subscriber, and tracing-serde (according to the reverse depedencies) should be bumped to that as well.

I have hit this issue with arlyon/async-stripe, which targets 1.49.0, but is currently failing CI. See here: https://github.com/arlyon/async-stripe/runs/5143921274?check_suite_focus=true

@arlyon
Copy link

arlyon commented Feb 10, 2022

For some context, valuable is in my Cargo.lock file due to it being a requirement of tracing-core, and requires from quick checking at least version 1.51.0 otherwise cargo metadata breaks.

The exact cause of the CI breakage (it's not failing builds!) is that tarpaulin uses cargo metadata internally which fails.

hawkw added a commit that referenced this pull request Feb 17, 2022
# 0.1.31 (February 17th, 2022)

This release increases the minimum supported Rust version (MSRV) to
1.49.0. In addition, it fixes some relatively rare macro bugs.

### Added

- Added `tracing-forest` to the list of related crates ([#1935])

### Changed

- Updated minimum supported Rust version (MSRV) to 1.49.0 ([#1913])

### Fixed

- Fixed the `warn!` macro incorrectly generating an event with the
  `TRACE` level ([#1930])
- Fixed macro hygiene issues when used in a crate that defines its own
  `concat!` macro, for real this time ([#1918])

Thanks to @QnnOkabayashi, @nicolaasg, and @teohhanhui for contributing
to this release!

[#1935]: #1935
[#1913]: #1913
[#1930]: #1930
[#1918]: #1918
hawkw added a commit that referenced this pull request Feb 17, 2022
# 0.1.31 (February 17th, 2022)

This release increases the minimum supported Rust version (MSRV) to
1.49.0. In addition, it fixes some relatively rare macro bugs.

### Added

- Added `tracing-forest` to the list of related crates ([#1935])

### Changed

- Updated minimum supported Rust version (MSRV) to 1.49.0 ([#1913])

### Fixed

- Fixed the `warn!` macro incorrectly generating an event with the
  `TRACE` level ([#1930])
- Fixed macro hygiene issues when used in a crate that defines its own
  `concat!` macro, for real this time ([#1918])

Thanks to @QnnOkabayashi, @nicolaasg, and @teohhanhui for contributing
to this release!

[#1935]: #1935
[#1913]: #1913
[#1930]: #1930
[#1918]: #1918
hawkw added a commit that referenced this pull request Feb 17, 2022
# 0.3.9 (Feb 17, 2022)

This release updates the minimum supported Rust version (MSRV) to
1.49.0, and updates the (optional) dependency on `parking_lot` to v0.12.

### Changed

- Updated minimum supported Rust version (MSRV) to 1.49.0 ([#1913])
- `parking_lot`: updated to v0.12 ([008339d])

### Added

- **fmt**: Documentation improvements ([#1926], [#1927])

[#1913]: #1913
[#1926]: #1926
[#1927]: #1927
[008339d]: 008339d
hawkw added a commit that referenced this pull request Feb 18, 2022
# 0.3.9 (Feb 17, 2022)

This release updates the minimum supported Rust version (MSRV) to
1.49.0, and updates the (optional) dependency on `parking_lot` to v0.12.

### Changed

- Updated minimum supported Rust version (MSRV) to 1.49.0 ([#1913])
- `parking_lot`: updated to v0.12 ([008339d])

### Added

- **fmt**: Documentation improvements ([#1926], [#1927])

[#1913]: #1913
[#1926]: #1926
[#1927]: #1927
[008339d]: 008339d
hawkw added a commit that referenced this pull request Mar 8, 2022
# 0.1.20 (March 8, 2022)

### Fixed

- Compilation failure with `--minimal-versions` due to a too-permissive
  `syn` dependency ([#1960])

### Changed

- Bumped minimum supported Rust version (MSRV) to 1.49.0 ([#1913])

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

[#1960]: #1960
[#1913]: #1913
hawkw added a commit that referenced this pull request Mar 8, 2022
# 0.1.20 (March 8, 2022)

### Fixed

- Compilation failure with `--minimal-versions` due to a too-permissive
  `syn` dependency ([#1960])

### Changed

- Bumped minimum supported Rust version (MSRV) to 1.49.0 ([#1913])

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

[#1960]: #1960
[#1913]: #1913
hawkw added a commit that referenced this pull request Mar 9, 2022
# 0.1.23 (March 8, 2022)

### Changed

- Removed `#[inline]` attributes from some `Dispatch` methods whose
  callers are now inlined ([#1974])
- Bumped minimum supported Rust version (MSRV) to Rust 1.49.0 ([#1913])

[#1913]: #1913
[#1974]: #1974
hawkw added a commit that referenced this pull request Mar 9, 2022
# 0.1.23 (March 8, 2022)

### Changed

- Removed `#[inline]` attributes from some `Dispatch` methods whose
  callers are now inlined ([#1974])
- Bumped minimum supported Rust version (MSRV) to Rust 1.49.0 ([#1913])

[#1913]: #1913
[#1974]: #1974
hawkw added a commit that referenced this pull request Apr 21, 2022
# 0.1.3 (April 21st, 2022)

### Added

- **log-tracer**: Added `LogTracer::with_interest_cache` to enable a
 limited form of per-record `Interest` caching for `log` records
 ([#1636])

### Changed

- Updated minimum supported Rust version (MSRV) to Rust 1.49.0 ([#1913])

### Fixed

- **log-tracer**: Fixed `LogTracer` not honoring `tracing` max level
  filters ([#1543])
- Broken links in documentation ([#2068], [#2077])

Thanks to @Millione, @teozkr, @koute, @Folyd, and @ben0x539 for
contributing to this release!

[#1636]: https://github.com/tokio-rs/tracing/pulls/1636
[#1913]: https://github.com/tokio-rs/tracing/pulls/1913
[#1543]: https://github.com/tokio-rs/tracing/pulls/1543
[#2068]: https://github.com/tokio-rs/tracing/pulls/2068
[#2077]: https://github.com/tokio-rs/tracing/pulls/2077
hawkw added a commit that referenced this pull request Apr 21, 2022
# 0.1.3 (April 21st, 2022)

### Added

- **log-tracer**: Added `LogTracer::with_interest_cache` to enable a
 limited form of per-record `Interest` caching for `log` records
 ([#1636])

### Changed

- Updated minimum supported Rust version (MSRV) to Rust 1.49.0 ([#1913])

### Fixed

- **log-tracer**: Fixed `LogTracer` not honoring `tracing` max level
  filters ([#1543])
- Broken links in documentation ([#2068], [#2077])

Thanks to @Millione, @teozkr, @koute, @Folyd, and @ben0x539 for
contributing to this release!

[#1636]: https://github.com/tokio-rs/tracing/pulls/1636
[#1913]: https://github.com/tokio-rs/tracing/pulls/1913
[#1543]: https://github.com/tokio-rs/tracing/pulls/1543
[#2068]: https://github.com/tokio-rs/tracing/pulls/2068
[#2077]: https://github.com/tokio-rs/tracing/pulls/2077

Fixes #1884
Fixes #1664
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

4 participants