@mastra/upstash 0.3.3-alpha.0 → 0.3.3

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/upstash@0.3.3-alpha.0 build /home/runner/work/mastra/mastra/stores/upstash
2
+ > @mastra/upstash@0.3.3-alpha.1 build /home/runner/work/mastra/mastra/stores/upstash
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.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 9256ms
9
+ TSC ⚡️ Build success in 10243ms
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/upstash/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/upstash/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 11879ms
16
+ DTS ⚡️ Build success in 11272ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
20
  CJS dist/index.cjs 29.03 KB
21
- CJS ⚡️ Build success in 1280ms
21
+ CJS ⚡️ Build success in 1334ms
22
22
  ESM dist/index.js 28.88 KB
23
- ESM ⚡️ Build success in 1282ms
23
+ ESM ⚡️ Build success in 1334ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @mastra/upstash
2
2
 
3
+ ## 0.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e450778]
8
+ - Updated dependencies [8902157]
9
+ - Updated dependencies [ca0dc88]
10
+ - Updated dependencies [526c570]
11
+ - Updated dependencies [d7a6a33]
12
+ - Updated dependencies [9cd1a46]
13
+ - Updated dependencies [b5d2de0]
14
+ - Updated dependencies [644f8ad]
15
+ - Updated dependencies [70dbf51]
16
+ - @mastra/core@0.9.3
17
+
18
+ ## 0.3.3-alpha.1
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [e450778]
23
+ - Updated dependencies [8902157]
24
+ - Updated dependencies [ca0dc88]
25
+ - Updated dependencies [9cd1a46]
26
+ - Updated dependencies [70dbf51]
27
+ - @mastra/core@0.9.3-alpha.1
28
+
3
29
  ## 0.3.3-alpha.0
4
30
 
5
31
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/upstash",
3
- "version": "0.3.3-alpha.0",
3
+ "version": "0.3.3",
4
4
  "description": "Upstash provider for Mastra - includes both vector and db storage capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@upstash/redis": "^1.34.5",
24
24
  "@upstash/vector": "^1.2.1",
25
- "@mastra/core": "^0.9.3-alpha.0"
25
+ "@mastra/core": "^0.9.3"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@microsoft/api-extractor": "^7.52.5",
@@ -32,7 +32,7 @@
32
32
  "tsup": "^8.4.0",
33
33
  "typescript": "^5.8.2",
34
34
  "vitest": "^3.1.2",
35
- "@internal/lint": "0.0.3"
35
+ "@internal/lint": "0.0.4"
36
36
  },
37
37
  "scripts": {
38
38
  "pretest": "docker compose up -d",
@@ -256,6 +256,15 @@ describe.skipIf(!process.env.UPSTASH_VECTOR_URL || !process.env.UPSTASH_VECTOR_T
256
256
  });
257
257
 
258
258
  describe('Error Handling', () => {
259
+ const testIndexName = 'test_index_error';
260
+ beforeAll(async () => {
261
+ await vectorStore.createIndex({ indexName: testIndexName, dimension: 3 });
262
+ });
263
+
264
+ afterAll(async () => {
265
+ await vectorStore.deleteIndex(testIndexName);
266
+ });
267
+
259
268
  it('should handle invalid dimension vectors', async () => {
260
269
  await expect(
261
270
  vectorStore.upsert({ indexName: testIndexName, vectors: [[1.0, 0.0]] }), // Wrong dimensions