Skip to content

Releases: master-co/css

v2.0.0-rc.63

11 Apr 21:42
Compare
Choose a tag to compare
v2.0.0-rc.63 Pre-release
Pre-release

Bug Fixes

ESLint
VSCode
  • Deprecated the styled template literal highlight to prevent crashing @1aron 1a8406e

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

10 Apr 11:47
Compare
Choose a tag to compare
v2.0.0-rc.62 Pre-release
Pre-release

Performance Upgrades

Additions

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 to sortReadableClasses 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 of config.variables.screens @1aron d1b15be
Language Server
  • Change workspaces to use Map for improved management and add global workspace support @1aron 3a86e4c
VSCode
  • Extend included languages to support untitled files @1aron 36668b1

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
Runtime

Deprecations

  • Use :of() instead of reactive styles selector{...} @1aron 810f494
  • Use AtDefinition for config.at instead of string; deprecate tree-style definition for simplicity @1aron e5a5dfd

Upgrades

Tests

  • Add unit tests for adding and removing CSS rules in MasterCSS @1aron e01da56

v2.0.0-rc.61

25 Mar 23:39
Compare
Choose a tag to compare
v2.0.0-rc.61 Pre-release
Pre-release

Bug Fixes

  • The problem with the assignment of the base and preset layers @1aron 0de4f7f
Runtime

v2.0.0-rc.60

24 Mar 20:32
Compare
Choose a tag to compare
v2.0.0-rc.60 Pre-release
Pre-release

⚠️ It is recommended to update to this version. The runtime engine is stability.

Bug Fixes

  • Remove development environment error logging for syntax rule creation @1aron a26f6d2
Runtime
  • Runtime class name counter overflow caused styles to leak memory @1aron 7db9bed

v2.0.0-rc.59

24 Mar 15:40
Compare
Choose a tag to compare
v2.0.0-rc.59 Pre-release
Pre-release

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
Xnapper-2025-03-24-23 27 10

Performance improved by approximately 17% (23s -> 19s)

Runtime

Improvements

Bug Fixes

Runtime

v2.0.0-rc.58

22 Mar 23:24
Compare
Choose a tag to compare
v2.0.0-rc.58 Pre-release
Pre-release

Updates

Bug Fixes

  • Feature value checks. Cannot read properties of undefined (reading 'value') @1aron bf5e23f

v2.0.0-rc.57

22 Mar 21:44
Compare
Choose a tag to compare
v2.0.0-rc.57 Pre-release
Pre-release

Additions

Runtime

Improvements

Svelte

Bug Fixes

  • Unable to use @preset and @base layers in components @1aron d047747
Runtime

Deprecations

React
Svelte
Vue

Documentation

v2.0.0-rc.56

21 Mar 20:09
Compare
Choose a tag to compare
v2.0.0-rc.56 Pre-release
Pre-release

Deprecations

Runtime
  • Replace display: none style with hidden attr to prevent FOUC @1aron 3e6d9ef
-<html style="display: none">
+<html hidden>

v2.0.0-rc.55

21 Mar 13:08
Compare
Choose a tag to compare
v2.0.0-rc.55 Pre-release
Pre-release

New Features

Additions

Runtime
  • Debugging support and integrate CSS DevTools hook @1aron 94c3d54

image

Improvements

Runtime
  • initCSSRuntime() responsible for preventing duplication and singleton @1aron 4001cd4
  • Rename globalThis.cssRuntimes to globalThis.CSSRuntime.instances @1aron cda1bf0
  • Rename RuntimeCSS to CSSRuntimeandruntimeCSStocssRuntime` @1aron 9242821

Deprecations

  • globalThis.masterCSSs @1aron 424dc3b
  • globalThis.runtimeCSSs
  • globalThis.runtimeCSS

v2.0.0-rc.54

20 Mar 07:46
Compare
Choose a tag to compare
v2.0.0-rc.54 Pre-release
Pre-release

New Features

Additions

Bug Fixes

Runtime