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.1 #577

Open dependabot-preview[bot] opened 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps react-redux from 5.0.7 to 6.0.1.

Release notes *Sourced from [react-redux's releases](https://github.com/reduxjs/react-redux/releases).* > ## v6.0.1 > 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](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/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](https://github.com/reduxjs/react-redux-benchmarks) 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](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1179). > > ## [Changes](https://github.com/reduxjs/react-redux/compare/v6.0.0...v6.0.1) > > - Fix for circular component object structures, such as Emotion styled components. ([#1122](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1122) by [@​Andarist](https://github.com/Andarist)) > - Minor optimization: remove conditional ([#1131](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1131) by [@​ericanderson](https://github.com/ericanderson)) > - Ensure that component `context` prop really contains a React context ([#1134](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1134) by [@​casdevs](https://github.com/casdevs)) > - react-hot-loader compatibility ([#1168](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1168)/[#1137](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1137) by [@​theKashey](https://github.com/theKashey)) > - Upgrade to react-is v16.7.0 ([#1174](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1174) by [@​nobezawa](https://github.com/nobezawa)) > > ## 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)) > > ... (truncated)
Commits - [`162b81a`](https://github.com/reduxjs/react-redux/commit/162b81a3fffe75ff6181b711777067ba6e63a34b) 6.0.1 - [`d8a7ab5`](https://github.com/reduxjs/react-redux/commit/d8a7ab51e9429a0dd041dff98d7aec14ba8f5682) Update build deps. Add React 16.8 tests. - [`6ad2b55`](https://github.com/reduxjs/react-redux/commit/6ad2b551039b044930d479bc27ef3b00c9df6991) Remove --save option as it isn't required anymore ([#1193](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1193)) - [`fac9ad1`](https://github.com/reduxjs/react-redux/commit/fac9ad19d17000f5b9fdd52fc9843225b807845b) Update Provider.md and quick-start.md ([#1182](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1182)) - [`9bf2375`](https://github.com/reduxjs/react-redux/commit/9bf2375c26d5ac25be84a8e9bcbc9cc1ff356c5a) Update Provider.md - [`fcd5ed8`](https://github.com/reduxjs/react-redux/commit/fcd5ed896ae5f51cf5994fbcc6434cf0e0631722) Update Provider.md - [`c198249`](https://github.com/reduxjs/react-redux/commit/c19824935762d59fcf452e3f18401c875523fc8a) Update react-router usage example ([#1180](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1180)) - [`ab77450`](https://github.com/reduxjs/react-redux/commit/ab7745062b2249e3914400452a9c114b2007e969) Upgrade to react-is v16.7.0 ([#1174](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1174)) - [`0bf4e1f`](https://github.com/reduxjs/react-redux/commit/0bf4e1fc9644babea0f6ef582b5eb0dd9bd873f9) Remove duplicate line in connect api documents ([#1173](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1173)) - [`6e0a106`](https://github.com/reduxjs/react-redux/commit/6e0a1067b8886cef82340aad970da6753ccda119) Updated: Support React-Hot-Loader compatibility ([#1168](https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1168)) - Additional commits viewable in [compare view](https://github.com/reduxjs/react-redux/compare/v5.0.7...v6.0.1)


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 squash and merge` will squash and 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.