All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.7.1 (2022-01-22)
- emitter: call onEnd callbacks when flushing (aff8ddb)
0.7.0 (2022-01-22)
- 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.
0.6.1 (2022-01-22)
0.6.0 (2022-01-14)
- 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 [email protected], so no longer support 0.39.16, ^0.40 and ^0.41.
0.5.1 (2022-01-11)
0.5.0 (2021-12-12)
- 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.
- 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)
0.4.3 (2021-01-29)
0.4.2 (2021-01-27)
- react: Pass board props to effect listeners (60ab10f)
0.4.1 (2021-01-04)
- react: Support setting initial value in
useEffectState
(4d2918a)
0.4.0 (2021-01-04)
- hooks: If previously
useEffectListener
was used without passing a dependency list (which may have worked in some edge cases), this will now causeuseEffectListener
to throw an error.
- 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)
- Include alias package.json files in npm bundle (ff12d4b)
0.3.1 (2020-08-16)
- Actually add aliases for the react & plugin import paths (ac91fb9)
0.3.0 (2020-08-16)
- 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.
- restructure package to split react & plugin into different entrypoints (137bfc3)
0.2.0 (2020-08-07)
- timeline: Add builtin
effects:start
andeffects:end
events (9011cc7)
0.1.9 (2020-07-27)
0.1.8 (2020-07-27)
0.1.7 (2020-07-26)
- react: Cleanup effect listener before calling next callback (e6dc3a1)
- react: Remove check ensuring
useEffectListener
callback exists (9b9170e)
0.1.6 (2020-07-25)
- react: Don’t rerender from RAF if queue didn’t change (ff28d73)
0.1.5 (2020-07-25)
- react: Don’t prematurely update boardgame.io props (964acb5)
0.1.4 (2020-07-24)
- react: Correctly handle boardgame.io prop updates (5f15b9a)
0.1.3 (2020-07-24)
- react: Remove stray debugging element from React context provider (95f4464)
0.1.2 (2020-07-24)
- react: Fix updates for the main boardgame.io state (a7a6dee)
0.1.1 (2020-07-24)
- Add timeline & playback, upgrade deps, add tests, improve types (5b30ef2)