Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

Releases: PerchSecurity/perch-data

0.9.1

25 Jan 21:00
fdd6b80
Compare
Choose a tag to compare
  • Set __fromCache = true when returning results from cache
  • Return null when the cache has no results for a given key

0.9.0

24 Jan 22:54
842c0c0
Compare
Choose a tag to compare
  • Add new cache utilities for working directly with the store (get, getSync, set, clear)

0.8.0

12 Jan 22:38
054a5aa
Compare
Choose a tag to compare
  • BREAKING: Rename fromCache and cacheKey to __fromCache and __cacheKey to prevent collisions with fetched data
  • Add support for pending actions #15
  • Prefix cache entries with withData__

0.7.0

21 Dec 21:14
77139d2
Compare
Choose a tag to compare
  • Add optimisticUpdate() for updating a component without refetching data

0.6.0

07 Dec 00:25
ee28190
Compare
Choose a tag to compare
  • Add clearParams() to nuke all appliedParams
  • Add CHANGELOG.md
  • Refactor for cleanliness

0.5.0

05 Dec 19:25
92afb1d
Compare
Choose a tag to compare
  • Add applyParams method for sorting, filtering, paginating, etc
  • Fix bug with setState callback (using ComponendDidUpdate as temp fix)
  • Remove goToPage() in favor of applyParams()

0.4.0

04 Dec 15:57
c3414a8
Compare
Choose a tag to compare
  • Refactor default cache maxAge to 1 second
  • Add and remove support for cosmiconfig because of webpack issues

0.3.0

04 Dec 15:55
Compare
Choose a tag to compare
  • Add pollInterval option for polling an entity until unmount
  • Fix caching issue

0.2.0

04 Dec 15:54
Compare
Choose a tag to compare
  • Add caching via store.js
  • Add entity-level cache configuration
  • Refactor withData() to observe and re-render data from cache

0.1.0

04 Dec 15:48
Compare
Choose a tag to compare
  • Create and release withData() HOC
  • Add support for refetch() -ing data
  • Add goToPage() for paginating data
  • Add loading and error properties to each entity requested
  • Add docs