Releases: jonahsnider/convert
Releases · jonahsnider/convert
v2.1.1
2.1.1 (2021-06-27)
Bug Fixes
- typings: fix TS1254 compilation errors (98a16b2)
v2.1.0
2.1.0 (2021-06-27)
Features
- rewrite for bundle size and add "convert to best" (#209) (16fffb1)
v2.0.0
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
1.9.1 (2021-05-25)
Performance Improvements
- inline invariant function (883c483)
v1.9.0
1.9.0 (2021-05-12)
Features
- add better error message for accidental time -> distance conversion during development (0149137)
v1.8.3
1.8.3 (2021-04-13)
Performance Improvements
- remove exports field because it exposes unoptimized builds (468865e)
v1.8.2
1.8.2 (2021-03-20)
Bug Fixes
- fix module exports for Node.js (0f8a2ee)
v1.8.1
1.8.1 (2021-03-15)
Performance Improvements
- temperature: write -x/y as x/-y to prevent expansion (6fb41ff)
v1.8.0
1.8.0 (2021-03-05)
Features
v1.7.1
1.7.1 (2021-03-05)
Bug Fixes
- convertMany: allow converting units containing numbers (6581876)
- convertMany: support negative numbers and leading . (14d923f)