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

Conversation

@dependabot-preview
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Apr 29, 2019

Bumps react-redux from 5.0.6 to 7.0.3.

Release notes

Sourced from react-redux's releases.

v7.0.3

This release includes a bugfix for a timing issue in connect(), and also lowers our React peer dependency slightly to allow better usage with React Native 0.59.

Changes

  • fix timing issue in component updates due to consecutive dispatches (#1263 by @​MrWolfZ)
  • Lower react peer dependency to ^16.8.3 (#1242 by @​jeremy-deutsch)

v7.0.2

This is a bug fix release with a small performance improvement and fix for nested component unmounting.

Changes

  • Memoize renderedWrappedComponent separately (#1234 by @​vzaidman)
  • Fix timing issue with setting up store subscription inside a connected component (#1235 by @​MrWolfZ)

v7.0.1

React-Redux version 7 resolves the performance issues that were reported with version 6, and lays the groundwork for us to design and ship a public useRedux()-type Hooks API in a later 7.x release.

The major change for this release is that connect is now implemented using Hooks internally. Because of this, we now require a minimum React version of 16.8.4 or higher.

This release has undergone extensive performance benchmarking, and we're confident that it's the fastest version of React-Redux yet! We've also expanded our test suite to cover a number of additional use cases and scenarios.

npm install react-redux@latest

For discussion on the reasons for the major version change and the development process, see:

[issue #1177 - React-Redux Roadmap: v6, Context, Subscriptions, and Hooks](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1177).

For discussion on the possible design of a future public hooks API, see:

[issue #1179: Discussion: Potential hooks API design](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1179)

Changes

This release should be public-API-compatible with version 6. The only public breaking change is the update of our React peer dependency from 16.4 to 16.8.4.

Note: connect now uses React.memo() internally, which returns a special object rather than a function. Any code that assumed React components are only functions is wrong, and has been wrong since the release of React 16.6. If you were using PropTypes to check for valid component types, you should change from PropTypes.func to PropTypes.elementType instead.

Internal Changes

Direct Component Subscriptions

In v6, we switched from individual components subscribing to the store, to having <Provider> subscribe and components read the store state from React's Context API. This worked, but unfortunately the Context API isn't as optimized for frequent updates as we'd hoped, and our usage patterns led to some folks reporting performance issues in some scenarios.

In v7, we've switched back to using direct subscriptions internally, which should improve performance considerably.

... (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.


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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 29, 2019
@dependabot-preview dependabot-preview bot requested a review from tomusdrw April 29, 2019 11:35
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.0.3 branch 2 times, most recently from 4033cbe to b624127 Compare April 30, 2019 08:44
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.0.3 branch 6 times, most recently from af8e327 to 00761b9 Compare May 14, 2019 08:46
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.0.3 branch 2 times, most recently from 73b1535 to f1e9d84 Compare May 21, 2019 08:17
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.0.3 branch 6 times, most recently from 68cc739 to 8b89ff0 Compare May 28, 2019 20:25
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.0.3 branch 8 times, most recently from f12989d to d582932 Compare June 5, 2019 06:56
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 5.0.6 to 7.0.3.
- [Release notes](https://github.com/reduxjs/react-redux/releases)
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md)
- [Commits](reduxjs/react-redux@v5.0.6...v7.0.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/react-redux-7.0.3 branch from d582932 to 1e07fbc Compare June 5, 2019 11:25
@dependabot-preview
Copy link
Contributor Author

Superseded by #399.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/react-redux-7.0.3 branch June 11, 2019 11:51
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.

1 participant