@mastra/client-js 1.31.1 → 1.31.2-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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 1.31.2-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`6789ab4`](https://github.com/mastra-ai/mastra/commit/6789ab4191ddcd32a932898b360b191e80cee1a9)]:
8
+ - @mastra/schema-compat@1.3.4-alpha.0
9
+ - @mastra/core@1.50.2-alpha.1
10
+
11
+ ## 1.31.2-alpha.0
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`fe1bda0`](https://github.com/mastra-ai/mastra/commit/fe1bda06f6af92a694a51712db747cda1e7185f0)]:
16
+ - @mastra/core@1.50.2-alpha.0
17
+
3
18
  ## 1.31.1
4
19
 
5
20
  ### Patch Changes
@@ -3,7 +3,7 @@ name: mastra-client-js
3
3
  description: Documentation for @mastra/client-js. Use when working with @mastra/client-js APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/client-js"
6
- version: "1.31.1"
6
+ version: "1.31.2-alpha.1"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.31.1",
2
+ "version": "1.31.2-alpha.1",
3
3
  "package": "@mastra/client-js",
4
4
  "exports": {
5
5
  "RequestContext": {
@@ -10,7 +10,7 @@ A schedule runs an agent on a cron cadence. On each fire, Mastra sends a prompt
10
10
 
11
11
  Schedules are persisted, so they survive restarts and redeploys. Manage them at runtime through [`mastra.schedules`](https://mastra.ai/reference/schedules/overview), the canonical create, read, update, and delete (CRUD) surface. The same surface also manages [workflow schedules](https://mastra.ai/docs/workflows/scheduled-workflows) (pass `workflowId` instead of `agentId` to schedule a workflow).
12
12
 
13
- > **Note:** Schedules require a [storage](https://mastra.ai/docs/memory/storage) adapter that implements the schedules domain. See the [`mastra.schedules` reference](https://mastra.ai/reference/schedules/overview) for supported adapters and API behavior.
13
+ > **Note:** Schedules require a [storage](https://mastra.ai/docs/storage/overview) adapter that implements the schedules domain. See the [`mastra.schedules` reference](https://mastra.ai/reference/schedules/overview) for supported adapters and API behavior.
14
14
 
15
15
  ## Quickstart
16
16
 
@@ -345,7 +345,7 @@ export const mastra = new Mastra({
345
345
  })
346
346
  ```
347
347
 
348
- `RedisStreamsPubSub` implements both the event delivery contract and distributed leasing, so a single backend handles cross-instance signal delivery and lease ownership. Vercel's one-click Redis integration and Upstash Redis both work well. For more on when a distributed pub/sub is needed, see the [PubSub guide](https://mastra.ai/docs/server/pubsub) and the [`RedisStreamsPubSub` reference](https://mastra.ai/reference/pubsub/redis-streams).
348
+ `RedisStreamsPubSub` implements both the event delivery contract and distributed leasing, so a single backend handles cross-instance signal delivery and lease ownership. Vercel's managed Redis integration and Upstash Redis both work well. For more on when a distributed pub/sub is needed, see the [PubSub guide](https://mastra.ai/docs/server/pubsub) and the [`RedisStreamsPubSub` reference](https://mastra.ai/reference/pubsub/redis-streams).
349
349
 
350
350
  ## Compatibility and APIs
351
351
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/client-js",
3
- "version": "1.31.1",
3
+ "version": "1.31.2-alpha.1",
4
4
  "description": "The official TypeScript library for the Mastra Client API",
5
5
  "author": "",
6
6
  "type": "module",
@@ -39,8 +39,8 @@
39
39
  "canonicalize": "^1.0.8",
40
40
  "jose": "^6.2.1",
41
41
  "json-schema": "^0.4.0",
42
- "@mastra/core": "1.50.1",
43
- "@mastra/schema-compat": "1.3.3"
42
+ "@mastra/core": "1.50.2-alpha.1",
43
+ "@mastra/schema-compat": "1.3.4-alpha.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "zod": "^3.25.0 || ^4.0.0"
@@ -57,9 +57,9 @@
57
57
  "vitest": "4.1.9",
58
58
  "zod": "^4.4.3",
59
59
  "@internal/ai-sdk-v4": "0.0.60",
60
- "@internal/ai-sdk-v5": "0.0.60",
61
60
  "@internal/types-builder": "0.0.88",
62
- "@internal/lint": "0.0.113"
61
+ "@internal/lint": "0.0.113",
62
+ "@internal/ai-sdk-v5": "0.0.60"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=22.13.0"