You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an alpha release for Redux 5.0. This release has breaking changes.
Changelog
ESM Migration
As part of the Redux Toolkit 2.0 alpha development work, we've migrated the redux core package definition to be a full {type: "module"} ESM package with an exports field (with CJS still included for compatibility purposes).
We've done local testing of the package, but we ask the community to try out this alpha in your own projects and report any breakages you find!
Build Artifact Modernization
We've updated the build output in several ways:
Build output is no longer transpiled! Instead we target modern JS syntax
Updated to the latest Rollup 3.x
Dropped the UMD build artifacts (if you have use cases for these, please let us know!)
Moved all build artifacts to live under ./dist/, instead of separate top-level folders
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is an alpha release for Redux 5.0. This release has breaking changes.
Changelog
ESM Migration
As part of the Redux Toolkit 2.0 alpha development work, we've migrated the
redux
core package definition to be a full{type: "module"}
ESM package with anexports
field (with CJS still included for compatibility purposes).We've done local testing of the package, but we ask the community to try out this alpha in your own projects and report any breakages you find!
Build Artifact Modernization
We've updated the build output in several ways:
./dist/
, instead of separate top-level foldersPorted Changes from 4.x
We've ported the
@deprecated
marker forcreateStore
and addedlegacy_createStore
from Redux 4.2.0. Please use Redux Toolkit'sconfigureStore()
instead, as well as the rest of Redux Toolkit's APIs.The
isMinified
debug check has been removed.Other Changes
The "valid reducer" check is done earlier to fix an edge case.
What's Changed
rollup.config.js
by @xty in Revamprollup.config.js
#4311createStore
deprecation andisMinified
removal from 4.x branch by @markerikson in PortcreateStore
deprecation andisMinified
removal from 4.x branch #4473Full Changelog: v5.0.0-alpha.0...v5.0.0-alpha.1
This discussion was created from the release v5.0.0-alpha.1.
Beta Was this translation helpful? Give feedback.
All reactions