@mastra/server 1.28.0-alpha.2 → 1.28.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,23 @@
1
1
  # @mastra/server
2
2
 
3
+ ## 1.28.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed non-Zod Standard Schema types (e.g. ArkType) being incorrectly called as lazy getters in resolveLazySchema, which caused Studio UI tool forms to receive validation errors instead of the actual JSON Schema ([#15670](https://github.com/mastra-ai/mastra/pull/15670))
8
+
9
+ - Fix: Public origin resolution for AWS ALB deployments ([#15666](https://github.com/mastra-ai/mastra/pull/15666))
10
+
11
+ Implement cascading header resolution in getPublicOrigin() to properly handle:
12
+ - X-Forwarded-Host (traditional reverse proxies) → always HTTPS
13
+ - Host header (AWS ALB with Preserve Host Header) → respect X-Forwarded-Proto or default HTTPS
14
+ - request.url (local development) → fallback
15
+
16
+ Fixes OAuth callback URLs being resolved to http:// instead of https:// when deployed behind AWS ALB with Preserve Host Header enabled.
17
+
18
+ - Updated dependencies [[`733bf53`](https://github.com/mastra-ai/mastra/commit/733bf53d9352aedd3ef38c3d501edb275b65b43c), [`5405b3b`](https://github.com/mastra-ai/mastra/commit/5405b3b35325c5b8fb34fc7ac109bd2feb7bb6fe), [`45e29cb`](https://github.com/mastra-ai/mastra/commit/45e29cb5b5737f3083eb3852db02b944b9cf37ed), [`750b4d3`](https://github.com/mastra-ai/mastra/commit/750b4d3d8231f92e769b2c485921ac5a8ca639b9), [`c321127`](https://github.com/mastra-ai/mastra/commit/c3211275fc195de9ad1ead2746b354beb8eae6e8), [`a07bcef`](https://github.com/mastra-ai/mastra/commit/a07bcefea77c03d6d322caad973dca49b4b15fa1), [`696694e`](https://github.com/mastra-ai/mastra/commit/696694e00f29241a25dd1a1b749afa06c3a626b4), [`b084a80`](https://github.com/mastra-ai/mastra/commit/b084a800db0f82d62e1fc3d6e3e3480da1ba5a53), [`82b7a96`](https://github.com/mastra-ai/mastra/commit/82b7a964169636c1d1e0c694fc892a213b0179d5), [`df97812`](https://github.com/mastra-ai/mastra/commit/df97812bd949dcafeb074b80ecab501724b49c3b), [`8bbe360`](https://github.com/mastra-ai/mastra/commit/8bbe36042af7fc4be0244dffd8913f6795179421), [`f6b8ba8`](https://github.com/mastra-ai/mastra/commit/f6b8ba8dbf533b7a8db90c72b6805ddc804a3a72), [`a07bcef`](https://github.com/mastra-ai/mastra/commit/a07bcefea77c03d6d322caad973dca49b4b15fa1)]:
19
+ - @mastra/core@1.28.0
20
+
3
21
  ## 1.28.0-alpha.2
4
22
 
5
23
  ### Patch Changes
@@ -3,7 +3,7 @@ name: mastra-server
3
3
  description: Documentation for @mastra/server. Use when working with @mastra/server APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/server"
6
- version: "1.28.0-alpha.2"
6
+ version: "1.28.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.28.0-alpha.2",
2
+ "version": "1.28.0",
3
3
  "package": "@mastra/server",
4
4
  "exports": {},
5
5
  "modules": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "1.28.0-alpha.2",
3
+ "version": "1.28.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -113,12 +113,12 @@
113
113
  "vitest": "4.1.5",
114
114
  "zod": "^4.3.6",
115
115
  "@internal/core": "0.0.0",
116
- "@internal/storage-test-utils": "0.0.81",
117
- "@internal/test-utils": "0.0.21",
118
- "@internal/lint": "0.0.85",
119
- "@mastra/core": "1.28.0-alpha.2",
120
- "@mastra/agent-builder": "1.0.29-alpha.0",
121
- "@internal/types-builder": "0.0.60",
116
+ "@internal/lint": "0.0.86",
117
+ "@internal/storage-test-utils": "0.0.82",
118
+ "@internal/test-utils": "0.0.22",
119
+ "@internal/types-builder": "0.0.61",
120
+ "@mastra/core": "1.28.0",
121
+ "@mastra/agent-builder": "1.0.29",
122
122
  "@mastra/schema-compat": "1.2.9"
123
123
  },
124
124
  "homepage": "https://mastra.ai",