Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Bump react-redux from 5.0.6 to 7.1.3 #601

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Nov 12, 2019

Bumps react-redux from 5.0.6 to 7.1.3.

Release notes

Sourced from react-redux's releases.

v7.1.3

Forgot to remove a console statement before I published 7.1.2. Oops!

Lint your source code before publishing, folks.

Changes

v7.1.2

This releases fixes a subtle timing bug with connect and useSelector in React Native environments, and adds the ability to pass through non-Redux-store values as a store prop.

Fixed Store Subscriptions in React Native

Our current implementation requires cascading updates down through connected components. This is primarily done during React's "commit phase" via the useLayoutEffect hook. Unfortunately, React warns when useLayoutEffect is called in SSR environments, so we try to feature-detect that and fall back to useEffect just to avoid that warning.

Unfortunately, a tweak to the feature detection conditions during the pre-7.1.0 work caused the check to accidentally fail in React Native environments. This meant that useEffect was actually being used all the time, and this led to occasional timing bugs such as #1313 and #1437 . This affected the previous v7.1.x releases.

We've fixed that issue, and added additional test cases to ensure that our code works correctly under React Native.

See #1444 for more details on the feature detection and the fix.

Passing Through Non-Store Values

connect has always accepted passing a Redux store directly to connected components as a prop named store (with the exception of v6). As a result, the store prop has effectively been treated as a "reserved" prop, in much the same way that key and ref are "reserved" prop names handled by React.

Some users may be using the word "store" to describe their domain data, and have asked to allow variables that aren't a Redux store through the store prop to the component (#1393). We've finally been able to implement that capability.

Changes

v7.1.1

This release is sponsored by Deft, providing technical teams to high-growth SaaS companies with the processes they need to scale successfully. Please reach out to see how we can help with your software development, systems architecture, and infrastructure design needs.


This release includes some new APIs for those that want to use a custom React Context with our Hooks API, a small memory optimization, and has a fix for when the store changes on a Provider with incompatible children.

Changes

... (truncated)
Commits
Maintainer changes

This version was pushed to npm by acemarke, a new releaser for react-redux since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 12, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.1.3 branch 7 times, most recently from 35858aa to da2f11f Compare November 13, 2019 13:50
@dependabot-preview
Copy link
Contributor Author

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.1.3 branch 7 times, most recently from 818513a to d0fbc37 Compare November 26, 2019 08:58
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.1.3 branch 10 times, most recently from ea6d9f7 to 0955896 Compare December 3, 2019 12:40
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.1.3 branch 2 times, most recently from 59adf4b to c1dc5f4 Compare December 3, 2019 21:35
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.1.3 branch 9 times, most recently from 7df7bd5 to 75e370a Compare January 21, 2020 20:00
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.1.3 branch 6 times, most recently from c138475 to f638d0b Compare January 29, 2020 05:48
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.1.3 branch 7 times, most recently from 26e34b6 to f2705f4 Compare February 11, 2020 10:09
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.1.3 branch 3 times, most recently from 38a2fb2 to 472bb9d Compare February 11, 2020 15:22
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.1.3 branch from 472bb9d to 64894ee Compare February 11, 2020 21:17
@dependabot-preview
Copy link
Contributor Author

Superseded by #744.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/react-redux-7.1.3 branch February 18, 2020 10:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants