v0.56.0
版本发布时间: 2023-09-19 23:13:43
unocss/unocss最新发布版本:v0.62.3(2024-08-25 00:07:32)
🚨 Breaking Changes
- Move common utils to the new
@unocss/rule-utils
package - by @Dunqing and @antfu in https://github.com/unocss/unocss/issues/3134 (454e1) - rule-utils: Move more utils - by @antfu (52a6e)
🚀 Features
- attributify-jsx: Allow pass component as prop - by @zhiyuanzmj in https://github.com/unocss/unocss/issues/3116 (c4263)
-
core: Support factory with
definePreset
- by @chizukicn and @antfu in https://github.com/unocss/unocss/issues/3098 (25fdc) - svelte-scoped: Add config hmr - by @jacob-8 in https://github.com/unocss/unocss/issues/3111 (4e3cd)
-
transformer-directives:
theme()
support color transparency - by @Dunqing in https://github.com/unocss/unocss/issues/3131 (cbfc2)
🐞 Bug Fixes
- astro: HMR not work in windows - by @Dunqing in https://github.com/unocss/unocss/issues/3100 (332d6)
- core: Uniq resolved presets - by @zyyv in https://github.com/unocss/unocss/issues/3078 (6bff2)
-
eslint: Support attributify for
@unocss/blocklist
- by @antfu (6d760) - extractor-arbitrary-variants: Remove sourcemap before matching attributes - by @Dunqing in https://github.com/unocss/unocss/issues/3123 (58e90)
-
preset-mini: Remove
font-smoothing
from antialiased rules - by @Nirlah and @zyyv in https://github.com/unocss/unocss/issues/3072 (e0982) -
preset-typography: Move
font-family
css ofcode
in default preflights - by @zyyv and chris in https://github.com/unocss/unocss/issues/3114 (62abf) - vscode: RemToPx support important - by @chizukicn and Chris in https://github.com/unocss/unocss/issues/3083 (57436)
🏎 Performance
- attributify-jsx: Improve regular performance - by @zhiyuanzmj in https://github.com/unocss/unocss/issues/3088 (aef69)