dalen / puppetexplorer

Puppet web interface written in CoffeeScript using AngularJS
demo.puppetexplorer.io
Other
412 stars 43 forks source link

Bump react-redux from 5.0.7 to 6.0.0 #552

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps react-redux from 5.0.7 to 6.0.0.

Release notes *Sourced from [react-redux's releases](https://github.com/reduxjs/react-redux/releases).* > ## v6.0.0 > πŸŽ‰ This is our first big release supporting the new Context API added in React 16.4! > > 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**](https://github.com/cellog) and [**markerikson**](https://github.com/markerikson), with special guest appearances by yours truly and a whole cast of helpful reviewers. > > > **Note**: If you'd like to know more about the changes in v6, and how the implementation has changed over time, see Mark's post **[Idiomatic Redux: The History and Implementation of React-Redux](https://blog.isquaredsoftware.com/2018/11/react-redux-history-implementation/)**. > > ### Breaking Changes > > - 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. > > - Passing `store` as a prop to a connected component is no longer supported. Instead, you may pass a custom `context={MyContext}` prop to both `` and ``. You may also pass `{context : MyContext}` as an option to `connect`. > > ### Behavior Changes > > Any library that attempts to access the store instance out of legacy context will break, because we now put the store state into a `` 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. > > ## [Changes](https://github.com/reduxjs/react-redux/compare/v5.1.0...v6.0.0) > > - Use React.createContext() ([#1000](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1000) by [**cellog**](https://github.com/cellog)) > - Use Prettier ([#1071](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1071) by [**NMinhNguyen**](https://github.com/NMinhNguyen)) > - Only run isValidElementType in development builds ([#1069](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1069) by [**alexreardon**](https://github.com/alexreardon)) > - Treat `null` as a valid plain object prototype in `isPlainObject()` ([#1075](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1075) by [**rgrove**](https://github.com/rgrove)) > - Ensure connectAdvanced only re-renders if derived props change ([#1079](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1079) by [**epeli**](https://github.com/epeli) and [**markerikson**](https://github.com/markerikson)) > > ## v6.0.0-beta.3 > ## [Changes](https://github.com/reduxjs/react-redux/compare/v6.0.0-beta.2...v6.0.0-beta.3) > > - Treat `null` as a valid plain object prototype in `isPlainObject()` ([#1075](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1075) by [**rgrove**](https://github.com/rgrove)) > - Ensure connectAdvanced only re-renders if derived props change ([#1079](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1079) by [**epeli**](https://github.com/epeli) and [**markerikson**](https://github.com/markerikson)) > > ## v6.0.0-beta.2 > Just a small fix to relax the React peer dependency back to 16.4+. > > ## v6.0.0-beta.1 > πŸŽ‰ This is our first big release supporting the new React Context API! No more [blocked updates](https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/blocked-updates.md)! > > 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**](https://github.com/cellog) and [**markerikson**](https://github.com/markerikson), with special guest appearances by yours truly and a whole cast of helpful reviewers. While we've had a lot of eyes on this refactor, we need more! Please test this out in your applications and let us know if there are big performance or feature regressions. > > ```sh > npm install react-redux@next > ``` > > _Note: 6.0.0-beta.2 is now on npm. This fixes an incorrect peer dependency for React 16.6 in beta.1._ > ... (truncated)
Commits - [`581ece4`](https://github.com/reduxjs/react-redux/commit/581ece46b8a4179587fe88a6d10000472acffee7) 6.0.0 - [`9062722`](https://github.com/reduxjs/react-redux/commit/9062722d04b096b5ee996fae9d56b07b7ad29cee) Upgrade a bunch of deps. - [`7564f73`](https://github.com/reduxjs/react-redux/commit/7564f738a6bf306d36233d3bbf46658d859a229d) Fix bad URL generation - [`cf11a25`](https://github.com/reduxjs/react-redux/commit/cf11a25fe2afc11c3cf013c3ab2c4014c72d60b0) Add new "Why use React-Redux?" page ([#1097](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1097)) - [`ce17d0c`](https://github.com/reduxjs/react-redux/commit/ce17d0c1176fc7a5eb1eacd9eb25240385962272) Update Docusaurus and docs URLs ([#1096](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1096)) - [`f0840f1`](https://github.com/reduxjs/react-redux/commit/f0840f1daa09edc16f6c6a10f72ec5ec36d7b223) 6.0.0-beta.3 - [`6a2e878`](https://github.com/reduxjs/react-redux/commit/6a2e878a8d7d89b369cdd0f9eabe50295ac8637f) Forgot to rebuild the lockfile. - [`dba598b`](https://github.com/reduxjs/react-redux/commit/dba598bef291793aff2afa73355d0b3a00489bb0) Add connectAdvanced() tests ([#1079](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1079)) - [`1dc56ca`](https://github.com/reduxjs/react-redux/commit/1dc56cac63f4d41addbbb7d76c731d9856911dd3) Re-enable "should throw if not in context" test - [`8987de0`](https://github.com/reduxjs/react-redux/commit/8987de0c84085880adb2bee640b82dd850b59bf3) Treat `null` as a valid plain object prototype in `isPlainObject()` ([#1075](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1075)) - Additional commits viewable in [compare view](https://github.com/reduxjs/react-redux/compare/v5.0.7...v6.0.0)


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 will not automatically merge this PR because it includes a major update to a production dependency.


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 cancel merge` will cancel a previously requested merge - `@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](https://app.dependabot.com): - 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[bot] commented 5 years ago

Superseded by #577.