Upgrading
This release moves the tales-from-a-dev/tailwind-merge-php constraint from ^0.3 to ^0.4. Two things to know before updating:
- Merged output can change. 0.4 separates classes on any run of whitespace, where 0.3 only split on single spaces. A class list containing newlines or tabs was previously kept whole as one unrecognised class and passed through untouched; it now merges normally, so
"p-2\np-4"yields"p-4". 0.4 also fixes merging for legacy!combined with a/postfix, multibyte arbitrary values, and0-labelled arbitrary values. - Clear your cache pool once. Cache keys now embed a fingerprint of the configuration, so two differently configured merges can no longer return each other's results. Existing 0.3 entries use the old key format and will never be read again. Symfony users get this from a normal
cache:clear, sincecache.twig.tailwindis acache.systemchild.
Merged results are now also held in an in-memory LRU cache of 500 entries in front of the Symfony pool, sizable through the cacheSize key — see the documentation.
What's Changed
- ⬆️ Upgrade tales-from-a-dev/tailwind-merge-php to 0.4 by @ker0x in #30
- 📝 Document the versioning policy by @ker0x in #31
Full Changelog: v1.3.0...v1.4.0