Releases: tnaum-ms/vscode-webview-starter-kit
Releases · tnaum-ms/vscode-webview-starter-kit
Release list
v2.0.0
- Adopted the
@microsoft/vscode-ext-webviewpackage — the tRPC transport, panel facade, and React hooks that previously lived in a localsrc/webviews/api/copy are now consumed from the published npm package. This repository is the canonical all-in (React + tRPC + webview) reference consumer. - New
src/webviews/_integration/layer — consumer-owned glue over the package: rootappRouter, thetrpctelemetry adapter, theopenAppWebviewpanel preset, theuseTrpcClientwrapper, and theWebviewRegistry. - Panels open via
openAppWebview— construction-only views use the factory over the package'sopenWebviewinstead ofWebviewControllersubclasses. - Client-first
useTrpcClient— the hook now returns the tRPC client directly (const trpcClient = useTrpcClient());WithWebviewContext/useConfigurationcome from@microsoft/vscode-ext-webview/react. - Removed the local
src/webviews/api/folder andWebviewContext.tsx(now provided by the package). - Docs — added migration.md for moving from the local copy to the package, refreshed the README and Copilot skills, and rebuilt the "Add a New View" tutorial as commit-by-commit steps.
v1.0.0
- Initial release of VS Code Webview Starter Kit
- Type-safe RPC — End-to-end typed communication between extension host and webview via
postMessage(powered by tRPC) - React + Fluent UI — Modern UI components with VS Code theme integration
- Adaptive theming — Automatic theme adaptation using
DynamicThemeProvider - Monaco Editor — Embedded code editor component
- Subscriptions & Abort — Real-time data streaming and cancellable long-running operations
- Localization — Full
@vscode/l10nintegration