Tya v0.52 Release Notes

Status: shipped. tya version reports 0.52.0 and ROADMAP.md carries the matching Released entry.

TL;DR

v0.52 adds the fifth toolchain subcommand: tya lsp, an LSP (Language Server Protocol) server. The same tya binary now implements the language server, so the compiler and the editor never drift out of sync.

A VS Code extension scaffold ships in editors/vscode/ for the manual install path; Marketplace publication is queued for v0.53+.

The language surface is unchanged from v0.49 / v0.50 / v0.51.

What’s new

tya lsp

$ tya lsp [--log /tmp/tya-lsp.log]

LSP JSON-RPC 2.0 over stdio. v0.52 advertises:

Diagnostics fire on didOpen / didChange / didSave and cover the same surface as the tya check and tya lint CLIs.

VS Code extension (editors/vscode/)

Minimal TypeScript wrapper around vscode-languageclient. Ships with:

Install manually:

cd editors/vscode
npm install
npm run compile
npx vsce package
code --install-extension tya-0.52.0.vsix

Compatibility

Migration

Nothing required. To opt in:

  1. brew install komagata/tap/tya (or upgrade) to a v0.52 binary.
  2. Build the VS Code extension once: cd editors/vscode && npm install && npm run compile && npx vsce package && code --install-extension tya-0.52.0.vsix.
  3. Open any .tya file. Diagnostics, hover, goto-definition, and format-on-save should work out of the box.

Implementation notes

Tests

tests/lsp_test.go exercises seven subprocess scenarios (build a binary once with os.MkdirTemp, then run all cases against it).

Looking ahead (v0.53+ candidates)

From ROADMAP.md § Future Work § Toolchain:

Self-host work (ROADMAP.md § Scheduled M8/M9/M10) remains deferred until the v1.0.0 prep window.