Skip to content

Releases: krutoo/utils

0.0.36

19 Mar 15:50
2de691b

Choose a tag to compare

🐛 Bug Fixes

  • (react) useDragAndDrop pointer release events handle fix (#222)

Full Changelog: 0.0.35...0.0.36

0.0.35

18 Mar 13:08
2ee41cd

Choose a tag to compare

🚀 Features

  • (router) Basic router implementation added (#211)
  • (dom) findClosest added (#218)
  • (dom) findAncestor deprecated (#221)
  • (react) [breaking] useDragAndDrop revision (#219)

🐛 Bug Fixes

  • (react) useNavigate().go() missing call context (#217)
  • (misc) once exported from /misc and root (#220)

💼 Other

  • tsimp replaced by @krutoo/ts-loader (#213)

🚜 Refactor

  • Import order plugin for Prettier added (#216)

📚 Documentation

  • Router docs fixes (#214)
  • Some docs and JSDoc improvements (#215)

Full Changelog: 0.0.34...0.0.35

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