Skip to content

Latest commit

 

History

History
115 lines (79 loc) · 5.12 KB

File metadata and controls

115 lines (79 loc) · 5.12 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.5.2 - 2026-03-16

Fixed

  • upgrade demo-react to React 18 + Vite, fix React wrapper for Stencil v4 (0bd9da2).

1.5.1 - 2026-03-16

Changed

Fixed

  • remove deprecated Stencil v2 React wrapper files (546747f).
  • remove Phaser typeRoots/types from tsconfig for CI compatibility (eda7a05).

1.5.0 - 2026-03-16

Changed

Fixed

  • remove Phaser typeRoots/types from tsconfig for CI compatibility (eda7a05).
  • install devDependencies for Phaser types in build step (6f126df).

1.4.0 - 2026-03-16

Added

  • upgrade Stencil v4, React 17/18 support, release automation (95b75e6).

Changed

Added

  • Upgrade @stencil/core to v4 (from v2.4).
  • Upgrade @stencil/react-output-target to v0.7.
  • Support React 16-19 in peer dependencies.
  • Fix plugin cleanup on destroy to avoid stale references.
  • Fix source map warnings by including src/ in published files.
  • Add CHANGELOG.md.
  • Add release.yml for automated releases to npm.

1.3.0 - 2021-03-15

Fixed

  • ion-phaser dist appears to bundle Phaser (#18).
  • How to upgrade to Phaser (#27).

1.2.3 - 2020-04-30

Fixed

  • Fixed types and configuration for react package.
  • Fixed eslint issues and added validations to create the phaser game instance.
  • Updated stencil packages.

1.2.2 - 2019-11-27

Fixed

  • Fixed an import and using Phaser global object instead, to reduce the bundle size from 1 MB to 269 bytes.

1.2.1 - 2019-11-23

Fixed

  • Added watch for game prop to fix issues initializing the phaser game.

1.2.0 - 2019-09-04

Fixed

  • Update Stencil configuration.
  • Fix React wrapper component by using componentDidMount and componentDidUpdate instead of deprecated componentWillReceiveProps.

1.1.0 - 2019-07-12

Added

  • Set the configuration of a Phaser game with a game property.
  • Initialize the game manually with an initialize property.
  • Include destroy method to destroy the Phaser game instance.
  • Include getInstance method to get the current instance of the game.
  • Add React wrapper component to avoid using ref manually to attach the configuration of the game.
  • Add demo including the component for Angular, React and Vue.js.
  • Add codepen example to see the component in action using Vue.js.