Repository navigation
v0.53.3
Patch Changes
-
#473
b29eca5Thanks @mattiamanzati! - Fix memory leak in CLI diagnostics by properly disposing language services when they change between batches.The CLI diagnostics command now tracks the language service instance and disposes of it when a new instance is created, preventing memory accumulation during batch processing of large codebases.
-
#474
06b9ac1Thanks @mattiamanzati! - Fix TSC patching mode to properly enable diagnosticsName option and simplify suggestion handling.When using the language service in TSC patching mode, the
diagnosticsNameoption is now automatically enabled to ensure diagnostic rule names are included in the output. Additionally, the handling of suggestion-level diagnostics has been simplified - whenreportSuggestionsAsWarningsInTscis enabled, suggestions are now converted to Message category instead of Warning category with a prefix.This change ensures consistent diagnostic formatting across both IDE and CLI usage modes.
-
#471
be70748Thanks @mattiamanzati! - Improve CLI diagnostics output formatting by displaying rule names in a more readable format.The CLI now displays diagnostic rule names using the format
effect(ruleName):instead ofTS<code>:, making it easier to identify which Effect diagnostic rule triggered the error. Additionally, the CLI now disables thediagnosticsNameoption internally to prevent duplicate rule name display in the message text.Example output:
Before: TS90001: Floating Effect detected... After: effect(floatingEffect): Floating Effect detected...