Skip to content

Releases: joepdooper/callbackhooks

Hang on: version 2.0.1

09 May 22:52
Compare
Choose a tag to compare
v2.0.1

Update package.json

Hang on: version 2.0.0

09 May 22:30
Compare
Choose a tag to compare

What's New

  • Class-based Refactor: The library is now built around a class, allowing you to create multiple independent instances of CallbackHooks.
  • Enhanced Flexibility: You can now manage callbacks in isolated contexts, perfect for modular applications.
  • Cleaner and More Intuitive API: The updated API offers a more consistent and modern approach for adding and calling hooks.
  • Improved Call Management: Trigger events with a streamlined, easy-to-use method that supports better error handling and performance.
  • Backward Compatibility: All existing functionality is still supported, but you can now enjoy a more extensible architecture.

This release offers a smoother, more flexible API for managing events, making sure that your hooks are always ready to be called.

Upgrade Notes

You can now instantiate multiple CallbackHooks objects. This version introduces a class structure, so you may need to adjust your code if you were previously using the static object approach.

Hook up: version 1.0.0

05 Jan 15:38
Compare
Choose a tag to compare
v1.0.0

Update LICENSE