Releases: sorodrigo/redux-offline
Releases · sorodrigo/redux-offline
v2.2.0
Bug Fixes
- Prevent outdated connectivity info from updating the online status. (@birgernass in #58 )
- Updated deprecated Net Info. (@kbrandwijk in #52 )
- Fix failing test. (@wacii in #51 )
- Fix payload/meta inconsistency in
README.MD
. (@elf-pavlik in #38 ) - Remove console statements. (@wacii in #34 )
Features
- Allow to use promises in discard function. (@piranna in #53 )
- Add basic example (@wacii in #46 )
- Tests for default effector (@piranna in #43 )
- Immutable js root state (@fabriziomoscon and @Ashmalech in #42 )
- Support HMR (@wacii in #32 )
- Optional commit/rollback. (@sebasgarcep in #30 )
- Alternative API: Give user control over where the middleware is applied. (@wacii in #26 )
- Add prettier as eslint plugin (@wacii in #24 )
- Extract send from middleware. (@wacii in #23 )
v2.1.0
- Adds netInfo to
detectNetwork.native.js
. - Adds fallback to prevent crashes when no
Content-Type
header is found oneffect.js
. - Prevents js errors on commit reducers bubbling up to the rollback. Expose the error with a redux action for handling.
- Fixes offline not being restored correctly on persist rehydrate actions.
- Adds tests.
- Fixes redux dev-tools integration.
- Removes unsupported code.
- Changes eslint config to airbnb.