Changelog

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

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

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