@mastra/pg 1.32.0-alpha.6 → 1.32.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.
@@ -3,7 +3,7 @@ name: mastra-pg
3
3
  description: Documentation for @mastra/pg. Use when working with @mastra/pg APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/pg"
6
- version: "1.32.0-alpha.6"
6
+ version: "1.32.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.32.0-alpha.6",
2
+ "version": "1.32.0",
3
3
  "package": "@mastra/pg",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -217,7 +217,7 @@ const paragraphMemory = new Memory({
217
217
 
218
218
  Working memory can also be defined using a structured schema instead of a Markdown template. A [Standard JSON Schema](https://standardschema.dev/json-schema) ([Zod](https://zod.dev/), [Valibot](https://valibot.dev/), [ArkType](https://arktype.io/), etc.). When using a schema, the agent will see and update working memory as a JSON object matching your schema.
219
219
 
220
- **Requirement:** You must specify either `template` or `schema`, but not both.
220
+ You can specify either `template` or `schema`, but not both. If you omit both, Mastra uses the default working memory template.
221
221
 
222
222
  ### Example: Schema-Based Working Memory
223
223
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/pg",
3
- "version": "1.32.0-alpha.6",
3
+ "version": "1.32.0",
4
4
  "description": "Postgres provider for Mastra - includes both vector and db storage capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -34,11 +34,11 @@
34
34
  "tsx": "^4.23.1",
35
35
  "typescript": "^7.0.2",
36
36
  "vitest": "4.1.11",
37
- "@internal/core": "0.1.3-alpha.1",
38
- "@internal/lint": "0.0.144",
39
- "@internal/storage-test-utils": "0.0.140",
40
- "@internal/types-builder": "0.0.119",
41
- "@mastra/core": "1.79.0-alpha.12"
37
+ "@internal/storage-test-utils": "0.0.141",
38
+ "@internal/core": "0.1.3",
39
+ "@internal/types-builder": "0.0.120",
40
+ "@mastra/core": "1.79.0",
41
+ "@internal/lint": "0.0.145"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@mastra/core": ">=1.76.0-0 <2.0.0-0"