Skip to content

Releases: jonahsnider/convert

v2.1.1

27 Jun 13:51
98a16b2
Compare
Choose a tag to compare

2.1.1 (2021-06-27)

Bug Fixes

  • typings: fix TS1254 compilation errors (98a16b2)

v2.1.0

27 Jun 13:24
16fffb1
Compare
Choose a tag to compare

2.1.0 (2021-06-27)

Features

  • rewrite for bundle size and add "convert to best" (#209) (16fffb1)

v2.0.0

18 Jun 04:24
3403f87
Compare
Choose a tag to compare

2.0.0 (2021-06-18)

Features

  • change return type of convert function (cfa2a04)
  • rename type exports (160fb4b)

BREAKING CHANGES

  • The type Unit was renamed to Conversion
    The enum UnitFamilies was renamed to UnitFamily
  • The convert function has been changed from convert(quantity).from(unit).to(unit) to convert(quantity, unit).to(unit. If you are using TypeScript the updated return types are also slightly different but should not introduce compiler errors.

v1.9.1

25 May 05:20
c7c0a4d
Compare
Choose a tag to compare

1.9.1 (2021-05-25)

Performance Improvements

  • inline invariant function (883c483)

v1.9.0

12 May 21:16
0149137
Compare
Choose a tag to compare

1.9.0 (2021-05-12)

Features

  • add better error message for accidental time -> distance conversion during development (0149137)

v1.8.3

13 Apr 19:33
468865e
Compare
Choose a tag to compare

1.8.3 (2021-04-13)

Performance Improvements

  • remove exports field because it exposes unoptimized builds (468865e)

v1.8.2

20 Mar 06:12
0f8a2ee
Compare
Choose a tag to compare

1.8.2 (2021-03-20)

Bug Fixes

  • fix module exports for Node.js (0f8a2ee)

v1.8.1

15 Mar 23:51
6187b0e
Compare
Choose a tag to compare

1.8.1 (2021-03-15)

Performance Improvements

  • temperature: write -x/y as x/-y to prevent expansion (6fb41ff)

v1.8.0

05 Mar 04:55
8adc62c
Compare
Choose a tag to compare

1.8.0 (2021-03-05)

Features

v1.7.1

05 Mar 02:53
4cf773a
Compare
Choose a tag to compare

1.7.1 (2021-03-05)

Bug Fixes

  • convertMany: allow converting units containing numbers (6581876)
  • convertMany: support negative numbers and leading . (14d923f)