@mastra/deployer 0.17.0-alpha.7 → 0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,105 @@
1
1
  # @mastra/deployer
2
2
 
3
+ ## 0.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Remove original AgentNetwork ([#7919](https://github.com/mastra-ai/mastra/pull/7919))
8
+
9
+ - The `IBundler` and subsequently the `IDeployer` interface changed, making the third argument of `bundle()` an object. ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
10
+
11
+ ```diff
12
+ - bundle(entryFile: string, outputDirectory: string, toolsPaths: (string | string[])[]): Promise<void>;
13
+ + bundle(entryFile: string, outputDirectory: string, options: { toolsPaths: (string | string[])[]; projectRoot: string }): Promise<void>;
14
+ ```
15
+
16
+ If you're just using the deployer inside `src/mastra/index.ts` you're safe to upgrade, no changes needed.
17
+
18
+ - Improved workspace dependency resolution during development and builds. This makes the build process more reliable when working with monorepos and workspace packages, reducing potential bundling errors and improving development experience. ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
19
+
20
+ ### Patch Changes
21
+
22
+ - dependencies updates: ([#6887](https://github.com/mastra-ai/mastra/pull/6887))
23
+ - Updated dependency [`@babel/core@^7.28.4` ↗︎](https://www.npmjs.com/package/@babel/core/v/7.28.4) (from `^7.28.0`, in `dependencies`)
24
+
25
+ - dependencies updates: ([#7538](https://github.com/mastra-ai/mastra/pull/7538))
26
+ - Updated dependency [`esbuild@^0.25.9` ↗︎](https://www.npmjs.com/package/esbuild/v/0.25.9) (from `^0.25.8`, in `dependencies`)
27
+
28
+ - dependencies updates: ([#7803](https://github.com/mastra-ai/mastra/pull/7803))
29
+ - Updated dependency [`rollup@~4.50.1` ↗︎](https://www.npmjs.com/package/rollup/v/4.50.1) (from `~4.50.0`, in `dependencies`)
30
+
31
+ - dependencies updates: ([#7861](https://github.com/mastra-ai/mastra/pull/7861))
32
+ - Updated dependency [`hono@^4.9.7` ↗︎](https://www.npmjs.com/package/hono/v/4.9.7) (from `^4.9.6`, in `dependencies`)
33
+
34
+ - clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
35
+
36
+ - feat: add requiresAuth option for custom API routes ([#7703](https://github.com/mastra-ai/mastra/pull/7703))
37
+
38
+ Added a new `requiresAuth` option to the `ApiRoute` type that allows users to explicitly control authentication requirements for custom endpoints.
39
+ - By default, all custom routes require authentication (`requiresAuth: true`)
40
+ - Set `requiresAuth: false` to make a route publicly accessible without authentication
41
+ - The auth middleware now checks this configuration before applying authentication
42
+
43
+ Example usage:
44
+
45
+ ```typescript
46
+ const customRoutes: ApiRoute[] = [
47
+ {
48
+ path: '/api/public-endpoint',
49
+ method: 'GET',
50
+ requiresAuth: false, // No authentication required
51
+ handler: async c => c.json({ message: 'Public access' }),
52
+ },
53
+ {
54
+ path: '/api/protected-endpoint',
55
+ method: 'GET',
56
+ requiresAuth: true, // Authentication required (default)
57
+ handler: async c => c.json({ message: 'Protected access' }),
58
+ },
59
+ ];
60
+ ```
61
+
62
+ This addresses issue #7674 where custom endpoints were not being protected by the authentication system.
63
+
64
+ - Improve default /api route by giving helpful information ([#7826](https://github.com/mastra-ai/mastra/pull/7826))
65
+
66
+ - Resumable streams ([#7949](https://github.com/mastra-ai/mastra/pull/7949))
67
+
68
+ - Add support for running the Mastra dev server over HTTPS for local development. ([#7871](https://github.com/mastra-ai/mastra/pull/7871))
69
+ - Add `--https` flag for `mastra dev`. This automatically creates a local key and certificate for you.
70
+ - Alternatively, you can provide your own key and cert through `server.https`:
71
+
72
+ ```ts
73
+ // src/mastra/index.ts
74
+ import { Mastra } from '@mastra/core/mastra';
75
+ import fs from 'node:fs';
76
+
77
+ export const mastra = new Mastra({
78
+ server: {
79
+ https: {
80
+ key: fs.readFileSync('path/to/key.pem'),
81
+ cert: fs.readFileSync('path/to/cert.pem'),
82
+ },
83
+ },
84
+ });
85
+ ```
86
+
87
+ - Fix watcher by using main mastra instead of analzyed one ([#7952](https://github.com/mastra-ai/mastra/pull/7952))
88
+
89
+ - Playground ui -pass runtimeContext to client SDK get methods ([#7767](https://github.com/mastra-ai/mastra/pull/7767))
90
+
91
+ - Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`3779975`](https://github.com/mastra-ai/mastra/commit/3779975a1ea301c9077ea2d595e5506699c900a6), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`b6688b7`](https://github.com/mastra-ai/mastra/commit/b6688b75e49a4286d612aa2098e39c6118db2d07), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`c4dbd12`](https://github.com/mastra-ai/mastra/commit/c4dbd12a05e75db124c5d8abff3d893ea1b88c30), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
92
+ - @mastra/core@0.17.0
93
+ - @mastra/server@0.17.0
94
+
95
+ ## 0.17.0-alpha.8
96
+
97
+ ### Patch Changes
98
+
99
+ - Updated dependencies [[`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a)]:
100
+ - @mastra/core@0.17.0-alpha.8
101
+ - @mastra/server@0.17.0-alpha.8
102
+
3
103
  ## 0.17.0-alpha.7
4
104
 
5
105
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer",
3
- "version": "0.17.0-alpha.7",
3
+ "version": "0.17.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -113,7 +113,7 @@
113
113
  "rollup-plugin-node-externals": "^8.0.1",
114
114
  "tinyglobby": "^0.2.15",
115
115
  "typescript-paths": "^1.5.1",
116
- "@mastra/server": "^0.17.0-alpha.7"
116
+ "@mastra/server": "^0.17.0"
117
117
  },
118
118
  "devDependencies": {
119
119
  "@hono/node-server": "^1.19.3",
@@ -133,10 +133,10 @@
133
133
  "typescript": "^5.8.3",
134
134
  "vitest": "^3.2.4",
135
135
  "zod": "^3.25.76",
136
- "@internal/lint": "0.0.39",
137
- "@internal/types-builder": "0.0.14",
138
- "@mastra/core": "0.17.0-alpha.7",
139
- "@mastra/mcp": "^0.13.0-alpha.2"
136
+ "@internal/lint": "0.0.40",
137
+ "@internal/types-builder": "0.0.15",
138
+ "@mastra/core": "0.17.0",
139
+ "@mastra/mcp": "^0.13.0"
140
140
  },
141
141
  "peerDependencies": {
142
142
  "@mastra/core": ">=0.17.0-0 <0.18.0-0",