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

chore(deps): update dependency redux-actions to v3 #117

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 24, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
redux-actions dependencies major ^0.13.0 -> ^3.0.0 OpenSSF Scorecard

Release Notes

redux-utilities/redux-actions (redux-actions)

v3.0.3

Compare Source

v3.0.0

Compare Source

  • Build: Use modern build stack based on Vite (#​386, #​388)
  • CI: Use Github Actions (#​387)
  • Breaking Changes: ESM only and default export, dropped CommonJS/UMD builds

v2.6.5

Compare Source

  • Fix: IE11 does not support Array.prototype.includes (#​335)
  • Fix: Prevent double-prefixing when using combineActions (#​334)

v2.6.4

Compare Source

v2.6.3

Compare Source

v2.6.1

Compare Source

v2.6.0

Compare Source

  • use own isFunction, isPlainObject´ and isSymbol checks (#​312) (2802c9a)

v2.5.1

Compare Source

v2.5.0

Compare Source

  • remove lodash and lodash-es dependency (#​307) (87ff772)
    • Also reduces package size by ~50%

Before

screen shot 2018-07-25 at 15 08 53

After

screen shot 2018-07-25 at 15 06 08

v2.4.0

Compare Source

  • Make combineActions works with nested handleActions (#​294)
  • Add sideEffects: false to enable tree shaking (#​295)

v2.3.2

Compare Source

  • use curry instead of fp/curryN to be compatible with lodash-es (ff7422b)

v2.3.1

Compare Source

v2.3.0

Compare Source

  • Allow actions to be prefixed

v2.2.1

Compare Source

758ad10 Rename module to be action-agnostic (@​yangmillstheory)

v2.2.0

Compare Source

v2.1.0

Compare Source

Resolve #​220 with b9101a3 (@​JasonKid).

v2.0.3

Compare Source

Make createAction more efficient by doing more pre-processing up front. c87508b

Thanks to @​Lucretiel.

v2.0.2

Compare Source

Couple of improvements; thanks to the contributors.

v2.0.1

Compare Source

Fix a missing export causing warnings in module bundlers.

https://github.com/acdlite/redux-actions/pull/198, @​krisaoe, 727d9c1

v2.0.0

Compare Source

This release adds the ability to create structured and namespaced action creators (redux-utilities/redux-actions@a4047db, @​yangmillstheory).

The only backwards-incompatible change is around this behavior, and so necessitated a major version bump.

v1.2.2: 1.2.2

Compare Source

Fix #​185.

redux-utilities/redux-actions@69f7be1 - @​yangmillstheory @​inxilpro

v1.2.1

Compare Source

Enhancements

This approximately halves the minified bundle size. Original credit goes to @​lxe.

v1.2.0

Compare Source

Mostly, this release adds a new ES2015 build in the es/ folder for tree-shaking bundlers like Webpack2 and Rollup.

v1.1.0

Compare Source

We found that lots of library users were specifying null payload creators in createActions and createAction. Rather than force them into a strict paradigm of passing just undefined, we decided to continue allowing this behavior. See #​170, #​169.

Also, this adds an example of how to use combineActions with createActions in the README, in response to #​163.

Fixes

Documentation

v1.0.1

Compare Source

With #​141 we have made other libraries incompatible with redux-actions and it resulted to an unexpected behavior (#​164, #​167). If an action is not a FSA, handleAction should not handle it and just pass it to the next reducer. This fix will remove the FSA check to support Non-FSA.

Fixes

v1.0.0

Compare Source

This is our first major release. If you experience any undocumented issues, please let us know immediately in the issues or feel free to open a pull request. Any contribution is much appreciated. We try our best to ship new fix releases as fast as we can.

From now on we are checking heavily for correct usage of this library and using invariant for throwing errors. It is a mirror of Facebooks invariant in React and makes use of the process.env.NODE_ENV value as well.

Another big change is that the payload can only be omitted with undefined. That allows us to pass null as payload, which has been requested many times by the community. We also had a long discussion on the proper usage of null and undefined for omitting values in general. You can read it in #​115 and #​128.

If you want to have a quick chat with us, tweet us @​yangmillstheory or @​timche_.

BREAKING CHANGES

Enhancements


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 was generated by Mend Renovate. View the repository job log.

Copy link

sourcery-ai bot commented Jan 24, 2025

Reviewer's Guide by Sourcery

This pull request updates the redux-actions dependency from version 0.9.1 to 3.0.0. This is a major version update, which includes breaking changes such as ESM only and default export, and dropping CommonJS/UMD builds.

Class diagram showing redux-actions module export changes

classDiagram
    class ReduxActionsV0.9 {
        +createAction()
        +handleAction()
        +handleActions()
        CommonJS exports
        UMD exports
    }

    class ReduxActionsV3 {
        +createAction()
        +handleAction()
        +handleActions()
        ESM default export only
    }

    ReduxActionsV0.9 --> ReduxActionsV3: Major Version Update
    note for ReduxActionsV3 "Breaking: ESM only with default export"
Loading

File-Level Changes

Change Details Files
Updated the redux-actions dependency to the latest major version.
  • Updated redux-actions from ^0.9.1 to ^3.0.0 in package.json.
  • Updated redux-actions in package-lock.json.
client/package.json
client/package-lock.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/redux-actions-3.x branch from 69b92b2 to 9534c98 Compare January 24, 2025 14:22
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.

0 participants