Releases: toss/es-toolkit
v1.31.0
Released on December 27th, 2024.
- Added support for the windowed, remove and asyncNoop functions.
- Introduced compatibility functions for pullAll, subtract, isBuffer, and methodOf.
- Enhanced the performance of pull when working with large arrays.
- Resolved an issue where reverse was not being exported in our compatibility library.
- Updated groupBy to properly handle keys like
toString
orvalueOf
. - Fixed merge to correctly merge values when
target
or any of its values arenull
orundefined
.
We sincerely thank @T3sT3ro, @D-Sketon, @tuhm1, @willmanduffy, @apeltop, @aken-you, @SaeWooKKang, and @ssi02014 for their contributions. We appreciate your great efforts!
v1.30.1
v1.30.0
Released on December 13th, 2024.
- Introduced support for pull.
- Added compatibility functions for map, range, rangeRight, differenceWith, nth, noop, identity, keys, propertyOf, nthArg, delay, toPlainObject, unary, once, after, takeRightWhile, escapeRegExp, unescape, upperFirst, lowerFirst, deburr, lt, lte, toLower, invoke, method, reverse, now, findKey, stubArray, stubFalse, stubObject, stubString, and stubTrue.
We sincerely thank @healtheloper, @mass2527, @D-Sketon, @eunhyulkim, @scato3, @Na-hyunwoo, and @dasom-jo for their contributions. We appreciate your great efforts!
v1.29.0
Released on December 1st, 2024.
- Introduced support for cloneDeepWith.
- Added a compatibility function for lastIndexOf.
- Fixed an issue in flattenObject where nested objects in arrays were not flattened correctly.
We sincerely thank @nnnnoel and @evan-moon for their contributions. We appreciate your great efforts!
v1.28.0
Released on November 30th, 2024.
- Added compatibility functions for gt, gte, toArray, toUpper, add, assignIn (extend), and isElement.
- Introduced new compatibility types for
DebouncedFunc
. - Enhanced our function types to accept
PropertyKey
instead of juststring
for property keys. - Corrected flatMap to accurately infer return types when the
depth
parameter is omitted. - Resolved issues with incorrect types for partial and partialRight.
- Fixed intersectionBy, differenceBy, and differenceWith to properly calculate differences between various element types.
- Ensured that words is now correctly exported in our compatibility library.
We sincerely thank @D-Sketon, @mass2527, @1eeminhyeong, @chhw130, @DONG-8, @filipsobol, @kim-dongho, @nnnnoel, @pbstar, and @jsparkdev for their contributions. We appreciate your great efforts!
v1.27.0
Released on November 10th, 2024.
- Added support for findKey and isSubsetWith.
- Introduced compatibility functions for words, at, differenceBy, uniqBy, forEach, each, sum, sumBy, union, zip, unzip, iteratee, isEmpty, and replace.
- Fixed a bug in cloneDeep that prevented it from correctly cloning object prototypes.
- Improved performance for at.
- Enhanced performance for toPath, get, set, unset, has, orderBy, chunk, difference, drop, dropRight, dropWhile, findLastIndex, head, last, sample, tail, take, and takeRight in our compatibility library.
We sincerely thank @scato3, @ssi02014, @filipsobol, @mass2527, @gyumong, @D-Sketon, @dayongkr, @kyvg, @Na-hyunwoo, @kaehehehe, and @bhollis for their contributions. Special thanks to @cruelladevil for improving the documentation. We appreciate your great efforts!
v1.26.1
v1.26.0
Released on October 24th, 2024.
- Added support for invariant, identity, median, and medianBy.
- Added compatibility functions for template, uniqueId, intersectionBy, orderBy, sortBy, and some.
- Made it possible to use drop, dropRight, every, take, and takeRight directly as iteratees, allowing for usage like
arr.map(drop)
. - Corrected merge to disallow primitive values such as numbers or strings.
This version includes contributions from @dayongkr, @Na-hyunwoo, @ssi02014, @kaehehehe, @jakvbs, @D-Sketon, and @seonghun0828. Thank you for your valuable contributions!
v1.25.2
Released on October 16th, 2024.
- Fixed a problem with isJSONValue, isJSONArray, and isJSONObject that led to circular dependencies.
- Enhanced flatten, flattenDeep, flattenDepth, slice, and zipObjectDeep to work with array-like objects in our compatibility library, ensuring they are fully compatible with lodash.
This version includes contributions from @D-Sketon. Thank you for your valuable contributions!
v1.25.1
Released on October 15th, 2024.
- Resolved an issue in cloneDeep that incorrectly copied properties from the
target
when they were read-only. - Updated every, filter, find, findIndex, findLastIndex, indexOf, and join to now accept array-like objects and a
fromIndex
parameter, making them compatible with lodash.
This version includes contributions from @D-Sketon. Thank you for your valuable contributions!