@fusebase/fusebase-gate-sdk 2.2.2-sdk.23 → 2.2.2-sdk.25
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.
|
@@ -11,7 +11,7 @@ export declare class IsolatedStoresApi {
|
|
|
11
11
|
constructor(client: Client);
|
|
12
12
|
/**
|
|
13
13
|
* Apply SQL migrations
|
|
14
|
-
* Applies pending postgres migrations from an ordered migration bundle into the selected stage database. For prod, gate creates a checkpoint automatically before applying pending migrations. Applied history must match the bundle prefix exactly; drifted stages are rejected. MCP clients often cap tool_call JSON body size (on the order of a few thousand characters); the request includes full SQL text for every bundle version cumulatively, so large bundles may fail or truncate in chat-only MCP.
|
|
14
|
+
* Applies pending postgres migrations from an ordered migration bundle into the selected stage database. For prod, gate creates a checkpoint automatically before applying pending migrations. Applied history must match the bundle prefix exactly; drifted stages are rejected. MCP clients often cap tool_call JSON body size (on the order of a few thousand characters); the request includes full SQL text for every bundle version cumulatively, so large bundles may fail or truncate in chat-only MCP. Keep canonical SQL plus a manifest for apply from SDK, CLI, or any non-MCP caller without a tight body-size limit.
|
|
15
15
|
*/
|
|
16
16
|
applyIsolatedStoreSqlMigrations(params: {
|
|
17
17
|
path: {
|
|
@@ -155,7 +155,7 @@ export declare class IsolatedStoresApi {
|
|
|
155
155
|
}): Promise<IsolatedStoreSqlDescribeTableResponseContract>;
|
|
156
156
|
/**
|
|
157
157
|
* Run writable SQL statement
|
|
158
|
-
* Runs a single
|
|
158
|
+
* Runs a single raw DML statement with execute access against the postgres binding of the selected isolated store stage instance. Only INSERT, UPDATE, and DELETE are allowed on this privileged escape hatch. DDL and schema changes are blocked here and must go through applyIsolatedStoreSqlMigrations so the stage migration journal (fusebase_schema_migrations) stays authoritative.
|
|
159
159
|
*/
|
|
160
160
|
executeIsolatedStoreSql(params: {
|
|
161
161
|
path: {
|
|
@@ -13,7 +13,7 @@ class IsolatedStoresApi {
|
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Apply SQL migrations
|
|
16
|
-
* Applies pending postgres migrations from an ordered migration bundle into the selected stage database. For prod, gate creates a checkpoint automatically before applying pending migrations. Applied history must match the bundle prefix exactly; drifted stages are rejected. MCP clients often cap tool_call JSON body size (on the order of a few thousand characters); the request includes full SQL text for every bundle version cumulatively, so large bundles may fail or truncate in chat-only MCP.
|
|
16
|
+
* Applies pending postgres migrations from an ordered migration bundle into the selected stage database. For prod, gate creates a checkpoint automatically before applying pending migrations. Applied history must match the bundle prefix exactly; drifted stages are rejected. MCP clients often cap tool_call JSON body size (on the order of a few thousand characters); the request includes full SQL text for every bundle version cumulatively, so large bundles may fail or truncate in chat-only MCP. Keep canonical SQL plus a manifest for apply from SDK, CLI, or any non-MCP caller without a tight body-size limit.
|
|
17
17
|
*/
|
|
18
18
|
async applyIsolatedStoreSqlMigrations(params) {
|
|
19
19
|
return this.client.request({
|
|
@@ -176,7 +176,7 @@ class IsolatedStoresApi {
|
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
178
178
|
* Run writable SQL statement
|
|
179
|
-
* Runs a single
|
|
179
|
+
* Runs a single raw DML statement with execute access against the postgres binding of the selected isolated store stage instance. Only INSERT, UPDATE, and DELETE are allowed on this privileged escape hatch. DDL and schema changes are blocked here and must go through applyIsolatedStoreSqlMigrations so the stage migration journal (fusebase_schema_migrations) stays authoritative.
|
|
180
180
|
*/
|
|
181
181
|
async executeIsolatedStoreSql(params) {
|
|
182
182
|
return this.client.request({
|
package/package.json
CHANGED
package/release-notes/latest.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Release Notes 2.2.2-sdk.
|
|
1
|
+
# Release Notes 2.2.2-sdk.25
|
|
2
2
|
|
|
3
3
|
- Current ref: `HEAD`
|
|
4
|
-
- Previous tag: `v2.2.2-sdk.
|
|
5
|
-
- Generated at: 2026-04-
|
|
4
|
+
- Previous tag: `v2.2.2-sdk.25`
|
|
5
|
+
- Generated at: 2026-04-04T22:07:14.296Z
|
|
6
6
|
|
|
7
7
|
## Included Drafts
|
|
8
8
|
|