Skip to content

Uniform CSS 1.6.0

Latest

Choose a tag to compare

@jinsupark jinsupark released this 26 Jun 08:01

UniformCSS v1.6.0

This release is a major performance and maintainability pass on the Sass engine. Generated CSS is functionally identical to v1.5.4 — no class names, properties, or behavior change — so it's a safe upgrade.

⚡ ~40% faster builds

Comma-compression no longer relies on Sass's @extend. Each base class now carries a pre-computed grouped selector (base + all its pseudo variants) built during the construction pass, so the compressed emitter writes one comma-joined rule per class directly.

  • Full default build: ~4.8s → ~2.8s
  • Same output size, functionally equivalent CSS

Note: With comma-compression: true, the ordering of selectors within a grouped rule may differ from v1.5.4. The resulting styles are equivalent — only the source-order of grouping changed.

🧱 Leaner utility registration

Utilities now register into a dedicated flat registry via a shallow merge instead of deep-merging the entire config in every utility file. This removes a quadratic pattern across all 173 utility definitions and decouples utility data from theme config.

✅ New snapshot test suite

Added a lightweight test harness to lock in compiler output:

npm test            # diff fixtures against committed snapshots
npm run test:update # refresh snapshots after an intentional change