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

Bump the minor-changes group with 6 updates #206

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2024

Bumps the minor-changes group with 6 updates:

Package From To
ciborium 0.2.1 0.2.2
chrono 0.4.31 0.4.33
serde 1.0.195 1.0.196
serde_json 1.0.111 1.0.113
smallvec 1.12.0 1.13.1
uuid 1.6.1 1.7.0

Updates ciborium from 0.2.1 to 0.2.2

Commits
  • fdf3ec5 chore: version bump
  • 2ac91ce Disable enarxbot workflow
  • 09134e6 New reader API that allows providing the scratch buffer.
  • fa74215 chore(deps): update dependency half
  • 3b4d95d chore: bump to Rust 1.58
  • a5bfd82 Correctly set minimum serde version
  • 114614d Update spelling for error type in ciborium docs
  • 25174b7 feat: add from_reader_with_recursion_limit
  • 1fc610b fix: is_human_readable should be false
  • See full diff 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

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)

Documentation

  • Improve doc comment and tests for timestamp_nanos_opt (#1299, thanks @​mlegner)

... (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 serde from 1.0.195 to 1.0.196

Release notes

Sourced from serde's releases.

v1.0.196

  • Improve formatting of "invalid type" error messages involving floats (#2682)
Commits
  • ede9762 Release 1.0.196
  • d438c2d Merge pull request #2682 from dtolnay/decimalpoint
  • bef110b Format Unexpected::Float with decimal point
  • b971ef1 Merge pull request #2681 from dtolnay/workspacedeps
  • 29d9f69 Fix workspace.dependencies default-features future compat warning
  • aecb408 Sort workspace dependencies
  • 1c675ab Merge pull request #2678 from rodoufu/workspaceDependencies
  • dd61963 Adding workspace dependencies
  • 111803a Merge pull request #2673 from Sky9x/msrv-badge
  • 0024f74 Use shields.io's MSRV badges
  • See full diff in compare view

Updates serde_json from 1.0.111 to 1.0.113

Release notes

Sourced from serde_json's releases.

v1.0.113

  • Add swap_remove and shift_remove methods on Map (#1109)

v1.0.112

  • Improve formatting of "invalid type" error messages involving floats (#1107)
Commits
  • 09d865b Release 1.0.113
  • 5aeab4e Merge pull request #1109 from serde-rs/remove
  • ca3c2ca Add swap_remove and shift_remove methods on Map
  • 7fece96 Release 1.0.112
  • 6a6d2bb Merge pull request #1107 from serde-rs/unexpectedfloat
  • 83d7bad Format f64 in error messages using ryu
  • 107c2d1 Merge pull request #1106 from serde-rs/invalidvalue
  • 62ca3e4 Handle Unexpected::Unit in Error::invalid_value
  • 296fafb Factor out JSON-specific Display impl for serde::de::Unexpected
  • e56cc69 Merge pull request #1105 from keienWang/master
  • Additional commits viewable in compare view

Updates smallvec from 1.12.0 to 1.13.1

Release notes

Sourced from smallvec's releases.

v1.13.1

  • Remove the optional get-size feature, to avoid a cyclic dependency (#335).

Full Changelog: servo/rust-smallvec@v1.13.0...v1.13.1

v1.13.0

What's Changed

Full Changelog: servo/rust-smallvec@v1.12.0...v1.13.0

Commits

Updates uuid from 1.6.1 to 1.7.0

Release notes

Sourced from uuid's releases.

1.7.0

What's Changed

New Contributors

Full Changelog: uuid-rs/uuid@1.6.1...1.7.0

Commits
  • cefc353 Merge pull request #728 from uuid-rs/cargo/1.7.0
  • 3255b54 prepare for 1.7.0 release
  • 403bb17 Merge pull request #727 from uuid-rs/chore/cargo-cleanup
  • b7c6e26 make use of newer Cargo features for specifying dependencies
  • ed13c73 Merge pull request #726 from uuid-rs/chore/pkg-size
  • 2e92a3d Merge pull request #724 from bgeron/borsh-1
  • 38f01ff rename workflow
  • eab4b85 reduce the package size of uuid
  • 421d752 Make the borsh feature work by itself, without having to specify private feat...
  • 2534949 Continue making feature borsh stable, as suggested by @​KordAus
  • 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 minor-changes group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [ciborium](https://github.com/enarx/ciborium) | `0.2.1` | `0.2.2` |
| [chrono](https://github.com/chronotope/chrono) | `0.4.31` | `0.4.33` |
| [serde](https://github.com/serde-rs/serde) | `1.0.195` | `1.0.196` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.111` | `1.0.113` |
| [smallvec](https://github.com/servo/rust-smallvec) | `1.12.0` | `1.13.1` |
| [uuid](https://github.com/uuid-rs/uuid) | `1.6.1` | `1.7.0` |


Updates `ciborium` from 0.2.1 to 0.2.2
- [Commits](enarx/ciborium@v0.2.1...v0.2.2)

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 `serde` from 1.0.195 to 1.0.196
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.195...v1.0.196)

Updates `serde_json` from 1.0.111 to 1.0.113
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.111...v1.0.113)

Updates `smallvec` from 1.12.0 to 1.13.1
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](servo/rust-smallvec@v1.12.0...v1.13.1)

Updates `uuid` from 1.6.1 to 1.7.0
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](uuid-rs/uuid@1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: ciborium
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-changes
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-changes
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-changes
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-changes
- dependency-name: smallvec
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-changes
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-changes
...

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 Jan 29, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 1, 2024

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Feb 1, 2024
@dependabot dependabot bot deleted the dependabot/cargo/minor-changes-918a880db1 branch February 1, 2024 03:22
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.

1 participant