Redux 4.0.0 marks a significant update to the popular state management library, offering improvements in performance and developer experience compared to its predecessor, version 3.7.2. One notable change is the removal of lodash and lodash-es as direct dependencies, potentially reducing the overall bundle size for users who aren't already utilizing these utilities in their projects.
The upgrade also reflects advancements in the JavaScript ecosystem. Developers will appreciate the updated development dependencies. Version 4 uses newer versions of tools like Babel, ESLint, Jest, and Rollup, aligning with modern JavaScript development practices. For example, the babel configuration is simplified using presets, and the usage of rollup is more modern. The symbol-observable dependency has also been updated to a newer version (1.2.0 from 1.0.3).
While the core API of Redux remains largely consistent, migrating to version 4.0.0 may require adjustments to your build process due to the updated tooling. Users of TypeScript should also note the updated TypeScript version in the devDependencies, allowing them to leverage newer TypeScript features. Overall, Redux 4.0.0 provides a leaner, more modern foundation for state management in JavaScript applications, while maintaining compatibility with existing Redux patterns and workflows. This version encourages developers to upgrade to benefit from the improved tooling and potential performance gains. Also, version 4.0.0 also had the releaseDate almost one year after version 3.7.2 showing the stability of the library.
The are not vulnerabilities for the version 4.0.0 of the package redux