@mastra/upstash 0.10.3-alpha.0 → 0.10.3-alpha.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.
@@ -1,39 +1,39 @@
1
1
 
2
- > @mastra/upstash@0.10.3-alpha.0 build /home/runner/work/mastra/mastra/stores/upstash
2
+ > @mastra/upstash@0.10.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.5.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 9952ms
9
+ TSC ⚡️ Build success in 10151ms
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 11839ms
16
+ DTS ⚡️ Build success in 11729ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- dist/index.js (1651:18): Use of eval in "dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
21
20
  dist/index.cjs (1651:18): Use of eval in "dist/index.cjs" is strongly discouraged as it poses security risks and may cause issues with minification.
22
- ESM dist/getMachineId-darwin-UTKBTJ2U.js 1.08 KB
23
- ESM dist/getMachineId-linux-K3QXQYAB.js 740.00 B
24
- ESM dist/getMachineId-bsd-KKIDU47O.js 896.00 B
25
- ESM dist/getMachineId-win-L2EYIM5A.js 1.04 KB
26
- ESM dist/chunk-IGKEDEDE.js 452.00 B
27
- ESM dist/getMachineId-unsupported-VPWBQCK7.js 700.00 B
28
- ESM dist/chunk-HSTZWXH7.js 61.52 KB
29
- ESM dist/index.js 1.64 MB
30
- ESM ⚡️ Build success in 23482ms
21
+ dist/index.js (1651:18): Use of eval in "dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
31
22
  CJS dist/getMachineId-darwin-3PL23DL6.cjs 1.19 KB
32
23
  CJS dist/getMachineId-linux-KYLPK3HC.cjs 813.00 B
33
24
  CJS dist/getMachineId-bsd-HDZ73WR7.cjs 1015.00 B
34
- CJS dist/getMachineId-win-ZTI2LRDJ.cjs 1.66 KB
35
25
  CJS dist/chunk-N2CPQVE3.cjs 1.09 KB
26
+ CJS dist/getMachineId-win-ZTI2LRDJ.cjs 1.66 KB
36
27
  CJS dist/getMachineId-unsupported-DEDJN4ZS.cjs 777.00 B
37
28
  CJS dist/chunk-U74OJRHU.cjs 62.08 KB
38
29
  CJS dist/index.cjs 1.65 MB
39
- CJS ⚡️ Build success in 23523ms
30
+ CJS ⚡️ Build success in 21940ms
31
+ ESM dist/getMachineId-linux-K3QXQYAB.js 740.00 B
32
+ ESM dist/getMachineId-darwin-UTKBTJ2U.js 1.08 KB
33
+ ESM dist/getMachineId-win-L2EYIM5A.js 1.04 KB
34
+ ESM dist/getMachineId-bsd-KKIDU47O.js 896.00 B
35
+ ESM dist/chunk-IGKEDEDE.js 452.00 B
36
+ ESM dist/getMachineId-unsupported-VPWBQCK7.js 700.00 B
37
+ ESM dist/chunk-HSTZWXH7.js 61.52 KB
38
+ ESM dist/index.js 1.64 MB
39
+ ESM ⚡️ Build success in 21983ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @mastra/upstash
2
2
 
3
+ ## 0.10.3-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - dffb67b: updated stores to add alter table and change tests
8
+ - Updated dependencies [f6fd25f]
9
+ - Updated dependencies [dffb67b]
10
+ - Updated dependencies [f1309d3]
11
+ - Updated dependencies [f7f8293]
12
+ - @mastra/core@0.10.4-alpha.1
13
+
3
14
  ## 0.10.3-alpha.0
4
15
 
5
16
  ### Patch Changes
@@ -58,8 +58,6 @@ declare class UpstashStore extends MastraStorage {
58
58
  private transformEvalRecord;
59
59
  private parseJSON;
60
60
  private getKey;
61
- private ensureDate;
62
- private serializeDate;
63
61
  /**
64
62
  * Scans for keys matching the given pattern using SCAN and returns them as an array.
65
63
  * @param pattern Redis key pattern, e.g. "table:*"
@@ -111,6 +109,17 @@ declare class UpstashStore extends MastraStorage {
111
109
  tableName: TABLE_NAMES;
112
110
  schema: Record<string, StorageColumn>;
113
111
  }): Promise<void>;
112
+ /**
113
+ * No-op: This backend is schemaless and does not require schema changes.
114
+ * @param tableName Name of the table
115
+ * @param schema Schema of the table
116
+ * @param ifNotExists Array of column names to add if they don't exist
117
+ */
118
+ alterTable(_args: {
119
+ tableName: TABLE_NAMES;
120
+ schema: Record<string, StorageColumn>;
121
+ ifNotExists: string[];
122
+ }): Promise<void>;
114
123
  clearTable({ tableName }: {
115
124
  tableName: TABLE_NAMES;
116
125
  }): Promise<void>;
@@ -58,8 +58,6 @@ declare class UpstashStore extends MastraStorage {
58
58
  private transformEvalRecord;
59
59
  private parseJSON;
60
60
  private getKey;
61
- private ensureDate;
62
- private serializeDate;
63
61
  /**
64
62
  * Scans for keys matching the given pattern using SCAN and returns them as an array.
65
63
  * @param pattern Redis key pattern, e.g. "table:*"
@@ -111,6 +109,17 @@ declare class UpstashStore extends MastraStorage {
111
109
  tableName: TABLE_NAMES;
112
110
  schema: Record<string, StorageColumn>;
113
111
  }): Promise<void>;
112
+ /**
113
+ * No-op: This backend is schemaless and does not require schema changes.
114
+ * @param tableName Name of the table
115
+ * @param schema Schema of the table
116
+ * @param ifNotExists Array of column names to add if they don't exist
117
+ */
118
+ alterTable(_args: {
119
+ tableName: TABLE_NAMES;
120
+ schema: Record<string, StorageColumn>;
121
+ ifNotExists: string[];
122
+ }): Promise<void>;
114
123
  clearTable({ tableName }: {
115
124
  tableName: TABLE_NAMES;
116
125
  }): Promise<void>;