Skip to content

Latest commit

 

History

History
343 lines (148 loc) · 10.1 KB

CHANGELOG.md

File metadata and controls

343 lines (148 loc) · 10.1 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.1.0 (2023-07-08)

Features

3.0.3 (2023-03-08)

3.0.2 (2020-07-23)

Bug Fixes

  • type error with formatDateIso points to null for ValidDate (baf40c9)

3.0.1 (2020-05-07)

3.0.0 (2020-02-11)

⚠ BREAKING CHANGES

  • changed bundler, so there is a tiny chance of breaking

Features

Bug Fixes

  • correct handle fraction of a seconds in parseIso (0f79334), closes #16

3.0.0-canary.0 (2020-02-10)

⚠ BREAKING CHANGES

  • changed bundler, so there is a tiny chance of breaking

Features

Bug Fixes

  • correct handle fraction of a seconds in parseIso (0f79334), closes #16

2.3.3 (2020-01-25)

Bug Fixes

  • fixed parseIso issues with dst (1e86751)

2.3.2 (2020-01-21)

2.3.1 (2020-01-21)

Bug Fixes

  • incorrect parsing date at DST (8f7c516)

2.3.0 (2019-07-27)

Features

2.2.2 (2019-06-06)

Tests

2.2.1 (2019-03-10)

Bug Fixes

  • parser issue with leap year (2baf168), closes #5

2.2.0 (2019-02-04)

Features

  • new method - createCustomFormat (2149307)

2.1.8 (2019-01-31)

Bug Fixes

  • updated packages, fixes security vulnerabilities in devDependencies (dc86f09)

2.1.7 (2018-06-13)

Bug Fixes

  • correct formatDateIso on particular dates with timezone changes (21b9ab1), closes #4

2.1.6 (2017-08-12)

Bug Fixes

  • added sibling tokens into formatter function, apply proper declension for "D[ ]MMMM" (f7ef80a)

2.1.5 (2017-08-09)

Bug Fixes

2.1.4 (2017-07-26)

Bug Fixes

  • ValidDate type not exported (5377be2)

2.1.3 (2017-07-21)

2.1.2 (2017-07-18)

Bug Fixes

  • removed Object.keys & Object.assign usage, so no polyfills required (cc54414)

2.1.1 (2017-07-17)

Bug Fixes

  • adding right amount of time across dst for addUnit methods (b439f6f)
  • calculating correct diffDate across dst (2c9a3d2)

2.1.0 (2017-07-15)

Features

  • added performance test (f5eeec6)
  • removed method "asDate", use just "as Date" (07e8666)
  • ValidDate as global type when importing lib (4ff1056)

Performance Improvements

  • caching in format method (19c0c8f)
  • strict compare to null and getTime instead of "+" (d9291c7)

2.0.3 (2017-07-12)

Bug Fixes

  • added parsers for ordinal values (e15e0ea)

2.0.2 (2017-07-10)

Bug Fixes

  • fromDateOrThrow should accept undefined (c35bd9f)
  • new method: parseIsoOrThrow (381a899)

2.0.1 (2017-07-10)

Bug Fixes

  • added method: parseOrThrow (4ce1b00)
  • fromDate should accept undefined (f4e0d04)

2.0.0 (2017-07-07)

Bug Fixes

  • diff method should return null if one of arguments is Invalid Date (2b63fe6)

Features

  • new method: isValidDate (76cb5b2)

2.0.0-alpha.2 (2017-07-05)

2.0.0-alpha.1 (2017-07-05)

Bug Fixes

  • format methods should return null instead of magic strings (e639ad9)
  • rename newTsDate creation methods to newValidDate (3837b76)
  • resetUnit should return type Date for Date (4ed3e6e), closes #2

BREAKING CHANGES

  • this methods available only with new names: newValidDate, newValidDateOrThrow

2.0.0-alpha.0 (2017-07-04)

Bug Fixes

  • provide CommonJS version as default (da1e3e7), closes #1

Features

  • make ValidDate compatible with Date (76c1f48), closes #2
  • new methods "diffPrecise[Unit]" (15f1eca)

BREAKING CHANGES

  • changed import paths to locales for cjs and es6 modules

1.5.0 (2017-07-01)

Bug Fixes

  • rename createTsDate to fromDate (7a8c6a1)

Features

  • new method "asDate" (36279b5)
  • new method "fromDateOrThrow" (442808a)

1.4.3 (2017-06-30)

Bug Fixes

  • cleanup properly before package build (2089477)

1.4.2 (2017-06-29)

Bug Fixes

  • fixed warning about multiple exports for format/parse (c56889c)

1.4.1 (2017-06-28)

1.4.0 (2017-06-27)

1.3.0 (2017-06-22)