Releases: master-co/css
Releases · master-co/css
v2.0.0-rc.63
Bug Fixes
- Some combination orders can never be corrected, fixed #377 @1aron 15a34a0 #377
- Unable to resolve universal selectors @1aron 1ef0fb1
ESLint
- Sorting warning selected the wrong range for TemplateLiteral, fixed #375 @1aron da74995 #375
- Validation error selected the wrong range for TemplateLiteral, fixed #387 @1aron 3a34780 #387
VSCode
Documentation
- Deprecate extended breakpoints and queries in favor of config.screens and config.at; update syntax for foreground colors and introduce :of() pseudo-class for ancestor-based styling @1aron 014a641
Tests
v2.0.0-rc.62
Performance Upgrades
- Optimization rule priority comparison algorithm @1aron 532bb18
- Parse
@token
into AST @1aron ae7befd - Update UNIT_REGEX to use non-capturing groups @1aron 255e464
- Using media feature ranges to minify output and improve algorithm @1aron 3ae9fac
Additions
.container
utility syntax forcontainer-type: inline-size
@1aron b784807@w
@h
aliases @1aron ea6e16ccontainer
container-name
container-type
rules for container queries @1aron d6a87f2generateAt
util function @1aron d4205a7generateSelector
util for selector AST nodes @1aron 01a3af9parseAt()
util function @1aron 899ad92parsePairs()
util function @1aron fc50074parseSelector
util for selector AST nodes @1aron 3a9f283parseValue()
util function @1aron e8c32aareplaceCharOutsideQuotes
util function @1aron 9316d66splitCharOutsideQuotes
util function @1aron ae6177e- Alias
@start
for@starting-style
@1aron b9fdb61
Language Service
Updates
Improvements
- Enhance components sorting logic for readable classes @1aron 150d231
- Enhance feature comparison sorting to handle numeric values correctly @1aron ac3f1aa
- Rename
@reduced-motion
to@reduce-motion
@1aron 843893e - Rename
reorderForReadableClasses
tosortReadableClasses
and improve sort readability @1aron 5180e39 - Sort completion items using numeric comparison for better accuracy @1aron 5645b09
- Sort unknown classes in a locale-aware manner and append to ordered classes @1aron 8809725
- The reliability of rule comparison @1aron 4d0227d
- Update sorting logic for readable classes and improve rule comparison @1aron 0ebbdec
- Use
config.screens
instead ofconfig.variables.screens
@1aron d1b15be
Language Server
- Change workspaces to use Map for improved management and add global workspace support @1aron 3a86e4c
VSCode
Bug Fixes
@supports
generates duplicate at identifiers @1aron b03f73c- Enhance parsing logic to handle escaped characters and string boundaries @1aron 29acc98
- Ensure proper spacing in generated selectors based on combinator usage @1aron 56d12c7
- Not deleted according to the syntax rules corresponding to the class name @1aron 28a704e
- Prevent duplicate class rule insertion in MasterCSS @1aron 215f97b
- Rules were not inserted/removed correctly, fixed #385 @1aron b74aae7 #385
ESLint
- Anchoring reliability of class names nodes @1aron 0019f64
- Fixed output error in class order @1aron 4688587
Runtime
Deprecations
- Use
:of()
instead of reactive stylesselector{...}
@1aron 810f494 - Use
AtDefinition
forconfig.at
instead of string; deprecate tree-style definition for simplicity @1aron e5a5dfd
Upgrades
Tests
v2.0.0-rc.61
v2.0.0-rc.60
v2.0.0-rc.59
Performance Upgrades
- Refactor generate method for improved readability and performance @1aron 0c92cc6
- Refactor records using a Map @1aron 33dc2c4
- Refactor the runtime logic in the core layer into CSS runtime package @1aron 9c5a490

Performance improved by approximately 17% (23s -> 19s)
Runtime
Improvements
Bug Fixes
Runtime
v2.0.0-rc.58
v2.0.0-rc.57
Additions
Runtime
Improvements
Svelte
Bug Fixes
Runtime
Deprecations
React
Svelte
Vue
Documentation
v2.0.0-rc.56
v2.0.0-rc.55
New Features
Additions
Runtime
Improvements
Runtime
initCSSRuntime()
responsible for preventing duplication and singleton @1aron 4001cd4- Rename
globalThis.cssRuntimes
toglobalThis.CSSRuntime.instances
@1aron cda1bf0 - Rename
RuntimeCSS to
CSSRuntimeand
runtimeCSSto
cssRuntime` @1aron 9242821