Releases: agraboso/redux-api-middleware
Releases · agraboso/redux-api-middleware
v3.2.1
v3.2.0
v3.1.0
- Add support for async RSAA properties - @echolocation (#235 )
- Fixed real-world example url - @michael-freidgeim-webjet (#231)
v3.0.1
v3.0.0
Breaking Changes
- The
CALL_API
alias has been dropped. UseRSAA
(#193) - Error handling around failed fetches has been updated (#175)
- Previously, a failed fetch would dispatch a
REQUEST
FSA followed by anotherREQUEST
FSA with an error flag - Now, a failed fetch will dispatch a
REQUEST
FSA followed by aFAILURE
FSA
- Previously, a failed fetch would dispatch a
- 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:
- the the 3.0 milestone
- v2.3.0...v3.0.0 for the full diff
- The upgrading from 2.x section in the readme
v2.3.0
2.2.0
2.1.0
v2.0.1
v2.0.0
Breaking Changes
- The
CALL_API
symbol is replaced with theRSAA
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 ownfetch
implementation and depends on a globalfetch
to be provided in the runtime
Enhancements
- A new
options
config is added to pass yourfetch
implementation extra options other thanmethod
,headers
,body
andcredentials
Other
See v1.0.3...v2.0.0 for the full diff.