20 curated breaking changes across major versions of chrono. Use this as a migration checklist before bumping dependencies.
The `+=` and `-=` operators against `time::Duration` are now supported for
`IsoWeek` has been added for the ISO week without time zone.
`SystemTime` and `DateTime<Tz>` types can be now converted to each other via `From`.
Intermediate implementation modules have been flattened (#161),
`Datelike::isoweekdate` is replaced by `Datelike::iso_week` which only returns the ISO week.
`NaiveDateTime` and `DateTime` can now be deserialized from an integral UNIX timestamp. (#125)
`chrono::serde` and `chrono::naive::serde` modules have been added
The major version was made to fix the broken Serde dependency issues. (#146, #156, #158, #159)
Various documentation fixes and goodies. (#92, #131, #136)
Serde 1.0 is now supported. (#142)
`Weekday` now implements `FromStr`, `Serialize` and `Deserialize`. (#113)
Fixed a bug that the leap second can be mapped wrongly in the local time zone.
Rustc-serialize support for `Date<Tz>` types and all offset types has been dropped.
`NaiveDateTime::num_seconds_unix_epoch` (→ `NaiveDateTime::timestamp`)
Formatting items are no longer `Copy`, except for `chrono::format::Pad`.
`DateTime::num_seconds_from_unix_epoch` (→ `DateTime::timestamp`)
`NaiveDateTime::from_num_seconds_from_unix_epoch` (→ `NaiveDateTime::from_timestamp`)
`NaiveDateTime::from_num_seconds_from_unix_epoch_opt` (→ `NaiveDateTime::from_timestamp_opt`)
The following method aliases deprecated in the 0.2 branch have been removed.
`chrono::offset::add_with_leapsecond` has been removed.
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cargo/chrono