Skip to content

Releases: krutoo/utils

0.0.34

28 Feb 17:01
60d05b2

Choose a tag to compare

🚀 Features

  • Inline sources added to package for better DX (#202)

🐛 Bug Fixes

  • (react) useDependency return type fix (#201)
  • Change licence from Apache-2.0 to MIT (#204)
  • Change license in package-lock.json (#205)
  • (react) useDragAndDrop handles scrolling by touch inside element (#209)

💼 Other

  • Remove devEngines, devDependencies, scripts on prepack (#206)
  • Less tsimp in scripts (#208)

📚 Documentation

  • (misc) Plural code example fix (#203)

⚡ Performance

  • (misc) keys optimized (#207)

⚙️ Miscellaneous Tasks

  • npm audit fix (#210)

Full Changelog: 0.0.33...0.0.34

0.0.33

05 Feb 20:22
6f104cd

Choose a tag to compare

🚀 Features

  • (math) [breaking] scaleRectToCover removed in favor of scaleRectToFit (#191)
  • (misc) [breaking] forEachPair and mergeKeys removed in favor of pairs/keys to reduce package size (#193)
  • (react) [breaking] React queries revision (#195)
  • (math) [breaking] toShuffled removed in favor of shuffle to reduce package size (#197)
  • (react) [breaking] usePreviousState removed because not commonly used (#199)
  • (misc) [breaking] memoReturnArray removed 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

10 Jan 19:30
4dc462f

Choose a tag to compare

🚀 Features

  • [breaking] Deprecated utils removed (#178)
  • (math) scaleRectToFit strategy option (contain/cover) (#183)
  • (rspack) nodeExternals added (#185)
  • (rspack) pluginExec now uses spawn() and has new options (#186)

🐛 Bug Fixes

  • (react) Hooks optimizations (#181)

💼 Other

  • Unused code removed, build optimized for docs/e2e (#184)

📚 Documentation

  • Docs improvements (#180)
  • (rspack) pluginExec example (#187)

⚙️ Miscellaneous Tasks

  • npm audit fix (#179)
  • npm audit fix (#182)
  • npm publish workflow fix (#188)

0.0.31

25 Nov 11:57
52cd1ea

Choose a tag to compare

🚀 Features

  • (misc) wait() can be aborted by AbortController (#162)
  • (di) DI utils added (#165)
  • (react) ContainerContext and useDependency added (#166)
  • (rspack) pluginImportMetaEnv now accepts function as source (#167)
  • (react) useQuery now uses useIsomorphicLayoutEffect under the hood (#174)
  • (react) React contexts now has displayName (#175)

🐛 Bug Fixes

  • (react) useDragAndDrop now don't prevents touchstart by default (#171)

💼 Other

  • eslint-plugin-react-hooks updated (#172)

🚜 Refactor

  • ESLint rule object-shorthand added (#161)

📚 Documentation

  • (rspack) Typings example updated for pluginReactSVG (#164)
  • Store page path updated, keys code 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

07 Oct 15:44
5f7f208

Choose a tag to compare

🚀 Features

  • "Nano store" implementation added (#156, #158)

💼 Other

  • BREAKING Switch to ESM only format (#157)

📚 Documentation

  • Docs for store utils added (#159)

Full Changelog: 0.0.29...0.0.30

0.0.29

29 Sep 19:36
2f4b9ac

Choose a tag to compare

🐛 Bug Fixes

  • (rspack) pluginCSS option extract work fixed (#155)

Full Changelog: 0.0.28...0.0.29

0.0.28

26 Sep 15:31
555478b

Choose a tag to compare

🚀 Features

  • (react) Observe hooks now has extraDeps option (#152)
  • (rspack) pluginExec added (#153)

🚜 Refactor

  • Examples removed from JSDoc to reduce package size (#151)

📚 Documentation

  • pluginExec docs and some fixes (#154)

Full Changelog: 0.0.27...0.0.28

0.0.27

12 Sep 18:18
0a685bd

Choose a tag to compare

🚀 Features

  • (react) useMounted added (#136)
  • (react) useMutation now uses QueryMangerContext (#138)
  • (react) useIntersection threshold shallow equality, useWindowSize deprecated (#140)
  • (math) Vector2 new methods added (#141)
  • (types) exported declaration files added (#142, #143, #147)
  • (react) useStorageItem: defaultValue, storage function handle fix (#145)

🐛 Bug Fixes

  • (misc) TimerPool setInterval() fix (#137)

💼 Other

  • Reuse .d.ts files for both esm and cjs dist files (#150)

🚜 Refactor

  • (misc) isShallowEqual micro refactor (#141)

📚 Documentation

  • (react) React hooks docs improvements (#140)
  • (math) Vector2 docs updates (#141)
  • Code blocks now have titles (#148)

🧪 Testing

  • (dom) getPositionedParentOffset e2e-tests updated (#144)
  • (react) Some SSR tests for Portal and useStorageItem (#149)

⚙️ Miscellaneous Tasks

  • Brilliant ls-lint added to lint script (#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

16 Aug 06:22
028b8ba

Choose a tag to compare

🚀 Features

  • (react) useLatestRef added, useIdentityRef deprecated (#123)
  • (math) scaleRectToFit, scaleRectToCover added, scaleToFit deprecated (#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/Cover added, scaleToFit deprecated (#132)

🧪 Testing

  • Test run script moved to file (#127)
  • Naming convention changed (#128)
  • Now concurrently by default, some fixes (#135)

⚙️ Miscellaneous Tasks

  • devEngines added, fast-glob removed (#133)

Full Changelog: 0.0.25...0.0.26

0.0.25

21 Jul 14:19
2e9dca6

Choose a tag to compare

🚀 Features

  • (react) useTransitionStatus hook added (#114)
  • (react) useBoundingClientRect is deprecated (#115)
  • (misc) mergeKeys and identity added (#117)
  • (misc) TimerPool now exports type TimerPoolEntry (#118)
  • (misc) keys function added (#119)

📚 Documentation

  • (math) lerp interactive 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