Skip to content

Latest commit

 

History

History
99 lines (59 loc) · 2.28 KB

CHANGES.MD

File metadata and controls

99 lines (59 loc) · 2.28 KB

3.0.0

  • Update all dev depencencies.
  • BREAKING: Now using named export, Fireworks instead of default export.

2.6.2

  • Add height and width properties to FireworksOptions typescript definition

2.6.1

  • Make start idempotent (#16)

2.6.0

  • Adding cannons option

2.5.1

  • Adding a new option rocketInitialPoint where a user can customise starting point of firework (thanks adityasatnur)

2.5.0

  • New onFinish callback to attach listeners for when the fireworks starts. (thanks kyle1320)
  • Better support for high-definition displays (thanks kyle1320)
  • Updating devDependencies (it's a thankless job)

2.4.0

  • add two options, resetSize() and setSize(number, number) to control the canvas element's size
  • fixed a bug where rockets were no longer tracked after leaving the screen
  • update devDependencies

2.3.2

Bump various devDepedencies

2.3.1

Fix busted build with evergreen browsers (oops!).

2.3.0

Update build to use rollup, there are now 3 supported bunldes:

  • fireworks.node.js - cjs module
  • fireworks.mjs - es6 module
  • fireworks.js - browser umd bundle
  • fireworks.min.js - browser umd bundle (minified)

The browser bundle now has a target of es3 so it should support older browsers.

2.2.4

  • OOF, forgot to run build on the last 2 releases.

2.2.3

  • fix the typings file (for reals this time)

2.2.3

  • fix the typings file (oops!)

2.2.1

  • tons of internal refactors
  • adding typings file
  • added new method, destroy which removes the canvas and timers.

2.2.0

  • adding a kill method that forcibly kills the fireworks
  • updating live demo to use all available features
  • upgrade devDependencies

2.1.0

this should technically be breaking but I get the sense I don't have many consumers so I can get away with it :)

  • renamed option "explosionHeight" to "explosionMinHeight"
  • new option, "explosionMaxHeight" - max height a rocket will reach before exploding.
  • various internal refactors
  • new fire method to fire a single rocket.
  • providing 0 for numRockets will not start rocket respawn timer (you must call fire)

2.0.1

  • update build to use webpack.
  • update api - now exports class with start and stop methods.
  • lots of internal refactors.

1.0.3

  • adding mechanism to stop fireworks

1.0.2

  • initial release