Skip to content

Releases: RobotlegsJS/RobotlegsJS-Phaser

3.0.0

14 Mar 17:46
Compare
Choose a tag to compare

Breaking Change

  • Update phaser to version 3.22.0 (see #112).

    • @robotlegsjs/eventemitter3 package is not necessary anymore, you should remove this dependency from your package.json and use the extension LocalEventEmitterMap from @robotlegsjs/phaser package.

    • eventemitter3 package is not necessary anymore, you should remove this dependency from your package.json and use the definitions from Phaser.Events.EventEmitter package instead. Notice that the type of your listeners must change from EventEmitter.ListenerFn to Function.

    • 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> to SomeType[].

    • 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 version 1.11.1 (see #116).

  • Update dev dependencies to latest version.

Security

2.0.0

31 Oct 15:29
Compare
Choose a tag to compare

Breaking Change

  • Update phaser to version 3.20.1 (see #104).

    • definitions folder removed, since phaser package is now providing native type definitions.

    • Use the type definitions from /node_modules/phaser/types/phaser.d.ts.

    • Remember to add "scripthost" to lib array in compilerOptions on your tsconfig.json file.

    • Minimum version supported is 3.17.0. Previous versions doens't have the phaser/types folder.

Changed

  • Update @robotlegsjs/core to version 1.0.3 (see #105).

  • Update @robotlegsjs/eventemitter3 to version 1.0.2 (see #107).

  • Improve prettier rules and autoformat script (see #85).

  • Enable "editor.formatOnSave" rule for VS Code (see #85).

  • Migrate project to travis-ci.com.

  • Update codebeat Project UUID.

  • Update dev dependencies to latest version.

1.0.1

25 Dec 16:43
Compare
Choose a tag to compare

Changed

  • Add mediator when scene has been started after stop/shutdown (see #79).

  • Update dev dependencies to latest version.

1.0.0

25 Nov 23:40
Compare
Choose a tag to compare

Changed

  • Update @robotlegsjs/core to version 1.0.0 (see #74).

  • Update @robotlegsjs/eventemitter3 to version 1.0.0 (see #75).

  • Update phaser to version 3.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

14 Sep 13:34
Compare
Choose a tag to compare

Major Breaking Changes

  • Enable view listeners on SceneMediator and ViewMediator classes (see #56 and #59).

    • Methods addViewListener and removeViewListener were removed from scene and view mediators.

    • Added on, once and off methods to the scene and view mediators allowing the mediators to handle events dispatched by EventEmitter views.

    • Signature addContextListener and removeContextListener changed in order to fully support the IEventDispatcher interface.

    • New methods addDomListener and removeDomListener were added to add support to DOM events dispatched by an EventTarget.

Features Or Improvements

  • Update dev dependencies to latest version.

0.3.0

10 Sep 21:24
Compare
Choose a tag to compare

Major Breaking Changes:

  • Add support for Phaser.GameObject.Container, allowing the creation of mediators for Phaser.Scene and Phaser.GameObjects.Container (see #54 and #55).

    • Package sceneMediatorMap renamed to mediatorMap

      • Interface ISceneMediator renamed to IMediator
      • Interface ISceneMediatorMapping renamed to IMediatorMapping
      • Interface ISceneMediatorConfigurator renamed to IMediatorConfigurator
      • Interface ISceneMediatorMapper renamed to IMediatorMapper
      • Interface ISceneMediatorUnmapper renamed to IMediatorUnmapper
      • Class NullSceneMediatorUnmapper renamed to NullMediatorUnmapper
      • Class SceneMediatorMapper renamed to MediatorMapper
      • Class SceneMediatorMapping renamed to MediatorMapping
      • Class SceneMediatorStateHandler renamed to SceneMediatorHandler
    • Package sceneManager renamed to viewManager

Features Or Improvements:

  • Update karma setup to generate code coverage report only for src folder (see #53).

  • Update dev dependencies to latest version.

0.2.0

07 Aug 09:28
Compare
Choose a tag to compare

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 version 0.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 of rm -rf (see #42).

  • Update TypeScript Compiler Options (see #43, #49).

  • 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.

0.0.5

26 Sep 15:12
Compare
Choose a tag to compare
  • Update @robotlegsjs/core to version 0.0.6 (see #9).

  • Update phaser-ce to version 2.8.8 (see #10).

  • Adapt to NPM v5.0.0 (see #7).

  • Update dev dependencies to latest version.

0.0.4

15 Sep 14:53
Compare
Choose a tag to compare
  • Update @robotlegsjs/core to version 0.0.5 (see #5).

  • Update phaser-ce to version 2.8.7 (see #6).

  • Update TSLint rules (see #6).

  • Add support to Prettier code formatter (see #6).

  • Add integration with CodeBeat (see #6).

  • Update dev dependencies to latest version.

0.0.3

30 Aug 20:20
Compare
Choose a tag to compare
  • Update @robotlegsjs/core to version 0.0.4 (see #4).

  • Update phaser-ce to version 2.8.4.

  • Enable GreenKeeper.

  • Update dev dependencies to latest version.