@yawlabs/postgres-mcp 0.6.3 → 0.6.4
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 +21 -0
- package/dist/index.js +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.6.3] - 2026-05-15
|
|
11
|
+
|
|
12
|
+
### Infrastructure
|
|
13
|
+
- Closed the partial-failure coverage gap deferred in 0.6.2:
|
|
14
|
+
`pg_replication_status` `_warnings`-populated path is now exercised
|
|
15
|
+
by an integration test that REVOKEs `EXECUTE` on
|
|
16
|
+
`pg_current_wal_lsn()` from PUBLIC, swaps `DATABASE_URL` to a
|
|
17
|
+
fixture LOGIN role (`mcp_test_restricted`, CONNECT-only), rebuilds
|
|
18
|
+
the pool, and asserts `ok=true` with `_warnings` populated,
|
|
19
|
+
`is_replica: null` (not `false`), `wal_position: null`, and a
|
|
20
|
+
42501-tagged `wal_position fetch failed` entry. The grant is
|
|
21
|
+
restored unconditionally outside `finally` so the primary assertion
|
|
22
|
+
error (if any) isn't shadowed by a cleanup throw.
|
|
23
|
+
- `pg_health`, `pg_describe_table`, and `pg_advisor` share the same
|
|
24
|
+
partial-failure pattern but query catalogs PUBLIC can read;
|
|
25
|
+
engineering a realistic partial failure for them would require
|
|
26
|
+
revoking grants on catalog views, which would break the rest of the
|
|
27
|
+
suite. The success-case shape assertions already in their tests
|
|
28
|
+
protect the construction code from regression.
|
|
29
|
+
- No behavior changes for tool consumers.
|
|
30
|
+
|
|
10
31
|
## [0.6.2] - 2026-05-15
|
|
11
32
|
|
|
12
33
|
### Infrastructure
|
package/dist/index.js
CHANGED
|
@@ -37547,7 +37547,7 @@ function compareVersions(a, b) {
|
|
|
37547
37547
|
}
|
|
37548
37548
|
|
|
37549
37549
|
// src/index.ts
|
|
37550
|
-
var version2 = true ? "0.6.
|
|
37550
|
+
var version2 = true ? "0.6.4" : (await null).createRequire(import.meta.url)("../package.json").version;
|
|
37551
37551
|
var subcommand = process.argv[2];
|
|
37552
37552
|
if (subcommand === "version" || subcommand === "--version") {
|
|
37553
37553
|
console.log(version2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yawlabs/postgres-mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
|
+
"mcpName": "io.github.YawLabs/postgres-mcp",
|
|
4
5
|
"description": "PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"author": "YawLabs <contact@yaw.sh>",
|