v0.12.0
Breaking change: we have migrated from chrono to jiff. Our parse functions now return a jiff::Zoned struct upon success. Additionally, parse_datetime_at_date
now requires a jiff::Zoned
struct as an argument.
A big thank you to @yuankunzhang for all their work for this release!
What's Changed
- fix: remove unsupported named time zones by @yuankunzhang in #198
- feat: implement pure number parsing by @yuankunzhang in #199
- code and docs minor improvements by @yuankunzhang in #201
- refactor: improve timestamp handling and validation in builder by @yuankunzhang in #202
- refactor: extract timezone functionality from time module to timezone module by @yuankunzhang in #203
- refactor: replace floating-point seconds with precise integer representation by @yuankunzhang in #205
- (jiff series #1) refactor: add jiff and optimize date type sizes by @yuankunzhang in #208
- (jiff series #2) refactor: optimize time type sizes and add conversion from
Time
tojiff::civil::Time
by @yuankunzhang in #209 - (jiff series #3) refactor: use
(i64, u32)
for fractional seconds in relative time parsing by @yuankunzhang in #210 - (jiff series #4) refactor: optimize offset type sizes and add conversion from
Offset
tojifff::tz::Offset
by @yuankunzhang in #211 - (jiff series #5) refactor: add conversion from
Day
tojiff::civil::Weekday
by @yuankunzhang in #212 - (jiff series #6) refactor: replace chrono with jiff by @yuankunzhang in #213
- refactor: improve api encapsulation by @yuankunzhang in #215
- fix: use
checked_mul()
to avoid overflow panic by @yuankunzhang in #217 - refactor: improve timestamp handling and test organization by @yuankunzhang in #218
- fix: use
checked_mul()
to avoid overflow with "week" by @cakebaker in #219 - refactor: rename var to fix typo by @cakebaker in #216
- refactor: rename a function name and a var name by @cakebaker in #214
- refactor: misc minor refactors by @yuankunzhang in #221
- refactor: improve timezone offset parsing and validation by @yuankunzhang in #222
- fix: support timezone offsets that exceed 24-hour range by @yuankunzhang in #223
- refactor: replace Option-based error handling with Result-based error handling by @yuankunzhang in #225
- refactor: replace imperative parsing loop with functional combinators by @yuankunzhang in #230
Dependencies
- chore(deps): bump slab from 0.4.10 to 0.4.11 by @dependabot[bot] in #206
- fix(deps): update rust crate winnow to v0.7.13 by @renovate[bot] in #220
- fix(deps): update rust crate regex to v1.11.2 by @renovate[bot] in #224
- chore: update dependencies by @yuankunzhang in #229
New Contributors
- @dependabot[bot] made their first contribution in #206
Full Changelog: v0.11.0...v0.12.0