Open greenkeeper[bot] opened 5 years ago
dependency
react-redux was updated from 5.0.7
to 5.1.1
.Update to this version instead π
dependency
react-redux was updated from 5.0.7
to 6.0.0
.Update to this version instead π
As such, we now require React 16.4 or higher. Make sure to update your version when updating to this release.
This work has been mostly lead by @cellog and @markerikson, with special guest appearances by yours truly and a whole cast of helpful reviewers.
The withRef
option to connect
has been replaced with forwardRef
. If {forwardRef : true}
has been passed to connect
, adding a ref to the connected wrapper component will actually return the instance of the wrapped component. (Known issue: Redux Form currently relies on withRef
.)
Passing store
as a prop to a connected component is no longer supported. Instead, you may pass a custom context={MyContext}
prop to both <Provider>
and <ConnectedComponent>
. You may also pass {context : MyContext}
as an option to connect
.
Any library that attempts to access the store instance out of legacy context will break, because we now put the store state into a <Context.Provider>
instead. Examples of this include connected-react-router
and react-redux-subspace
. (The current implementation does also put the store itself into that same context. While accessing the store in context is not part of our public API, we will still try to make it possible for other libraries to access it, with the understanding that this could break at any time.)
Also, there is a behavior change around dispatching actions in constructors / componentWillMount
. Previously, dispatching in a parent component's constructor would cause its children to immediately use the updated state as they mounted, because each component read from the store individually. In version 6, all components read the same current store state value from context, which means the tree will be consistent and not have "tearing". This is an improvement overall, but there may be applications that relied on the existing behavior.
null
as a valid plain object prototype in isPlainObject()
(#1075 by @rgrove)The new version differs by 17 commits ahead by 17, behind by 3.
581ece4
6.0.0
9062722
Upgrade a bunch of deps.
7564f73
Fix bad URL generation
cf11a25
Add new "Why use React-Redux?" page (#1097)
ce17d0c
Update Docusaurus and docs URLs (#1096)
f0840f1
6.0.0-beta.3
6a2e878
Forgot to rebuild the lockfile.
dba598b
Add connectAdvanced() tests (#1079)
1dc56ca
Re-enable "should throw if not in context" test
8987de0
Treat null
as a valid plain object prototype in isPlainObject()
(#1075)
59aaba5
Relax React peer dep back to 16.4
7496b91
6.0.0-beta.1
1a92b56
npm audit fix
0c048f0
Use Prettier (#1071)
85fb553
Use React.createContext() by @cellog (#1000)
There are 17 commits in total.
See the full diff
dependency
react-redux was updated from 5.0.7
to 6.0.1
.Update to this version instead π
This is a minor release with support for react-hot-loader and a few small bug fixes for edge cases.
While you're here, please stop by #1177 to see our roadmap for the next versions of React Redux. We are aware that performance is not so hot in 6.0. Short version: We put too much traffic on React's context API, which isn't really designed for high levels of reads and writes. We're looking to reduce that load and get performance back on track in a minor release, so there won't be backwards compatibility concerns. We have a new extensive benchmark suite to keep us on track and ensure we're not regressing on speed in the future.
And yes, we know about Hooks. Check out #1179.
context
prop really contains a React context (#1134 by @casdevs)The new version differs by 35 commits.
162b81a
6.0.1
d8a7ab5
Update build deps. Add React 16.8 tests.
6ad2b55
Remove --save option as it isn't required anymore (#1193)
fac9ad1
Update Provider.md and quick-start.md (#1182)
9bf2375
Update Provider.md
fcd5ed8
Update Provider.md
c198249
Update react-router usage example (#1180)
ab77450
Upgrade to react-is v16.7.0 (#1174)
0bf4e1f
Remove duplicate line in connect api documents (#1173)
6e0a106
Updated: Support React-Hot-Loader compatibility (#1168)
63af52f
Update accessing-store.md (#1163)
5199d9d
Ensure that component prop 'context' really contains a React context β¦ (#1134)
e7661b3
Fix spacing issues (#1153)
75b90f9
Add / change docs about v6 (#1148)
5088345
Add connect()
API doc (#1140)
There are 35 commits in total.
See the full diff
dependency
react-redux was updated from 5.0.7
to 7.0.0
.Update to this version instead π
The new version differs by 9 commits.
608c9c5
7.0.0
fa58572
Use Hooks internally (aka 7.0) (#1209)
eae14cc
Enable versioned docs (#1106)
28adb54
Touch up deps and Travis config
8e20a05
Update the codecov config to be more forgiving.
72ed6db
npm install lockfile flapping π
4f3c2e2
Replace double whitespaces with single once in the custom store warning message (#1199)
471cb2c
Change CommonJS Broken Docs Link (#1198)
5bf647d
Add first SSR integration-tests (#1197)
See the full diff
dependency
react-redux was updated from 5.0.7
to 7.0.1
.dependency
react-redux was updated from 5.0.7
to 7.0.2
.dependency
react-redux was updated from 5.0.7
to 7.0.3
.dependency
react-redux was updated from 5.0.7
to 7.1.0
.dependency
react-redux was updated from 5.0.7
to 7.1.1
.dependency
react-redux was updated from 5.0.7
to 7.1.2
.dependency
react-redux was updated from 5.0.7
to 7.1.3
.dependency
react-redux was updated from 5.0.7
to 7.2.0
.
The dependency react-redux was updated from
5.0.7
to5.1.0
.This version is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Release Notes for v5.1.0
The biggest fix is for
connect()
being used with React's newerforwardRef
,memo
, andlazy
APIs.We also have begun a complete rewrite of our docs for React Redux. Check them out! Many thanks to those who contributed: @markerikson, @sveinpg, @wgao19, @BTMPL, @pyliaorachel, @dagstuan, @Kerumen, and @carloluis (sorry if I forgot someone!). Docs are a great way to get started contributing to open source, so open a PR today! Check #1001 to see what else needs to be done.
We're also looking at overhauling Redux's documentation. Check out reduxjs/redux#2590 for the latest there.
Changes
Commits
The new version differs by 56 commits.
b245f83
5.1.0
307f463
Rebuild lock files with npm 6.4.1
1b43eaa
(feat): support react 16.6 (#1062)
2093fbb
Upgrade to babel@7 (#1043)
bc7b6a9
docs: enable search for docusaurus site (#1060)
1e93536
Add nodejs version 10 for ci (#1058)
1ab1596
fix log message hint for ownProps on map function (#1056)
0d9325e
Docs/refactor getting started (#1054)
ba6b010
Update docs link
dde1a0a
Clean-Ups after
mapState
(#1042)294c42c
[Docs] Fix duplicated words in
mapState
(#1037)05f943d
Fixed broked links in footer (#1041)
cde9c04
Fix a very small typo in mapStateToProps docs (#1040)
1db16a4
Fix link to getting started doc (#1039)
f930a76
Docs/extracting data with mapstate (#1036)
There are 56 commits in total.
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donβt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: