mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-28 12:05:41 +03:00
3.7 KiB
3.7 KiB
es-toolkit Changelog
Version v1.5.0
Released on June 28th, 2024.
Features
- Add support for range. (https://github.com/toss/es-toolkit/pull/77, 2db11d8).
- Add support for minBy (https://github.com/toss/es-toolkit/pull/71).
- Add support for maxBy (https://github.com/toss/es-toolkit/pull/64).
Bug fixes
- Enforce stricter argument types in
pickBy
andomitBy
. (https://github.com/toss/es-toolkit/pull/60) - Fix a bug in
difference
where one array parameter was not readonly. (https://github.com/toss/es-toolkit/pull/83) - Fix a bug in
round
where it incorrectly accepts floating-point numbers asprecision
. (https://github.com/toss/es-toolkit/pull/79)
Version v1.4.0
Released on June 15th, 2024.
Features
- Add support for random. (https://github.com/toss/es-toolkit/pull/53)
- Add support for randomInt. (99a34e4)
- Add support for using AbortSignals to cancel the
Promise
returned bydelay
. (https://github.com/toss/es-toolkit/pull/52)
Performance Optimizations
- Optimized
uniqBy
. (60e7974)
Version v1.3.1
Released on June 15th, 2024.
- Fixed a bug in
dropWhile
where it incorrectly returned the entire array when no elements matched the predicate. (https://github.com/toss/es-toolkit/pull/49)
Version v1.3.0
Released on June 14th, 2024.
Features
- Add support for using AbortSignals to cancel
debounce
d functions. (https://github.com/toss/es-toolkit/pull/45)
Performance Optimizations
- Optimize the time complexity of
intersection
. (https://github.com/toss/es-toolkit/pull/47)
Version v1.2.2
Released on June 13th, 2024.
- Add support for
readonly
arrays in array utilities. (https://github.com/toss/es-toolkit/pull/32, e595e5e) - Optimize the time complexity of
uniq
. (https://github.com/toss/es-toolkit/pull/40) - Optimize the time complexity of
intersectionBy
. (https://github.com/toss/es-toolkit/pull/44)
Version v1.2.1
Released on June 13th, 2024.
- Ensure that the
omit
andpick
functions only accept plain JavaScript objects as arguments. (https://github.com/toss/es-toolkit/pull/35)
Version v1.2.0
Released on June 8th, 2024.
Features
- Added the
noop
function. (678028dd3d
)
Performance Improvements
- Optimized the
difference
anddifferenceBy
functions for better performance with large arrays. (https://github.com/toss/es-toolkit/pull/27, https://github.com/toss/es-toolkit/pull/28)
Bug fixes
- Fixed
shuffle
to ensure it does not modify the original array. (https://github.com/toss/es-toolkit/pull/29)
Version v1.1.0
Released on June 5th, 2024.
- Support passing arguments to throttled and debounced functions. (https://github.com/toss/es-toolkit/pull/26)
Version v1.0.4
Released on June 4th, 2024.
- Provide correct type declarations for ECMAScript Modules. (https://github.com/toss/es-toolkit/pull/21)
Version v1.0.3
Released on June 3rd, 2024.
- Provide correct types for
"module": "Node"
,"Node10"
, and"Node16"
. (https://github.com/toss/es-toolkit/pull/16)
Version v1.0.2
Initial release. Released on May 31th, 2024.