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(deps): bump the dependencies group with 6 updates #429

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 9, 2024

Bumps the dependencies group with 6 updates:

Package From To
anyhow 1.0.75 1.0.79
chrono 0.4.31 0.4.33
itertools 0.12.0 0.12.1
shadow-rs 0.25.0 0.26.1
clap 4.4.11 4.5.0
thiserror 1.0.50 1.0.56

Updates anyhow from 1.0.75 to 1.0.79

Release notes

Sourced from anyhow's releases.

1.0.79

  • Work around improperly cached build script result by sccache (#340)

1.0.78

  • Reduce spurious rebuilds under RustRover IDE when using a nightly toolchain (#337)

1.0.77

1.0.76

  • Opt in to unsafe_op_in_unsafe_fn lint (#329)
Commits
  • 71ab53d Release 1.0.79
  • 60705a5 Merge pull request #340 from dtolnay/depinfo
  • 17e252b Include env-dep:RUSTC_BOOTSTRAP in dep-info for sccache
  • 04774c0 Merge pull request #338 from dtolnay/nightlyci
  • 1fd290c Make CI verify that error_generic_member_access works in latest nightly
  • ee41470 RUSTC must be set by Cargo for build script
  • 38c79ef Release 1.0.78
  • ded2295 Merge pull request #337 from dtolnay/bootstrap
  • ae45b67 Do not rebuild on RUSTC_BOOTSTRAP changes on nightly compiler
  • 2d32366 Update crate name used for build script probe
  • Additional commits viewable in compare view

Updates chrono from 0.4.31 to 0.4.33

Release notes

Sourced from chrono's releases.

0.4.33

This release fixes the broken docrs.rs build of chrono 0.4.32.

What's Changed

v0.4.32

In this release we shipped part of the effort to reduce the number of methods that could unexpectedly panic, notably for the DateTime and Duration types.

Chrono internally stores the value of a DateTime in UTC, and transparently converts it to the local value as required. For example adding a second to a DateTime needs to be done in UTC to get the correct result, but adding a day needs to be done in local time to be correct. What happens when the value is near the edge of the representable range, and the implicit conversions pushes it beyond the representable range? Many methods could panic on such inputs, including formatting the value for Debug output.

In chrono 0.4.32 the range of NaiveDate, NaiveDateTime and DateTime is made slightly smaller. This allows us to always do the implicit conversion, and in many cases return the expected result. Specifically the range is now from January 1, -262144 until December 31, 262143, one year less on both sides than before. We expect this may trip up tests if you hardcoded the MIN and MAX dates.

Duration had a similar issue. The range of this type was pretty arbitrary picked to match the range of an i64 in milliseconds. Negating an i64::MIN pushes a value out of range, and in the same way negating Duration::MIN could push it out of our defined range and cause a panic. This turns out to be somewhat common and hidden behind many layers of abstraction. We adjusted the type to have a minimum value of -Duration::MAX instead and prevent the panic case.

Other highlights:

  • Duration gained new fallible initialization methods.
  • Better support for rkyv.
  • Most methods on NaiveDateTime are now const.
  • We had to bump our MSRV to 1.61 to keep building with our dependencies. This will also allow us to make more methods on DateTime const in a future release.

Complete list of changes:

Fixes

  • Fix panic in TimeZone::from_local_datetime (#1071)
  • Fix out of range panics in DateTime getters and setters (#1317, #1329)

Additions

  • Add NaiveDateTime::checked_(add|sub)_offset (#1313)
  • Add DateTime::to_utc (#1325)
  • Derive Default for Duration (#1327)
  • Add Duration::subsec_nanos (#1327)
  • Add try_* builders to Duration (#1327)
  • Implement AddAssign and SubAssign for Duration (#1327)
  • Make methods on NaiveDateTime const where possible (#1286)
  • Split clock feature into clock and now (#1343, thanks @​mmastrac)
  • Add From<NaiveDate> for NaiveDateTime (#1355, thanks @​dcechano)
  • Add NaiveDateTime::from_timestamp_nanos (#1357, thanks @​Ali-Mirghasemi)
  • Add Months::num_months() and num_years() (#1373, thanks @​danwilliams)
  • Add DateTime<Utc>::from_timestamp_millis (#1374, thanks @​xmakro)

Changes

  • Fix panic in Duration::MIN.abs() (adjust Duration::MIN by 1 millisecond) (#1334)
  • Bump MSRV to 1.61 (#1347)
  • Update windows-targets requirement from 0.48 to 0.52 (#1360)
  • Update windows-bindgen to 0.52 (#1379)

Deprecations

  • Deprecate standalone format functions (#1306)

... (truncated)

Commits
  • 7c419a3 Prepare 0.4.33 release
  • a9b37c4 Make rkyv feature default to size_32
  • a73b543 Don't assume rkyv-(16|32|64) implies the rkyv feature
  • b5381f8 Fixed typo in Duration::hours() exception
  • bf70419 52
  • 7757386 Prepare 0.4.32 release
  • cee242a Fix typos in Datelike impl for DateTime
  • 6ec8f97 Add from_timestamp_millis to DateTime<Utc> (#1374)
  • 65f0cc2 CI Linting: Fix missing sources checkout in toml job.
  • 5536687 Add Months::as_u32() (#1373)
  • Additional commits viewable in compare view

Updates itertools from 0.12.0 to 0.12.1

Changelog

Sourced from itertools's changelog.

0.12.1

Added

  • Documented iteration order guarantee for Itertools::[tuple_]combinations (#822)
  • Documented possible panic in iterate (#842)
  • Implemented Clone and Debug for Diff (#845)
  • Implemented Debug for WithPosition (#859)
  • Implemented Eq for MinMaxResult (#838)
  • Implemented From<EitherOrBoth<A, B>> for Option<Either<A, B>> (#843)
  • Implemented PeekingNext for RepeatN (#855)

Changed

  • Made CoalesceBy lazy (#801)
  • Optimized Filter[Map]Ok::next, Itertools::partition, Unique[By]::next[_back] (#818)
  • Optimized Itertools::find_position (#837)
  • Optimized Positions::next[_back] (#816)
  • Optimized ZipLongest::fold (#854)
  • Relaxed Debug bounds for GroupingMapBy (#860)
  • Specialized ExactlyOneError::fold (#826)
  • Specialized Interleave[Shortest]::fold (#849)
  • Specialized MultiPeek::fold (#820)
  • Specialized PadUsing::[r]fold (#825)
  • Specialized PeekNth::fold (#824)
  • Specialized Positions::[r]fold (#813)
  • Specialized PutBackN::fold (#823)
  • Specialized RepeatN::[r]fold (#821)
  • Specialized TakeWhileInclusive::fold (#851)
  • Specialized ZipLongest::rfold (#848)

Notable Internal Changes

  • Added test coverage in CI (#847, #856)
  • Added semver check in CI (#784)
  • Enforced clippy in CI (#740)
  • Enforced rustdoc in CI (#840)
  • Improved specialization tests (#807)
  • More specialization benchmarks (#806)
Commits
  • 98d3978 Prepare v0.12.1 release
  • dffac1f Bump obi1kenobi/cargo-semver-checks-action from 2.2 to 2.3
  • 00998a4 CoalesceBy: missing field in Debug
  • a0411d6 CombinationsWithReplacement: use a boxed slice internally
  • 8dd75f1 Permutations: use boxed slices internally
  • b785403 ExactlyOneError: implement Debug differently
  • 7a1c22b FlattenOk: Debug with macro
  • 94452e3 GroupingMapBy: fix Debug implementation
  • 2e325a0 TakeWhileInclusive: missing field in Debug
  • a48c5b4 WithPosition: implement Debug
  • Additional commits viewable in compare view

Updates shadow-rs from 0.25.0 to 0.26.1

Release notes

Sourced from shadow-rs's releases.

improve test case

#148

Update tzdb to 0.6.0

Thx @​Kijewski #146

Commits

Updates clap from 4.4.11 to 4.5.0

Release notes

Sourced from clap's releases.

v4.4.18

[4.4.18] - 2024-01-16

Fixes

  • (error) When lacking usage feature, ensure the list of required arguments is unique

v4.4.17

[4.4.17] - 2024-01-15

Fixes

  • Fix panic! when mixing args_conflicts_with_subcommands with ArgGroup (which is implicit with derive) introduced in 4.4.15

v4.4.16

[4.4.16] - 2024-01-12

Fixes

  • Ensure invalid escape sequences in user-defined strings are correctly stripped when terminal doesn't support color

v4.4.15

[4.4.15] - 2024-01-11

Fixes

  • Improve error for args_conflicts_with_subcommands
  • Ensure we error for args_conflicts_with_subcommands when using subcommand short and long flags

v4.4.14

[4.4.14] - 2024-01-08

Documentation

  • Fix find cookbook entry to allow repeats of flags/options

Features

  • Allow num_args(0) on options which allows making them emulate being a flag for position-tracking flags

v4.4.13

[4.4.13] - 2024-01-04

Documentation

  • Fix link to structopt migration guide

v4.4.12

[4.4.12] - 2023-12-28

... (truncated)

Changelog

Sourced from clap's changelog.

[4.5.0] - 2024-02-08

Compatibility

  • Update MSRV to 1.74

[4.4.18] - 2024-01-16

Fixes

  • (error) When lacking usage feature, ensure the list of required arguments is unique

[4.4.17] - 2024-01-15

Fixes

  • Fix panic! when mixing args_conflicts_with_subcommands with ArgGroup (which is implicit with derive) introduced in 4.4.15

[4.4.16] - 2024-01-12

Fixes

  • Ensure invalid escape sequences in user-defined strings are correctly stripped when terminal doesn't support color

[4.4.15] - 2024-01-11

Fixes

  • Improve error for args_conflicts_with_subcommands
  • Ensure we error for args_conflicts_with_subcommands when using subcommand short and long flags

[4.4.14] - 2024-01-08

Documentation

  • Fix find cookbook entry to allow repeats of flags/options

Features

  • Allow num_args(0) on options which allows making them emulate being a flag for position-tracking flags

[4.4.13] - 2024-01-04

Documentation

  • Fix link to structopt migration guide

[4.4.12] - 2023-12-28

Performance

... (truncated)

Commits

Updates thiserror from 1.0.50 to 1.0.56

Release notes

Sourced from thiserror's releases.

1.0.56

  • Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache

1.0.55

  • Work around improperly cached build script result by sccache – second attempt (#280)

1.0.54

  • Work around improperly cached build script result by sccache – first attempt (#279)

1.0.53

  • Reduce spurious rebuilds under RustRover IDE when using a nightly toolchain (#270)

1.0.52

  • Fix interaction with RUSTC_BOOTSTRAP (#269)

1.0.51

  • Improve diagnostics when an invalid attribute previously caused thiserror to generate no Error impl (#266)
Commits
  • 77d0af4 Release 1.0.56
  • d4caabd Pull in proc-macro2 sccache fix
  • 6089273 Release 1.0.55
  • 322a2ae Merge pull request #280 from dtolnay/depinfo
  • fd7d7a5 Emit dep-info for probe.rs in case sccache needs it
  • 447c328 Release 1.0.54
  • 4619db8 Merge pull request #279 from dtolnay/depinfo
  • 7b53bff Make env-dep:RUSTC_BOOTSTRAP get listed in probe's dep-info
  • e0500ad Merge pull request #277 from dtolnay/nightlyci
  • 48cea47 Make CI verify that error_generic_member_access works in latest nightly
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dependencies group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.75` | `1.0.79` |
| [chrono](https://github.com/chronotope/chrono) | `0.4.31` | `0.4.33` |
| [itertools](https://github.com/rust-itertools/itertools) | `0.12.0` | `0.12.1` |
| [shadow-rs](https://github.com/baoyachi/shadow-rs) | `0.25.0` | `0.26.1` |
| [clap](https://github.com/clap-rs/clap) | `4.4.11` | `4.5.0` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.50` | `1.0.56` |


Updates `anyhow` from 1.0.75 to 1.0.79
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.75...1.0.79)

Updates `chrono` from 0.4.31 to 0.4.33
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](chronotope/chrono@v0.4.31...v0.4.33)

Updates `itertools` from 0.12.0 to 0.12.1
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](rust-itertools/itertools@v0.12.0...v0.12.1)

Updates `shadow-rs` from 0.25.0 to 0.26.1
- [Release notes](https://github.com/baoyachi/shadow-rs/releases)
- [Changelog](https://github.com/baoyachi/shadow-rs/blob/master/CHANGELOG.md)
- [Commits](baoyachi/shadow-rs@v0.25.0...v0.26.1)

Updates `clap` from 4.4.11 to 4.5.0
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.4.11...clap_complete-v4.5.0)

Updates `thiserror` from 1.0.50 to 1.0.56
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.50...1.0.56)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: itertools
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: shadow-rs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 9, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 12, 2024

Superseded by #430.

@dependabot dependabot bot closed this Feb 12, 2024
@dependabot dependabot bot deleted the dependabot/cargo/dependencies-88dffe9af2 branch February 12, 2024 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants