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

[Depsy] Upgrade dependency redux-logger to 2.0.4 #32

Closed
wants to merge 1 commit into from

Conversation

relekang
Copy link
Member

Hi!

A new version was just released of redux-logger, so Depsy
has upgraded your project's dependency ranges.

Make sure that it doesn't break anything, and happy merging! :shipit:


Upgraded redux-logger to 2.0.4

Changelog:

Version 2.0.3

Changelog

Version 2.0.2

Changelog

Version 2.0.1

Changelog

Version 2.0.0

It's time to drop support for old deprecated applyMiddleware(logger) without options! 🎉

Breaking changes

  • support for old logger is dropped, so now redux-logger supports only createLogger() with options

  • actions now transforms via actionTransformer, so if you have, for example, action type as Symbol, you need write your own function which returns action with action.type as String.

    const logger = createLogger({
      actionTransformer: (action) => {
        return Object.assign({}, action, {
          type: String(action.type),
        });
      },
    });
    
    const store = applyMiddleware(logger)

Changelog

  • actionTransformer ([Depsy] Upgrade dependency redux-form to ^2.2.7 #31, [Depsy] Upgrade dependency react-redux to 4.0.0 #33), function which transforms action before logging (for example, SymbolString or convert Immutable.js to plain JS object

  • umd builds in /dist/index.js and /dist/index.min.js with name reduxLogger

    <script src="/redux-logger/dist/index.js"></script>
    <script>
      const logger = reduxLogger({
        duration: true,
        collapsed: true,
      });
    </script>

    I don't know, maybe somebody needs it.

  • createLogger() now fully documented using JSDoc

  • README updated too

  • updated packages in example

  • also updated example for latest best practices (for example, switched from deprecated react-hot-loader to react-transform and react-transform-hmr), so if you starter in webpack, react or redux, check out it, because now that tiny example is more useful than ever.

Version 1.0.9

Changelog

Version 1.0.8

Changelog

P.S: boolean value supported too, of course.

Version 1.0.7

Changelog

@ekmartin ekmartin closed this Oct 15, 2015
@ekmartin ekmartin deleted the depsy-redux-logger-15_10_15_08_53_43 branch October 15, 2015 19:35
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