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

Releases: PerchSecurity/perch-data

1.2.0

11 Mar 21:54
085a653

Choose a tag to compare

  • Upgrade to the new Context API

1.1.0

03 Jul 15:03

Choose a tag to compare

  • Updated Action to set loading state to true when the action is triggered

1.0.0

24 May 16:55
542ff9d

Choose a tag to compare

  • Migrate docs to /docs folder
  • Fix lint issues
  • Remove logs
  • Remove /lib folder and replace with npm prepare script

0.19.1

16 May 16:40
df128ba

Choose a tag to compare

  • Fixes an issue where repeat calls to a single data component could cause out of order renders
  • Adds logging in dev ( TODO: replace with cross-repo logging solution )
  • Changes lint rule for if / else blocks

0.19.0

16 May 14:34
af85dbd

Choose a tag to compare

  • Switch to an in-memory store (from localstorage)

0.18.0

16 May 00:16

Choose a tag to compare

  • Rename data => action for refetchActions

0.17.1

11 May 17:27
9fc07ef

Choose a tag to compare

  • Fix for initialization syntax

0.17.0

11 May 15:54
5426329

Choose a tag to compare

  • Add garbage collection to StoreProvider and cache.js

0.16.1

08 May 19:10

Choose a tag to compare

  • Ignore falsy / duplicate values for Data's onNext event
  • Only keep existing cache key maxAge if valid and larger than specified

0.16.0

07 May 22:52

Choose a tag to compare

  • Add Action component
  • Add api prop to StoreProvider, which makes API available via context
  • Add context to actions called by Data
  • Add remove method to cache.js
  • Add logic to respect existing maxAges when setting the cache
  • Refactor axiosStore.js to accept a store or default to a new instance of cache.js