@mastra/redis 1.1.1 → 1.1.2-alpha.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @mastra/redis
2
2
 
3
+ ## 1.1.2-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - dependencies updates: ([#17148](https://github.com/mastra-ai/mastra/pull/17148))
8
+ - Updated dependency [`redis@5.12.1` ↗︎](https://www.npmjs.com/package/redis/v/5.12.1) (from `5.10.0`, in `dependencies`)
9
+ - Updated dependencies [[`575f815`](https://github.com/mastra-ai/mastra/commit/575f815c5c3567b71c0b83cbb7fa98c8253a9d9c), [`306909a`](https://github.com/mastra-ai/mastra/commit/306909a693de77d709b38706e2673c9547d24a28), [`5191af8`](https://github.com/mastra-ai/mastra/commit/5191af80c799eea25357c545fc05d91b3883531d), [`43bd3d4`](https://github.com/mastra-ai/mastra/commit/43bd3d421987463fdf35386a45199c49499ed069), [`e6fa79e`](https://github.com/mastra-ai/mastra/commit/e6fa79ec72a2ddffdd25e85270398951e9d552a4), [`904bcdf`](https://github.com/mastra-ai/mastra/commit/904bcdf7b8004aa7be823f9f70ca63580e47e470), [`7f5ee1d`](https://github.com/mastra-ai/mastra/commit/7f5ee1dca46daee8d2817f2ebe49e6335da81956), [`1e9aab5`](https://github.com/mastra-ai/mastra/commit/1e9aab50ff11e6e88fde4d7cbf512c44a9fe8d61), [`bf8eb6d`](https://github.com/mastra-ai/mastra/commit/bf8eb6d0ec213a403eb9265a594ad283c44ab3dc), [`493a328`](https://github.com/mastra-ai/mastra/commit/493a328f4346a1deeb9f1e2e44c8f2a3a4d7591b), [`029a414`](https://github.com/mastra-ai/mastra/commit/029a4141719793bd3e898a39eb5a0466a55f5f3a), [`b147b29`](https://github.com/mastra-ai/mastra/commit/b147b2907f0cd1aa812efe6d6e3f58d22e66fc88), [`d371ac1`](https://github.com/mastra-ai/mastra/commit/d371ac1d9820afaaf7cfdbc380a475946a994d8f), [`cf182b7`](https://github.com/mastra-ai/mastra/commit/cf182b7fb495767946d9840ef29f19cfa906f31f), [`a049c2a`](https://github.com/mastra-ai/mastra/commit/a049c2a9dfb41d0ee2e7a28874a88cd64fd5669f), [`b147b29`](https://github.com/mastra-ai/mastra/commit/b147b2907f0cd1aa812efe6d6e3f58d22e66fc88), [`2a96528`](https://github.com/mastra-ai/mastra/commit/2a9652848dfa3c5a2426f952e9d93554c26fd90f), [`2656d9c`](https://github.com/mastra-ai/mastra/commit/2656d9c2976d4f3354253bfbbbf9b88a1b2bbf34), [`63e3fe1`](https://github.com/mastra-ai/mastra/commit/63e3fe13cc1ea96f91d7c68aea92f400faf9e4da), [`1d4ce8d`](https://github.com/mastra-ai/mastra/commit/1d4ce8daaa54511f325c1b609d31b8e54009d677), [`8c68372`](https://github.com/mastra-ai/mastra/commit/8c68372e85fe0b066ec12c58bd29ffb93e54c552)]:
10
+ - @mastra/core@1.42.0-alpha.4
11
+
3
12
  ## 1.1.1
4
13
 
5
14
  ### Patch Changes
@@ -3,7 +3,7 @@ name: mastra-redis
3
3
  description: Documentation for @mastra/redis. Use when working with @mastra/redis APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/redis"
6
- version: "1.1.1"
6
+ version: "1.1.2-alpha.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.1",
2
+ "version": "1.1.2-alpha.0",
3
3
  "package": "@mastra/redis",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -1,6 +1,6 @@
1
1
  # Redis Storage
2
2
 
3
- The Redis storage implementation provides a high-performance storage solution using direct Redis connections via [node-redis](https://github.com/redis/node-redis) (the official Redis client for Node.js). It supports standalone Redis, and through custom client configuration, Redis Sentinel and Cluster deployments.
3
+ The Redis storage implementation provides a high-performance storage solution using direct Redis connections via [`node-redis`](https://github.com/redis/node-redis) (the official Redis client for Node.js). It supports standalone Redis, and through custom client configuration, Redis Sentinel and Cluster deployments.
4
4
 
5
5
  ## Installation
6
6
 
@@ -41,7 +41,7 @@ await storage.init()
41
41
 
42
42
  ### Using Pre-configured Client
43
43
 
44
- For advanced configurations like Sentinel or Cluster, you can pass a pre-configured redis client:
44
+ For advanced configurations like Sentinel or Cluster, you can pass a pre-configured Redis client:
45
45
 
46
46
  ```typescript
47
47
  import { RedisStore } from '@mastra/redis'
@@ -142,7 +142,7 @@ const storage = new RedisStore({
142
142
 
143
143
  ### Accessing the Underlying Client
144
144
 
145
- You can access the underlying redis client for custom operations:
145
+ You can access the underlying Redis client for custom operations:
146
146
 
147
147
  ```typescript
148
148
  const storage = new RedisStore({
@@ -181,7 +181,7 @@ export const redisAgent = new Agent({
181
181
  name: 'Redis Agent',
182
182
  instructions:
183
183
  'You are an AI agent with the ability to automatically recall memories from previous interactions.',
184
- model: 'openai/gpt-4o',
184
+ model: 'openai/gpt-5.5',
185
185
  memory: new Memory({
186
186
  storage: new RedisStore({
187
187
  id: 'redis-agent-storage',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/redis",
3
- "version": "1.1.1",
3
+ "version": "1.1.2-alpha.0",
4
4
  "description": "Redis storage provider for Mastra - provides storage capabilities for direct Redis connections",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -21,22 +21,23 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "redis": "5.10.0"
24
+ "redis": "5.12.1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "22.13.17",
28
28
  "@vitest/coverage-v8": "4.1.5",
29
29
  "@vitest/ui": "4.1.5",
30
30
  "dotenv": "^17.0.0",
31
- "eslint": "^9.37.0",
32
- "ioredis": "^5.6.1",
31
+ "eslint": "^10.4.1",
32
+ "ioredis": "^5.11.1",
33
33
  "tsup": "^8.5.0",
34
+ "tsx": "^4.22.4",
34
35
  "typescript": "^6.0.3",
35
36
  "vitest": "4.1.5",
36
- "@internal/lint": "0.0.93",
37
- "@internal/types-builder": "0.0.68",
38
- "@internal/storage-test-utils": "0.0.89",
39
- "@mastra/core": "1.33.0"
37
+ "@internal/lint": "0.0.103",
38
+ "@internal/storage-test-utils": "0.0.99",
39
+ "@internal/types-builder": "0.0.78",
40
+ "@mastra/core": "1.42.0-alpha.4"
40
41
  },
41
42
  "peerDependencies": {
42
43
  "@mastra/core": ">=1.0.0-0 <2.0.0-0"