@mastra/pg 0.0.0-commonjs-20250227130920

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.
@@ -0,0 +1,23 @@
1
+
2
+ > @mastra/pg@0.1.6-alpha.0 build C:\Users\Ward\projects\mastra\mastra\stores\pg
3
+ > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake
4
+
5
+ CLI Building entry: src/index.ts
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v8.3.6
8
+ TSC Build start
9
+ TSC ⚡️ Build success in 2680ms
10
+ DTS Build start
11
+ CLI Target: es2022
12
+ Analysis will use the bundled TypeScript version 5.7.3
13
+ Writing package typings: C:\Users\Ward\projects\mastra\mastra\stores\pg\dist\_tsup-dts-rollup.d.ts
14
+ Analysis will use the bundled TypeScript version 5.7.3
15
+ Writing package typings: C:\Users\Ward\projects\mastra\mastra\stores\pg\dist\_tsup-dts-rollup.d.cts
16
+ DTS ⚡️ Build success in 3630ms
17
+ CLI Cleaning output folder
18
+ ESM Build start
19
+ CJS Build start
20
+ CJS dist\index.cjs 33.23 KB
21
+ CJS ⚡️ Build success in 227ms
22
+ ESM dist\index.js 32.84 KB
23
+ ESM ⚡️ Build success in 227ms
package/CHANGELOG.md ADDED
@@ -0,0 +1,503 @@
1
+ # @mastra/pg
2
+
3
+ ## 0.0.0-commonjs-20250227130920
4
+
5
+ ### Patch Changes
6
+
7
+ - 4a712fc: Add support for commonjs
8
+ - f6a1de3: Renamed defineIndex to buildIndex
9
+ - Updated dependencies [ed55f1d]
10
+ - Updated dependencies [06aa827]
11
+ - Updated dependencies [8d13b14]
12
+ - Updated dependencies [4a712fc]
13
+ - Updated dependencies [108793c]
14
+ - Updated dependencies [5f28f44]
15
+ - @mastra/core@0.0.0-commonjs-20250227130920
16
+
17
+ ## 0.1.6-alpha.0
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [06aa827]
22
+ - @mastra/core@0.4.3-alpha.0
23
+
24
+ ## 0.1.5
25
+
26
+ ### Patch Changes
27
+
28
+ - 82197f8: Update PG vector to allow for multiple index types
29
+ - Updated dependencies [7fceae1]
30
+ - Updated dependencies [8d94c3e]
31
+ - Updated dependencies [99dcdb5]
32
+ - Updated dependencies [6cb63e0]
33
+ - Updated dependencies [f626fbb]
34
+ - Updated dependencies [e752340]
35
+ - Updated dependencies [eb91535]
36
+ - @mastra/core@0.4.2
37
+
38
+ ## 0.1.5-alpha.2
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies [8d94c3e]
43
+ - Updated dependencies [99dcdb5]
44
+ - Updated dependencies [e752340]
45
+ - Updated dependencies [eb91535]
46
+ - @mastra/core@0.4.2-alpha.2
47
+
48
+ ## 0.1.5-alpha.1
49
+
50
+ ### Patch Changes
51
+
52
+ - 82197f8: Update PG vector to allow for multiple index types
53
+ - Updated dependencies [6cb63e0]
54
+ - @mastra/core@0.4.2-alpha.1
55
+
56
+ ## 0.1.5-alpha.0
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies [7fceae1]
61
+ - Updated dependencies [f626fbb]
62
+ - @mastra/core@0.4.2-alpha.0
63
+
64
+ ## 0.1.4
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [ce44b9b]
69
+ - Updated dependencies [967da43]
70
+ - Updated dependencies [b405f08]
71
+ - @mastra/core@0.4.1
72
+
73
+ ## 0.1.3
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated dependencies [2fc618f]
78
+ - Updated dependencies [fe0fd01]
79
+ - @mastra/core@0.4.0
80
+
81
+ ## 0.1.3-alpha.1
82
+
83
+ ### Patch Changes
84
+
85
+ - Updated dependencies [fe0fd01]
86
+ - @mastra/core@0.4.0-alpha.1
87
+
88
+ ## 0.1.3-alpha.0
89
+
90
+ ### Patch Changes
91
+
92
+ - Updated dependencies [2fc618f]
93
+ - @mastra/core@0.4.0-alpha.0
94
+
95
+ ## 0.1.2
96
+
97
+ ### Patch Changes
98
+
99
+ - Updated dependencies [f205ede]
100
+ - @mastra/core@0.3.0
101
+
102
+ ## 0.1.1
103
+
104
+ ### Patch Changes
105
+
106
+ - Updated dependencies [d59f1a8]
107
+ - Updated dependencies [91ef439]
108
+ - Updated dependencies [4a25be4]
109
+ - Updated dependencies [bf2e88f]
110
+ - Updated dependencies [2f0d707]
111
+ - Updated dependencies [aac1667]
112
+ - @mastra/core@0.2.1
113
+
114
+ ## 0.1.1-alpha.0
115
+
116
+ ### Patch Changes
117
+
118
+ - Updated dependencies [d59f1a8]
119
+ - Updated dependencies [91ef439]
120
+ - Updated dependencies [4a25be4]
121
+ - Updated dependencies [bf2e88f]
122
+ - Updated dependencies [2f0d707]
123
+ - Updated dependencies [aac1667]
124
+ - @mastra/core@0.2.1-alpha.0
125
+
126
+ ## 0.1.0
127
+
128
+ ### Minor Changes
129
+
130
+ - c87eb4e: Combine PostgreSQL packages into `@mastra/pg`.
131
+
132
+ - Move and combine packages to `stores/pg`
133
+ - Reorganize source files into `src/vector` and `src/store`
134
+ - Add deprecation notices to old packages
135
+ - Update documentation and examples
136
+ - No breaking changes in functionality
137
+
138
+ - 8b416d9: Breaking changes
139
+
140
+ ### Patch Changes
141
+
142
+ - b97ca96: Tracing into default storage
143
+ - 07c069d: Update build script
144
+ - 9c10484: update all packages
145
+ - 70dabd9: Fix broken publish
146
+ - 4f1d1a1: Enforce types ann cleanup package.json
147
+ - Updated dependencies [f537e33]
148
+ - Updated dependencies [6f2c0f5]
149
+ - Updated dependencies [e4d4ede]
150
+ - Updated dependencies [0be7181]
151
+ - Updated dependencies [dd6d87f]
152
+ - Updated dependencies [9029796]
153
+ - Updated dependencies [6fa4bd2]
154
+ - Updated dependencies [f031a1f]
155
+ - Updated dependencies [8151f44]
156
+ - Updated dependencies [d7d465a]
157
+ - Updated dependencies [4d4f6b6]
158
+ - Updated dependencies [73d112c]
159
+ - Updated dependencies [592e3cf]
160
+ - Updated dependencies [9d1796d]
161
+ - Updated dependencies [e897f1c]
162
+ - Updated dependencies [4a54c82]
163
+ - Updated dependencies [3967e69]
164
+ - Updated dependencies [8ae2bbc]
165
+ - Updated dependencies [e9d1b47]
166
+ - Updated dependencies [016493a]
167
+ - Updated dependencies [bc40916]
168
+ - Updated dependencies [93a3719]
169
+ - Updated dependencies [7d83b92]
170
+ - Updated dependencies [9fb3039]
171
+ - Updated dependencies [d5e12de]
172
+ - Updated dependencies [e1dd94a]
173
+ - Updated dependencies [07c069d]
174
+ - Updated dependencies [5cdfb88]
175
+ - Updated dependencies [837a288]
176
+ - Updated dependencies [685108a]
177
+ - Updated dependencies [c8ff2f5]
178
+ - Updated dependencies [5fdc87c]
179
+ - Updated dependencies [ae7bf94]
180
+ - Updated dependencies [8e7814f]
181
+ - Updated dependencies [66a03ec]
182
+ - Updated dependencies [7d87a15]
183
+ - Updated dependencies [b97ca96]
184
+ - Updated dependencies [23dcb23]
185
+ - Updated dependencies [033eda6]
186
+ - Updated dependencies [8105fae]
187
+ - Updated dependencies [e097800]
188
+ - Updated dependencies [1944807]
189
+ - Updated dependencies [30322ce]
190
+ - Updated dependencies [1874f40]
191
+ - Updated dependencies [685108a]
192
+ - Updated dependencies [f7d1131]
193
+ - Updated dependencies [79acad0]
194
+ - Updated dependencies [7a19083]
195
+ - Updated dependencies [382f4dc]
196
+ - Updated dependencies [1ebd071]
197
+ - Updated dependencies [0b74006]
198
+ - Updated dependencies [2f17a5f]
199
+ - Updated dependencies [f368477]
200
+ - Updated dependencies [7892533]
201
+ - Updated dependencies [9c10484]
202
+ - Updated dependencies [b726bf5]
203
+ - Updated dependencies [70dabd9]
204
+ - Updated dependencies [21fe536]
205
+ - Updated dependencies [176bc42]
206
+ - Updated dependencies [401a4d9]
207
+ - Updated dependencies [2e099d2]
208
+ - Updated dependencies [0b826f6]
209
+ - Updated dependencies [d68b532]
210
+ - Updated dependencies [75bf3f0]
211
+ - Updated dependencies [e6d8055]
212
+ - Updated dependencies [e2e76de]
213
+ - Updated dependencies [ccbc581]
214
+ - Updated dependencies [5950de5]
215
+ - Updated dependencies [fe3dcb0]
216
+ - Updated dependencies [78eec7c]
217
+ - Updated dependencies [a8a459a]
218
+ - Updated dependencies [0be7181]
219
+ - Updated dependencies [7b87567]
220
+ - Updated dependencies [b524c22]
221
+ - Updated dependencies [d7d465a]
222
+ - Updated dependencies [df843d3]
223
+ - Updated dependencies [4534e77]
224
+ - Updated dependencies [d6d8159]
225
+ - Updated dependencies [0bd142c]
226
+ - Updated dependencies [9625602]
227
+ - Updated dependencies [72d1990]
228
+ - Updated dependencies [f6ba259]
229
+ - Updated dependencies [2712098]
230
+ - Updated dependencies [eedb829]
231
+ - Updated dependencies [5285356]
232
+ - Updated dependencies [74b3078]
233
+ - Updated dependencies [cb290ee]
234
+ - Updated dependencies [b4d7416]
235
+ - Updated dependencies [e608d8c]
236
+ - Updated dependencies [06b2c0a]
237
+ - Updated dependencies [002d6d8]
238
+ - Updated dependencies [e448a26]
239
+ - Updated dependencies [8b416d9]
240
+ - Updated dependencies [fd494a3]
241
+ - Updated dependencies [dc90663]
242
+ - Updated dependencies [c872875]
243
+ - Updated dependencies [3c4488b]
244
+ - Updated dependencies [a7b016d]
245
+ - Updated dependencies [fd75f3c]
246
+ - Updated dependencies [7f24c29]
247
+ - Updated dependencies [2017553]
248
+ - Updated dependencies [a10b7a3]
249
+ - Updated dependencies [cf6d825]
250
+ - Updated dependencies [963c15a]
251
+ - Updated dependencies [7365b6c]
252
+ - Updated dependencies [5ee67d3]
253
+ - Updated dependencies [d38f7a6]
254
+ - Updated dependencies [38b7f66]
255
+ - Updated dependencies [2fa7f53]
256
+ - Updated dependencies [1420ae2]
257
+ - Updated dependencies [f6da688]
258
+ - Updated dependencies [3700be1]
259
+ - Updated dependencies [9ade36e]
260
+ - Updated dependencies [10870bc]
261
+ - Updated dependencies [2b01511]
262
+ - Updated dependencies [a870123]
263
+ - Updated dependencies [ccf115c]
264
+ - Updated dependencies [04434b6]
265
+ - Updated dependencies [5811de6]
266
+ - Updated dependencies [9f3ab05]
267
+ - Updated dependencies [66a5392]
268
+ - Updated dependencies [4b1ce2c]
269
+ - Updated dependencies [14064f2]
270
+ - Updated dependencies [f5dfa20]
271
+ - Updated dependencies [327ece7]
272
+ - Updated dependencies [da2e8d3]
273
+ - Updated dependencies [95a4697]
274
+ - Updated dependencies [d5fccfb]
275
+ - Updated dependencies [3427b95]
276
+ - Updated dependencies [538a136]
277
+ - Updated dependencies [e66643a]
278
+ - Updated dependencies [b5393f1]
279
+ - Updated dependencies [d2cd535]
280
+ - Updated dependencies [c2dd6b5]
281
+ - Updated dependencies [67637ba]
282
+ - Updated dependencies [836f4e3]
283
+ - Updated dependencies [5ee2e78]
284
+ - Updated dependencies [cd02c56]
285
+ - Updated dependencies [01502b0]
286
+ - Updated dependencies [16e5b04]
287
+ - Updated dependencies [d9c8dd0]
288
+ - Updated dependencies [9fb59d6]
289
+ - Updated dependencies [a9345f9]
290
+ - Updated dependencies [99f1847]
291
+ - Updated dependencies [04f3171]
292
+ - Updated dependencies [8769a62]
293
+ - Updated dependencies [d5ec619]
294
+ - Updated dependencies [27275c9]
295
+ - Updated dependencies [ae7bf94]
296
+ - Updated dependencies [4f1d1a1]
297
+ - Updated dependencies [ee4de15]
298
+ - Updated dependencies [202d404]
299
+ - Updated dependencies [a221426]
300
+ - @mastra/core@0.2.0
301
+
302
+ ## 0.1.0-alpha.20
303
+
304
+ ### Patch Changes
305
+
306
+ - Updated dependencies [016493a]
307
+ - Updated dependencies [382f4dc]
308
+ - Updated dependencies [176bc42]
309
+ - Updated dependencies [d68b532]
310
+ - Updated dependencies [fe3dcb0]
311
+ - Updated dependencies [e448a26]
312
+ - Updated dependencies [fd75f3c]
313
+ - Updated dependencies [ccf115c]
314
+ - Updated dependencies [a221426]
315
+ - @mastra/core@0.2.0-alpha.110
316
+
317
+ ## 0.1.0-alpha.19
318
+
319
+ ### Patch Changes
320
+
321
+ - Updated dependencies [d5fccfb]
322
+ - @mastra/core@0.2.0-alpha.109
323
+
324
+ ## 0.1.0-alpha.18
325
+
326
+ ### Patch Changes
327
+
328
+ - Updated dependencies [5ee67d3]
329
+ - Updated dependencies [95a4697]
330
+ - @mastra/core@0.2.0-alpha.108
331
+
332
+ ## 0.1.0-alpha.17
333
+
334
+ ### Patch Changes
335
+
336
+ - Updated dependencies [66a5392]
337
+ - @mastra/core@0.2.0-alpha.107
338
+
339
+ ## 0.1.0-alpha.16
340
+
341
+ ### Patch Changes
342
+
343
+ - Updated dependencies [6f2c0f5]
344
+ - Updated dependencies [a8a459a]
345
+ - @mastra/core@0.2.0-alpha.106
346
+
347
+ ## 0.1.0-alpha.15
348
+
349
+ ### Patch Changes
350
+
351
+ - Updated dependencies [1420ae2]
352
+ - Updated dependencies [99f1847]
353
+ - @mastra/core@0.2.0-alpha.105
354
+
355
+ ## 0.1.0-alpha.14
356
+
357
+ ### Patch Changes
358
+
359
+ - b97ca96: Tracing into default storage
360
+ - Updated dependencies [5fdc87c]
361
+ - Updated dependencies [b97ca96]
362
+ - Updated dependencies [72d1990]
363
+ - Updated dependencies [cf6d825]
364
+ - Updated dependencies [10870bc]
365
+ - @mastra/core@0.2.0-alpha.104
366
+
367
+ ## 0.1.0-alpha.13
368
+
369
+ ### Patch Changes
370
+
371
+ - Updated dependencies [4534e77]
372
+ - @mastra/core@0.2.0-alpha.103
373
+
374
+ ## 0.1.0-alpha.12
375
+
376
+ ### Patch Changes
377
+
378
+ - Updated dependencies [a9345f9]
379
+ - @mastra/core@0.2.0-alpha.102
380
+
381
+ ## 0.1.0-alpha.11
382
+
383
+ ### Patch Changes
384
+
385
+ - 4f1d1a1: Enforce types ann cleanup package.json
386
+ - Updated dependencies [66a03ec]
387
+ - Updated dependencies [4f1d1a1]
388
+ - @mastra/core@0.2.0-alpha.101
389
+
390
+ ## 0.1.0-alpha.10
391
+
392
+ ### Patch Changes
393
+
394
+ - Updated dependencies [9d1796d]
395
+ - @mastra/core@0.2.0-alpha.100
396
+
397
+ ## 0.1.0-alpha.9
398
+
399
+ ### Patch Changes
400
+
401
+ - Updated dependencies [7d83b92]
402
+ - @mastra/core@0.2.0-alpha.99
403
+
404
+ ## 0.1.0-alpha.8
405
+
406
+ ### Patch Changes
407
+
408
+ - 70dabd9: Fix broken publish
409
+ - Updated dependencies [70dabd9]
410
+ - Updated dependencies [202d404]
411
+ - @mastra/core@0.2.0-alpha.98
412
+
413
+ ## 0.1.0-alpha.7
414
+
415
+ ### Patch Changes
416
+
417
+ - 07c069d: Update build script
418
+ - Updated dependencies [07c069d]
419
+ - Updated dependencies [7892533]
420
+ - Updated dependencies [e6d8055]
421
+ - Updated dependencies [5950de5]
422
+ - Updated dependencies [df843d3]
423
+ - Updated dependencies [a870123]
424
+ - @mastra/core@0.2.0-alpha.97
425
+
426
+ ## 0.1.0-alpha.6
427
+
428
+ ### Patch Changes
429
+
430
+ - Updated dependencies [74b3078]
431
+ - @mastra/core@0.2.0-alpha.96
432
+
433
+ ## 0.1.0-alpha.5
434
+
435
+ ### Patch Changes
436
+
437
+ - Updated dependencies [9fb59d6]
438
+ - @mastra/core@0.2.0-alpha.95
439
+
440
+ ## 0.1.0-alpha.4
441
+
442
+ ### Minor Changes
443
+
444
+ - 8b416d9: Breaking changes
445
+
446
+ ### Patch Changes
447
+
448
+ - 9c10484: update all packages
449
+ - Updated dependencies [9c10484]
450
+ - Updated dependencies [8b416d9]
451
+ - @mastra/core@0.2.0-alpha.94
452
+
453
+ ## 0.1.0-alpha.3
454
+
455
+ ### Patch Changes
456
+
457
+ - Updated dependencies [5285356]
458
+ - @mastra/core@0.2.0-alpha.93
459
+
460
+ ## 0.1.0-alpha.2
461
+
462
+ ### Minor Changes
463
+
464
+ - c87eb4e: Combine PostgreSQL packages into `@mastra/pg`.
465
+
466
+ - Move and combine packages to `stores/pg`
467
+ - Reorganize source files into `src/vector` and `src/store`
468
+ - Add deprecation notices to old packages
469
+ - Update documentation and examples
470
+ - No breaking changes in functionality
471
+
472
+ ## 0.1.0-alpha.1
473
+
474
+ ### Major Changes
475
+
476
+ - Combined @mastra/vector-pg and @mastra/store-pg into a single package
477
+ - Unified configuration and connection handling
478
+ - Updated documentation to cover both vector and storage capabilities
479
+
480
+ ### Previous Changes from @mastra/vector-pg
481
+
482
+ #### 0.1.0-alpha.26
483
+
484
+ - Updated dependencies [4d4f6b6]
485
+ - @mastra/core@0.2.0-alpha.92
486
+
487
+ #### 0.1.0-alpha.25
488
+
489
+ - a10b7a3: Implemented new filtering for vectorQueryTool and updated docs
490
+ - Updated dependencies [d7d465a, 2017553, a10b7a3, 16e5b04]
491
+ - @mastra/core@0.2.0-alpha.91
492
+
493
+ ### Previous Changes from @mastra/store-pg
494
+
495
+ #### 0.0.0-alpha.11
496
+
497
+ - Updated dependencies [4d4f6b6]
498
+ - @mastra/core@0.2.0-alpha.92
499
+
500
+ #### 0.0.0-alpha.10
501
+
502
+ - Updated dependencies [d7d465a, 2017553, a10b7a3, 16e5b04]
503
+ - @mastra/core@0.2.0-alpha.91
package/LICENSE ADDED
@@ -0,0 +1,44 @@
1
+ Elastic License 2.0 (ELv2)
2
+
3
+ **Acceptance**
4
+ By using the software, you agree to all of the terms and conditions below.
5
+
6
+ **Copyright License**
7
+ The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject to the limitations and conditions below
8
+
9
+ **Limitations**
10
+ You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software.
11
+
12
+ You may not move, change, disable, or circumvent the license key functionality in the software, and you may not remove or obscure any functionality in the software that is protected by the license key.
13
+
14
+ You may not alter, remove, or obscure any licensing, copyright, or other notices of the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law.
15
+
16
+ **Patents**
17
+ The licensor grants you a license, under any patent claims the licensor can license, or becomes able to license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case subject to the limitations and conditions in this license. This license does not cover any patent claims that you cause to be infringed by modifications or additions to the software. If you or your company make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
18
+
19
+ **Notices**
20
+ You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms.
21
+
22
+ If you modify the software, you must include in any modified copies of the software prominent notices stating that you have modified the software.
23
+
24
+ **No Other Rights**
25
+ These terms do not imply any licenses other than those expressly granted in these terms.
26
+
27
+ **Termination**
28
+ If you use the software in violation of these terms, such use is not licensed, and your licenses will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your licenses will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your licenses to terminate automatically and permanently.
29
+
30
+ **No Liability**
31
+ As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.
32
+
33
+ **Definitions**
34
+ The _licensor_ is the entity offering these terms, and the _software_ is the software the licensor makes available under these terms, including any portion of it.
35
+
36
+ _you_ refers to the individual or entity agreeing to these terms.
37
+
38
+ _your company_ is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. _control_ means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
39
+
40
+ _your licenses_ are all the licenses granted to you for the software under these terms.
41
+
42
+ _use_ means anything you do with the software requiring one of your licenses.
43
+
44
+ _trademark_ means trademarks, service marks, and similar rights.