Skip to content

Releases: heroku/react-refetch

v1.0.1

v1.0.1-2 (beta)

06 Jul 01:45
Compare
Choose a tag to compare

v1.0.1-1 (beta)

14 May 22:59
Compare
Choose a tag to compare

v1.0.1-0 (beta)

20 Apr 00:44
Compare
Choose a tag to compare

v1.0.0

15 Dec 08:29
Compare
Choose a tag to compare
  • Adds support for any compatible fetch implementation. Auto-detects default fetch including client and server side implementations.
  • Removes whatwg-fetch as a peer dependency.
  • Adds connect.defaults() function to set options and default values for request mappings. Includes type checking of defaults. [docs]
  • Adds ability to set buildRequest, fetch, and handle Response implementations in connect.defaults() or in mapping definitions. [docs]
  • Deprecated options argument in connect. Applications that use withRef as an option (i.e. connect(props, { withRef: true })) should change to using connect.defaults (i.e. connect.defaults({ withRef: true })(props)).
  • Documented required polyfills.
    • Improved type checking
  • Optimize to shallow compare props and context during componentWillReceiveProps and only recalculate mappings and refetch if props and context actually changed.
  • Moved connect-only level options from defaults() to options(). All request attributes can now be supplied in defaults() or individual requests.
  • Fixed PromiseState.resolve to return value as-is if it is already PromiseState
  • Fixes handling of rejected fetches (#107)
  • Only re-render component if props or requests shallowly changed
  • Omit children in willReceiveProps comparison
  • Add pure option allow apps to control always updating on prop changes
  • Allow then and catch to return undefined for side effects
  • Allow refreshing to take a function to change value before request
  • Update development dependencies to React v15
  • Added wrappedInstance to the meta object #139
  • Fixes: Requested keys of a value that is not an object #143
  • Migrates to use files directive in package.json instead of .npmignore. #133
  • Returns a new object from PromiseState.refreshing #150

v1.0.0-beta.10

23 Sep 02:01
Compare
Choose a tag to compare
v1.0.0-beta.10 Pre-release
Pre-release
  • Returns a new object from PromiseState.refreshing #150

v1.0.0-beta.9

04 Sep 23:03
Compare
Choose a tag to compare
v1.0.0-beta.9 Pre-release
Pre-release
  • Added wrappedInstance to the meta object #139
  • Fixes: Requested keys of a value that is not an object #143
  • Migrates to use files directive in package.json instead of .npmignore. #133

v1.0.0-beta.8

08 Jun 23:03
Compare
Choose a tag to compare

v1.0.0-beta.7

27 May 22:52
Compare
Choose a tag to compare
v1.0.0-beta.7 Pre-release
Pre-release
  • Fix parent equalality

v1.0.0-beta.6

27 May 05:31
Compare
Choose a tag to compare