Tailwind Merge version 3.0.2 brings subtle yet important updates compared to its predecessor, version 3.0.1, focusing primarily on developer tooling and underlying dependencies. The core functionality of merging Tailwind CSS classes without conflicts remains consistent, ensuring a seamless upgrade for existing users.
One key difference lies in the updated versions of development dependencies. Most notably, eslint jumps from version 9.17.0 to 9.19.0, typescript moves from 5.7.2 to 5.7.3, and @babel/core and @babel/preset-env both advance from 7.26.0 to 7.26.7. Vitest also receives an important upgrade from version 2.1.8 to version 3.0.4. These upgrades typically include bug fixes, performance improvements, and potentially new features within those respective tools, leading to a smoother and more efficient development experience when contributing to or extending the tailwind-merge library. The update of babel-plugin-annotate-pure-calls from version 0.4.0 to 0.5.0 may indicate enhancements in pure function annotation, potentially aiding optimization.
While the core function of tailwind-merge might not see drastic changes between these minor versions, these dependency bumps are crucial for maintaining compatibility, security, and overall code quality. Developers should upgrade to version 3.0.2 to benefit from the latest improvements in the underlying build and testing infrastructure, ensuring a more robust and up-to-date development workflow. The unpackedSize also slightly reduced to 824242, suggesting the package became a little bit more optimized. The release date of version 3.0.2 is stated as being on the 22nd of February 2025, suggesting that version is the latest version available at the moment, compared to the old version, which was released a less than a month before.
The are not vulnerabilities for the version 3.0.2 of the package tailwind-merge