released this 7 months ago | 24 commits to develop since this release
This release introduces callback event handlers which allow a more flexible usage of Event Bus. In addition, the execution order for an event type can be retrieved in a human-readable way.
Events can now be cancelled from inside nested dispatches without affecting the parent dispatch.
released this 1 year ago | 52 commits to develop since this release
This release introduces dead events and exception events, which make it easier to detect a poorly configured event distribution.
In addition, event handler properties (priority and polymorphism) can now be predefined at the listener level.
released this 1 year ago | 73 commits to develop since this release
This is the first stable release of Event Bus, released under GPL-3.0.
From this version on, the main Event Bus library will have the artifact ID event-bus-core, while event-bus becomes the parent project of event-bus-core and other modules.
To facilitate compile-time error checking, an annotation processor has been added and is available with the artifact ID event-bus-proc, as well as a standalone JAR.
While the core library has functionally remained the same, the API has changed in three ways:
- the properties of event handlers such as priority and polymorphism are defined by additional annotations
- the marker interfaces IEvent and EventListener have been removed to improve compatibility
- event handlers can now have a non-void return type
As required by semantic versioning, all 1.x.x versions will be backwards compatible.
released this 2 years ago | 110 commits to develop since this release
This version of the Event Bus features parameter-less event handlers. A module descriptor has been added to support the usage of this library inside projects that use Java 9 modules.
released this 2 years ago | 112 commits to develop since this release
This release introduces a singleton instance of the event bus. In addition, event handlers can now be non-public as Java language access checks are bypassed during their execution.