Skip to content

v2.3.0: Improve `utils/clone()`; add lint rules; relax TS peer dependency

Latest
Compare
Choose a tag to compare
@nchevsky nchevsky released this 14 Mar 22:52

⚠️ POTENTIALLY DISRUPTIVE CHANGES

  • Enable lint rules @typescript-eslint/prefer-find, @typescript-eslint/prefer-string-starts-ends-with, react/checked-requires-onchange-or-readonly.

🌎 External changes

  • Improve utils/clone() by:
    • allowing property descriptors to change the types of existing properties, and
    • enhancing the return type to include new properties and reflect changes to existing properties.
  • Relax typescript peer dependency semver to >= 5.2.

🏠 Internal changes

  • Upgrade dependencies.