@mastra/pg 1.20.1-alpha.2 → 1.21.0-alpha.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 +24 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-storage.md +1 -0
- package/dist/index.cjs +1014 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1015 -9
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/knowledge/index.d.ts +84 -0
- package/dist/storage/domains/knowledge/index.d.ts.map +1 -0
- package/dist/storage/factory-storage.d.ts +22 -0
- package/dist/storage/factory-storage.d.ts.map +1 -1
- package/dist/storage/index.d.ts +2 -1
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @mastra/pg
|
|
2
2
|
|
|
3
|
+
## 1.21.0-alpha.4
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added foundational support for an upcoming experimental memory capability across storage, runtime, and developer tooling. ([#19538](https://github.com/mastra-ai/mastra/pull/19538))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`c549e2f`](https://github.com/mastra-ai/mastra/commit/c549e2f40edc1cac5d9e74e82f90da22b48df084), [`c549e2f`](https://github.com/mastra-ai/mastra/commit/c549e2f40edc1cac5d9e74e82f90da22b48df084), [`2ef2f23`](https://github.com/mastra-ai/mastra/commit/2ef2f230a7aed342e7dc3b2000cd42e4c43e08a7), [`5740ec6`](https://github.com/mastra-ai/mastra/commit/5740ec60c760ffdfbfaa59d603d03b847c864e05)]:
|
|
12
|
+
- @mastra/core@1.60.0-alpha.13
|
|
13
|
+
|
|
14
|
+
## 1.20.1-alpha.3
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Stop a dropped Postgres connection from killing the process while a client is checked out. ([#21765](https://github.com/mastra-ai/mastra/pull/21765))
|
|
19
|
+
|
|
20
|
+
`PgFactoryStorage` attached an `error` listener to the pool, but pg only routes pool-level errors for _idle_ clients — it hands ownership of a client to the borrower for the duration of a checkout. A backend restart or network blip that landed on a client mid-transaction therefore reached an emitter with nothing listening, and Node escalated it to an uncaughtException that took the whole server down (`Connection terminated unexpectedly` at `pg/lib/client.js`), even though the idle siblings were logged and discarded cleanly.
|
|
21
|
+
|
|
22
|
+
Pools created by `PgFactoryStorage` now attach a listener once per physical connection as it is established, so a client stays covered while borrowed. While the client is idle the pool's own listener already reports the failure, so the extra listener stays quiet and a dropped connection is announced once, as the right thing. The pool still discards the failed connection and reconnects on the next checkout; the failure is now logged instead of fatal. Caller-supplied pools are left untouched, as before.
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [[`6db7a5d`](https://github.com/mastra-ai/mastra/commit/6db7a5dd3dd2b6f7ef75dcd804fcffef5fa83963), [`0cdc5dc`](https://github.com/mastra-ai/mastra/commit/0cdc5dc69024957815da4f51acc4119eb4f447d7)]:
|
|
25
|
+
- @mastra/core@1.60.0-alpha.12
|
|
26
|
+
|
|
3
27
|
## 1.20.1-alpha.2
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -200,6 +200,7 @@ Each provider page includes installation instructions, configuration parameters,
|
|
|
200
200
|
- [Google Cloud Spanner](https://mastra.ai/integrations/databases/spanner)
|
|
201
201
|
- [LanceDB](https://mastra.ai/integrations/databases/lancedb)
|
|
202
202
|
- [libSQL](https://mastra.ai/integrations/databases/libsql)
|
|
203
|
+
- [Mastra](https://mastra.ai/docs/mastra-platform/database)
|
|
203
204
|
- [MongoDB](https://mastra.ai/integrations/databases/mongodb)
|
|
204
205
|
- [MSSQL](https://mastra.ai/integrations/databases/mssql)
|
|
205
206
|
- [Neon Postgres](https://mastra.ai/integrations/databases/neon)
|