Skip to content

Releases: rasteric/hooks

LIFO order execution

21 Jul 14:24
Compare
Choose a tag to compare

This release executed hooks in the right order, which is LIFO. The last added hook is executed first, then the second last, and so on.

Exec now uses FIFO order

21 Jul 14:15
Compare
Choose a tag to compare

Exec now uses FIFO order, although this is not yet reflected in the manual.

API updated to transmit optional arguments as one array

02 Jun 13:09
Compare
Choose a tag to compare

The procedures must now take one array as argument, which contains all the arguments that were passed to hooks.Exec.

Removed WithHookSuspended

10 Mar 17:04
Compare
Choose a tag to compare
Pre-release

Cleaned up code, removed WithHookSuspended, added tests and checked for concurrency bugs.

Hooks with suspension option

10 Mar 11:49
Compare
Choose a tag to compare
Pre-release

This release allows to call a function using WithHookSuspended to ensure that the hook is not called within the function call.

Internal pre-release

05 Mar 17:33
Compare
Choose a tag to compare
Internal pre-release Pre-release
Pre-release

First release for internal use.