Repository navigation
Releases
Releases · sylviameows/Flask
Flask 0.10.0
Warning
This version introduces multiple breaking changes, please make sure to update your plugins before using versions past this point!
API Changes:
- [BREAKING]
Phaseis now sealed, use the new modules system with aModularPhaseor continue the old method withListenerPhase. Please note that#onEnabled(Lobby<?>)and#onDisabled()are now final, so you'll need to use the new#enabled()and#disabled()methods in your phases. If you still need the Lobby<?> object in your enabled code, use thegetOwner()method. - [BREAKING] Any event listeners have been replaced with Flask's new event dispatching system, please re-annotate any events in your phases with
@FlaskEventfor it to be registered now! The events this method will receive should already be filtered to only be relevant to the game specified! - Refactored the properties system,
Gamenow needs a type parameter for its map instance and will no longer need it in the settings annotation. - There have been a lot of internal changes which may have broken affected access to certain fields, most of these have gained new getters and setters if relevant.
- Added a few default modules for developers to use in their games.
Core Changes:
- Implemented FlaskDispatcher to dispatch events to lobbies.
- Removed deprecated Palette interface.
Example Changes:
- Added a rudimentary countdown phase using the new ModularPhase type.
Additionally, this version marks the start of using checkstyle to maintain a similar coding style and practice throughout the repository. This should not change anything about your usage of flask.
Pull Requests:
- Event dispatcher & modules by @sylviameows in #2
Flask v0.6-ALPHA
What's Changed
- Restructure Gradle Project by @sylviameows in #1
Full Changelog: v0.5-ALPHA...v0.6-ALPHA