Skip to content

Releases: agraboso/redux-api-middleware

v3.2.1

18 Mar 21:06
Compare
Choose a tag to compare
  • fix(middleware): use global fetch as last resort #251

v3.2.0

18 Jan 14:36
Compare
Choose a tag to compare

v3.1.0

18 Dec 03:53
Compare
Choose a tag to compare

v3.0.1

15 Nov 04:14
Compare
Choose a tag to compare
  • Update dev dependencies
  • Build package with non-beta versions of babel 7

v3.0.0

06 Nov 12:28
Compare
Choose a tag to compare

Breaking Changes

  • The CALL_API alias has been dropped. Use RSAA (#193)
  • Error handling around failed fetches has been updated (#175)
    • Previously, a failed fetch would dispatch a REQUEST FSA followed by another REQUEST FSA with an error flag
    • Now, a failed fetch will dispatch a REQUEST FSA followed by a FAILURE FSA
  • Non-symbol properties are allowed on the RSAA now (#192)

Features, bug-fixes, and enhancements

  • Bundling enhancements, leading to a lighter package, as well as a UMD build
  • Test refactors

For more details see:

v2.3.0

03 Mar 18:28
Compare
Choose a tag to compare

Adds ability to pass custom fetch #174

2.2.0

24 Jan 22:59
Compare
Choose a tag to compare
  • Middleware must not return a Promise on actions without RSAA properties (#167)
  • Default fetch body option to undefined (#160)
  • Allow [RSAA].body to be passed as a function (#168)

2.1.0

24 Jan 22:56
Compare
Choose a tag to compare
  • Handle sync requests without await (#165)

v2.0.1

20 Nov 04:47
Compare
Choose a tag to compare
  • Readme Updates

v2.0.0

20 Nov 04:21
Compare
Choose a tag to compare

Breaking Changes

  • The CALL_API symbol is replaced with the RSAA string as the top-level RSAA action key. CALL_API is aliased to the new value as of 2.0, but this will ultimately be deprecated.
  • redux-api-middleware no longer brings its own fetch implementation and depends on a global fetch to be provided in the runtime

Enhancements

  • A new options config is added to pass your fetch implementation extra options other than method, headers, body and credentials

Other

See v1.0.3...v2.0.0 for the full diff.