Changelog
All notable changes to SpiraCSS packages are documented here.
0.3.2-beta
@spiracss/stylelint-plugin
Changed
- Treat CSS Modules
:global/:localas transparent across rules (the inner selector is linted). - Improve selector handling for
:globalwrappers (including rightmost:global(...)targets and selector lists). - Root filename checks (
rootFile) accept*.module.scssand supportchildFileCasefor files underchildDir.
@spiracss/html-cli
Added
- Improve JSX class/className extraction (string/template literals, member access).
- Add
jsxClassBindings.memberAccessAllowlistto restrict member access extraction (empty array disables it).
Changed
- Default
generator.layoutMixinsis now empty ([]) (no mixins are injected unless configured).
VS Code Extensions
spiracss-html-to-scss
- Update
@spiracss/html-clidependency to^0.3.2.
spiracss-comment-links
- Align extension version with the monorepo release.
Documentation
- Update AI agent guide and config docs for v0.3.2 (
rootFile/@relfileCase, CSS Modules notes).
0.3.1-beta
@spiracss/stylelint-plugin
Added
stylelint.rel.fileCase/stylelint.rel.childFileCaseoptions.- Accepts
*.module.scssfor child link comments (CSS Modules). stylelint.class.rootCasedefaultsstylelint.rel.fileCasewhen usingcreateRules().
Changed
- Child link checks now use
childFileCaseforchildDirtargets andfileCasefor other targets.
@spiracss/html-cli
Added
- Support
childFileCasewhen generating child SCSS filenames and@relcomments.
VS Code Extensions
spiracss-html-to-scss
- Support
childFileCasefor child SCSS generation (aligned with HTML CLI). - Update
@spiracss/html-clidependency to^0.3.1.
spiracss-comment-links
- Align extension version with the monorepo release.
Documentation
- Update
rel-commentsoption docs (fileCase/childFileCase/*.module.scss). - Update AI agent guide compatibility.
0.3.0-beta
@spiracss/stylelint-plugin
Breaking Changes
- Stylelint config restructured:
stylelint.classStructurereplaced bystylelint.base/stylelint.class, plus new per-rule sections (stylelint.placement,stylelint.pageLayer,stylelint.interactionProps,stylelint.keyframes,stylelint.pseudo,stylelint.rel). - Section renames:
interactionProperties→interactionProps,keyframesNaming→keyframes,pseudoNesting→pseudo,relComments→rel. - Comment/cache keys renamed:
stylelint.sectionCommentPatterns→stylelint.base.comments,stylelint.cacheSizes→stylelint.base.cache,sharedCommentPattern/interactionCommentPattern→comments.shared/comments.interaction. - External allowlist moved:
allowExternalClasses/allowExternalPrefixes→external.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.enabledoption
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(oldstylelint.classStructurekeys removed). - External allowlist renamed to
external.classes/external.prefixes.
Changed
- HTML lint and SCSS generation now use the new
externaloption shape. - Config warnings now report the naming source.
VS Code Extensions
spiracss-comment-links
- 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.enabledoption to disable thespiracss/keyframes-namingrule 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
spiracss-comment-links
- 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.