Skip to content

Changelog

All notable changes to SpiraCSS packages are documented here.


0.3.2-beta

@spiracss/stylelint-plugin

Changed

  • Treat CSS Modules :global / :local as transparent across rules (the inner selector is linted).
  • Improve selector handling for :global wrappers (including rightmost :global(...) targets and selector lists).
  • Root filename checks (rootFile) accept *.module.scss and support childFileCase for files under childDir.

@spiracss/html-cli

Added

  • Improve JSX class/className extraction (string/template literals, member access).
  • Add jsxClassBindings.memberAccessAllowlist to restrict member access extraction (empty array disables it).

Changed

  • Default generator.layoutMixins is now empty ([]) (no mixins are injected unless configured).

VS Code Extensions

spiracss-html-to-scss

  • Update @spiracss/html-cli dependency to ^0.3.2.
  • Align extension version with the monorepo release.

Documentation

  • Update AI agent guide and config docs for v0.3.2 (rootFile / @rel fileCase, CSS Modules notes).

0.3.1-beta

@spiracss/stylelint-plugin

Added

  • stylelint.rel.fileCase / stylelint.rel.childFileCase options.
  • Accepts *.module.scss for child link comments (CSS Modules).
  • stylelint.class.rootCase defaults stylelint.rel.fileCase when using createRules().

Changed

  • Child link checks now use childFileCase for childDir targets and fileCase for other targets.

@spiracss/html-cli

Added

  • Support childFileCase when generating child SCSS filenames and @rel comments.

VS Code Extensions

spiracss-html-to-scss

  • Support childFileCase for child SCSS generation (aligned with HTML CLI).
  • Update @spiracss/html-cli dependency to ^0.3.1.
  • Align extension version with the monorepo release.

Documentation

  • Update rel-comments option docs (fileCase / childFileCase / *.module.scss).
  • Update AI agent guide compatibility.

0.3.0-beta

@spiracss/stylelint-plugin

Breaking Changes

  • Stylelint config restructured: stylelint.classStructure replaced by stylelint.base / stylelint.class, plus new per-rule sections (stylelint.placement, stylelint.pageLayer, stylelint.interactionProps, stylelint.keyframes, stylelint.pseudo, stylelint.rel).
  • Section renames: interactionPropertiesinteractionProps, keyframesNamingkeyframes, pseudoNestingpseudo, relCommentsrel.
  • Comment/cache keys renamed: stylelint.sectionCommentPatternsstylelint.base.comments, stylelint.cacheSizesstylelint.base.cache, sharedCommentPattern / interactionCommentPatterncomments.shared / comments.interaction.
  • External allowlist moved: allowExternalClasses / allowExternalPrefixesexternal.classes / external.prefixes.
  • New rules enabled by default: spiracss/property-placement, spiracss/page-layer.

Added

  • New rule: spiracss/page-layer — Validates page-layer SCSS (component link comments required for child Blocks)
  • New rule: spiracss/property-placement — Validates property placement (container/item/internal) based on selector role
  • stylelint.pseudo.enabled option

Changed

  • Improved selector parsing and validation logic
  • Error messages updated for clarity
  • Better support for selectorPolicy (data/class mode)

@spiracss/html-cli

Breaking Changes

  • Config schema aligned with the new stylelint config: naming/external settings now read from stylelint.base / stylelint.class (old stylelint.classStructure keys removed).
  • External allowlist renamed to external.classes / external.prefixes.

Changed

  • HTML lint and SCSS generation now use the new external option shape.
  • Config warnings now report the naming source.

VS Code Extensions

  • Documentation links updated to the official site.

spiracss-html-to-scss

  • Config schema aligned with the new stylelint config (same breaking changes as HTML CLI).
  • External allowlist renamed to external.classes / external.prefixes.

Documentation

  • Documentation updated on the official site (spiracss.jp)
  • New rule documentation: spiracss/page-layer, spiracss/property-placement
  • Wording update: “AI” → “AI agents” for consistency
  • Rule docs updated to reflect new error messages and examples

0.2.2-beta

@spiracss/stylelint-plugin

Added

  • keyframes.enabled option to disable the spiracss/keyframes-naming rule entirely

Documentation

  • Add SpiraCSS Design Principles link to README
  • Add Japanese documentation links to Docs section

@spiracss/html-cli

Documentation

  • Add SpiraCSS Design Principles link to README
  • Add Japanese documentation links to Docs section
  • Improve description wording for clarity

VS Code Extensions

  • Add SpiraCSS Design Principles link to README
  • Add Japanese documentation links to Docs section

spiracss-html-to-scss

  • Add SpiraCSS Design Principles link to README
  • Add Japanese documentation links to Docs section

0.2.1-beta

First beta release of all SpiraCSS packages.


0.1.x (Alpha)

Experimental releases during initial development.