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.
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 all group in /frontend with 14 updates:
0.4.31
0.4.35
0.3.66
0.3.69
0.4.20
0.4.21
0.32.3
0.32.4
1.10.2
1.10.4
1.0.108
1.0.109
1.0.193
1.0.197
0.2.89
0.2.92
0.4.39
0.4.42
0.6.3
0.6.5
1.0.77
1.0.81
0.3.66
0.3.69
0.24.7
0.25.0
1.0.52
1.0.58
Updates
chrono
from 0.4.31 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
js-sys
from 0.3.66 to 0.3.69Commits
Updates
log
from 0.4.20 to 0.4.21Changelog
Sourced from log's changelog.
Commits
3ccdc28
Merge pull request #617 from rust-lang/cargo/0.4.216153cb2
prepare for 0.4.21 releasef0f7494
Merge pull request #613 from rust-lang/feat/kv-cleanup2b220bf
clean up structured logging example646e9ab
use original Visitor name for VisitValuecf85c38
add needed subfeatures to kv_unstable73e9539
fix up capturing of :err31bb4b0
move error macros togetherad91711
support field shorthand in macros90a347b
restore removed APIs as deprecatedUpdates
nalgebra
from 0.32.3 to 0.32.4Changelog
Sourced from nalgebra's changelog.
Commits
4a5855a
Merge pull request #1362 from dimforge/dev-0.32.4e726b65
Release v0.32.4980dd68
Support Glam 0.25 type conversion706caf5
Update CHANGELOGe977ad8
Release nalgebra-macro v0.2.1a6b3700
Release v0.32.3Updates
regex
from 1.10.2 to 1.10.4Changelog
Sourced from regex's changelog.
Commits
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 public0c09903
1.10.3653bb59
deps: bump regex-automata to 0.4.4e7b5401
regex-automata-0.4.4Updates
serde_json
from 1.0.108 to 1.0.109Release notes
Sourced from serde_json's releases.
Commits
f88bf1f
Release 1.0.109bb62c73
Merge pull request #1097 from serde-rs/doccfgdf36d10
Restore doc cfg on re-exportsc367091
Merge pull request #1095 from dtolnay/hashtestb328ee7
Eliminate hash closure in favor of calling hash_one directlyb9bcbad
Use BuildHasher::hash_one7ff6c9e
Use random hasher state for number hashing testfe031cd
Delete trace_macros! functionality from test05196ca
Update ui test suite to nightly-2023-11-19Updates
serde
from 1.0.193 to 1.0.197Release notes
Sourced from serde's releases.
Commits
5fa711d
Release 1.0.197f5d8ae4
Resolve prelude redundant import warnings1d54973
Merge pull request #2697 from nyurik/format-strb8fafef
A few minorwrite_str
optimizations and inliningc42ebb8
Update ui test suite to nightly-2024-02-129e68062
Ignore incompatible_msrv clippy lint for conditionally compiled code846f865
Ignore dead_code warnings in testede9762
Release 1.0.196d438c2d
Merge pull request #2682 from dtolnay/decimalpointbef110b
Format Unexpected::Float with decimal pointUpdates
wasm-bindgen
from 0.2.89 to 0.2.92Changelog
Sourced from wasm-bindgen's changelog.
... (truncated)
Commits
2a4a493
Prepare v0.2.92 release (#3869)8e992dc
Don't allow invalid Unicode scalar values inchar
(#3866)807bdb4
Revert "Allow using'static
lifetimes in functions (#3856)" (#3865)983ec57
AddNonNull\<T>
as parameter (#3857)0095fa7
Allow overriding headless test URL (#3861)0023077
Update passing-rust-closures-to-js.md (#3859)b9ccb8f
Allow using'static
lifetimes in functions (#3856)c80bf9a
Add support forOption\<*const T>
,Option\<*mut T>
andNonNull\<T>
(#3852)0c09e15
Fix CI (#3853)557e2e6
Introduce impl TryFrom for Number that succeeds iff the value is within the s...Updates
wasm-bindgen-futures
from 0.4.39 to 0.4.42Commits
Updates
serde-wasm-bindgen
from 0.6.3 to 0.6.5Commits
f073bd4
chore: Release6281985
Fix map roundtrips in untagged enums (#64)b1b73ac
chore: Release03a470d
Add test for field aliasesff11d81
Revert "Use field indices for struct deserialization"Updates
anyhow
from 1.0.77 to 1.0.81Release notes
Sourced from anyhow's releases.
Commits
4aad4ed
Release 1.0.818be9091
Merge pull request #354 from dtolnay/deadcodea2eb7dd
Make compatible with -Dwarnings5443719
Release 1.0.80dfc7bc0
Work around prelude redundant import warnings6e4f86b
Import from alloc not std, where possiblef885a13
Ignore incompatible_msrv clippy false positives in testfefbcbc
Ignore incompatible_msrv clippy lint78f2d81
Update ui test suite to nightly-2024-02-08edd88d3
Update ui test suite to nightly-2024-01-31Updates
web-sys
from 0.3.66 to 0.3.69Commits
Updates
image
from 0.24.7 to 0.25.0Changelog
Sourced from image's changelog.
... (truncated)
Commits
6edf8ae
Merge pull request #2164 from image-rs/next-version-0.25c5a1be7
Documentation fix29a3d10
Release 0.25.0affd32a
Fix clippy warnings (#2163)515b7e8
Release 0.25.0-preview.0 (#2161)d6f4761
Force install to fix cache issue (#2160)1f2238f
Cache registry cache in cargo-afl CI job (#2159)a207477
Speed up CI runs (#2158)ddb9c36
Cache cargo-fuzz install (#2157)478ad43
Make pixel types repr(transparent) rather than repr(C) (#2156)Updates
thiserror
from 1.0.52 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 lint1d106b1
Release 1.0.578a5c4d1
Use write_str when args only consists of trailing commaf790bee
Phrase flag in terms of whether core::fmt machinery is requiredd43b759
Ignore needless_raw_string_hashes pedantic clippy lint in testd09c418
Touch up PR 286Dependabot 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