Tailwind Merge has released a new version, 2.3.0, building upon the solid foundation of its previous stable release, 2.2.2. Both versions excel at merging Tailwind CSS classes, resolving conflicts and ensuring consistent styling, a crucial capability for developers leveraging Tailwind's utility-first approach.
The primary difference lies within the updated dependencies. Version 2.3.0 incorporates newer versions of supporting libraries, notably @babel/runtime (increased from ^7.24.0 to ^7.24.1), typescript (bumped from 5.3.3 to ^5.4.3), @typescript-eslint/parser and @typescript-eslint/eslint-plugin (upgraded from 7.1.0 to ^7.5.0), @babel/preset-env (increased from ^7.24.0 to ^7.24.3), @size-limit/preset-small-lib (^11.0.2 to ^11.1.2) and @babel/plugin-transform-runtime (^7.24.0 to ^7.24.3). These upgrades often contain bug fixes, performance improvements, and compatibility enhancements which provides improved stability and potentially enhanced performance. While the core functionality remains consistent, developers should be aware that these dependency updates might introduce subtle changes. Also size-limit was updated from ^11.0.2 to ^11.1.2. Finally the older version depends on babel-plugin-polyfill-regenerator":"^0.5.5" which is not more required in the new version.
Developers looking for the most up-to-date tooling and underlying library support should opt for 2.3.0. Those prioritizing absolute stability with dependencies, carefully controlling every update may prefer to stick to 2.2.2 for the moment. Regardless of the chosen version, Tailwind Merge continues to provide reliable and efficient Tailwind class merging capabilities.
The are not vulnerabilities for the version 2.3.0 of the package tailwind-merge