v0.58.0
版本发布时间: 2023-12-03 22:36:59
unocss/unocss最新发布版本:v0.62.3(2024-08-25 00:07:32)
🚨 Breaking Changes
-
preset-mini:
- Use
prefix
option to prefix tagged pseudo parent - by @chu121su12 in https://github.com/unocss/unocss/issues/3366 (6e179) - Prioritize length instead of color - by @chu121su12 in https://github.com/unocss/unocss/issues/3353 (235c3)
- Use
-
preset-mini,preset-wind:
- Fix broken
color/opacity
syntax - by @chu121su12 in https://github.com/unocss/unocss/issues/3359 (3eeac)
- Fix broken
-
reset:
- Update reset files - by @chu121su12 in https://github.com/unocss/unocss/issues/3402 (1742c)
🚀 Features
- Use alternative of str.match - by @chu121su12 in https://github.com/unocss/unocss/issues/3400 (93574)
-
preset-mini:
- Add text-pretty css property - by @quecot in https://github.com/unocss/unocss/issues/3378 (fe3fa)
- Update group data variant - by @chu121su12 and @zyyv in https://github.com/unocss/unocss/issues/3403 (15e43)
-
preset-wind:
- Remove experimental marker from
@hover
- by @chu121su12 in https://github.com/unocss/unocss/issues/3401 (da399)
- Remove experimental marker from
-
transformer-compile-class:
- Add
alwaysHash
option, workaround #2366 - by @evanryuu and @antfu in https://github.com/unocss/unocss/issues/3173 and https://github.com/unocss/unocss/issues/2366 (08e23)
- Add
🐞 Bug Fixes
- Shadow does not take into account custom color - by @Scrum in https://github.com/unocss/unocss/issues/3391 (859ca)
-
directives:
- Resolve scoped css - by @zyyv in https://github.com/unocss/unocss/issues/3383 (f5a10)
-
eslint-plugin:
-
blocklist
rule cant match variants - by @chizukicn in https://github.com/unocss/unocss/issues/3370 (db19a)
-
-
inspector:
- Codemirror matched utilities miss highlight - by @zyyv in https://github.com/unocss/unocss/issues/3394 (c0049)
- Provide valid matched selectors - by @auvred, @antfu and @zyyv in https://github.com/unocss/unocss/issues/3377 (ef981)
-
preset-mini:
- Let negate variant negate negative numbers & functions - by @chu121su12 in https://github.com/unocss/unocss/issues/3399 (13094)
- Fix wrong match/replace from #3399 - by @chu121su12 and @zyyv in https://github.com/unocss/unocss/issues/3404 and https://github.com/unocss/unocss/issues/3399 (5120d)
-
vite:
- Wrong import in dev.ts module - by @userquin in https://github.com/unocss/unocss/issues/3385 (811cc)
-
vscode:
- Path resolve on filesystem config - by @gnimmelf and @antfu in https://github.com/unocss/unocss/issues/3376 (efe4f)
🏎 Performance
- vscode: Maximize the hit cache and reduce the use of findup in registerUnocss - by @Simon-He95 in https://github.com/unocss/unocss/issues/3409 (edb5d)