@mastra/deployer 1.51.0-alpha.2 → 1.51.0-alpha.4
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 +20 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-deployment-mastra-server.md +2 -4
- package/dist/server/index.cjs +2 -0
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +2 -0
- package/dist/server/index.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 1.51.0-alpha.4
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added anonymous feature usage telemetry for server startup surface counts and a `trackFeatureUsage()` API. ([#19159](https://github.com/mastra-ai/mastra/pull/19159))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`a5c6337`](https://github.com/mastra-ai/mastra/commit/a5c6337d23c7686c81a32ce62f550f610543a240), [`8b97958`](https://github.com/mastra-ai/mastra/commit/8b979589f9aa59ba67cac565949475f2ffeb4ac3), [`8410541`](https://github.com/mastra-ai/mastra/commit/84105412c60ecd3bb33a9838146f59c4b588228f), [`01b338c`](https://github.com/mastra-ai/mastra/commit/01b338c56271f0219606710e3e8b26dee27ac6c2), [`8b7361d`](https://github.com/mastra-ai/mastra/commit/8b7361d35de68b80d05d30a74e0c69e7218fd612), [`c43f3a9`](https://github.com/mastra-ai/mastra/commit/c43f3a9d1efde99b38789364ba4d0ba670f430e3)]:
|
|
12
|
+
- @mastra/core@1.51.0-alpha.4
|
|
13
|
+
- @mastra/server@1.51.0-alpha.4
|
|
14
|
+
|
|
15
|
+
## 1.51.0-alpha.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`177010f`](https://github.com/mastra-ai/mastra/commit/177010ff096d2e4b28d89803be5b1a4cad2a0d6b), [`54a51e0`](https://github.com/mastra-ai/mastra/commit/54a51e0a484fe1ebad3fb1f7ef5282a075709eb7)]:
|
|
20
|
+
- @mastra/core@1.51.0-alpha.3
|
|
21
|
+
- @mastra/server@1.51.0-alpha.3
|
|
22
|
+
|
|
3
23
|
## 1.51.0-alpha.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -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.51.0-alpha.
|
|
6
|
+
version: "1.51.0-alpha.4"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -14,9 +14,7 @@ Run the build command from your project root:
|
|
|
14
14
|
mastra build
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
This creates a `.mastra` directory containing your production-ready server.
|
|
18
|
-
|
|
19
|
-
> **Info:** Read the [`mastra build`](https://mastra.ai/reference/cli/mastra) reference for all available flags.
|
|
17
|
+
This creates a `.mastra` directory containing your production-ready server. Read the [`mastra build`](https://mastra.ai/reference/cli/mastra) reference for all available flags.
|
|
20
18
|
|
|
21
19
|
## Build output
|
|
22
20
|
|
|
@@ -59,7 +57,7 @@ The `mastra start` command provides additional features:
|
|
|
59
57
|
- Provides helpful error messages for missing modules
|
|
60
58
|
- Handles process signals for graceful shutdown
|
|
61
59
|
|
|
62
|
-
|
|
60
|
+
Read the [`mastra start`](https://mastra.ai/reference/cli/mastra) reference for all available flags.
|
|
63
61
|
|
|
64
62
|
## Build configuration
|
|
65
63
|
|
package/dist/server/index.cjs
CHANGED
|
@@ -4513,6 +4513,8 @@ async function createNodeServer(mastra, options = { tools: {} }) {
|
|
|
4513
4513
|
}
|
|
4514
4514
|
void import('@mastra/core/telemetry').then(({ syncUsageTelemetry }) => syncUsageTelemetry(mastra)).catch(() => {
|
|
4515
4515
|
});
|
|
4516
|
+
void import('@mastra/core/telemetry').then(({ syncFeatureUsageTelemetry }) => syncFeatureUsageTelemetry(mastra)).catch(() => {
|
|
4517
|
+
});
|
|
4516
4518
|
const SHUTDOWN_TIMEOUT_MS = 5e3;
|
|
4517
4519
|
let shuttingDown = false;
|
|
4518
4520
|
const shutdown = async (signal) => {
|