@mastra/upstash 0.10.1-alpha.0 → 0.10.1
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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +17 -0
- package/package.json +3 -3
- package/src/storage/upstash.test.ts +9 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v8.4.0
|
|
8
8
|
[34mTSC[39m Build start
|
|
9
|
-
[32mTSC[39m ⚡️ Build success in
|
|
9
|
+
[32mTSC[39m ⚡️ Build success in 8661ms
|
|
10
10
|
[34mDTS[39m Build start
|
|
11
11
|
[34mCLI[39m Target: es2022
|
|
12
12
|
Analysis will use the bundled TypeScript version 5.8.3
|
|
13
13
|
[36mWriting package typings: /home/runner/work/mastra/mastra/stores/upstash/dist/_tsup-dts-rollup.d.ts[39m
|
|
14
14
|
Analysis will use the bundled TypeScript version 5.8.3
|
|
15
15
|
[36mWriting package typings: /home/runner/work/mastra/mastra/stores/upstash/dist/_tsup-dts-rollup.d.cts[39m
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 12455ms
|
|
17
17
|
[34mCLI[39m Cleaning output folder
|
|
18
18
|
[34mESM[39m Build start
|
|
19
19
|
[34mCJS[39m Build start
|
|
20
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m32.04 KB[39m
|
|
21
|
-
[32mCJS[39m ⚡️ Build success in 1251ms
|
|
22
20
|
[32mESM[39m [1mdist/index.js [22m[32m31.90 KB[39m
|
|
23
|
-
[32mESM[39m ⚡️ Build success in
|
|
21
|
+
[32mESM[39m ⚡️ Build success in 970ms
|
|
22
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m32.04 KB[39m
|
|
23
|
+
[32mCJS[39m ⚡️ Build success in 980ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @mastra/upstash
|
|
2
2
|
|
|
3
|
+
## 0.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e60402a: Use scan instead of keys for upstash redis and implement batchInsert
|
|
8
|
+
- Updated dependencies [d70b807]
|
|
9
|
+
- Updated dependencies [6d16390]
|
|
10
|
+
- Updated dependencies [1e4a421]
|
|
11
|
+
- Updated dependencies [200d0da]
|
|
12
|
+
- Updated dependencies [bf5f17b]
|
|
13
|
+
- Updated dependencies [5343f93]
|
|
14
|
+
- Updated dependencies [38aee50]
|
|
15
|
+
- Updated dependencies [5c41100]
|
|
16
|
+
- Updated dependencies [d6a759b]
|
|
17
|
+
- Updated dependencies [6015bdf]
|
|
18
|
+
- @mastra/core@0.10.1
|
|
19
|
+
|
|
3
20
|
## 0.10.1-alpha.0
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/upstash",
|
|
3
|
-
"version": "0.10.1
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Upstash provider for Mastra - includes both vector and db storage capabilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"tsup": "^8.4.0",
|
|
32
32
|
"typescript": "^5.8.2",
|
|
33
33
|
"vitest": "^3.1.2",
|
|
34
|
-
"@internal/lint": "0.0.
|
|
35
|
-
"@mastra/core": "0.10.1
|
|
34
|
+
"@internal/lint": "0.0.7",
|
|
35
|
+
"@mastra/core": "0.10.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@mastra/core": "^0.10.0"
|
|
@@ -46,6 +46,8 @@ const createSampleWorkflowSnapshot = (status: string, createdAt?: Date) => {
|
|
|
46
46
|
status: status,
|
|
47
47
|
payload: {},
|
|
48
48
|
error: undefined,
|
|
49
|
+
startedAt: timestamp.getTime(),
|
|
50
|
+
endedAt: new Date(timestamp.getTime() + 15000).getTime(),
|
|
49
51
|
},
|
|
50
52
|
input: {},
|
|
51
53
|
} as WorkflowRunState['context'],
|
|
@@ -462,7 +464,13 @@ describe('UpstashStore', () => {
|
|
|
462
464
|
const mockSnapshot = {
|
|
463
465
|
value: { step1: 'completed' },
|
|
464
466
|
context: {
|
|
465
|
-
step1: {
|
|
467
|
+
step1: {
|
|
468
|
+
status: 'success',
|
|
469
|
+
output: { result: 'done' },
|
|
470
|
+
payload: {},
|
|
471
|
+
startedAt: new Date().getTime(),
|
|
472
|
+
endedAt: new Date(Date.now() + 15000).getTime(),
|
|
473
|
+
},
|
|
466
474
|
} as WorkflowRunState['context'],
|
|
467
475
|
runId: testRunId,
|
|
468
476
|
activePaths: [],
|