Releases: fabon-f/vremel
Releases · fabon-f/vremel
v0.6.2
Changed
fromRfc2822andfromRfc7231functions now throw an error consistently on invalid inputs (such as "32 Jan 2025" or "25:00:00"). (a1311d9, c90b22c, 48ea9b7, d5cc735, 23d8f7a)
Fixed
formatRfc7231function 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,fromRfc7231andtoTemporalFromClockTimefunctions (9a24610) - Fix an unexpected error when a date with a 2-digit year is passed to
fromRfc7231(3d68f92) - Fix an unexpected error when
PlainMonthDaypassed totoDateFromClockTimehas a reference ISO year in the distant past or future (16e50e8) - Fix a bug when a year passed to
toDateFromClockTimeis a 2-digit integer (f916df9) - Fix an incorrect result in
startOf...andendOf...functions (#7)
Security
- Fix ReDoS vulnerability in
fromRfc2822function (63c87ad)
Full Changelog: v0.6.1...v0.6.2
v0.6.1
v0.6.0
v0.5.1
v0.5.0
Added
startOfWeekandendOfWeekfunctionsparsefunction
Changed
- Latin alphabets (
AtoZandatoz) in the given format are now reserved for use as pattern characters informatWithoutLocale. 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