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

redux versions available: 4.0.0 #84

Closed
dependencies bot opened this issue Apr 18, 2018 · 1 comment
Closed

redux versions available: 4.0.0 #84

dependencies bot opened this issue Apr 18, 2018 · 1 comment
Assignees

Comments

@dependencies
Copy link

dependencies bot commented Apr 18, 2018

There are new versions of redux available from npm.

4.0.0

Redux 4 is here! 🎉

If you're a React user, this is going to be a lot like going from 15 to 16. Not a lot of user-facing changes, but some interesting improvements under the hood.

The major changes (#1342) are around our TypeScript definitions, bundled CommonJS and ES builds, throwing if you subscribe or getState from a reducer, and a bunch of other smaller things. The full changes are listed below.

Enjoy!

Changes

  • Tons of docs updates. Thanks markerikson and the Redux community for all your PRs!
  • Make middleware API dispatch pass through all call arguments (#2560 by Asvarox)
  • Refactor applyMiddleware to reduce confusion around createStore args (#2201 by jimbolla)
  • Make bindActionCreators transparently pass this (#2641 by Parakleta)
  • Remove private flag on AnyAction type definition (#2510 by alexmngn)
  • Fixed quote types inconsistency in a warning message (#2297 by Andarist)
  • Move ActionTypes to a private export (b62248b by timdorr)
  • Throw if getState, subscribe, or unsubscribe called while dispatching (#1569 by mjw56)
  • Warn when dispatching during Middleware setup (#1485 by timdorr)
  • Mapped type for combineReducers in index.d.ts (#2182 by mkusher)
  • Remove legacy jsnext entry (#2284 by TrySound)
  • Revamp TypeScript typing with more type safety (#2563 by pelotom)
  • Fix TS definitions test for new Dispatch typing (#2674 by pelotom)
  • Add DeepPartial type for preloaded state (#2679 by aikoven)
  • Bundle cjs and es formats (#2358 by TrySound)
  • REPLACE action for replaceReducers (#2673 by timdorr)
  • Update build to use babel-preset-env (#2696 by hmillison)
  • Optimize dispatch plain object check (#2599 by timdorr)
  • Update TypeScript typings (#2773 by aikoven)
  • Added prettier formatting (#2676 by adityavohra7)
  • Add a sideEffects: false flag for Webpack 4 (#2865 by timdorr)
  • Fix missed case in "observe" type check (#2919 by zerobias)
@StephenCleary
Copy link
Collaborator

This upgrade is blocked on redux-thunk updating its typings: reduxjs/redux-thunk#169

@StephenCleary StephenCleary self-assigned this May 4, 2018
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

No branches or pull requests

1 participant