Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Releases: teamleadercrm/react-hooks-api

[0.1.0-rc2] - 2019-12-02

02 Dec 07:40
Compare
Choose a tag to compare
Pre-release

🐛 Fixed

  • Fixed a bug that caused entities to be overwritten instead of enriched #148

Entity and queries store release candidate 1

29 Nov 10:12
Compare
Choose a tag to compare

In this release an entity and query store has been added.

💥Breaking changes

  • Sideloaded data is now automatically merged into the entity it belongs to. This means the signature of the object returned by useQuery has changed. See below or consult the README for more information.
type Object = {
 // The entity or list of entities
 // Can also be calculated data (see projectItems.report)
 data: Entity || Array<Entity> || NonEntity;
 // Metadata returned by the request
 meta: any
}

const object: Object = useQuery(query);

Maintenance release

11 Jul 11:59
Compare
Choose a tag to compare
Maintenance release Pre-release
Pre-release
  • Upgraded some dependencies, some of which involving security vulnerabilities

Add new ignoreCache option

06 Jun 13:51
Compare
Choose a tag to compare
Pre-release
  • This option can be used on an individual useQuery level to ignore the store and always refresh requests

Fix: redux context

28 May 11:26
Compare
Choose a tag to compare
Fix: redux context Pre-release
Pre-release

Fixed

  • Overwriting an existing redux context

Initial release

28 May 08:33
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release

🎉 Initial release