Releases: unocss/unocss
Releases · unocss/unocss
v0.58.0
🚨 Breaking Changes
- preset-mini:
- Use
prefix
option to prefix tagged pseudo parent - by @chu121su12 in #3366 (6e179) - Prioritize length instead of color - by @chu121su12 in #3353 (235c3)
- Use
- preset-mini,preset-wind:
- Fix broken
color/opacity
syntax - by @chu121su12 in #3359 (3eeac)
- Fix broken
- reset:
- Update reset files - by @chu121su12 in #3402 (1742c)
🚀 Features
- Use alternative of str.match - by @chu121su12 in #3400 (93574)
- preset-mini:
- preset-wind:
- Remove experimental marker from
@hover
- by @chu121su12 in #3401 (da399)
- Remove experimental marker from
- transformer-compile-class:
🐞 Bug Fixes
- Shadow does not take into account custom color - by @Scrum in #3391 (859ca)
- directives:
- eslint-plugin:
blocklist
rule cant match variants - by @chizukicn in #3370 (db19a)
- inspector:
- preset-mini:
- Let negate variant negate negative numbers & functions - by @chu121su12 in #3399 (13094)
- Fix wrong match/replace from #3399 - by @chu121su12 and @zyyv in #3404 and #3399 (5120d)
- vite:
- vscode:
🏎 Performance
- vscode: Maximize the hit cache and reduce the use of findup in registerUnocss - by @Simon-He95 in #3409 (edb5d)
View changes on GitHub
v0.57.7
🚀 Features
- core: Preset support blocklist - by @chizukicn in #3363 (1ce68)
🐞 Bug Fixes
View changes on GitHub
v0.57.6
🚀 Features
- preset-mini, preset-wind: Use separate theme for some rule colors - by @chu121su12 in #3354 (b399c)
🐞 Bug Fixes
- transformer-attributify-jsx-babel: Deps type - by @ityuany and @antfu in #3345 (1355e)
- vscode: Root equal empty array - by @Simon-He95 in #3348 (d07f6)
View changes on GitHub
v0.57.5
🚀 Features
🐞 Bug Fixes
- vscode: RootRegisterAuto broken - by @Simon-He95 in #3337 (175c6)
View changes on GitHub
v0.57.4
🚀 Features
- runtime: Custom rootElement config - by @Zhang-Wei-666 in #3327 (5d099)
🐞 Bug Fixes
View changes on GitHub
v0.57.3
🚀 Features
- svelte-scoped: Transform class directives wrapped in quotes - by @fehnomenal, jacob-8 and Jacob Bowdoin in #3286 (0c6c1)
🐞 Bug Fixes
- vscode: Improve context resolving, avoid duplicates - by @antfu (64b34)
- webpack: Allow compiler to watch files provided by config - by @adeys and @antfu in #3058 (d1a12)
View changes on GitHub
v0.57.2
🚀 Features
- preset-mini: Add subgrid rules in preset mini - by @henrikvilhelmberglund in #3284 (e6404)
- preset-wind: Support bg-[size] -> background-position - by @Simon-He95 and @zyyv in #3270 (9e891)
🐞 Bug Fixes
- Migrate to the new
transformIndexHtml
API style - by @antfu (0fe22) - preset-mini:
- Remove num === 0 in px handler to fix offset utility issues - by @henrikvilhelmberglund in #3271 (0890f)
- Change grid-template-cols to grid-template-columns - by @henrikvilhelmberglund and @userquin in #3301 (6f9b8)
View changes on GitHub
v0.57.1
🐞 Bug Fixes
- Revert #3256 - by @chu121su12 in #3267 and #3256 (8893f)
- cli: Improve error output - by @paulm17 and Paul Moss in #3263 (bcb3d)
- preset-mini: Env may not always output numbers - by @chu121su12 in #3264 (d4e3f)
View changes on GitHub
v0.57.0
🚨 Breaking Changes
- color: Keep hsla and rgba consistent with tailwindcss - by @Simon-He95 in #3221 (5c3d0)
🚀 Features
- preset-mini:
- runtime:
- Export built-in presets - by @chu121su12 and @antfu in #3248 (bbf73)
- vite:
- Add client fetch mode - by @chu121su12 in #3255 (37fd4)
🐞 Bug Fixes
- astro:
- cli:
- Generate styles in text that should be skipped - by @Simon-He95 and @zyyv in #3213 (5dcc8)
- hmr:
- Dynamic safelist cause unlimited hot updates - by @Simon-He95 in #3205 (9bbb2)
- playground:
- preset-mini:
- Add missing skew/translate/scale/rotate autocomplete without "transform" prefix - by @henrikvilhelmberglund in #3237 (d0e10)
- Use array cache sorted breakpoints - by @zyyv in #3260 (3c653)
- Border-[calc(xx)] is generated to border-color - by @Simon-He95 and @antfu in #3230 (d6b1b)
- preset-wind:
- svelte-scoped:
- Escape template literal characters in placeholder replacement - by @chu121su12 in #3253 (c15a2)
- webpack:
- Escape backslash in css - by @chu121su12 in #3256 (d7549)
View changes on GitHub
v0.56.5
🚀 Features
- preset-mini: Add user-valid and user-invalid pseudo selectors - by @henrikvilhelmberglund in #3188 (61a14)
🐞 Bug Fixes
- attributify-jsx: Prevent special characters - by @zhiyuanzmj in #3185 (84303)
- postcss: Remove experimental warning - by @Dunqing in #3176 (25dc5)
- vscode: Changing configuration in auto roots mode creates duplicate instances - by @Simon-He95 in #3184 (73ed1)