Skip to content

Releases: fabon-f/vremel

v0.6.2

24 Sep 16:36
2ed206d

Choose a tag to compare

Changed

Fixed

  • formatRfc7231 function now throws on the date which can't be represented in RFC 7231 format (when ISO year is negative or 10000 or more), instead of returning invalid string. (6cfa5f2)
  • Fix a bug when a year of a date is not a 4-digit integer in fromRfc2822, fromRfc7231 and toTemporalFromClockTime functions (9a24610)
  • Fix an unexpected error when a date with a 2-digit year is passed to fromRfc7231 (3d68f92)
  • Fix an unexpected error when PlainMonthDay passed to toDateFromClockTime has a reference ISO year in the distant past or future (16e50e8)
  • Fix a bug when a year passed to toDateFromClockTime is a 2-digit integer (f916df9)
  • Fix an incorrect result in startOf... and endOf... functions (#7)

Security

  • Fix ReDoS vulnerability in fromRfc2822 function (63c87ad)

Full Changelog: v0.6.1...v0.6.2

v0.6.1

03 Aug 01:32
daa4714

Choose a tag to compare

Added

  • toObject function

Full Changelog: v0.6.0...v0.6.1

v0.6.0

28 Mar 09:53
1f86394

Choose a tag to compare

Added

  • epochMicroseconds function

Changed

  • Drop CommonJS support. (#4)
  • Drop support for outdated polyfills. (f71e410)

Full Changelog: v0.5.1...v0.6.0

v0.5.1

17 Mar 20:08
a7ef655

Choose a tag to compare

Added

Full Changelog: v0.5.0...v0.5.1

v0.5.0

26 Feb 17:33
1b91a94

Choose a tag to compare

Added

  • startOfWeek and endOfWeek functions
  • parse function

Changed

  • Latin alphabets (A to Z and a to z) in the given format are now reserved for use as pattern characters in formatWithoutLocale. If you want to treat them as literal, escape them. (39f5f9d)

Fixed

  • Fix wrong type annotation in some functions (eb95c5a)

Full Changelog: v0.4.0...v0.5.0