Skip to content

fix(deps): update dependency connected-react-router to v6 #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 9, 2018

This PR contains the following updates:

Package Type Update Change
connected-react-router dependencies major 4.5.0 -> 6.8.0

Release Notes

supasate/connected-react-router

v6.8.0

Compare Source

Enhancement

Fix

Security

v6.7.0

Compare Source

Feature

Enhancements

Security

v6.6.1

Compare Source

Fix

v6.6.0

Compare Source

Enhancements

Fixes

Security issues

Docs

v6.5.2

Compare Source

Security

  • Upgraded handlebars to fix its security issue.
  • Upgraded js-yaml to fix its security issue.

v6.5.1

Compare Source

Security

  • Upgraded lodash to 4.17.14 to fix its security issue.

v6.5.0

Compare Source

Enhancement

Documentation

v6.4.0

Compare Source

Enhancement

Fixes

Documentation

v6.3.2

Compare Source

Fixes

v6.3.1

Compare Source

Fix

v6.3.0

Compare Source

Enhancements

Fix

v6.2.2

Compare Source

Fixes

v6.2.1

Compare Source

Fix

v6.2.0

Compare Source

Fixes

Enhancements

Doc

v6.1.0

Compare Source

Fixes

  • Move onLocationChanged to componentDidMount to avoid side-effect in constructor (#​217
  • Prevent double-rendering on initilization (#​218)
  • Prevent ConnectedRouter from re-rendering on every redux store update (#​208, #​216)

These fixes are significantly contributed by @​Annatsu, @​SergeyPoluektov, @​jakewies, @​firec0der, @​madsmadsen, and @​supasate.

Feature

v6.0.0

Compare Source

This is a major version upgrade to support React Redux v6 that uses the new Context API. So, it requires React v16.4 and React Redux v6.0 or later. No need to change anything in your codebase besides upgrading these packages.

Breaking Change

  • Require React v16.4 and React Redux v6.0 or later.

Enhancement

Docs

Misc

v5.0.1

Compare Source

Fixes

v5.0.0

Compare Source

Breaking Change

Align public API with react-router-redux and allow various integrations (redux-loop, rematch, etc.) (@​sgal in #​150)

  1. In your reducer file, instead of exporting a root reducer, we need to export a function accepting history and returning a root reducer with a router key that uses connectRouter(history). Note: The key MUST be router.

    // reducers.js

    import { combineReducers } from 'redux'
    import { connectRouter } from 'connected-react-router'

    export default (history) => combineReducers({
    router: connectRouter(history),
    ... // rest of your reducers
    })

  2. In store configuration,

    // configureStore.js
    import { createBrowserHistory } from 'history'
    import { applyMiddleware, compose, createStore } from 'redux'
    import { routerMiddleware } from 'connected-react-router'
    import createRootReducer from './reducers'

    const history = createBrowserHistory()
    const store = createStore(
    createRootReducer(history), // root reducer with router state
    initialState,
    compose(
    applyMiddleware(
    routerMiddleware(history), // for dispatching history actions
    // ... other middlewares ...
    ),
    ),
    )

Enhancement

Bug fix


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot requested a review from notrab December 9, 2018 10:13
@vercel
Copy link

vercel bot commented Dec 9, 2018

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 241cfce to 658529e Compare December 20, 2018 03:22
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 658529e to 59a80d8 Compare December 27, 2018 20:47
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch 2 times, most recently from 2b284ac to e9bbc9f Compare January 13, 2019 15:00
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from e9bbc9f to 578ee24 Compare January 20, 2019 02:47
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 578ee24 to 95f0c07 Compare February 6, 2019 10:26
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 95f0c07 to 0079f4c Compare February 6, 2019 20:42
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 0079f4c to cf86e5c Compare February 10, 2019 13:38
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from cf86e5c to c203aa5 Compare February 12, 2019 17:20
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from c203aa5 to 4823558 Compare February 14, 2019 21:40
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 4823558 to a33f66e Compare February 21, 2019 20:50
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from a33f66e to b219f62 Compare March 6, 2019 01:28
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from b219f62 to 09176c2 Compare March 10, 2019 13:39
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 09176c2 to 7fbeeea Compare March 16, 2019 03:23
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 7fbeeea to e9f75ee Compare March 18, 2019 18:46
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from e9f75ee to 18ad0d0 Compare March 18, 2019 21:42
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 18ad0d0 to ebdc97b Compare March 22, 2019 19:58
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 1d6162e to 7e97288 Compare July 13, 2019 18:56
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 7e97288 to 4241da7 Compare August 9, 2019 00:48
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 4241da7 to c588962 Compare September 27, 2019 22:44
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from c588962 to da12bd5 Compare September 28, 2019 20:50
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from da12bd5 to 5485eb1 Compare October 4, 2019 00:46
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 5485eb1 to ff2467d Compare October 8, 2019 22:50
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from ff2467d to c37ec52 Compare October 22, 2019 23:54
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from c37ec52 to a5654dc Compare November 15, 2019 02:49
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from a5654dc to 8322042 Compare November 17, 2019 10:43
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 8322042 to f9af356 Compare November 25, 2019 06:59
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from f9af356 to 6d9f7eb Compare February 9, 2020 11:31
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 6d9f7eb to 987c301 Compare April 29, 2020 04:00
@renovate renovate bot force-pushed the renovate/connected-react-router-6.x branch from 987c301 to bf5f28b Compare May 17, 2020 20:58
@notrab notrab closed this Jun 5, 2020
@renovate
Copy link
Contributor Author

renovate bot commented Jun 5, 2020

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/connected-react-router-6.x branch June 5, 2020 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants