@mastra/deployer 1.18.0-alpha.4 → 1.18.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,45 @@
1
1
  # @mastra/deployer
2
2
 
3
+ ## 1.18.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed deployer builds to preserve protocol-based runtime imports like `cloudflare:workers` without trying to install them as npm dependencies. ([#14676](https://github.com/mastra-ai/mastra/pull/14676))
8
+
9
+ - Fixed a deployer server regression where leaving `server.host` unset could bind the Node server to `localhost` instead of preserving the runtime default host. Explicit `server.host` and `MASTRA_HOST` values continue to work as before. ([#14682](https://github.com/mastra-ai/mastra/pull/14682))
10
+
11
+ - Finished light mode support for Mastra Studio. Theme selector is now always visible in settings — no environment variable needed. CodeMirror editors (instructions, trace view, code diff) render with proper syntax highlighting and cursor visibility in both light and dark modes. Dropdown menus now have correct hover/focus states in light mode. ([#14796](https://github.com/mastra-ai/mastra/pull/14796))
12
+
13
+ - Fixed `mcpOptions` (including `serverless: true`) being silently ignored when using the Mastra deployer. The deployer now forwards `mcpOptions` from your server config to the underlying `MastraServer`, so MCP stateless mode works correctly in serverless environments like Cloudflare Workers, Vercel Edge, and AWS Lambda. ([#14810](https://github.com/mastra-ai/mastra/issues/14810)) ([#14812](https://github.com/mastra-ai/mastra/pull/14812))
14
+
15
+ **What changed:**
16
+ - Added `mcpOptions` to the `ServerConfig` type so it can be set in `new Mastra({ server: { ... } })`
17
+ - The deployer now passes `server.mcpOptions` through to `MastraServer`
18
+
19
+ **Example:**
20
+
21
+ ```typescript
22
+ const mastra = new Mastra({
23
+ server: {
24
+ mcpOptions: {
25
+ serverless: true,
26
+ },
27
+ },
28
+ });
29
+ ```
30
+
31
+ - Updated dependencies [[`dc514a8`](https://github.com/mastra-ai/mastra/commit/dc514a83dba5f719172dddfd2c7b858e4943d067), [`e333b77`](https://github.com/mastra-ai/mastra/commit/e333b77e2d76ba57ccec1818e08cebc1993469ff), [`dc9fc19`](https://github.com/mastra-ai/mastra/commit/dc9fc19da4437f6b508cc355f346a8856746a76b), [`60a224d`](https://github.com/mastra-ai/mastra/commit/60a224dd497240e83698cfa5bfd02e3d1d854844), [`fbf22a7`](https://github.com/mastra-ai/mastra/commit/fbf22a7ad86bcb50dcf30459f0d075e51ddeb468), [`f16d92c`](https://github.com/mastra-ai/mastra/commit/f16d92c677a119a135cebcf7e2b9f51ada7a9df4), [`949b7bf`](https://github.com/mastra-ai/mastra/commit/949b7bfd4e40f2b2cba7fef5eb3f108a02cfe938), [`404fea1`](https://github.com/mastra-ai/mastra/commit/404fea13042181f0b0c73a101392ac87c79ceae2), [`ebf5047`](https://github.com/mastra-ai/mastra/commit/ebf5047e825c38a1a356f10b214c1d4260dfcd8d), [`12c647c`](https://github.com/mastra-ai/mastra/commit/12c647cf3a26826eb72d40b42e3c8356ceae16ed), [`12c647c`](https://github.com/mastra-ai/mastra/commit/12c647cf3a26826eb72d40b42e3c8356ceae16ed), [`fbf22a7`](https://github.com/mastra-ai/mastra/commit/fbf22a7ad86bcb50dcf30459f0d075e51ddeb468), [`d084b66`](https://github.com/mastra-ai/mastra/commit/d084b6692396057e83c086b954c1857d20b58a14), [`79c699a`](https://github.com/mastra-ai/mastra/commit/79c699acf3cd8a77e11c55530431f48eb48456e9), [`62757b6`](https://github.com/mastra-ai/mastra/commit/62757b6db6e8bb86569d23ad0b514178f57053f8), [`675f15b`](https://github.com/mastra-ai/mastra/commit/675f15b7eaeea649158d228ea635be40480c584d), [`b174c63`](https://github.com/mastra-ai/mastra/commit/b174c63a093108d4e53b9bc89a078d9f66202b3f), [`819f03c`](https://github.com/mastra-ai/mastra/commit/819f03c25823373b32476413bd76be28a5d8705a), [`04160ee`](https://github.com/mastra-ai/mastra/commit/04160eedf3130003cf842ad08428c8ff69af4cc1), [`e46c116`](https://github.com/mastra-ai/mastra/commit/e46c116875cd518675e76e97fcec6c97f8bf8926), [`2c27503`](https://github.com/mastra-ai/mastra/commit/2c275032510d131d2cde47f99953abf0fe02c081), [`424a1df`](https://github.com/mastra-ai/mastra/commit/424a1df7bee59abb5c83717a54807fdd674a6224), [`3d70b0b`](https://github.com/mastra-ai/mastra/commit/3d70b0b3524d817173ad870768f259c06d61bd23), [`eef7cb2`](https://github.com/mastra-ai/mastra/commit/eef7cb2abe7ef15951e2fdf792a5095c6c643333), [`260fe12`](https://github.com/mastra-ai/mastra/commit/260fe1295fe7354e39d6def2775e0797a7a277f0), [`260fe12`](https://github.com/mastra-ai/mastra/commit/260fe1295fe7354e39d6def2775e0797a7a277f0), [`12c88a6`](https://github.com/mastra-ai/mastra/commit/12c88a6e32bf982c2fe0c6af62e65a3414519a75), [`43595bf`](https://github.com/mastra-ai/mastra/commit/43595bf7b8df1a6edce7a23b445b5124d2a0b473), [`78670e9`](https://github.com/mastra-ai/mastra/commit/78670e97e76d7422cf7025faf371b2aeafed860d), [`e8a5b0b`](https://github.com/mastra-ai/mastra/commit/e8a5b0b9bc94d12dee4150095512ca27a288d778), [`3b45a13`](https://github.com/mastra-ai/mastra/commit/3b45a138d09d040779c0aba1edbbfc1b57442d23), [`d400e7c`](https://github.com/mastra-ai/mastra/commit/d400e7c8b8d7afa6ba2c71769eace4048e3cef8e), [`f58d1a7`](https://github.com/mastra-ai/mastra/commit/f58d1a7a457588a996c3ecb53201a68f3d28c432), [`a49a929`](https://github.com/mastra-ai/mastra/commit/a49a92904968b4fc67e01effee8c7c8d0464ba85), [`819f03c`](https://github.com/mastra-ai/mastra/commit/819f03c25823373b32476413bd76be28a5d8705a), [`8ce9c21`](https://github.com/mastra-ai/mastra/commit/8ce9c2178179aa9b256b5335132f50a334fdc3fe), [`481f961`](https://github.com/mastra-ai/mastra/commit/481f961131a9fa5c8bbd04e24df16ccd91638c40), [`8127d96`](https://github.com/mastra-ai/mastra/commit/8127d96280492e335d49b244501088dfdd59a8f1)]:
32
+ - @mastra/core@1.18.0
33
+ - @mastra/server@1.18.0
34
+
35
+ ## 1.18.0-alpha.5
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [[`12c647c`](https://github.com/mastra-ai/mastra/commit/12c647cf3a26826eb72d40b42e3c8356ceae16ed), [`12c647c`](https://github.com/mastra-ai/mastra/commit/12c647cf3a26826eb72d40b42e3c8356ceae16ed), [`819f03c`](https://github.com/mastra-ai/mastra/commit/819f03c25823373b32476413bd76be28a5d8705a), [`e46c116`](https://github.com/mastra-ai/mastra/commit/e46c116875cd518675e76e97fcec6c97f8bf8926), [`819f03c`](https://github.com/mastra-ai/mastra/commit/819f03c25823373b32476413bd76be28a5d8705a)]:
40
+ - @mastra/core@1.18.0-alpha.5
41
+ - @mastra/server@1.18.0-alpha.5
42
+
3
43
  ## 1.18.0-alpha.4
4
44
 
5
45
  ### Patch Changes
@@ -3,7 +3,7 @@ name: mastra-deployer
3
3
  description: Documentation for @mastra/deployer. Use when working with @mastra/deployer APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/deployer"
6
- version: "1.18.0-alpha.4"
6
+ version: "1.18.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.18.0-alpha.4",
2
+ "version": "1.18.0",
3
3
  "package": "@mastra/deployer",
4
4
  "exports": {
5
5
  "Deps": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer",
3
- "version": "1.18.0-alpha.4",
3
+ "version": "1.18.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -111,7 +111,7 @@
111
111
  "strip-json-comments": "^5.0.3",
112
112
  "tinyglobby": "^0.2.15",
113
113
  "typescript-paths": "^1.5.1",
114
- "@mastra/server": "1.18.0-alpha.4"
114
+ "@mastra/server": "1.18.0"
115
115
  },
116
116
  "devDependencies": {
117
117
  "@hono/node-server": "^1.19.11",
@@ -131,12 +131,12 @@
131
131
  "typescript": "^5.9.3",
132
132
  "vitest": "4.0.18",
133
133
  "zod": "^4.3.6",
134
- "@internal/lint": "0.0.74",
135
- "@internal/types-builder": "0.0.49",
136
- "@mastra/hono": "1.3.1-alpha.7",
137
- "@mastra/mcp": "^1.3.2-alpha.0",
138
- "@mastra/server": "1.18.0-alpha.4",
139
- "@mastra/core": "1.18.0-alpha.4"
134
+ "@internal/lint": "0.0.75",
135
+ "@internal/types-builder": "0.0.50",
136
+ "@mastra/core": "1.18.0",
137
+ "@mastra/mcp": "^1.3.2",
138
+ "@mastra/hono": "1.3.1",
139
+ "@mastra/server": "1.18.0"
140
140
  },
141
141
  "peerDependencies": {
142
142
  "@mastra/core": ">=1.0.0-0 <2.0.0-0",