Download Latest Version v2.8.2 source code.tar.gz (3.4 MB)
Email in envelope

Get an email when there's a new version of Redux Toolkit

Home / v2.8.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-05-08 1.1 kB
v2.8.1 source code.tar.gz 2025-05-08 3.4 MB
v2.8.1 source code.zip 2025-05-08 3.9 MB
Totals: 3 Items   7.3 MB 0

This bugfix release makes an additional update to the package config to fix a regression that happened with Jest and jest-environment-jsdom.

Changes

More Package Updates

After releasing v2.8.0, we got reports that Jest tests were breaking. After investigation we concluded that jest-environment-jsdom was looking at the new browser package exports condition we'd added to better support JSPM, finding an ESM file containing the export keyword, and erroring because it doesn't support ES modules correctly.

https://github.com/reduxjs/redux-toolkit/issues/4971#issuecomment-2859506562 listed several viable workarounds, but this is enough of an issue we wanted to fix it directly. We've tweaked the package exports setup again, and it appears to resolve the issue with Jest.

What's Changed

Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.8.0...v2.8.1

Source: README.md, updated 2025-05-08