Skip to content

Latest commit

 

History

History
202 lines (95 loc) · 8.83 KB

CHANGELOG.md

File metadata and controls

202 lines (95 loc) · 8.83 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.7.1 (2022-01-22)

Bug Fixes

  • emitter: call onEnd callbacks when flushing (aff8ddb)

0.7.0 (2022-01-22)

⚠ BREAKING CHANGES

  • emitter: This may be a breaking change if you were relying on the previous queue being discarded. Given that would be highly timing dependent between when moves where executed, that seems unlikely to be the case, but flagging this as potentially breaking nonetheless.

Features

  • emitter: flush remaining effects queue on state update (f4076aa), closes #57

0.6.1 (2022-01-22)

Features

  • emitter: Use setTimeout if requestAnimationFrame doesn’t run (1ee064f), issue #57

0.6.0 (2022-01-14)

⚠ BREAKING CHANGES

  • The public API for the existing packages has not changed and should continue to work as previously. The React unit tests remain unchanged. However, because this is such a thorough rewrite, there may be small differences that turn out to be breaking in subtle edge cases.

We are also now using an internal type that was added in boardgame.io@0.42.0, so no longer support 0.39.16, ^0.40 and ^0.41.

Features

  • Rewrite client-side effects emitter & add plain JS support (#367) (39812a8), closes #148

0.5.1 (2022-01-11)

Bug Fixes

0.5.0 (2021-12-12)

⚠ BREAKING CHANGES

  • Node 10 is no longer officially supported. The package itself has not changed, so should continue to work in Node 10, but we aren’t testing against 10 anymore, so that may break at any time from now on without notice.

ci

  • drop Node 10 & 15, add Node 16 (b9b6dd9)

0.4.8 (2021-09-15)

0.4.7 (2021-05-11)

0.4.6 (2021-04-28)

0.4.5 (2021-02-04)

0.4.4 (2021-02-01)

Features

0.4.3 (2021-01-29)

Features

  • Add update callback to release state early (#110) (e724a0c)

0.4.2 (2021-01-27)

Features

  • react: Pass board props to effect listeners (60ab10f)

0.4.1 (2021-01-04)

Features

  • react: Support setting initial value in useEffectState (4d2918a)

0.4.0 (2021-01-04)

⚠ BREAKING CHANGES

  • hooks: If previously useEffectListener was used without passing a dependency list (which may have worked in some edge cases), this will now cause useEffectListener to throw an error.

Features

  • hooks: error if useEffectListener isn’t passed a dependency list (3218bd7)
  • Add “onEnd” callbacks to useEffectListener (#99) (e084226)
  • react: Add useEffectState utility hook (#100) (e91e19b)

0.3.2 (2020-08-16)

Bug Fixes

  • Include alias package.json files in npm bundle (ff12d4b)

0.3.1 (2020-08-16)

Bug Fixes

  • Actually add aliases for the react & plugin import paths (ac91fb9)

0.3.0 (2020-08-16)

⚠ BREAKING CHANGES

  • Import paths have changed. You must now import from 'bgio-effects/react' or 'bgio-effects/plugin' rather than from the top-level package. Types are still available via the top-level.

Features

  • restructure package to split react & plugin into different entrypoints (137bfc3)

0.2.0 (2020-08-07)

Features

  • timeline: Add builtin effects:start and effects:end events (9011cc7)

0.1.9 (2020-07-27)

0.1.8 (2020-07-27)

0.1.7 (2020-07-26)

Bug Fixes

  • react: Cleanup effect listener before calling next callback (e6dc3a1)
  • react: Remove check ensuring useEffectListener callback exists (9b9170e)

0.1.6 (2020-07-25)

Bug Fixes

  • react: Don’t rerender from RAF if queue didn’t change (ff28d73)

0.1.5 (2020-07-25)

Bug Fixes

  • react: Don’t prematurely update boardgame.io props (964acb5)

0.1.4 (2020-07-24)

Bug Fixes

  • react: Correctly handle boardgame.io prop updates (5f15b9a)

0.1.3 (2020-07-24)

Bug Fixes

  • react: Remove stray debugging element from React context provider (95f4464)

0.1.2 (2020-07-24)

Bug Fixes

  • react: Fix updates for the main boardgame.io state (a7a6dee)

0.1.1 (2020-07-24)

0.1.0 (2020-07-24)

Features

  • Add timeline & playback, upgrade deps, add tests, improve types (5b30ef2)