Skip to content

Latest commit

 

History

History
182 lines (102 loc) · 7.69 KB

CHANGELOG.md

File metadata and controls

182 lines (102 loc) · 7.69 KB

Changelog

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

7.0.2 (2024-07-21)

Bug Fixes

  • cannot get types in jest (4a7344f)

7.0.1 (2024-07-21)

Bug Fixes

  • add back main entry point as eslint-plugin-import does not support conditional exports (42ef97c)

7.0.0 (2024-07-21)

⚠ BREAKING CHANGES

  • only support conditional exports for entry point
  • drop support for umd build
  • require node ^18.12.0 || >=20.9.0

Bug Fixes

  • temporarily remove husky as failed to install by npm 10.4.0 (c300cc1)

  • require node ^18.12.0 || >=20.9.0 (3ebb83e)

build

  • drop support for umd build (3933072)
  • only support conditional exports for entry point (f6c23c1)

6.0.1 (2023-09-07)

Bug Fixes

  • types: add mts types declaration file (6881520)

6.0.0 (2023-09-07)

⚠ BREAKING CHANGES

  • require node ^16.14.0 || >=18.12.0
  • drop nodejs 14.17 and 18.11
  • drop node.js v12 and v17
  • only support node ^12.22.0 || ^14.17.0 || >=16.13.0

Bug Fixes

  • compatible with typescript node16 module resolution (734187d)

  • use TypeError for unknown returnType/thresholdType errors (7fd3e3e)

  • bump node version requirement (e656c70)

  • drop node.js v12 and v17 (e56e7d4)

  • drop nodejs 14.17 and 18.11 (a9d907e)

  • require node ^16.14.0 || >=18.12.0 (7e04b0b)

5.0.0 (2021-05-27)

⚠ BREAKING CHANGES

4.2.0 (2021-04-25)

Features

4.1.0 (2020-06-18)

Features

  • return different type depends on options.returnType (1a2c0ce)

Bug Fixes

  • do not use object type as eslint adviced (27315f6)

4.0.0 (2020-02-06)

⚠ BREAKING CHANGES

  • default enable deburr
  • drop nodejs < 10.13

Features

3.1.2 (2019-07-29)

Bug Fixes

  • do not throw error when matched item is not string (656f555)

3.1.1 (2019-06-09)

Build System

  • greatly reduce bundle size by rely less on ramda (69ec2b6)

3.1.0 (2019-06-07)

Build System

  • set moduleResolution to node (e7e6fb4)

Features

Tests

  • add type-coverage to ensure typescript coverage (a19cf85)

3.0.0 (2019-04-05)

Bug Fixes

chore

  • only support node >= 6.9 (8bff8be)

Features

  • accept readonly arguments (c182207)

BREAKING CHANGES

  • require TypeScript >=3.4
  • drop node >= 4.2 < 6.9

2.0.4 (2019-03-17)

Bug Fixes

  • Revert "fix(deps): update dependency leven to v3 (#132))" (b500e58) as leven v3 doesn't support node 4

2.0.3 (2019-03-17)

Bug Fixes

2.0.2 (2019-02-06)

Bug Fixes

  • do not include test files in built package (e35bbac)
  • only allow object and string for function matchItemProcessor (ce656ee)

2.0.1 (2019-02-02)

Bug Fixes

  • only allow object and string for matchList (1e58e70)

2.0.0 (2018-10-29)

Features

  • export ReturnTypeEnums and ThresholdTypeEnums (27a6b37)
  • support typescript (1cff536)
  • added "sideEffects": false flag to support tree shaking (fb31fac)

BREAKING CHANGES

  • matchPath use Array of string/number instead of string concatenated by .
  • rename trimSpace to trimSpaces
  • trimSpaces default value changed to true
  • 'random-closest-match' is removed from ReturnTypeEnums
  • schema on arguments are removed as it now depends on typescript checking
  • didYouMean function is exported under default key in export object