Releases: joepdooper/callbackhooks
Releases · joepdooper/callbackhooks
Hang on: version 2.0.1
v2.0.1 Update package.json
Hang on: version 2.0.0
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
v1.0.0 Update LICENSE