Releases: feedzai/js-utilities
Releases · feedzai/js-utilities
v2.3.1
2.3.1 (2025-06-11)
Bug Fixes
- callIfExists: generic constraint does not accomodate specific argument types (954e640)
v2.3.0
2.3.0 (2025-06-07)
Features
- useAutoId: removed colons from react generated id (967908b)
v2.2.0
2.2.0 (2025-06-04)
Features
- make-cancelable: add support for cancelling promises using AbortController (#4) (fff898a)
v2.1.0
2.1.0 (2025-06-04)
Features
- at: added type safety to return value with generics (33bf4d7)
- callIfExists: improved type safety (7475ebf)
- getValue: improved type safety and documentation (1fe4db5)
- types: removed react-related types (5fc769d)
v2.0.0
2.0.0 (2025-06-03)
Bug Fixes
- added peerDependenciesMeta instead of optionalDependencies (6715a63)
Features
- add optional dependencies for react (88cce74)
- formatDate: adds new date helper function (26d3d34)
- hooks: refactor useAutoId for better SSR and type safety (4a99fd5)
BREAKING CHANGES
- hooks: useAutoId now always returns a string instead of string | undefined
v1.6.0
1.6.0 (2024-10-25)
Features
- clone-valid-element: added tests and improved jsdocs (a1dcb82)
- cookies: added tests and improved jsdoc (70fde77)
- useControlledState: added tests and improved jsdoc (e0919d2)
- useEnsuredForwardedRef: added tests and improved jsdoc and docs (1dc889a)
- usePageVisibility: added tests (0d85fcc)
- usePermission: added tests (ec60743)
v1.5.0
1.5.0 (2024-07-23)
Bug Fixes
Features
- useIntersection: adds new hook (b7b8a32)
v1.4.2
1.4.2 (2024-07-08)
Bug Fixes
- useCustomEventListener: changed import path from functions to hooks (fc216cb)
v1.4.1
1.4.1 (2024-07-08)
Bug Fixes
- package.json: added typesVersions entry (8ff1649)
v1.4.0
1.4.0 (2024-07-08)
Features
- useAutoId: Add support for react 18 useId hook (c15a2ba)