Skip to content

Releases: zewish/redux-remember

5.2.0

16 Nov 16:11
Compare
Choose a tag to compare

Implemented RehydrateGate example component in React.

5.1.0

07 Jan 19:49
Compare
Choose a tag to compare

Add optional errorHandler error handler hook function which is gets a first argument of type PersistError or RehydrateError - these include a full error stack trace pointing to the source of the error. If this option isn't specified the default behaviour is to log the error using console.warn()

5.0.1

09 Dec 14:43
Compare
Choose a tag to compare
Use explicit .cjs extension when importing CommonJS files

5.0.0

08 Dec 08:59
Compare
Choose a tag to compare

Notable changes:

  • Upgrade and and make sure to support [email protected]+ and RTK2.0.1+. In case you want to keep using this library with an older versions of Redux or Redux Toolkit you'll need to use version 4.2.2 of Redux Remember;
  • Remove old-school UMD build since none of the projects we depend on seem to provide such builds with their latest relases;

4.2.2

24 Nov 16:06
Compare
Choose a tag to compare

Simplify babel build again, workarounds no longer needed.

4.2.1

19 Nov 06:45
Compare
Choose a tag to compare

Only a small README file fix. See 4.2.0 for release notes instead.

4.2.0

19 Nov 06:37
Compare
Choose a tag to compare

Adds a new option, called initActionType which allows for asynchronous initialization after init action is dispatched. This is used in special cases whenever you want to do something before state gets rehydrated and persisted automatically (e.g. preload your state from SSR, then fire the init action like next-redux-wrapper does).

This is a non-breaking change - the new option is disabled by default, so nothing changes for existing users.

4.1.0

16 Nov 14:08
Compare
Choose a tag to compare

Merge keys with redux state instead of completely replacing it.

4.0.4

09 Sep 08:50
Compare
Choose a tag to compare

Move web-based demo to GitHub pages.

4.0.3

05 Sep 16:56
Compare
Choose a tag to compare
Fix a typo in README