@mastra/deployer 1.16.1-alpha.1 → 1.17.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 +18 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/server/index.cjs +5 -3
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +5 -3
- package/dist/server/index.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 1.17.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`dc514a8`](https://github.com/mastra-ai/mastra/commit/dc514a83dba5f719172dddfd2c7b858e4943d067), [`404fea1`](https://github.com/mastra-ai/mastra/commit/404fea13042181f0b0c73a101392ac87c79ceae2), [`ebf5047`](https://github.com/mastra-ai/mastra/commit/ebf5047e825c38a1a356f10b214c1d4260dfcd8d), [`675f15b`](https://github.com/mastra-ai/mastra/commit/675f15b7eaeea649158d228ea635be40480c584d), [`b174c63`](https://github.com/mastra-ai/mastra/commit/b174c63a093108d4e53b9bc89a078d9f66202b3f), [`7302e5c`](https://github.com/mastra-ai/mastra/commit/7302e5ce0f52d769d3d63fb0faa8a7d4089cda6d), [`eef7cb2`](https://github.com/mastra-ai/mastra/commit/eef7cb2abe7ef15951e2fdf792a5095c6c643333), [`86e3263`](https://github.com/mastra-ai/mastra/commit/86e326363edd12be5a5b25ccce4a39f66f7c9f50), [`e8a5b0b`](https://github.com/mastra-ai/mastra/commit/e8a5b0b9bc94d12dee4150095512ca27a288d778), [`8ce9c21`](https://github.com/mastra-ai/mastra/commit/8ce9c2178179aa9b256b5335132f50a334fdc3fe)]:
|
|
10
|
+
- @mastra/core@1.17.0
|
|
11
|
+
- @mastra/server@1.17.0
|
|
12
|
+
|
|
13
|
+
## 1.17.0-alpha.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`404fea1`](https://github.com/mastra-ai/mastra/commit/404fea13042181f0b0c73a101392ac87c79ceae2), [`ebf5047`](https://github.com/mastra-ai/mastra/commit/ebf5047e825c38a1a356f10b214c1d4260dfcd8d), [`675f15b`](https://github.com/mastra-ai/mastra/commit/675f15b7eaeea649158d228ea635be40480c584d), [`b174c63`](https://github.com/mastra-ai/mastra/commit/b174c63a093108d4e53b9bc89a078d9f66202b3f), [`eef7cb2`](https://github.com/mastra-ai/mastra/commit/eef7cb2abe7ef15951e2fdf792a5095c6c643333), [`86e3263`](https://github.com/mastra-ai/mastra/commit/86e326363edd12be5a5b25ccce4a39f66f7c9f50), [`e8a5b0b`](https://github.com/mastra-ai/mastra/commit/e8a5b0b9bc94d12dee4150095512ca27a288d778)]:
|
|
18
|
+
- @mastra/core@1.17.0-alpha.2
|
|
19
|
+
- @mastra/server@1.17.0-alpha.2
|
|
20
|
+
|
|
3
21
|
## 1.16.1-alpha.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/docs/SKILL.md
CHANGED
package/dist/server/index.cjs
CHANGED
|
@@ -4184,7 +4184,8 @@ async function createHonoServer(mastra, options = {
|
|
|
4184
4184
|
let indexHtml = await promises.readFile(path.join(studioPath, "index.html"), "utf-8");
|
|
4185
4185
|
const port = serverOptions?.port ?? (Number(process.env.PORT) || 4111);
|
|
4186
4186
|
const hideCloudCta = process.env.MASTRA_HIDE_CLOUD_CTA === "true";
|
|
4187
|
-
const
|
|
4187
|
+
const bindHost = serverOptions?.host ?? process.env.MASTRA_HOST;
|
|
4188
|
+
const host = bindHost ?? "localhost";
|
|
4188
4189
|
const key = serverOptions?.https?.key ?? (process.env.MASTRA_HTTPS_KEY ? Buffer.from(process.env.MASTRA_HTTPS_KEY, "base64") : void 0);
|
|
4189
4190
|
const cert = serverOptions?.https?.cert ?? (process.env.MASTRA_HTTPS_CERT ? Buffer.from(process.env.MASTRA_HTTPS_CERT, "base64") : void 0);
|
|
4190
4191
|
const protocol = key && cert ? "https" : "http";
|
|
@@ -4246,7 +4247,8 @@ async function createNodeServer(mastra, options = { tools: {} }) {
|
|
|
4246
4247
|
const key = serverOptions?.https?.key ?? (process.env.MASTRA_HTTPS_KEY ? Buffer.from(process.env.MASTRA_HTTPS_KEY, "base64") : void 0);
|
|
4247
4248
|
const cert = serverOptions?.https?.cert ?? (process.env.MASTRA_HTTPS_CERT ? Buffer.from(process.env.MASTRA_HTTPS_CERT, "base64") : void 0);
|
|
4248
4249
|
const isHttpsEnabled = Boolean(key && cert);
|
|
4249
|
-
const
|
|
4250
|
+
const bindHost = serverOptions?.host ?? process.env.MASTRA_HOST;
|
|
4251
|
+
const host = bindHost ?? "localhost";
|
|
4250
4252
|
const port = serverOptions?.port ?? (Number(process.env.PORT) || 4111);
|
|
4251
4253
|
const protocol = isHttpsEnabled ? "https" : "http";
|
|
4252
4254
|
const studioHost = serverOptions?.studioHost ?? host;
|
|
@@ -4256,7 +4258,7 @@ async function createNodeServer(mastra, options = { tools: {} }) {
|
|
|
4256
4258
|
{
|
|
4257
4259
|
fetch: app.fetch,
|
|
4258
4260
|
port,
|
|
4259
|
-
hostname:
|
|
4261
|
+
hostname: bindHost,
|
|
4260
4262
|
...isHttpsEnabled ? {
|
|
4261
4263
|
createServer: https__namespace.createServer,
|
|
4262
4264
|
serverOptions: {
|