Skip to content

Releases

v0.1.8

Choose a tag to compare

@github-actions github-actions released this 31 Jan 14:18

Full Changelog: v0.1.7...v0.1.8

v0.1.7

Choose a tag to compare

@onsever onsever released this 31 Jan 08:47

Fix build.Default.GOROOT for cross-compiled binary + add typed scanner debug logging

Full Changelog: v0.1.6...v0.1.7

v0.1.6

Choose a tag to compare

@onsever onsever released this 31 Jan 08:04

Bug Fix

Fixed cross-compiled binary failing to type-check on Linux/Windows.

When cross-compiling on macOS, the binary embedded the build host's GOROOT path. On the target machine, importer.Default() silently failed to find standard library packages, causing the typed scanner to produce no bindings. All features depending on Go type resolution (hover type info, go-to-definition, field completions, diagnostics) were broken.

The fix detects stale GOROOT at runtime and resolves it via go env GOROOT.

Also includes:

  • Variable type resolution fix for Execute calls with variable arguments
  • Debug logging in the output channel for binding diagnostics

Full Changelog: v0.1.3...v0.1.6

v0.1.3

Choose a tag to compare

@onsever onsever released this 31 Jan 07:28

Bug Fix

Fixed type resolution for variable arguments in Execute calls.

resolveDataTypeViaTypes used only types.Info.Types, which excludes identifier expressions denoting declared objects (variables, parameters). When Execute is called with a variable (e.g., tpl.Execute(w, questions)), the data type resolved to nil, breaking hover, go-to-definition, and diagnostics for all template fields.

Now falls back to types.Info.ObjectOf for identifiers, correctly resolving variable types including anonymous structs.

Full Changelog: v0.1.2...v0.1.3

v0.1.2

Choose a tag to compare

@onsever onsever released this 31 Jan 07:00

What's New

  • Platform-specific VS Code extension packages — each platform downloads only its own binary (~4 MB instead of ~21 MB)
  • Bundled binary is now automatically made executable on Linux/macOS after install

Platforms

Platform Binary VS Code Extension
Linux x64 gohtml-lsp-linux-amd64 gohtml-lsp-linux-x64-0.1.2.vsix
Linux arm64 gohtml-lsp-linux-arm64 gohtml-lsp-linux-arm64-0.1.2.vsix
macOS x64 gohtml-lsp-darwin-amd64 gohtml-lsp-darwin-x64-0.1.2.vsix
macOS arm64 gohtml-lsp-darwin-arm64 gohtml-lsp-darwin-arm64-0.1.2.vsix
Windows x64 gohtml-lsp-windows-amd64.exe gohtml-lsp-win32-x64-0.1.2.vsix

Install

Install from the VS Code Marketplace, or download the .vsix for your platform and run:

code --install-extension gohtml-lsp-<platform>-0.1.2.vsix

Full Changelog: v0.1.0...v0.1.2

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 30 Jan 21:55