Skip to content

Releases: Blobfolio/utc2k

v0.11.0

25 Oct 18:26
Compare
Choose a tag to compare

New

  • FmtUtc2k::MIN
  • FmtUtc2k::MAX
  • Utc2k::MIN
  • Utc2k::MAX

Fixed

  • Clamp utc2k::unixtime to supported min/max range in case the system clock is the right kind of wrong

Changed

  • Make Utc2k::cmp_date const
  • Make Utc2k::cmp_time const

Replaced

  • FmtUtc2k::min (use FmtUtc2k::MIN instead)
  • FmtUtc2k::max (use FmtUtc2k::MAX instead)
  • Utc2k::min (use Utc2k::MIN instead)
  • Utc2k::max (use Utc2k::MAX instead)

v0.10.0

15 Sep 04:45
Compare
Choose a tag to compare

Changed

  • Bump tz-rs to 0.7
  • Bump MSRV to 1.81
  • Miscellaneous code lints

v0.9.1

05 Sep 19:24
Compare
Choose a tag to compare

Changed

  • Miscellaneous code cleanup and lints
  • Add visit_bytes to Month/Weekday deserializers
  • Bump brunch to 0.6

v0.9.0

04 Aug 05:09
Compare
Choose a tag to compare

New

  • Month::all
  • Month::into_iter (repeating month iterator)
  • Enable de/serialization for Month (with serde crate feature)
  • impl FromStr for Month
  • impl TryFrom<&[u8]> for Month
  • Weekday::all
  • Weekday::into_iter (repeating week iterator)
  • Enable de/serialization for Weekday (with serde crate feature)
  • impl FromStr for Weekday
  • impl TryFrom<&[u8]> for Weekday

Breaking

  • Bump MSRV to 1.80

Changed

  • Utc2k::unixtime is now const
  • Utc2k::abs_diff is now const

v0.8.1

25 Jul 17:31
Compare
Choose a tag to compare

Changed

  • Miscellaneous code lints

v0.8.0

08 Feb 18:51
Compare
Choose a tag to compare

Removed

  • Borrow<[u8]> for FmtUtc2k

Other

  • Miscellaneous doc/script cleanup

v0.7.0

05 Oct 19:04
Compare
Choose a tag to compare

New

  • Weekday::first_in_month
  • Weekday::last_in_month
  • Weekday::nth_in_month

Miscellaneous

  • Minor code cleanup and lints

v0.6.1

13 Jul 19:22
Compare
Choose a tag to compare

Changed

  • Update dev dependencies

v0.6.0

01 Jun 20:01
Compare
Choose a tag to compare

Changed

  • Bump MSRV 1.70
  • Drop once_cell (in favor of new built-in types)
  • Replace various unsafe blocks with safe alternatives
  • Add debug/assertions for logical redundancy
  • CI: test in debug and release modes
  • CI: test MSRV

v0.5.15

15 Feb 16:40
Compare
Choose a tag to compare

Changed

  • Improve Deserialize handling

New

  • impl FromStr for Utc2k (same as TryFrom<&str>)
  • impl FromStr for FmtUtc2k (same as TryFrom<&str>)