Skip to content

Latest commit

 

History

History
239 lines (139 loc) · 15.7 KB

CHANGELOG.md

File metadata and controls

239 lines (139 loc) · 15.7 KB

es-toolkit Changelog

Version v1.14.0

Released on August 9th, 2024.

Version v1.13.1

Released on July 20th, 2024.

  • Use the compatibility layer es-toolkit/compat in legacy CDN builds.

Version v1.13.0

Released on July 20th, 2024.

es-toolkit can now be used in various CDNs, like unpkg and jsdelivr. See more in our usage docs

Features

Lodash Compatibility

Version v1.12.0

Released on July 19th, 2024.

  • Fixed a bug where es-toolkit/compat was not available in modern Node.js environments.
  • Added support for max and min in our compatibility layer es-toolkit/compat. (e1e6e38)

Version v1.11.0

Released on July 18th, 2024.

Introducing es-toolkit/compat

We're introducing es-toolkit/compat, a new module designed as a drop-in replacement for lodash. It replicates lodash's API, making it easier to switch between the two libraries.

es-toolkit/compat is undergoing rigorous testing using real lodash test cases. Initial benchmarks suggest it's typically 5% slower and increases bundle size by 10% compared to the original es-toolkit.

This module is intended to facilitate a smooth transition and should be replaced with the original es-toolkit for optimal performance once migration is complete.

For more information, see our compatibility documentation.

Features

Bug fixes

  • Fixed drop and dropRight incorrectly accepting negative integers. (toss#218)
  • Fixed invert not to invert inherited properties. (toss#221)

Performance Improvements

  • Improved performance for dropRightWhile. (toss#220)

Version v1.10.1

Released on July 15th, 2024.

Version v1.10.0

Released on July 14th, 2024.

Features

Performance Improvements

  • Optimize the performance of isNil by simplifying its check. (489ac76)
  • Optimize the performance of sum. (toss#155)

Version v1.9.0

Released on July 10th, 2024.

Version v1.8.0

Released on July 5th, 2024.

Version v1.7.1

Released on July 3rd, 2024.

Version v1.6.1

Released on June 30th, 2024.

  • Publish package on JSR.

Version v1.6.0

Released on June 30th, 2024.

Features

Version v1.5.0

Released on June 28th, 2024.

Features

Bug fixes

  • Enforce stricter argument types in pickBy and omitBy. (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 as precision. (toss#79)

Version v1.4.0

Released on June 15th, 2024.

Features

Performance Optimizations

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. (toss#49)

Version v1.3.0

Released on June 14th, 2024.

Features

  • Add support for using AbortSignals to cancel debounced functions. (toss#45)

Performance Optimizations

  • Optimize the time complexity of intersection. (toss#47)

Version v1.2.2

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)

Version v1.2.1

Released on June 13th, 2024.

  • Ensure that the omit and pick functions only accept plain JavaScript objects as arguments. (toss#35)

Version v1.2.0

Released on June 8th, 2024.

Features

Performance Improvements

  • Optimized the difference and differenceBy functions for better performance with large arrays. (toss#27, toss#28)

Bug fixes

  • Fixed shuffle to ensure it does not modify the original array. (toss#29)

Version v1.1.0

Released on June 5th, 2024.

  • Support passing arguments to throttled and debounced functions. (toss#26)

Version v1.0.4

Released on June 4th, 2024.

  • Provide correct type declarations for ECMAScript Modules. (toss#21)

Version v1.0.3

Released on June 3rd, 2024.

  • Provide correct types for "module": "Node", "Node10", and "Node16". (toss#16)

Version v1.0.2

Initial release. Released on May 31th, 2024.