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 redux-logger to v3 #46

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 11, 2017

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
redux-logger 2.10.2 -> 3.0.6 age adoption passing confidence

Release Notes

theaqua/redux-logger

v3.0.6

Compare Source

Changelog

  • fix: use Object.assign() instead of object spread operator because non-standard feature #​229
  • fix: removed babel: {} options from package.json
  • fix: remove dangling comma because non-standard feature #​230
  • fix: remove module and jsnext:main properties from package.json

v3.0.1

Compare Source

Changelog

  • fix: ignore color formatting with custom titleFormatter (#​216)

v3.0.0

Compare Source

Breaking change

In 2.9.0 we introduced default logger, but this led to problems (#​210).

It was so bad that we publish 3 broken versions. So, we decided made a breaking change: by default we now export logger with default options and createLogger is now coming as named import.

TL;DR

You need to change your import

import { applyMiddleware, createStore } from 'redux'

- import createLogger from 'redux-logger'
+ import { createLogger } from 'redux-logger'
// or
- var createLogger = require('redux-logger')
+ var createLogger = require('redux-logger').createLogger

const logger = createLogger()

const store = createStore(
  reducer,
  applyMiddleware(logger)
)

or use logger with default settings

import { applyMiddleware, createStore } from 'redux'
import logger from 'redux-logger'
// or const { logger } = require('redux-logger')

const store = createStore(
  reducer,
  applyMiddleware(logger)
)

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, click this checkbox.

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

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