Skip to content

v5.0.0

Compare
Choose a tag to compare
@greena13 greena13 released this 22 Sep 17:11
· 74 commits to master since this release

Breaking changes

  • isFinishedFetching(), isSyncingWithRemote(), isSyncedWithRemote(), isSyncedSuccessfully(), isInErrorState() have been removed in favour of a more consistently named helpers. See Data lifecyles for more information.

Bugfixes (possibly breaking changes)

  • Changed getOrFetch() to dispatch its first action asynchronously. This addresses React warnings when multiple mounted components in the same render cycle called getOrFetch(), triggering an update to the state of a parent component.

  • getOrFetchList() now returns lists with a status of FETCHING immediately (rather than one with an undefined status)

  • Fixed empty JSON responses causing a client-side parsing error.

New features