Most of our efforts have shifted to improving the API for a 0.5 release, for which cleanups and refactorings are landing on the 0.4.x branch.
The most significant changes in this release are two sets of deprecations.
We deprecated all timestamp-related methods on NaiveDateTime. The reason is that a timestamp is defined to be in UTC. The NaiveDateTime type doesn't know the offset from UTC, so it was technically wrong to have these methods. The alternative is to use the similar methods on the DateTime<Utc> type, or from the TimeZone trait.
Converting from NaiveDateTime to DateTime<Utc> is simple with .and_utc(), and in the other direction with .naive_utc().
The panicking constructors of TimeDelta (the new name of the Duration type) are deprecated. This was the last part of chrono that defaulted to panicking on error, dating from before rust 1.0.
A nice change is that NaiveDate now includes a niche. So now Option<NaiveDate>, Option<NaiveDateTime> and Option<DateTime<Tz>> are the same size as their base types.
format::Numeric and format::Fixed are marked as non_exhaustive. This will allow us to improve our formatting and parsing support, and we have reason to believe this breaking change will have little to no impact on users.
The new methods ParallelSlice::par_chunk_by and
ParallelSliceMut::par_chunk_by_mut work like the slice methods chunk_by
and chunk_by_mut added in Rust 1.77.
As of this release, I am not planning to publish further versions of serde_yaml as none of my projects have been using YAML for a long time, so I have archived the GitHub repo and marked the crate deprecated in the version number. An official replacement isn't designated for those who still need to work with YAML, but https://crates.io/search?q=yaml&sort=relevance and https://crates.io/keywords/yaml has a number of reasonable-looking options available.
0.9.33
Fix quadratic parse time for YAML containing deeply nested flow collections (dtolnay/unsafe-libyaml#26)
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the cargo group with 11 updates:
1.5.0
1.6.0
0.4.34
0.4.35
4.5.1
4.5.4
2.1.4
2.1.5
1.9.0
1.10.0
0.11.24
0.11.27
1.0.114
1.0.115
0.9.32
0.9.34+deprecated
1.0.57
1.0.58
0.1.14
0.1.15
1.10.3
1.10.4
Updates
bytes
from 1.5.0 to 1.6.0Release notes
Sourced from bytes's releases.
Changelog
Sourced from bytes's changelog.
Commits
ce8d8a0
chore: prepare bytes v1.6.0 (#681)536db06
Use ManuallyDrop instead of mem::forget (#675)ca00411
Remove commented tests for Bytes::unsplit (#677)7968f6f
Remove redundant reserve call (#674)c5fae00
copy_to_bytes: Add panic section to docs (#676)99584cc
Use Iterator from the prelude (#673)4628927
Refactor split_at/split_to (#663)1bcd212
get_vec_pos: use &self instead of &mut self (#670)f586ffc
set_vec_pos does not need a second parameter (#672)c6972d6
Calculate original capacity only if necessary (#666)Updates
chrono
from 0.4.34 to 0.4.35Release notes
Sourced from chrono's releases.
... (truncated)
Commits
9fdb596
Prepare 0.4.359e667b6
Deprecate panickingTimeDelta
constructors2c1b0be
Tests: replaceTimeDelta::milliseconds
withtry_milliseconds
2bf3302
Tests: replaceTimeDelta::seconds
withtry_seconds
f93508f
Tests: replaceTimeDelta::minutes
withtry_minutes
9fc931a
Tests: replaceTimeDelta::hours
withtry_hours
9f23c08
Tests: replaceTimeDelta::days
withtry_days
e8f9b5e
Tests: replaceTimeDelta::weeks
withtry_weeks
51a1aa2
Tests: useDays
type when it is more appropriate thanTimeDelta
4251bd1
ReplaceTimeDelta::seconds
withtry_seconds
Updates
clap
from 4.5.1 to 4.5.4Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
5e4facf
chore: Release8880b0a
docs: Update changelog132b5dd
Merge pull request #5425 from epage/litdf915fe
fix(derive): Re-allow expressions for id's8eab48f
refactor(derive): Make it easier to work with 'Name'be73195
refactor(derive): Clarify tests024089b
Merge pull request #5415 from Pi-Cla/patch-13b35dba
docs: Add mention of nushell to clap_complete README58469d1
Merge pull request #5405 from epage/docs655d829
docs(derive): Fix ToC links within tutorial chaptersUpdates
diesel
from 2.1.4 to 2.1.5Changelog
Sourced from diesel's changelog.
Commits
c96c870
Merge pull request #3959 from 1Dragoon/backports/2.1.42c9f46d
Rustfmt67cac15
Another clippy fixc4ae62a
Fix the changelog links151d32e
Bump libsqlite3-sys to 0.289117d29
Fix the minimal version buildddc50de
Bump toolchain to 1.76.0bc2b4ab
Prerpare a 2.1.5 release23cf90e
Fixed test feature call lint, fixed test script, fixed flakey unit testf8d6fe0
Fix a bunch of new warningsUpdates
rayon
from 1.9.0 to 1.10.0Changelog
Sourced from rayon's changelog.
Commits
4a6e9bf
Merge #991b0008f3
Release rayon 1.6.0 / rayon-core 1.10.0c2dfa5c
Merge #99017f5b08
fix typoca9b279
Merge #989a119f23
Unifychunks
,fold_chunks
, andfold_chunks_with
911d6d0
Merge #4929ef85cd
Add some documentation about when broadcasts runbd7b61c
Add more internal enforcement of static/scope lifetimes812ca02
Simplify calls that use the panic_handlerUpdates
reqwest
from 0.11.24 to 0.11.27Release notes
Sourced from reqwest's releases.
Changelog
Sourced from reqwest's changelog.
Commits
cf69fd4
v0.11.27d0d2b47
docs: add note about sponsors/support2fe53c5
refactor: Migrate trust-dns to hickory-dns6904889
(wasm) fix: Form::text on wasm setting octet-stream mime type and file name. ...54bb709
v0.11.26d334800
Revert "fix: Patchsystem-configuration
version (#2130)" (#2172)c7940c6
revert: hyper v1 upgrade (for now)e319263
Fix missing tokio/io-util (#2168)037111f
feat: Allow binding interface (#2163)bfc54fc
feat: Add http2 cargo feature (#2162)Updates
serde_json
from 1.0.114 to 1.0.115Release notes
Sourced from serde_json's releases.
Commits
b1ebf38
Release 1.0.115c3dc153
Merge pull request #1119 from titaniumtraveler/pr218770b
Explicitly install a Rust toolchain for cargo-outdated job840da8e
Fix missing backticks in doc comments3a3f61b
Temporarily disable miri on doctests4a0be88
Format regression tests with rustfmtd2dbbf7
Ignore dead code lint in tests8e7b37b
Merge pull request #1118 from serde-rs/transparenta25f6c6
Remove conditional on repr(transparent)fedf834
Ignore non_local_definitions false positive in testUpdates
serde_yaml
from 0.9.32 to 0.9.34+deprecatedRelease notes
Sourced from serde_yaml's releases.
Commits
2009506
Release 0.9.343ba8462
Add unmaintained note77236b0
Ignore dead code lint in testsf4c9ed9
Release 0.9.33b4edaee
Pull in yaml_parser_fetch_more_tokens fix from libyaml8a5542c
Resolve non_local_definitions warning in testUpdates
thiserror
from 1.0.57 to 1.0.58Release notes
Sourced from thiserror's releases.
Commits
df8bffa
Release 1.0.5814be209
Merge pull request #292 from dtolnay/deadcode15a1d64
Make compatible with -Dwarningsf55a5d2
Ignore mixed_attributes_style clippy lintf770921
Resolve assigning_clones clippy lintUpdates
tokio-stream
from 0.1.14 to 0.1.15Commits
7cfb100
chore: prepare tokio-stream v0.1.15 (#6401)e37bd63
io: implementtry_new
andtry_with_interest
forAsyncFd
(#6345)c9e7578
sync: remove'static
bound onimpl Sink for PollSender
(#6397)3141ed6
sync: update watch channel docs (#6395)ea1cfbd
sync: reorder const_new before new_with (#6392)fb2dc97
readme: update commit message guidelines (#6393)a3d2548
sync: implementClone
forwatch::Sender
(#6388)b4ab647
signal: fix typo in argument name (#6389)3133af4
runtime: make theenter
example deterministic (#6351)1f924f9
chore: fix deprecated circleci image (#6379)Updates
regex
from 1.10.3 to 1.10.4Commits
aa2d8bd
1.10.4088d7f3
api: add Cow guarantee to replace APIa5ae351
regex-automata-0.4.69cf4a42
automata: fix bug where reverse NFA lacked an unanchored prefix10fe722
style: clean up some recent lint violationsd7f9347
regex-automata-0.4.507ef7f1
automata: make additional prefileter metadata publicDependabot 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