Skip to content
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

Update dependency connected-react-router to v6 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 1, 2019

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
connected-react-router ^4.3.0 -> ^6.0.0 age adoption passing confidence

Release Notes

supasate/connected-react-router

v6.9.3

Compare Source

Security Fixes

  • Updated several packages by Dependabot

Fix

v6.9.2

Compare Source

Security fixes

  • Updated several packages by Dependabot

Misc

v6.9.1

Compare Source

Fix

v6.9.0

Compare Source

Enhancement

Fix

Security

  • Add CodeQL Analysis for helping automatically detect common vulnerabilities and coding errors (@​supasate)
  • Several security fixes (@​dependabot)

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
})
  1. 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

v4.5.0

Compare Source

Feature

Fix


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.

@renovate
Copy link
Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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.

1 participant