Skip to content

Release 2025-06-23T14:28Z

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jun 14:28
· 4 commits to main since this release
7261d41

Notable Changes

Fix language feature bugs in VS Code (#207)

For a long time, there have been issues with language features not working as expected in VS Code. For example, renaming classes from .css failed.

This release resolves the bugs! 🎉🎉🎉

The fix uses a technique called "Request Forwarding to tsserver". For more details, please see the Pull Request.

Remove alternative CSS Language Server hack (#209)

The CSS Modules Kit had an "alternative CSS Language Server hack". It was a hack to work around above bugs in VS Code. It was an experimental feature with some issues.

We removed the hack because "Request Forwarding to tsserver" is a better alternative. The hack was undocumented and disabled by default, so most users should not be affected by this change.

Changelog

@css-modules-kit/[email protected]

Patch Changes

  • 1489b9c: fix: fix the error that occurs when the output directory does not exist

@css-modules-kit/[email protected]

Minor Changes

  • 20858d7: feat: allow to add missing rules from non-component files

Patch Changes

  • 93cf8d1: fix: fix the issue that renaming classes from .css does not work in VS Code
  • 20858d7: fix: fix failure to add missing rule for named exports
  • 20858d7: fix: include similar class names in the missing rule addition target
  • 93cf8d1: fix: fix the issue that Go to Definition for specifiers fails using import alias in VS Code

[email protected]

Minor Changes

  • b59e64d: feat: downgrade the required vscode version to 1.84.0
  • c41f4b0: feat!: remove alternative CSS language server hack

Patch Changes

  • 93cf8d1: fix: fix the issue that renaming classes from .css does not work in VS Code
  • 93cf8d1: fix: fix the issue that Go to Definition for specifiers fails using import alias in VS Code
  • Updated dependencies [93cf8d1]
  • Updated dependencies [20858d7]
  • Updated dependencies [20858d7]
  • Updated dependencies [20858d7]
  • Updated dependencies [93cf8d1]