Skip to content

Releases: redux-saga/saga-query

Fix react optional

14 Jan 04:24
967cd40
Compare
Choose a tag to compare
v2.1.2

wrong key for exports

Fix react optional

14 Jan 04:12
0397d1b
Compare
Choose a tag to compare
v2.1.1

exports in package json

React optional and new uri function

14 Jan 03:28
24b9a85
Compare
Choose a tag to compare
  • React is now optional
  • New api api.uri(uri: string) which returns all the http methods scoped to the uri

React hooks

08 Sep 22:18
00d0d91
Compare
Choose a tag to compare

Introducing a couple of react hooks that will make it easier to leverage saga-query.

  • useQuery: hook to automatically load the data as well as the associated loader
  • useSimpleCache: hook to use a simple cache with its data and loader

Better default error handling

24 Jun 15:50
8e2a4cb
Compare
Choose a tag to compare

errorHandler which is placed inside requestMonitor will now display an error from where the error originated from as well as post the ctx object. This should make debugging when an endpoint throws an error easier.

Update undo middleware and upgrade robodux

20 Jun 21:57
414544e
Compare
Choose a tag to compare

There was a regression from the v1 release where undoer middleware wasn't working as expected when calling undo(). I also upgraded robodux.

simplify ctx.loader

20 Jun 14:22
a864b74
Compare
Choose a tag to compare

I modified ctx.loader to be simpler to interact with

`prepareStore` and revamped middleware

20 Jun 05:12
9cb1d58
Compare
Choose a tag to compare

This release adds some breaking changes. In particular, some middleware have been renamed:

  • loadingTracker -> loadingMonitor

loadingMonitor now drops the loaders parameter in favor of leveraging prepareStore.

prepareStore helps end-developers setup their redux store loaded with redux-saga, redux-batched-actions, and a couple of reducers: loaders and data. Middleware now use these assumptions to make the developer experience more unified and ergonomic.

We recommend everyone to use prepareStore before creating their redux store.

We added two new composed middleware: requestMonitor and requestParser. These both will provide a better developer experience for monitoring request lifecycle and parsing the request.

Public Release

16 Jun 19:24
f083f84
Compare
Choose a tag to compare
v0.0.18

create proper action

Bug fix

16 Jun 18:36
43f522e
Compare
Choose a tag to compare

We need to return the action for doIt and undo