Releases: LaunchPadLab/lp-redux-api
Releases · LaunchPadLab/lp-redux-api
v7.0.0
What's Changed
Breaking
- No longer supports IE. See v7 migration guide for more details
Full Changelog: v6.3.1...v7.0.0
v6.2.1
Chore: fix typos in migration guide
v6.2.0
Added delay
option to createStubRequest
to facilitate simulating a slow API. This will help developers test loading states while developing off of stubbed requests before an endpoint is ready.
Example:
export const fetchUser = createStubRequest(
'FETCH_USER',
{ id: 1, name: "John Doe" },
{ delay: 500 }
)
v6.1.0
- Allows
createStubRequest
to reject with a given error
v6.0.0
- Allows middleware to use request adapter
- Removes
requestWithKey
and setFromRequest
- Renames
createStubRequest
to stubRequest
v5.7.0
- Adds convenience functions:
createGetRequest
, createPostRequest
, etc
v5.6.0
onUnauthorized
action creator is now passed error
and request
arguments
v5.4.0
- Adds
stubRequest
action creator function