Releases: ZeroMemes/Alpine
Releases · ZeroMemes/Alpine
3.1.0
3.0.2
3.0.1
3.0.0
2.2.1
2.2.0
2.1.0
2.0.0
2.0.0
Added
- This project now adheres to Semantic Versioning
EventManager
provides a builder to configure new options:- Discovery of
Listener
fields inEventSubscriber
supertypes - Allow listeners to accept supertypes of events.
- Discovery of
- Added
Listener
field target correction upon registry- Read from field's type parameter, type parameter population is now enforced
- Specifying event target class explicitly is no longer required for method references
Changed
- Made
Listener
final - Failure to read a valid
Listener
field now results in hard failure - Refactoring
- Collapsed
type
packages
- Collapsed
- Renaming
Listenable -> EventSubscriber
EventHandler -> Subscribe
EventState -> EventPhase
ICancellable -> Cancellable
Cancellable -> CancellableEvent
Removed
- Removed
EventHook
interface - Removed
MethodRefListener
in favor of newListener
functionality
1.9
1.9
Changed
- Increased range of priorities by using 4 byte integers instead of single byte.
- Priority behavior reversed
- Higher integer literals are reflective of higher priorities, therefore, they will now be called sooner
- API breaking refactoring
- Documentation improvements
Removed
- Removed the limitation on priority values
1.8
1.8
Added
- Added MethodRefListener
- Supports method reference listener bodies
- Added ICancellable interface
- Existing Cancellable class implements it
Changed
- Any object containing Listener fields that is subscribed must implement Listenable
- Individual Listeners can be subscribed
- Split the event bus attachable functionality into a new AttachableEventBus interface
- Added a implementation of it: AttachableEventManager
- Refactored the event bus related classes into a bus package
- Renamed the type package to event