Skip to content

0.7.0

Choose a tag to compare

@github-actions github-actions released this 24 Mar 18:38
1279771

Breaking Changes

Default Behavior Changes

  • Multiline formatting now prefers triple-double-quotes over triple-single-quotes - When formatting promotes a single-quoted template string (t'...') to a triple-quoted literal due to multiline output, the formatter now emits t"""...""" instead of t'''...'''. This affects any workflow that snapshots or compares formatter output. (#37)

LSP Protocol Changes

  • Range formatting now rejects selections containing multiple template strings - Previously, range formatting would silently format all templates within the selected range. It now returns a JSON-RPC internal error when more than one template string overlaps the requested range, requiring exactly one template to be targeted. LSP clients relying on multi-template range formatting will need to issue separate requests per template or use the new source.fixAll.t-linter code action for document-wide formatting. (#37)

What's Changed

Full Changelog: 0.6.2...0.7.0