@mastra/upstash 0.10.3-alpha.0 → 0.10.3-alpha.2

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,19 +1,19 @@
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.2 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 10231ms
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 10756ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
@@ -27,7 +27,7 @@ dist/index.cjs (1651:18): Use of eval in "dist/index.cjs" is strongly discourage
27
27
  ESM dist/getMachineId-unsupported-VPWBQCK7.js 700.00 B
28
28
  ESM dist/chunk-HSTZWXH7.js 61.52 KB
29
29
  ESM dist/index.js 1.64 MB
30
- ESM ⚡️ Build success in 23482ms
30
+ ESM ⚡️ Build success in 23117ms
31
31
  CJS dist/getMachineId-darwin-3PL23DL6.cjs 1.19 KB
32
32
  CJS dist/getMachineId-linux-KYLPK3HC.cjs 813.00 B
33
33
  CJS dist/getMachineId-bsd-HDZ73WR7.cjs 1015.00 B
@@ -36,4 +36,4 @@ dist/index.cjs (1651:18): Use of eval in "dist/index.cjs" is strongly discourage
36
36
  CJS dist/getMachineId-unsupported-DEDJN4ZS.cjs 777.00 B
37
37
  CJS dist/chunk-U74OJRHU.cjs 62.08 KB
38
38
  CJS dist/index.cjs 1.65 MB
39
- CJS ⚡️ Build success in 23523ms
39
+ CJS ⚡️ Build success in 23122ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @mastra/upstash
2
2
 
3
+ ## 0.10.3-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 48eddb9: update filter logic in Memory class to support semantic recall search scope
8
+ - Updated dependencies [48eddb9]
9
+ - @mastra/core@0.10.4-alpha.2
10
+
11
+ ## 0.10.3-alpha.1
12
+
13
+ ### Patch Changes
14
+
15
+ - dffb67b: updated stores to add alter table and change tests
16
+ - Updated dependencies [f6fd25f]
17
+ - Updated dependencies [dffb67b]
18
+ - Updated dependencies [f1309d3]
19
+ - Updated dependencies [f7f8293]
20
+ - @mastra/core@0.10.4-alpha.1
21
+
3
22
  ## 0.10.3-alpha.0
4
23
 
5
24
  ### Patch Changes
@@ -55,11 +55,12 @@ export declare class UpstashFilterTranslator extends BaseFilterTranslator {
55
55
  declare class UpstashStore extends MastraStorage {
56
56
  private redis;
57
57
  constructor(config: UpstashConfig);
58
+ get supports(): {
59
+ selectByIncludeResourceScope: boolean;
60
+ };
58
61
  private transformEvalRecord;
59
62
  private parseJSON;
60
63
  private getKey;
61
- private ensureDate;
62
- private serializeDate;
63
64
  /**
64
65
  * Scans for keys matching the given pattern using SCAN and returns them as an array.
65
66
  * @param pattern Redis key pattern, e.g. "table:*"
@@ -111,6 +112,17 @@ declare class UpstashStore extends MastraStorage {
111
112
  tableName: TABLE_NAMES;
112
113
  schema: Record<string, StorageColumn>;
113
114
  }): Promise<void>;
115
+ /**
116
+ * No-op: This backend is schemaless and does not require schema changes.
117
+ * @param tableName Name of the table
118
+ * @param schema Schema of the table
119
+ * @param ifNotExists Array of column names to add if they don't exist
120
+ */
121
+ alterTable(_args: {
122
+ tableName: TABLE_NAMES;
123
+ schema: Record<string, StorageColumn>;
124
+ ifNotExists: string[];
125
+ }): Promise<void>;
114
126
  clearTable({ tableName }: {
115
127
  tableName: TABLE_NAMES;
116
128
  }): Promise<void>;
@@ -55,11 +55,12 @@ export declare class UpstashFilterTranslator extends BaseFilterTranslator {
55
55
  declare class UpstashStore extends MastraStorage {
56
56
  private redis;
57
57
  constructor(config: UpstashConfig);
58
+ get supports(): {
59
+ selectByIncludeResourceScope: boolean;
60
+ };
58
61
  private transformEvalRecord;
59
62
  private parseJSON;
60
63
  private getKey;
61
- private ensureDate;
62
- private serializeDate;
63
64
  /**
64
65
  * Scans for keys matching the given pattern using SCAN and returns them as an array.
65
66
  * @param pattern Redis key pattern, e.g. "table:*"
@@ -111,6 +112,17 @@ declare class UpstashStore extends MastraStorage {
111
112
  tableName: TABLE_NAMES;
112
113
  schema: Record<string, StorageColumn>;
113
114
  }): Promise<void>;
115
+ /**
116
+ * No-op: This backend is schemaless and does not require schema changes.
117
+ * @param tableName Name of the table
118
+ * @param schema Schema of the table
119
+ * @param ifNotExists Array of column names to add if they don't exist
120
+ */
121
+ alterTable(_args: {
122
+ tableName: TABLE_NAMES;
123
+ schema: Record<string, StorageColumn>;
124
+ ifNotExists: string[];
125
+ }): Promise<void>;
114
126
  clearTable({ tableName }: {
115
127
  tableName: TABLE_NAMES;
116
128
  }): Promise<void>;