sql-preview 0.6.4 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changelog.md +30 -1
- package/README.md +3 -3
- package/dist/mcp-app.html +929 -226
- package/out/server/standalone.js +777 -292
- package/package.json +1 -1
- package/server.json +2 -2
package/Changelog.md
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [
|
|
3
|
+
## [0.6.7] - 2026-07-08
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Replaced the stacked tab-close undo toast notifications with a simpler Undo button in the top action bar.
|
|
8
|
+
- Restored the original emoji icons (`▶️` and `▶️➕`) for the CodeLens query execution actions.
|
|
9
|
+
- Extracted hardcoded shadow colors and font stacks in the UI to strictly align with the `DESIGN.md` token system.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Fixed an issue where running a query in a new tab would occasionally render a blank page until the tab was manually focused.
|
|
14
|
+
|
|
15
|
+
## [0.6.6] - 2026-07-06
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- Added MCP Tool Profiles (RFC-062, ADR-001): the daemon's toolset is now selected by a named profile — `vscode` and `headless` (full toolset) or `readonly` (read-only subset with safe-mode SQL gating always enforced) — via the `MCP_PROFILE` environment variable.
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Consolidated the eight per-connector CLI harnesses (`packages/*/src/cli.ts`) into one shared `runConnectorCli` runner in `@sql-preview/connector-api`; connector packages now contribute only a small shim (RFC-061 Phase 1). Tool descriptions in the connector MCP harnesses are normalized to one template.
|
|
24
|
+
- Connector package builds now rebuild when `@sql-preview/connector-api`'s output changes, and the web app sidebar width flows through the `--sp-web-sidebar-width` token instead of an inline style.
|
|
25
|
+
- Polished the Connections settings screen: the "Built-in" connection label is now muted rather than success-green (status color is reserved for connection state), and connection action copy is consistently sentence case ("Save connection", "Test connection", "Connection name", "New connection").
|
|
26
|
+
|
|
27
|
+
## [0.6.5] - 2026-06-26
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- Fixed `ERR_CONNECTION_REFUSED` for MCP credential requests in `--stdio` mode by serving the credential web-form on an ephemeral port.
|
|
32
|
+
- Enforced strict HTTP `POST` session validation on the `/mcp` endpoint, requiring a valid `sessionId` in the query parameters or `mcp-session-id` in the headers. Prevents orphaned connection/session leaks and broadcast storms from client probes.
|
|
4
33
|
|
|
5
34
|
## [0.6.4] - 2026-06-04
|
|
6
35
|
|
package/README.md
CHANGED
|
@@ -6,8 +6,8 @@ Run SQL in VS Code, manage database profiles securely, inspect results in a
|
|
|
6
6
|
high-performance grid, and expose governed database tools to Claude, Cursor,
|
|
7
7
|
Copilot, and other Model Context Protocol clients.
|
|
8
8
|
|
|
9
|
-
[](https://marketplace.visualstudio.com/items?itemName=mehul.sql-preview)
|
|
10
|
+
[](https://marketplace.visualstudio.com/items?itemName=mehul.sql-preview)
|
|
11
11
|
[](https://open-vsx.org/extension/mehul/sql-preview)
|
|
12
12
|
[](LICENSE)
|
|
13
13
|
|
|
@@ -82,7 +82,7 @@ of failing silently.
|
|
|
82
82
|
Windows/Linux.
|
|
83
83
|
|
|
84
84
|
Results open in the **SQL Preview** panel at the bottom of the editor. To force a
|
|
85
|
-
new tab, run **SQL Preview: Run Query
|
|
85
|
+
new tab, run **SQL Preview: Run Query in New Tab**.
|
|
86
86
|
|
|
87
87
|
### Migrating from Legacy Settings
|
|
88
88
|
|