Skip to content

Releases: glhd/hooks

0.5.0

13 Mar 20:00
Compare
Choose a tag to compare

Changed

  • You can now pass a slot to <x-hook /> to set the fallback content

Full Changelog: 0.4.0...0.5.0

0.4.0

13 Mar 14:36
Compare
Choose a tag to compare

Changed

  • Updated HookRegistry to be scoped rather than a singleton, so that the registry resets each request

Full Changelog: 0.3.0...0.4.0

0.3.0

12 Mar 20:21
Compare
Choose a tag to compare

Adds Laravel 11 support and tests.

Full Changelog: 0.2.0...0.3.0

0.2.0

12 Feb 18:57
Compare
Choose a tag to compare

Added

  • Added support for view hooks as closures that return a view
  • Added support for explicitly setting the view name in <x-hook>

0.1.0

24 Jan 17:08
Compare
Choose a tag to compare

Changed

  • Added Context and moved stopPropagation() to it
  • Refactored how hooks are registered in the HookRegistry

0.0.4

22 Jan 17:21
Compare
Choose a tag to compare

Changed

  • We now filter out results that are null

0.0.3

21 Jan 21:05
Compare
Choose a tag to compare

Added

  • Made hook calls fluent

0.0.2

21 Jan 20:51
Compare
Choose a tag to compare

Changed

  • Renamed Breakpoints to Hooks
  • Removed unused global hook() helper

0.0.1

21 Jan 15:50
Compare
Choose a tag to compare

Initial release