All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
7.0.4 (2024-09-17)
- does not include any files on last release (b899e53)
7.0.3 (2024-09-17)
- do not minify build (d91fea4)
7.0.2 (2024-07-21)
- cannot get types in jest (4a7344f)
7.0.1 (2024-07-21)
- add back main entry point as eslint-plugin-import does not support conditional exports (42ef97c)
7.0.0 (2024-07-21)
- only support conditional exports for entry point
- drop support for umd build
- require node
^18.12.0 || >=20.9.0
-
temporarily remove husky as failed to install by npm 10.4.0 (c300cc1)
-
require node
^18.12.0 || >=20.9.0
(3ebb83e)
6.0.1 (2023-09-07)
- types: add mts types declaration file (6881520)
6.0.0 (2023-09-07)
- 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
-
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)
- drop node 10 (f676176)
4.2.0 (2021-04-25)
- add mjs export (0ef2b51)
4.1.0 (2020-06-18)
- return different type depends on options.returnType (1a2c0ce)
- do not use object type as eslint adviced (27315f6)
4.0.0 (2020-02-06)
- default enable deburr
- drop nodejs < 10.13
3.1.2 (2019-07-29)
- do not throw error when matched item is not string (656f555)
3.1.1 (2019-06-09)
- greatly reduce bundle size by rely less on ramda (69ec2b6)
3.1.0 (2019-06-07)
- set moduleResolution to node (e7e6fb4)
- add type-coverage to ensure typescript coverage (a19cf85)
3.0.0 (2019-04-05)
- only support node >= 6.9 (8bff8be)
- accept readonly arguments (c182207)
- require TypeScript >=3.4
- drop node >= 4.2 < 6.9
2.0.4 (2019-03-17)
- Revert "fix(deps): update dependency leven to v3 (#132))" (b500e58) as leven v3 doesn't support node 4
2.0.3 (2019-03-17)
2.0.2 (2019-02-06)
- do not include test files in built package (e35bbac)
- only allow object and string for function
matchItemProcessor
(ce656ee)
2.0.1 (2019-02-02)
- only allow object and string for
matchList
(1e58e70)
2.0.0 (2018-10-29)
- export ReturnTypeEnums and ThresholdTypeEnums (27a6b37)
- support typescript (1cff536)
- added
"sideEffects": false
flag to support tree shaking (fb31fac)
- matchPath use Array of string/number instead of string concatenated by
.
- rename
trimSpace
totrimSpaces
trimSpaces
default value changed totrue
'random-closest-match'
is removed fromReturnTypeEnums
- schema on arguments are removed as it now depends on typescript checking
didYouMean
function is exported underdefault
key in export object