Redux 5.0.0 represents a significant upgrade from the previous stable version, 4.2.1, offering a modernized development experience and improved tooling. One notable difference lies in the development dependencies. Version 5.0.0 embraces newer versions of tools like TypeScript (5.2 vs 3.8.3), EsLint, and Vitest, indicating a shift towards more current best practices in the JavaScript ecosystem. The older version relies on older tooling such as Babel, Rollup and Jest. This update suggests a focus on enhanced code quality, static analysis, and potentially faster, more efficient testing workflows for contributors. Also it introduces Typescript checking and linting in the Github repository.
A key change is the shift in build tooling, v5 using tsup as the bundler when compared to rollup for v4, potentially leading to smaller bundle sizes and faster build times. For React developers, the inclusion of specific ESLint plugins (eslint-plugin-react, eslint-plugin-react-hooks) hints at streamlined integration and fewer potential issues when working with React applications. While the published file count has increased from 21 to 28, the unpacked size has also increased, from 175kb to 288kb. Despite the increase in file size, it does introduces better developer experience with enhanced Typescript support and modern toolchain.
The are not vulnerabilities for the version 5.0.0 of the package redux