Skip to content

4.25.0

Choose a tag to compare

@scottyzen scottyzen released this 25 Jun 22:17
· 155 commits to master since this release

v4.25.0 — Location Hooks

This release introduces the new Location Hooks system for WooNuxt, making it easier to inject custom UI into predefined storefront locations without forking core components.

Highlights

  • New Location Hooks runtime for composable, targeted storefront customization.
  • New HookOutlet rendering path for hook locations with improved behavior and safety.
  • Stronger TypeScript support for hook names and hook context typing.
  • Nuxt layer-compatible hook discovery and runtime loading.
  • Hook examples moved out of the core repo and into dedicated docs for cleaner maintenance.

What’s New

Location Hooks System

  • Adds a dedicated hooks architecture with typed registration and rendering flow.
  • Supports runtime registration APIs for cleaner extension points.
  • Designed to work with SSR/SSG and Nuxt layer setups.

Developer Experience

  • Introduces typed hook constants and safer hook-name usage.
  • Refines outlet rendering logic and improves hook behavior handling.
  • Cleans up and simplifies hook implementation internals.

Documentation

  • Adds dedicated hooks documentation in WooNuxt docs.
  • Moves large examples out of README and links to focused guides.
  • Clarifies registration patterns and usage examples.

Also Included In This Release Line

This tag includes the latest maintenance and fixes from the 4.24.x line that were merged forward, including dependency updates and storefront stability improvements.

Notes

  • No breaking migration steps are required for existing stores that are not using hooks yet.
  • If you are extending WooNuxt, start with the new hooks guide and move custom UI injections to hook locations over time.

Full Changelog: 4.24.0...v4.25.0