Skip to content

Releases: CoInvestor/larahook

v1.4.3

08 Apr 11:15
bfd6b8a

Choose a tag to compare

What's Changed

Full Changelog: 1.4.2...1.4.3

v1.4.2

05 Mar 12:12
71b1c23

Choose a tag to compare

What's Changed

Full Changelog: 1.4.1...1.4.2

v1.4.1

18 Jul 13:25
9d6f9c3

Choose a tag to compare

What's Changed

New Contributors

  • @Xulai made their first contribution in #11

Full Changelog: 1.4.0...1.4.1

v1.4.0

13 Jul 16:06
34f7258

Choose a tag to compare

What's Changed

  • Add clearListeners and reset methods by @thybag in #9

Full Changelog: 1.3.0...1.4.0

v1.3.0 Require Laravel 10

31 May 08:39
7cfb25c

Choose a tag to compare

What's Changed

Full Changelog: 1.2.1...1.3.0

v1.2.1 Fix multiple uses of hook in Blade template

11 Jul 18:45
aafc952

Choose a tag to compare

What's Changed

  • Fix bug with multiple hooks in a blade template by @thybag in #7

Full Changelog: 1.2.0...1.2.1

v1.2.0 Allow Laravel 9

30 May 18:44
2baea49

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.2...1.2.0

v1.1.2 - Allow without default callback

10 Jan 13:29
af11803

Choose a tag to compare

No all hooks require a default action or value. Fixes bug where not passing this would throw an error.

V1.1.1

11 Oct 13:45
64eea5a

Choose a tag to compare

Update Hook::mock logic to allow mocks to return falsey values + persist until changed.

v1.1.0

10 Oct 14:03
e215d77

Choose a tag to compare

Warning. This release introduces minor some breaking changes.

The $InitialContent param on get has been replaced by the useCallbackAsFirstListenerflag. Setting this to true will return the result of the default callback as the initial $output value.

Other changes:

  • Adds tests for blade hooks.
  • Php8 combability fix (New behaviour defaulted it to named methods)
  • Additional type checks.,