This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
Releases: ioof-holdings/redux-subspace
Releases · ioof-holdings/redux-subspace
v6.2.1 (Deprecation)
v6.2.0
v6.1.0
v6.0.0
Changes
- Prevent subspace from being recreated if mapState function changes reference (#137)
- Improved types where strings are used to create subspaces (the string must not be a
keyof
the state) - Refs are now being forwarded when using the
subspaced
orparentSpaced
HOCs
🚨Breaking changes
- Removed
subspaceDecorator
prop (publicly facing, internal API) fromSubspaceProvider
- Some type definitions had to be updated to support the
keyof
changes- not all changes can be automatically inferred, so some usages will need to provide the parent state type to inform the
keyof
options
- not all changes can be automatically inferred, so some usages will need to provide the parent state type to inform the
v5.0.0
v4.0.1
v4.0.0
Update all the thing!
Changes
- Added support for
react-redux
v6 and v7 inreact-redux-subspace
- Added support for
redux-saga
v1 inredux-subspace-saga
- Added support for
redux-loop
v5 inredux-subspace-loop
- Introduced
useSubspace
anduseParentSpace
React hooks toreact-redux-subspace
- Added custom context options to all
react-redux-subspace
APIs - Updated most dependencies across all packages
- Examples updated to latest (or at least later) version of dependencies
🚨Breaking changes
react-redux
v5 is no longer supported inreact-redux-subspace
redux-saga
v0.16 is no longer supported inredux-subspace-saga
redux-loop
v3 and v4 are no longer supported inredux-subspace-loop
parentSpaced
API changed to inlcude higher-order function to accept newoptions
argument inreact-redux-subspace
- TypeScript definitons for multiple packages have been updated