Releases: RobotlegsJS/RobotlegsJS-Phaser
3.0.0
Breaking Change
-
Update
phaser
to version3.22.0
(see #112).-
@robotlegsjs/eventemitter3
package is not necessary anymore, you should remove this dependency from yourpackage.json
and use the extensionLocalEventEmitterMap
from@robotlegsjs/phaser
package. -
eventemitter3
package is not necessary anymore, you should remove this dependency from yourpackage.json
and use the definitions fromPhaser.Events.EventEmitter
package instead. Notice that the type of your listeners must change fromEventEmitter.ListenerFn
toFunction
. -
For compatibility with previous versions of
phaser
, use@robotlegsjs/phaser
version 2.
-
-
Update
@robotlegsjs/core
to version^2.0.0
(see #111 and #118).-
Migrate array notation from
Array<SomeType>
toSomeType[]
. -
The rest of the
Public API
remains unchanged.
-
Added
-
Add Tidelift as funding option (see #113).
-
Add Enterprise Support information (see #114).
-
Deploy example project (see #67).
Changed
-
Update
tslib
to version1.11.1
(see #116). -
Update dev dependencies to latest version.
Security
- Migrate to terser-webpack-plugin to solve security vulnerability (see #111).
2.0.0
Breaking Change
-
Update
phaser
to version3.20.1
(see #104).-
definitions
folder removed, sincephaser
package is now providing native type definitions. -
Use the type definitions from
/node_modules/phaser/types/phaser.d.ts
. -
Remember to add
"scripthost"
tolib
array incompilerOptions
on yourtsconfig.json
file. -
Minimum version supported is
3.17.0
. Previous versions doens't have thephaser/types
folder.
-
Changed
-
Update
@robotlegsjs/core
to version1.0.3
(see #105). -
Update
@robotlegsjs/eventemitter3
to version1.0.2
(see #107). -
Improve
prettier
rules andautoformat
script (see #85). -
Enable
"editor.formatOnSave"
rule forVS Code
(see #85). -
Migrate project to
travis-ci.com
. -
Update
codebeat
Project UUID. -
Update dev dependencies to latest version.
1.0.1
1.0.0
Changed
-
Update
@robotlegsjs/core
to version1.0.0
(see #74). -
Update
@robotlegsjs/eventemitter3
to version1.0.0
(see #75). -
Update
phaser
to version3.15.1
(see #68). -
Migrate to Headless Chrome and improve performance of Karma (see #69).
-
Prepare package for stable version (see #70).
-
Improve webpack configuration used to run example project. The
npm start
script will generate hashed files (to avoid browser cache) and open the broswer automatically (see #71). -
Update GitHub Templates (see #73).
-
Update dev dependencies to latest version.
0.4.0
Major Breaking Changes
-
Enable view listeners on
SceneMediator
andViewMediator
classes (see #56 and #59).-
Methods
addViewListener
andremoveViewListener
were removed from scene and view mediators. -
Added
on
,once
andoff
methods to the scene and view mediators allowing the mediators to handle events dispatched byEventEmitter
views. -
Signature
addContextListener
andremoveContextListener
changed in order to fully support theIEventDispatcher
interface. -
New methods
addDomListener
andremoveDomListener
were added to add support toDOM
events dispatched by anEventTarget
.
-
Features Or Improvements
- Update dev dependencies to latest version.
0.3.0
Major Breaking Changes:
-
Add support for
Phaser.GameObject.Container
, allowing the creation of mediators forPhaser.Scene
andPhaser.GameObjects.Container
(see #54 and #55).-
Package
sceneMediatorMap
renamed tomediatorMap
- Interface
ISceneMediator
renamed toIMediator
- Interface
ISceneMediatorMapping
renamed toIMediatorMapping
- Interface
ISceneMediatorConfigurator
renamed toIMediatorConfigurator
- Interface
ISceneMediatorMapper
renamed toIMediatorMapper
- Interface
ISceneMediatorUnmapper
renamed toIMediatorUnmapper
- Class
NullSceneMediatorUnmapper
renamed toNullMediatorUnmapper
- Class
SceneMediatorMapper
renamed toMediatorMapper
- Class
SceneMediatorMapping
renamed toMediatorMapping
- Class
SceneMediatorStateHandler
renamed toSceneMediatorHandler
- Interface
-
Package
sceneManager
renamed toviewManager
-
Features Or Improvements:
-
Update
karma
setup to generate code coverage report only forsrc
folder (see #53). -
Update dev dependencies to latest version.
0.2.0
Major Breaking Changes:
-
Implement support for phaser plugin version 3. Suppor for phaser-ce plugin was moved to RobotlegsJS-Phaser-CE (see #52).
-
Move
phaser
library to peerDependencies, allowing the final user to choose the desired version of the phaser library on each project (see #52). -
Update
@robotlegsjs/core
to version0.2.0
(see #51). -
Remove
eventemitter3
dependency (see #45).
Features Or Improvements:
-
Add changelog (see #35).
-
Add code of conduct (see #36).
-
Add issue template (see #38).
-
Add pull request template (see #39).
-
Update codeclimate settings (see #40).
-
Update Prettier rules (see #41).
-
Use
rimraf
instead ofrm -rf
(see #42). -
Use tslib library to avoid duplicated declarations (see #49).
-
Enforce TSLint rules (see #44).
-
Adopts year-agnostic copyright message (see #47).
-
Update dev dependencies to latest version.