Releases: krutoo/utils
Releases · krutoo/utils
0.0.34
🚀 Features
- Inline sources added to package for better DX (#202)
🐛 Bug Fixes
- (react)
useDependencyreturn type fix (#201) - Change licence from
Apache-2.0toMIT(#204) - Change license in
package-lock.json(#205) - (react)
useDragAndDrophandles scrolling by touch inside element (#209)
💼 Other
📚 Documentation
- (misc) Plural code example fix (#203)
⚡ Performance
- (misc)
keysoptimized (#207)
⚙️ Miscellaneous Tasks
- npm audit fix (#210)
Full Changelog: 0.0.33...0.0.34
0.0.33
🚀 Features
- (math) [breaking]
scaleRectToCoverremoved in favor ofscaleRectToFit(#191) - (misc) [breaking]
forEachPairandmergeKeysremoved in favor ofpairs/keysto reduce package size (#193) - (react) [breaking] React queries revision (#195)
- (math) [breaking]
toShuffledremoved in favor ofshuffleto reduce package size (#197) - (react) [breaking]
usePreviousStateremoved because not commonly used (#199) - (misc) [breaking]
memoReturnArrayremoved because not commonly used (#200)
🐛 Bug Fixes
- (react) Types fixes in react utils and components (#198)
🚜 Refactor
- Some optimizations in DI container and
Portal/Lifecycle(#196)
📚 Documentation
- Docs and JSDoc improvements (#192)
🧪 Testing
- Some unit-tests added (#194)
Full Changelog: 0.0.32...0.0.33
0.0.32
🚀 Features
- [breaking] Deprecated utils removed (#178)
- (math)
scaleRectToFitstrategy option (contain/cover) (#183) - (rspack)
nodeExternalsadded (#185) - (rspack)
pluginExecnow usesspawn()and has new options (#186)
🐛 Bug Fixes
- (react) Hooks optimizations (#181)
💼 Other
- Unused code removed, build optimized for docs/e2e (#184)
📚 Documentation
⚙️ Miscellaneous Tasks
0.0.31
🚀 Features
- (misc)
wait()can be aborted by AbortController (#162) - (di) DI utils added (#165)
- (react)
ContainerContextand useDependency added (#166) - (rspack)
pluginImportMetaEnvnow accepts function as source (#167) - (react)
useQuerynow uses useIsomorphicLayoutEffect under the hood (#174) - (react) React contexts now has displayName (#175)
🐛 Bug Fixes
- (react)
useDragAndDropnow don't preventstouchstartby default (#171)
💼 Other
eslint-plugin-react-hooksupdated (#172)
🚜 Refactor
- ESLint rule
object-shorthandadded (#161)
📚 Documentation
- (rspack) Typings example updated for
pluginReactSVG(#164) - Store page path updated,
keyscode example (#170) - Docs engine updated (#173)
⚙️ Miscellaneous Tasks
- npm audit fix (#160)
- npm audit fix (#163)
- npm audit fix (#168)
- Setup script added, vscode settings removed (#169)
- npm audit fix (#176)
- npm audit fix (#177)
Full Changelog: 0.0.30...0.0.31
0.0.30
0.0.29
0.0.28
0.0.27
🚀 Features
- (react)
useMountedadded (#136) - (react)
useMutationnow usesQueryMangerContext(#138) - (react)
useIntersectionthreshold shallow equality,useWindowSizedeprecated (#140) - (math)
Vector2new methods added (#141) - (types) exported declaration files added (#142, #143, #147)
- (react)
useStorageItem: defaultValue, storage function handle fix (#145)
🐛 Bug Fixes
- (misc)
TimerPoolsetInterval() fix (#137)
💼 Other
- Reuse .d.ts files for both esm and cjs dist files (#150)
🚜 Refactor
- (misc)
isShallowEqualmicro refactor (#141)
📚 Documentation
- (react) React hooks docs improvements (#140)
- (math)
Vector2docs updates (#141) - Code blocks now have titles (#148)
🧪 Testing
- (dom)
getPositionedParentOffsete2e-tests updated (#144) - (react) Some SSR tests for
PortalanduseStorageItem(#149)
⚙️ Miscellaneous Tasks
- Brilliant
ls-lintadded tolintscript (#139) - Unit-tests now has required coverage (#141)
- ESLint config rewritten in TS (#146)
Full Changelog: 0.0.26...0.0.27
0.0.26
🚀 Features
- (react)
useLatestRefadded,useIdentityRefdeprecated (#123) - (math)
scaleRectToFit,scaleRectToCoveradded,scaleToFitdeprecated (#130)
💼 Other
- Deps updated in root, docs, tests-e2e (#134)
📚 Documentation
- Actualization and enhancements (#124)
- Docs engine updated, search added, some typos/fixes (#125)
- (react) Context and testing info added (#126)
- Build fix, hooks info updated (#129)
- (math)
scaleRectToFit/Coveradded,scaleToFitdeprecated (#132)
🧪 Testing
- Test run script moved to file (#127)
- Naming convention changed (#128)
- Now concurrently by default, some fixes (#135)
⚙️ Miscellaneous Tasks
devEnginesadded,fast-globremoved (#133)
Full Changelog: 0.0.25...0.0.26
0.0.25
🚀 Features
- (react)
useTransitionStatushook added (#114) - (react)
useBoundingClientRectis deprecated (#115) - (misc)
mergeKeysandidentityadded (#117) - (misc)
TimerPoolnow exports typeTimerPoolEntry(#118) - (misc)
keysfunction added (#119)
📚 Documentation
- (math)
lerpinteractive demo added (#113) - Some fixes and interactive demos (#116)
- Some interactive demos and fixes (#120)
- Broken pages fix, typecheck in CI (#121)
⚙️ Miscellaneous Tasks
- npm audit fix (#122)
Full Changelog: 0.0.24...0.0.25