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-promise-middleware to the latest version 🚀 #63

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

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Nov 19, 2017

Version 5.0.0 of redux-promise-middleware was just published.

Dependency redux-promise-middleware
Current Version 4.4.2
Type dependency

The version 5.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of redux-promise-middleware.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes Version 5.0.0

Breaking Changes 🔥 🚒

The promiseTypeSeparator config property is now promiseTypeDelimiter.

Why? Because delimiters are one or more characters used to specify the boundaries in strings. It’s a delimiter, not a separator!

applyMiddleware(
  promiseMiddleware({
    promiseTypeDelimiter: '/'
  })
)

With the above configuration, given FOO async action, the type will be appended with a forward slash / delimiter.

{
  type: 'FOO/PENDING'
}

New ✨

  • Async functions—using async/wait—are supported. Thank you to @mikew for adding this!
  • Development dependencies and example project dependencies are upgraded.
  • The middleware code comments were extended to provide a clearer picture of how it works.

Here’s an async/await example:

{
  type: 'TYPE',
  async payload () {
    const fooData = await getFooData();
    const barData = await getBarData(fooData);
<span class="pl-k">return</span> barData;

}
}

See the Async/Await guide for more.


Lastly, as this is a major release, please report any issues you encounter!

Commits

The new version differs by 8 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 18, 2018

Version 5.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 11 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 19, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 19, 2018

Version 5.1.1 just got published.

Update to this version instead 🚀

Release Notes Version 5.1.1

This release adds Typescript bindings, thanks to @franklixuefei.

Commits

The new version differs by 3 commits.

  • ef188d2 Release version 5.1.1
  • 18566cf Create Typescript Definitions (#200)
  • 1c55d30 Update README.md (#209)

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 3, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 3, 2019

Update to this version instead 🚀

Commits

The new version differs by 12 commits ahead by 12, behind by 1.

  • 612043c Release Version 6 (#231)
  • 0b61389 Revert v6 documentation (#233)
  • 15dfa1a Refactor Public API (#230)
  • f3c92da Fix Docs (#229)
  • cae01e5 Refactor Tests and Switch to babel-preset-env (#221)
  • 43429f3 Update link to middleware example (#226)
  • 75e0069 Add reference and docs for redux-promise-middleware-actions (#222)
  • 4f3460f Implement Parcel (#217)
  • 41ff859 Update issue templates (#215)
  • 04d6cef Add Gitbook (#213)
  • f483cf2 Update Dependencies (#212)
  • a5b052a Release version 5.1.1 (#210)

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 7, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 7, 2019

Update to this version instead 🚀

Commits

The new version differs by 1 commits.

  • 50c7a88 Fix npmignore for TS definitions (#237)

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 14, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 14, 2019

Update to this version instead 🚀

Release Notes for Version 6.1.0

Fixes

  • #241: ActionType enum was declared as an interface and incorrectly named ActionTypes, not ActionType.
Commits

The new version differs by 3 commits.

  • 15c37d5 Release version 6.1.0
  • 0c8c291 Fix TypeScript ActionType definition (#241) (#242)
  • 296ddb7 Update v6.md (#239)

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 15, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 15, 2019

Update to this version instead 🚀

Release Notes for Version 6.1.1

Fixes:

  • #251: URL to documentation incorrectly linked in the source code.
Commits

The new version differs by 8 commits ahead by 8, behind by 1.

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 5, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 5, 2019

Update to this version instead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants