Releases: rawstylecss/rawstyle
Releases · rawstylecss/rawstyle
rawstyle@0.6.0
🧨 BREAKING CHANGES
- Unified styling API: merged
gcssfunctionality intocss. Global styles are now automatically inferred whencssis used as an expression, eliminating the need for a separategcsstag. 🡥
🩹 Fixes
- Normalized CSS output: CSS output formatting is now normalized with consistent indentation for both scoped and global styles. 🡥
- Preserved variable suffixes: variables strictly named
cssorstyle(s)no longer have their names stripped during transformation. 🡥
Full Changelog • Feb 28, 2026
rawstyle@0.5.0
🧨 BREAKING CHANGES
- Class name suffix stripping: CSS class names generated from variables ending with
css,style, orstylesnow have these suffixes removed, resulting in more concise class names. 🡥
⚙️ Internal
- Simplified template replacement: only the
csstemplate literal is replaced, not the entire variable declaration and its usages. 🡥
Full Changelog • Feb 15, 2026
@rawstyle/next@0.3.2
🩹 Fixes
- Correct CSS import placement: CSS imports are now injected after directive prologues (such as
'use client'), preventing errors about directive placement in Next.js. 🡥
Full Changelog • Feb 15, 2026
rawstyle@0.4.2
🩹 Fixes
- Cleaner extracted CSS output: transformer now strips unnecessary left indentation from CSS template strings for cleaner output. 🡥
Full Changelog • Feb 9, 2026
@rawstyle/vite@0.3.2
🩹 Fixes
- Skip virtual CSS for empty output: virtual CSS is now only imported when CSS is actually generated, preventing unnecessary imports for files without extracted CSS. 🡥
Full Changelog • Feb 10, 2026
@rawstyle/vite@0.3.1
🩹 Fixes
- Normalized import paths: virtual CSS import paths are now normalized to prevent WinAPI errors with backslashes. 🡥
Full Changelog • Feb 9, 2026
@rawstyle/next@0.3.1
🩹 Fixes
- Skip virtual CSS for empty output: virtual CSS is now only imported when CSS is actually generated, preventing unnecessary imports for files without extracted CSS. 🡥
Full Changelog • Feb 10, 2026
rawstyle@0.4.1
📚 Documentation
- Detailed documentation & visuals: added a usage guide, API examples, logo, and demo image to the README. 🡥
Full Changelog • Feb 8, 2026
create-rawstyle@0.1.3
🩹 Fixes
- pnpm binary compatibility: replaced
mainwithbinin package manifest to resolve pnpm dlx binary error. 🡥
Full Changelog • Feb 6, 2026
rawstyle@0.4.0
🧨 BREAKING CHANGES
- Transform export split: the
transformfunction is now exported fromrawstyle/transformerto avoid bundlingoxc-parserwhen importing fromrawstyle. 🡥