Skip to content

v5.8.1

Choose a tag to compare

@LouisMazel LouisMazel released this 21 Nov 00:38
· 113 commits to develop since this release

compare changes

🩹 Fixes

  • maz-ui: useIdleTimeout, useTimer and useMutationObserver now clean up automatically when the component unmounts (or its effectScope stops): idle listeners are removed, the timer no longer calls its callback, and the observer disconnects even if the observed element outlives the component. You no longer need onBeforeUnmount for these (e36e7f846)
  • maz-ui: The types from maz-ui/components/types (MazSize, MazColor, MazSizeUnit...) resolve again, after being broken since 5.8.0 (08ddc8e22)

💅 Refactors

  • mcp: The MCP server now suggests maz-ui composables when it finds hand-written browser logic: useDropzone or MazDropzone for @drop / @dragover and addEventListener('drop'), useSwipe or useDrag for touchstart / pointerdown listeners, useDisplayNames for new Intl.DisplayNames, and useInjectStrict for an inject followed by a throw. It also covers more VueUse functions (useTimeAgo, useTimeoutFn, useMutationObserver, usePointerSwipe) and fuse.js, leven, reading-time. The server instructions now ask agents to call search_docs before writing browser logic by hand (8fca48b60)

📦 Build

  • deps: Update 7 dependencies (patch and minor) (12d93088f)

    • @nuxt/devtools-kit ^4.1.0 -> ^4.2.0
    • dompurify ^3.4.17 -> ^3.4.18
    • libphonenumber-js ^1.13.16 -> ^1.13.17
    • marked ^18.2.0 -> ^18.2.1
    • postcss-html ^2.0.0 -> ^2.0.1
    • stylelint-config-recess-order ^7.10.0 -> ^7.10.1
    • stylelint-plugin-tailwindcss ^3.2.2 -> ^3.2.4

    Code adapted to the new versions by an AI agent (Claude Code), then checked by the project's checks.

❤️ Contributors