@mastra/spanner 1.12.1-alpha.0 → 1.12.2-alpha.0

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.
Files changed (34) hide show
  1. package/dist/docs/SKILL.md +1 -1
  2. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  3. package/dist/docs/references/integrations-databases-spanner.md +2 -2
  4. package/dist/index.cjs +0 -2
  5. package/dist/index.js +0 -2
  6. package/package.json +7 -6
  7. package/dist/index.cjs.map +0 -1
  8. package/dist/index.d.ts.map +0 -1
  9. package/dist/index.js.map +0 -1
  10. package/dist/storage/db/index.d.ts.map +0 -1
  11. package/dist/storage/db/run-fencing.d.ts.map +0 -1
  12. package/dist/storage/db/utils.d.ts.map +0 -1
  13. package/dist/storage/domains/agents/index.d.ts.map +0 -1
  14. package/dist/storage/domains/background-tasks/index.d.ts.map +0 -1
  15. package/dist/storage/domains/blobs/index.d.ts.map +0 -1
  16. package/dist/storage/domains/channels/index.d.ts.map +0 -1
  17. package/dist/storage/domains/datasets/index.d.ts.map +0 -1
  18. package/dist/storage/domains/experiments/index.d.ts.map +0 -1
  19. package/dist/storage/domains/favorites/index.d.ts.map +0 -1
  20. package/dist/storage/domains/mcp-clients/index.d.ts.map +0 -1
  21. package/dist/storage/domains/mcp-servers/index.d.ts.map +0 -1
  22. package/dist/storage/domains/memory/index.d.ts.map +0 -1
  23. package/dist/storage/domains/observability/index.d.ts.map +0 -1
  24. package/dist/storage/domains/observability/metrics.d.ts.map +0 -1
  25. package/dist/storage/domains/prompt-blocks/index.d.ts.map +0 -1
  26. package/dist/storage/domains/schedules/index.d.ts.map +0 -1
  27. package/dist/storage/domains/scorer-definitions/index.d.ts.map +0 -1
  28. package/dist/storage/domains/scores/index.d.ts.map +0 -1
  29. package/dist/storage/domains/skills/index.d.ts.map +0 -1
  30. package/dist/storage/domains/utils.d.ts.map +0 -1
  31. package/dist/storage/domains/workflow-definitions/index.d.ts.map +0 -1
  32. package/dist/storage/domains/workflows/index.d.ts.map +0 -1
  33. package/dist/storage/domains/workspaces/index.d.ts.map +0 -1
  34. package/dist/storage/index.d.ts.map +0 -1
@@ -3,7 +3,7 @@ name: mastra-spanner
3
3
  description: Documentation for @mastra/spanner. Use when working with @mastra/spanner APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/spanner"
6
- version: "1.12.1-alpha.0"
6
+ version: "1.12.2-alpha.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.12.1-alpha.0",
2
+ "version": "1.12.2-alpha.0",
3
3
  "package": "@mastra/spanner",
4
4
  "exports": {
5
5
  "AgentsSpanner": {
@@ -45,7 +45,7 @@ const storage = new SpannerStore({
45
45
  })
46
46
  ```
47
47
 
48
- The instance and database must already exist. The adapter creates the required tables on first use, so the credentials provided to the Spanner client need permission to run schema changes (or run `storage.init()` once during a deploy step with elevated credentials).
48
+ The instance and database must already exist. The adapter creates the required tables on first use, which means the credentials provided to the Spanner client need permission to run schema changes (or run `storage.init()` once during a deploy step with elevated credentials).
49
49
 
50
50
  ## Parameters
51
51
 
@@ -190,7 +190,7 @@ A few behaviors differ from other relational adapters:
190
190
  - Identifiers are quoted with backticks.
191
191
  - DDL is applied through `database.updateSchema(...)`, which is asynchronous (long-running operation).
192
192
  - `NULLS FIRST/LAST` isn't supported. Ordering with NULL handling is emulated through an `IS NULL` ordering key.
193
- - JSON containment isn't supported natively. `listTraces` `metadata` and `scope` filters compile to per-key `JSON_VALUE(...) = @v` equality checks, and `tags` filters compile to `EXISTS` over `JSON_QUERY_ARRAY(...)`. This differs from Postgres' `@>` containment operator (which can match nested structure in a single index scan): most one-shot lookups still work but deeply nested structural matches aren't expressible.
193
+ - JSON containment isn't supported natively. `listTraces` `metadata` and `scope` filters compile to per-key `JSON_VALUE(...) = @v` equality checks, and `tags` filters compile to `EXISTS` over `JSON_QUERY_ARRAY(...)`. This differs from Postgres' `@>` containment operator (which can match nested structure in a single index scan): most one-shot lookups still work but nested structural matches aren't expressible.
194
194
 
195
195
  ### Direct database access
196
196
 
package/dist/index.cjs CHANGED
@@ -14149,5 +14149,3 @@ exports.SpannerStore = SpannerStore;
14149
14149
  exports.WorkflowDefinitionsSpanner = WorkflowDefinitionsSpanner;
14150
14150
  exports.WorkflowsSpanner = WorkflowsSpanner;
14151
14151
  exports.WorkspacesSpanner = WorkspacesSpanner;
14152
-
14153
- //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -14128,5 +14128,3 @@ var SpannerStore = class extends MastraCompositeStore {
14128
14128
  }
14129
14129
  };
14130
14130
  export { AgentsSpanner, BackgroundTasksSpanner, BlobsSpanner, ChannelsSpanner, DatasetsSpanner, ExperimentsSpanner, FavoritesSpanner, MCPClientsSpanner, MCPServersSpanner, MemorySpanner, ObservabilitySpanner, PromptBlocksSpanner, SPANNER_DOMAIN_KEYS, SchedulesSpanner, ScorerDefinitionsSpanner, ScoresSpanner, SkillsSpanner, SpannerStore, WorkflowDefinitionsSpanner, WorkflowsSpanner, WorkspacesSpanner };
14131
-
14132
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/spanner",
3
- "version": "1.12.1-alpha.0",
3
+ "version": "1.12.2-alpha.0",
4
4
  "description": "Google Cloud Spanner provider for Mastra - db storage capabilities (GoogleSQL dialect)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -30,16 +30,17 @@
30
30
  "tsx": "^4.23.15",
31
31
  "typescript": "^7.0.2",
32
32
  "vitest": "5.1.0",
33
- "@internal/lint": "0.0.149",
34
- "@internal/storage-test-utils": "0.0.145",
35
- "@internal/types-builder": "0.0.124",
36
- "@mastra/core": "1.84.0-alpha.1"
33
+ "@internal/lint": "0.0.151",
34
+ "@internal/storage-test-utils": "0.0.147",
35
+ "@internal/types-builder": "0.0.126",
36
+ "@mastra/core": "1.86.0-alpha.6"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@mastra/core": ">=1.76.0-0 <2.0.0-0"
40
40
  },
41
41
  "files": [
42
- "dist"
42
+ "dist",
43
+ "!dist/**/*.d.*ts.map"
43
44
  ],
44
45
  "homepage": "https://mastra.ai",
45
46
  "repository": {