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 redux-thunk to version 2.0.0 πŸš€ #45

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

Conversation

greenkeeperio-bot
Copy link
Contributor

Hello πŸ‘‹

πŸš€πŸš€πŸš€

redux-thunk just published its new version 2.0.0, which is not covered by your current version range.

If this pull request passes your tests you can publish your software with the latest version of redux-thunk – otherwise use this branch to work on adaptions and fixes.

Happy fixing and merging 🌴


GitHub Release

Breaking Changes

If you used Redux Thunk from npm in CommonJS environment, you need to add .default to your requires:

- var ReduxThunk = require('redux-thunk')
+ var ReduxThunk = require('redux-thunk').default

If you used ES modules, you’re already all good:

import ReduxThunk from 'redux-thunk' // no changes here πŸ˜€

New Features

UMD build

Like with CommonJS build, you will need to grab the middleware from .default export:

var ReduxThunk = window.ReduxThunk.default

ES modules build

Rollup users can now use redux-thunk directly without commonjs plugin.


The new version differs by 31 commits .

  • bc1641c 2.0.0
  • 470b2d4 Merge pull request #59 from gaearon/umd
  • 8f0f79f Fix Travis config
  • 9ae4ec5 Build UMD correctly
  • 621539d Specify jsnext:main
  • d642913 feat(es-modules): Adding es modules support
  • fbb7f1d feat(umd): Adding umd support
  • 9e99c17 Merge pull request #55 from ipeters90/configure-lint-script
  • b821b8b fixed eslint errs and added npm script
  • fcf7598 Merge pull request #54 from samsch/update-rackt-links
  • 31a8788 Updated rackt links to redux.js.org and reactjs/
  • 78c87f4 Merge pull request #53 from jirutka/patch-1
  • 09baf8d editorconfig: do not trim trailing whitespaces in Markdown files
  • 68f15eb Update README.md
  • 879193a Update to Redux 3.1 API

There are 31 commits in total. See the full diff.


This pull request was created by greenkeeper.io.
It keeps your software, up to date, all the time.

Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster ⚑

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.

None yet

1 participant