From ef6de302e976bad95f929523e1fa2148094b8b52 Mon Sep 17 00:00:00 2001 From: Ajay Ghanwat Date: Thu, 20 Aug 2026 19:37:11 +0530 Subject: [PATCH] chore(vscode): prepare 0.8.9 marketplace release Bumps the extension past the published 0.8.8 so the apis { } editor tooling can ship: highlighting, api. completion and hover, the api= attribute, the repositioned removed-block diagnostics, and the fix for the spurious "Cannot find name 'api'" error. Co-Authored-By: Claude Opus 5 --- editors/vscode/CHANGELOG.md | 17 +++++++++++++++++ editors/vscode/package.json | 2 +- editors/vscode/src/extension.bundle.cjs | 2 +- editors/vscode/src/language-server.cjs | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 60e76dbb..bb785306 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 0.8.9 + +- Added highlighting for the page-level `apis { }` block and its ` ` entries, + along with container and entry completion snippets. +- Added `api.` call completion listing every declared block with its method and path, and hover + reporting a block's method, path, and request fields. +- Taught the language server the `api="…"` binding attribute: it is no longer treated as unknown, + and completion inside its quotes offers the page's block names. +- Diagnostics for the removed `ssr { … }` / `client { … }` data blocks now name the `apis { }` + replacement and land on the offending keyword instead of the start of the file. +- Fixed `api.()` calls reporting a spurious "Cannot find name 'api'" error, and the implicit + `any` that followed from it. +- Restricted API hover to real `api.` references, so a local variable that merely shares a + block's name keeps its own hover information. +- `client state { }`, `runtime = "client"`, and the `client function` modifier are unaffected — + only the `ssr { }` / `client { }` data-block form was removed. + ## 0.8.8 - Added HTML tag and attribute completions inside WRN `view` blocks, while preserving WRNexus diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 66ae38ba..17a54b12 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -2,7 +2,7 @@ "name": "wrnexus", "displayName": "WRNexus Language Support", "description": "Complete WRNexus v0.8.3 language support for typed imports, props, state, outputs, runtime functions, stores, diagnostics, formatting, navigation, and migration assistance.", - "version": "0.8.8", + "version": "0.8.9", "publisher": "wrnexus", "private": true, "license": "SEE LICENSE IN LICENSE", diff --git a/editors/vscode/src/extension.bundle.cjs b/editors/vscode/src/extension.bundle.cjs index 75be8487..73b59eec 100644 --- a/editors/vscode/src/extension.bundle.cjs +++ b/editors/vscode/src/extension.bundle.cjs @@ -1,4 +1,4 @@ -// WRN editor extension source hash: 566bce98338a6a99c6c5c15017d92b3a5fd8ed376dd6abd932179a1e79c00f70 +// WRN editor extension source hash: 6c652a0d490112180d2167de7a6bbc8ba179343ee313c4b51812958bcd941b83 // WRN editor extension generator hash: 456d1d614e44e5fb1f19b784176c09cf2ade9b64ef73a17934c2698150b62728 "use strict"; var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports); diff --git a/editors/vscode/src/language-server.cjs b/editors/vscode/src/language-server.cjs index 445bca49..13a21615 100644 --- a/editors/vscode/src/language-server.cjs +++ b/editors/vscode/src/language-server.cjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// WRN editor language server source hash: 1efd569f289f736d7dc094e4165d11490593f1c4534ae460a5122bf6dd45344b +// WRN editor language server source hash: e55270eb33d7722a82d13d3a79097fea77eca69612aeba104e9cbdd8fc67e8c6 // WRN editor language server generator hash: f593a44aaf05495b789ce7a3086bee1eebb951b884d41c0e017bbcfe5f547e72 // @bun @bun-cjs (function(exports, require, module, __filename, __dirname) {var __create = Object.create;