Skip to content

Latest commit

 

History

History
131 lines (67 loc) · 4.04 KB

CHANGELOG.md

File metadata and controls

131 lines (67 loc) · 4.04 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and adheres to Semantic Versioning.

Unreleased

Changed

  • Fixed babel helpers file being generated with incorrect filename in esm build. [#2082]

1.0.8 - 2021-09-24

Changed

  • Migrate from sewing-kit-next to loom for building - package build output remains identical. [#2039]

1.0.7 - 2021-08-26

Changed

  • Enable type checking in tests and fix type errors. [#2011]

1.0.6 - 2021-08-24

Changed

  • Added file exclusion for tests to package.json. [#2005]

1.0.5 - 2021-08-13

Changed

  • formatDate's options object now expects its hourCycle value to be 'h11', 'h12', 'h23' or 'h24' rather than an arbitary string. Any other value would have caused an error at runtime, this helps us catch that error at compile time. [#1997]
  • Updated build tooling, types are now compiled with TypeScript 4.3. [#1997]

1.0.4 - 2021-08-04

Changed

  • Ensure tsconfig.tsbuildinfo file is not uploaded to the npm registry. [#1982]

1.0.3 - 2021-08-03

Changed

  • Update to latest sewing-kit-next for build. Update types/typesVersions fields to point directly into the build folder [#1980]

1.0.2 - 2021-06-29

  • No updates. Transitive dependency bump.

1.0.0 - 2021-05-21

Breaking Change

  • Update minimum supported node version to 12.14.0. Add engines field to help enforce usage of this version. #1906

0.5.6 - 2021-04-13

Changed

  • Removed dependency on tslib, as we no-longer compile with tsc. #1829

0.5.3 - 2021-03-03

Fixed

  • Updated multi-build outputs to include mandatory extensions to fix "Module not found" issues reported by ESM supported bundlers #1759

0.5.0 - 2020-12-18

Added

  • Add new build outputs (CommonJS, ESM, esnext, Node) for greater tree-shakability #1698

0.4.3 - 2020-10-20

  • Updated tslib dependency to ^1.14.1. #1657

0.4.0 - 2020-06-04

Added

  • Added isLessThanOneWeekAway and isLessThanOneYearAgo functions [#1438]

0.3.4 - 2020-03-13

Added

  • Added getIanaTimeZone and exposed memoizedGetDateTimeFormat (#1367)

0.3.1 - 2020-02-27

Fixed

  • Allows hour12: true to be passed to formatDate (#1299)

0.3.0 - 2020-02-19

  • Export the formatDate function so it can be used by other packages / projects, e.g. in @shopify/react-i18n (#1286)

0.2.13 - 2020-02-07

  • Fixes the memory leak that was introduced in v0.1.27 when server-side rendering (#1277)

0.2.12 - 2020-02-07

  • ⚠️ A bug fix because Chrome 80's API change to Intl.DateTimeFormat (#1266)

0.2.11 - 2020-01-31

  • Specify package has no sideEffects (#1233)

0.2.0 - 2019-09-13

Added

  • Add isLessThanOneMinute, isLessThanOneHour, isLessThanOneDay, isLessThanOneWeek, and isLessThanOneYear functions (#989)

0.1.15 - 2019-04-17

Changed

  • Improve performance of formatDate to use memoized DateTimeFormat. (#643)

0.1.7 - 2019-01-09

  • Start of Changelog