0.8.0
Breaking Changes
CLI Changes
--ruff-formatflag renamed to--ruff-pipeline- Users invoking the LSP server viat-linter lsp --ruff-formatmust update tot-linter lsp --ruff-pipeline(#44)--ruff-commanddefault changed from"ruff"to auto-discovery - The flag is now optional; when omitted, the server searchesVIRTUAL_ENV,CONDA_PREFIX, workspace.venv/venvdirectories, anduv runbefore falling back toruffonPATH. Users who relied on the implicit"ruff"default should verify the auto-discovered binary matches expectations (#44)
LSP Protocol Changes
ruffFormatinitialization option renamed toruffPipeline- LSP clients that passruffFormatininitializationOptionsmust rename the key toruffPipeline. Thecommandfield inside this object is now optional (omit to enable auto-discovery) (#44)- Ruff pipeline now runs fixAll and organizeImports before formatting - Previously the pipeline only ran
textDocument/formattingagainst Ruff. It now executessource.fixAll.ruff,source.organizeImports.ruff, and then formatting in sequence, which may produce additional edits compared to the old behavior (#44)
Configuration Changes
- VS Code setting
t-linter.format.runRuffFirstrenamed tot-linter.format.runRuffPipeline- Users with this setting in their VS Codesettings.jsonmust update the key name (#44)
Default Behavior Changes
- Code action errors from the Ruff pipeline are now silently skipped - When Ruff returns transient errors during code action generation (e.g.,
source.fixAll), the LSP server now logs a warning and returns an empty action list instead of propagating the error to the client. This improves resilience but may mask Ruff configuration problems that previously surfaced as visible errors (#44)
What's Changed
- Fix tdom highlighting by @koxudaxi in #39
- Improve coverage for lsp and main by @koxudaxi in #40
- Add Ruff save pipeline for LSP by @koxudaxi in #43
- Handle transient code action format errors by @koxudaxi in #44
- Avoid tox format hangs from broad import scans by @koxudaxi in #45
Full Changelog: 0.7.0...0.8.0