Skip to content

v2.0.0

Compare
Choose a tag to compare
@crashmax-dev crashmax-dev released this 15 Jul 14:32
· 163 commits to master since this release

fireworks-js v2

Breaking Changes

Core

Options

brightness: {
  min: 50,
  max: 80,
-  decay: {
-    min: 0.015,
-    max: 0.03
-  }
},
+decay: {
+  min: 0.015,
+  max: 0.03
+}

API

const fireworks = new Fireworks(container)
- fireworks.setSize()
+ fireworks.updateSize()

- fireworks.setOptions()
+ fireworks.updateOptions()

- fireworks.setBoundaries()
+ fireworks.updateBoundaries()

React component

- import { Fireworks } from 'fireworks-js/dist/react'
+ import { Fireworks } from '@fireworks-js/react'

What's Changed

Packages

Full Changelog: v1.4.1...v2.0.0