@mastra/pg 0.11.1-alpha.2 → 0.12.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.
@@ -1,23 +1,23 @@
1
1
 
2
- > @mastra/pg@0.11.1-alpha.2 build /home/runner/work/mastra/mastra/stores/pg
2
+ > @mastra/pg@0.12.0-alpha.3 build /home/runner/work/mastra/mastra/stores/pg
3
3
  > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.5.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 10545ms
9
+ TSC ⚡️ Build success in 10128ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.8.3
13
13
  Writing package typings: /home/runner/work/mastra/mastra/stores/pg/dist/_tsup-dts-rollup.d.ts
14
14
  Analysis will use the bundled TypeScript version 5.8.3
15
15
  Writing package typings: /home/runner/work/mastra/mastra/stores/pg/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 12254ms
16
+ DTS ⚡️ Build success in 11992ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
20
  CJS dist/index.cjs 87.61 KB
21
- CJS ⚡️ Build success in 1984ms
21
+ CJS ⚡️ Build success in 1941ms
22
22
  ESM dist/index.js 86.23 KB
23
- ESM ⚡️ Build success in 1985ms
23
+ ESM ⚡️ Build success in 1945ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # @mastra/pg
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8a3bfd2: Update peerdeps to latest core
8
+
9
+ ### Patch Changes
10
+
11
+ - 15e9d26: Added per-resource working memory for LibSQL, Upstash, and PG
12
+ - d8f2d19: Add updateMessages API to storage classes (only support for PG and LibSQL for now) and to memory class. Additionally allow for metadata to be saved in the content field of a message.
13
+ - 0fb9d64: [MASTRA-4018] Update saveMessages in storage adapters to upsert messages
14
+ - 2097952: [MASTRA-4021] Fix PG getMessages and update messageLimit for all storage adapters
15
+ - 144eb0b: [MASTRA-3669] Metadata Filter Types
16
+ - f0150c4: Fix LibSQLStore and PgStore getMessagesPaginated implementation
17
+ - 0e17048: Throw mastra errors in storage packages
18
+ - Updated dependencies [15e9d26]
19
+ - Updated dependencies [d1baedb]
20
+ - Updated dependencies [d8f2d19]
21
+ - Updated dependencies [4d21bf2]
22
+ - Updated dependencies [07d6d88]
23
+ - Updated dependencies [9d52b17]
24
+ - Updated dependencies [2097952]
25
+ - Updated dependencies [792c4c0]
26
+ - Updated dependencies [5d74aab]
27
+ - Updated dependencies [a8b194f]
28
+ - Updated dependencies [4fb0cc2]
29
+ - Updated dependencies [d2a7a31]
30
+ - Updated dependencies [502fe05]
31
+ - Updated dependencies [144eb0b]
32
+ - Updated dependencies [8ba1b51]
33
+ - Updated dependencies [4efcfa0]
34
+ - Updated dependencies [0e17048]
35
+ - @mastra/core@0.10.7
36
+
37
+ ## 0.12.0-alpha.3
38
+
39
+ ### Minor Changes
40
+
41
+ - 8a3bfd2: Update peerdeps to latest core
42
+
43
+ ### Patch Changes
44
+
45
+ - Updated dependencies [792c4c0]
46
+ - Updated dependencies [502fe05]
47
+ - Updated dependencies [4efcfa0]
48
+ - @mastra/core@0.10.7-alpha.3
49
+
3
50
  ## 0.11.1-alpha.2
4
51
 
5
52
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/pg",
3
- "version": "0.11.1-alpha.2",
3
+ "version": "0.12.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",
@@ -33,12 +33,12 @@
33
33
  "tsup": "^8.5.0",
34
34
  "typescript": "^5.8.3",
35
35
  "vitest": "^3.2.3",
36
- "@internal/lint": "0.0.13",
37
- "@mastra/core": "0.10.7-alpha.2",
38
- "@internal/storage-test-utils": "0.0.9"
36
+ "@internal/lint": "0.0.14",
37
+ "@mastra/core": "0.10.7",
38
+ "@internal/storage-test-utils": "0.0.10"
39
39
  },
40
40
  "peerDependencies": {
41
- "@mastra/core": ">=0.10.4-0 <0.11.0"
41
+ "@mastra/core": ">=0.10.7-0 <0.11.0-0"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",