Skip to content

0.5.0

Choose a tag to compare

@github-actions github-actions released this 16 Apr 13:56
· 12 commits to main since this release

What's Changed

  • πŸ› Fix newlines treated as barriers in preserveWhitespace mode β€” newlines within class strings no longer incorrectly split sorting groups.
  • πŸ› Fix PHP concatenation expressions classified as barriers β€” 'icon--' . $icon['icon'] is now correctly recognized as a barrier token in n:class.
  • πŸ› Fix classRegex isSafeCapture rejecting non-class content β€” inner regex captures containing $, {, }, or <> are now safely skipped instead of corrupting output.
  • ✨ Normalize whitespace around operators in n:class β€” in normalize-barriers and normalize modes, spaces around ternary (?, :), PHP concatenation (.), and commas are now consistently normalized.
  • ✨ Preserve-mode consistency β€” preserve mode now correctly keeps original spacing around all operators untouched.

Full Changelog: 0.4.0...0.5.0