Released on July 5th, 2024.
- Add support for orderBy. (toss#123)
- Add support for invert. (toss#125)
- Add support for inRange. (toss#124)
Released on July 3rd, 2024.
- Add support for unzipWith. (toss#113)
- Add support for forEachRight. (toss#119)
- Add support for countBy. (toss#117)
- Add support for without. (toss#115)
- Add support for fill. (toss#109)
- Add support for sampleSize. (toss#101)
- Add support for meanBy. (toss#104)
- Accept number and symbol keys in keyBy and groupBy (toss#98, toss#99)
Released on June 30th, 2024.
- Publish package on JSR.
Released on June 30th, 2024.
- Add support for keyBy. (toss#93).
- Add support for zipObject. (toss#92).
- Add support for compact. (60ae59b)
- Add support for mean. (715bc60)
Released on June 28th, 2024.
- Add support for range. (toss#77, 2db11d8).
- Add support for minBy (toss#71).
- Add support for maxBy (toss#64).
- Enforce stricter argument types in
pickBy
andomitBy
. (toss#60) - Fix a bug in
difference
where one array parameter was not readonly. (toss#83) - Fix a bug in
round
where it incorrectly accepts floating-point numbers asprecision
. (toss#79)
Released on June 15th, 2024.
- Add support for random. (toss#53)
- Add support for randomInt. (99a34e4)
- Add support for using AbortSignals to cancel the
Promise
returned bydelay
. (toss#52)
- Optimized
uniqBy
. (60e7974)
Released on June 15th, 2024.
- Fixed a bug in
dropWhile
where it incorrectly returned the entire array when no elements matched the predicate. (toss#49)
Released on June 14th, 2024.
- Add support for using AbortSignals to cancel
debounce
d functions. (toss#45)
- Optimize the time complexity of
intersection
. (toss#47)
Released on June 13th, 2024.
- Add support for
readonly
arrays in array utilities. (toss#32, e595e5e) - Optimize the time complexity of
uniq
. (toss#40) - Optimize the time complexity of
intersectionBy
. (toss#44)
Released on June 13th, 2024.
- Ensure that the
omit
andpick
functions only accept plain JavaScript objects as arguments. (toss#35)
Released on June 8th, 2024.
- Added the
noop
function. (https://github.com/toss/es-toolkit/commit/678028dd3d60509b99dfec47aed7f1088140d19d)
- Optimized the
difference
anddifferenceBy
functions for better performance with large arrays. (toss#27, toss#28)
- Fixed
shuffle
to ensure it does not modify the original array. (toss#29)
Released on June 5th, 2024.
- Support passing arguments to throttled and debounced functions. (toss#26)
Released on June 4th, 2024.
- Provide correct type declarations for ECMAScript Modules. (toss#21)
Released on June 3rd, 2024.
- Provide correct types for
"module": "Node"
,"Node10"
, and"Node16"
. (toss#16)
Initial release. Released on May 31th, 2024.