- Updated dependencies [
ae1fa3a]:- @mastra/core@1.40.0
- @mastra/server@1.40.0
- Updated dependencies [
ae1fa3a]:- @mastra/core@1.40.0-alpha.0
- @mastra/server@1.40.0-alpha.0
- Updated dependencies [
e17e5c1,c973db4,552285e,77e686c,4166343,ece8dba,e751af2,e2a8380,be3f1cd,a34d9db]:- @mastra/server@1.39.0
- @mastra/core@1.39.0
- Updated dependencies [
e17e5c1,c973db4,552285e,77e686c,4166343,ece8dba,e751af2,e2a8380,be3f1cd,a34d9db]:- @mastra/server@1.39.0-alpha.0
- @mastra/core@1.39.0-alpha.0
-
Added sseFlushOnConnect route option to scope the SSE connected comment to subscribe endpoints only (#17158)
-
Fixed validation error responses on routes with
bodySchema,queryParamSchema, orpathParamSchemalosing field path information when consumers pin a differentzodmajor than the one bundled with this adapter. Responses now return the actual field name inissues[].field(e.g."agent_id") instead of"unknown"with the raw Zod issues serialized intoissues[0].message. (#17172)ValidationError.zodErroris now typed asZodErrorLike(a structural subset ofZodErrorexposingissues[]) so consumers pinning a differentzodmajor still type-check. The runtime value is unchanged; cast to your installedZodErrortype if you need its instance methods.Fixes #17167.
-
Scoped the SSE connected comment to subscribe routes only and added SSE comment passthrough for Fastify and NestJS adapters (#17158)
-
Updated dependencies [
bb3fce8,9d87d68,fa63872,d779de3,1750c97,9283971,f07b646,d8838ae,40f9297,19a8658,850af77,0f0d1ba,a18775a,1baf2d1,309f7c9,09972fe,8c31bcd,0e32507,95b14cd,07c3de7,0bf2d93,1a97509,7b0d34c,1fad344,a659a77,aa36be2,3332be9,212c635,d8838ae,9aa5a73,f73c789,8bd16da,c8630f8,94dfef6,47f71dc,50ceae2,a122f79,8cdde58,3a081c1,49f8abc,847ff1e,0c1ed1d,259d409,9e16c68,cefca33,d00e8c5,36fa7e2,87e9774,65a72e7,e9d54b2,fe9eacd,4c02027,59dde92,0f77241,e36253f,9d87d68,849efb9,92ff509,3fce5e7,a763592,db79c86,6855012,7fef31c,80c7737,66d65f5,7fef31c,7fef31c,7fef31c,3f1cf47]:- @mastra/server@1.38.0
- @mastra/core@1.38.0
- Updated dependencies [
e36253f]:- @mastra/server@1.38.0-alpha.7
- @mastra/core@1.38.0-alpha.7
- Updated dependencies [
bb3fce8,19a8658,1a97509,1fad344,a659a77,3332be9]:- @mastra/server@1.38.0-alpha.6
- @mastra/core@1.38.0-alpha.6
- Updated dependencies [
a18775a,1baf2d1,309f7c9,66d65f5]:- @mastra/core@1.38.0-alpha.5
- @mastra/server@1.38.0-alpha.5
- Updated dependencies [
50ed00c,9283971,0bf2d93,94dfef6,a122f79,4c02027,6855012,7fef31c,7fef31c,7fef31c,7fef31c]:- @mastra/core@1.38.0-alpha.4
- @mastra/server@1.38.0-alpha.4
- Updated dependencies [
8ace89d,fa63872,f07b646,d8838ae,40f9297,0f0d1ba,8c31bcd,95b14cd,aa36be2,212c635,d8838ae,9aa5a73,f73c789,8bd16da,c8630f8,47f71dc,50ceae2,8cdde58,847ff1e,259d409,9e16c68,cefca33,d00e8c5,36fa7e2,87e9774,65a72e7,e9d54b2,59dde92,0f77241,92ff509,3fce5e7,a763592,80c7737,3f1cf47]:- @mastra/core@1.38.0-alpha.3
- @mastra/server@1.38.0-alpha.3
-
Fixed validation error responses on routes with
bodySchema,queryParamSchema, orpathParamSchemalosing field path information when consumers pin a differentzodmajor than the one bundled with this adapter. Responses now return the actual field name inissues[].field(e.g."agent_id") instead of"unknown"with the raw Zod issues serialized intoissues[0].message. (#17172)ValidationError.zodErroris now typed asZodErrorLike(a structural subset ofZodErrorexposingissues[]) so consumers pinning a differentzodmajor still type-check. The runtime value is unchanged; cast to your installedZodErrortype if you need its instance methods.Fixes #17167.
-
Updated dependencies [
d779de3,1750c97,09972fe,0e32507,3a081c1,fe9eacd,db79c86]:- @mastra/core@1.38.0-alpha.2
- @mastra/server@1.38.0-alpha.2
-
Added sseFlushOnConnect route option to scope the SSE connected comment to subscribe endpoints only (#17158)
-
Scoped the SSE connected comment to subscribe routes only and added SSE comment passthrough for Fastify and NestJS adapters (#17158)
-
Updated dependencies [
9d87d68,49f8abc,9d87d68]:- @mastra/server@1.37.2-alpha.1
- @mastra/core@1.37.2-alpha.1
- Updated dependencies [
07c3de7]:- @mastra/core@1.37.2-alpha.0
- @mastra/server@1.37.2-alpha.0
- Updated dependencies [
21db1a4]:- @mastra/core@1.37.1
- @mastra/server@1.37.1
- Updated dependencies [
fafed7a,cfa2e3a,0cbece9,2f5f58a,7dfe1bc,ac442a4,b7286f4,6096445,d72dc4b,a481027,1e5c067,168fa09,df1947a,ee59b74,a97b1a0,008baaf,801baa0,8116436,c35b962,c27c4b9,08b3b59,b3c3b18,c35b962,4084113,bc01b1b,70cb714,91cf0e0,7f9da22]:- @mastra/server@1.37.0
- @mastra/core@1.37.0
- Updated dependencies [
d72dc4b]:- @mastra/core@1.37.0-alpha.9
- @mastra/server@1.37.0-alpha.9
- Updated dependencies [
c35b962,c35b962,4084113,bc01b1b]:- @mastra/core@1.37.0-alpha.8
- @mastra/server@1.37.0-alpha.8
- Updated dependencies [
168fa09]:- @mastra/core@1.37.0-alpha.7
- @mastra/server@1.37.0-alpha.7
- Updated dependencies [
fafed7a,0cbece9,7dfe1bc,70cb714,7f9da22]:- @mastra/server@1.37.0-alpha.6
- @mastra/core@1.37.0-alpha.6
- Updated dependencies [
b7286f4,a481027,801baa0,b3c3b18]:- @mastra/server@1.37.0-alpha.4
- @mastra/core@1.37.0-alpha.4
- Updated dependencies [
ac442a4,1e5c067,008baaf,8116436,c27c4b9,08b3b59]:- @mastra/core@1.37.0-alpha.3
- @mastra/server@1.37.0-alpha.3
- Updated dependencies [
df1947a,ee59b74,a97b1a0]:- @mastra/core@1.37.0-alpha.2
- @mastra/server@1.37.0-alpha.2
- Updated dependencies [
2f5f58a]:- @mastra/core@1.37.0-alpha.1
- @mastra/server@1.37.0-alpha.1
- Updated dependencies [
cfa2e3a]:- @mastra/core@1.36.1-alpha.0
- @mastra/server@1.36.1-alpha.0
-
Bumped the
@mastra/corepeer dependency floor from>=1.32.0-0to>=1.34.0-0. (#16666) -
Updated dependencies [
452036a,c272d50,27fd1b7,5ba7253,f73980d,5556cc1,f73980d,5499303,a702009,5499303,48cf61e,9aee493,d8692af,1a9cc60,8cdb86c,bd92c15,8534d79,eda90c5,a935b0a,9c88701,3498b49,c78f8cd,f73980d,e146aad,a935b0a,9c88701,9c88701,ac79462,1a0ec78,e47bca7,bfadd40,afc004f,0031d0f,841a222,64c1e0b,9c88701,bd92c15,40d83a9,4e88dc6,19018f0,19281c7,3498b49,d52b6fe,408be73,359439b,71a820b,5ba7253,1698f5e]:- @mastra/core@1.36.0
- @mastra/server@1.36.0
- Updated dependencies [
27fd1b7,a702009,48cf61e,8534d79,c78f8cd,e146aad,1a0ec78,d52b6fe]:- @mastra/core@1.36.0-alpha.10
- @mastra/server@1.36.0-alpha.10
- Updated dependencies [
bd92c15,bd92c15,1698f5e]:- @mastra/server@1.36.0-alpha.9
- @mastra/core@1.36.0-alpha.9
- Updated dependencies [
9aee493]:- @mastra/core@1.36.0-alpha.8
- @mastra/server@1.36.0-alpha.8
- Updated dependencies [
71a820b]:- @mastra/core@1.36.0-alpha.6
- @mastra/server@1.36.0-alpha.6
- Updated dependencies [
c272d50,d8692af,841a222]:- @mastra/core@1.36.0-alpha.4
- @mastra/server@1.36.0-alpha.4
- Updated dependencies [
5556cc1,5499303,5499303,3498b49,e47bca7,bfadd40,0031d0f,3498b49,359439b]:- @mastra/core@1.36.0-alpha.3
- @mastra/server@1.36.0-alpha.3
-
Bumped the
@mastra/corepeer dependency floor from>=1.32.0-0to>=1.34.0-0. (#16666) -
Updated dependencies [
5ba7253,f73980d,f73980d,9c88701,f73980d,9c88701,9c88701,9c88701,4e88dc6,19018f0,5ba7253]:- @mastra/core@1.36.0-alpha.2
- @mastra/server@1.36.0-alpha.2
- Updated dependencies [
8cdb86c,eda90c5,afc004f,408be73]:- @mastra/core@1.36.0-alpha.1
- @mastra/server@1.36.0-alpha.1
- Updated dependencies [
452036a,1a9cc60,64c1e0b,40d83a9]:- @mastra/core@1.36.0-alpha.0
- @mastra/server@1.36.0-alpha.0
-
Fixed NestJS route matching so configured prefixes are enforced and partial prefix matches are ignored. For example, a prefix of
/apino longer matches/apiish/agents; only/apiand/api/*are treated as Mastra routes. (#16637) -
Updated dependencies [
b661349,816b974,271c044,bad08e9,816b974,b32ba5f,75c7c38]:- @mastra/core@1.35.0
- @mastra/server@1.35.0
-
Fixed NestJS route matching so configured prefixes are enforced and partial prefix matches are ignored. For example, a prefix of
/apino longer matches/apiish/agents; only/apiand/api/*are treated as Mastra routes. (#16637) -
Updated dependencies [
816b974,816b974,b32ba5f]:- @mastra/core@1.35.0-alpha.2
- @mastra/server@1.35.0-alpha.2
- Updated dependencies [
bad08e9]:- @mastra/core@1.35.0-alpha.1
- @mastra/server@1.35.0-alpha.1
- Updated dependencies [
b661349]:- @mastra/core@1.34.1-alpha.0
- @mastra/server@1.34.1-alpha.0
-
Fixed
@mastra/nestjscoercing query parameter values to booleans,null, numbers, and parsed JSON objects/arrays before route schema validation. A route declaringqueryParamSchema: z.object({ filter: z.string() })could reject a valid request like?filter={"a":1}because the adapter had already turned the string into an object. NestJS now forwards query values as the raw strings (or string arrays) the HTTP layer delivered — matching@mastra/hono,@mastra/express,@mastra/fastify, and@mastra/koa. (#16268)Routes that want type coercion should opt in via the schema, e.g.
z.coerce.boolean(),z.coerce.number(), or a JSON preprocessor on the field.Fixes #16114.
-
Updated dependencies [
20787de,784ad98,fceae1f,090a647,bf02acb,090a647,bdb4cbf,0fd3fbe,f84447d,a1a5b3e,af84f57,8b3c6f9,fed0475,0d53730,8dd8859,522f44d]:- @mastra/core@1.34.0
- @mastra/server@1.34.0
- Updated dependencies [
090a647,090a647,f84447d,a1a5b3e,af84f57,8b3c6f9]:- @mastra/core@1.34.0-alpha.3
- @mastra/server@1.34.0-alpha.3
- Updated dependencies [
bdb4cbf]:- @mastra/core@1.34.0-alpha.2
- @mastra/server@1.34.0-alpha.2
-
Fixed
@mastra/nestjscoercing query parameter values to booleans,null, numbers, and parsed JSON objects/arrays before route schema validation. A route declaringqueryParamSchema: z.object({ filter: z.string() })could reject a valid request like?filter={"a":1}because the adapter had already turned the string into an object. NestJS now forwards query values as the raw strings (or string arrays) the HTTP layer delivered — matching@mastra/hono,@mastra/express,@mastra/fastify, and@mastra/koa. (#16268)Routes that want type coercion should opt in via the schema, e.g.
z.coerce.boolean(),z.coerce.number(), or a JSON preprocessor on the field.Fixes #16114.
-
Updated dependencies [
fceae1f,bf02acb,0fd3fbe,fed0475,522f44d]:- @mastra/core@1.34.0-alpha.1
- @mastra/server@1.34.0-alpha.1
- Updated dependencies [
20787de,784ad98,0d53730,8dd8859]:- @mastra/core@1.34.0-alpha.0
- @mastra/server@1.34.0-alpha.0
- Updated dependencies [
6ba46dc,3e63fca,bc386e0,27739d6]:- @mastra/core@1.33.1
- @mastra/server@1.33.1
- Updated dependencies [
6ba46dc]:- @mastra/core@1.33.1-alpha.0
- @mastra/server@1.33.1-alpha.0
-
Improved Studio agent serialization by making Studio mode and auth-related request context server-controlled across adapters. Playground requests now identify Studio traffic consistently, body and query request context cannot set reserved server values, and Studio placeholder fallback is limited to instruction rendering while serialized models, workspace, skills, tools, and default options use the real request context. (#16152)
-
Fixed peer dependency ranges so packages that use the Mastra server require a compatible Mastra core version. (#16208)
-
Updated dependencies [
9f17410,7ad5585,ac47842,cc189cc,d1fdbd0,210ea7a,7c275a8,bae019e,890b24c,f984b4d,6742347,b59316f,0f48ebf,37c0dc5,087e413,7d57eeb,83218c8,aefd33b,ef6b584,c6eb39e,7b0ad1f,d91ebe2,62666c3,087e413,33f5061,4af2160,087e413,265ec9f,ce01024,6ce80bf,f984b4d,136c959,9268531,13ead79,05dab92,dccd8f1,4df7cc7,f180e49,9260e01,2f6c54e,aca3121,e06a159,4dd900d,b560d6f,99869ec,900d086,4c0e286,55f1e2d,4ff5bdf,284b0d7,9cdf38e,087e413,c6eb39e,db34bc6,990851e,bbcd93c,8373ff4,1c989ea,0461546,d48a705,308bd07,6068a6c,25184ff,36b3bbf,d86f031,b275631,00106be,bd36d8e,11c1528,4999667,284b0d7,e2a079c,8ac9141,25184ff,534a456,105e454,aebde9c,36bae07,5688881]:- @mastra/core@1.33.0
- @mastra/server@1.33.0
- Updated dependencies [
4999667]:- @mastra/core@1.33.0-alpha.17
- @mastra/server@1.33.0-alpha.17
- Updated dependencies [
cc189cc,1c989ea]:- @mastra/core@1.33.0-alpha.16
- @mastra/server@1.33.0-alpha.16
- Updated dependencies [
105e454]:- @mastra/core@1.33.0-alpha.15
- @mastra/server@1.33.0-alpha.15
- Updated dependencies [
05dab92]:- @mastra/server@1.33.0-alpha.14
- @mastra/core@1.33.0-alpha.14
- Updated dependencies [
f984b4d,ce01024,f984b4d,8373ff4,11c1528]:- @mastra/core@1.33.0-alpha.13
- @mastra/server@1.33.0-alpha.13
- Updated dependencies [
b59316f,55f1e2d,d48a705]:- @mastra/core@1.33.0-alpha.12
- @mastra/server@1.33.0-alpha.12
- Updated dependencies [
37c0dc5,ef6b584,4dd900d,4ff5bdf,bbcd93c,308bd07]:- @mastra/core@1.33.0-alpha.11
- @mastra/server@1.33.0-alpha.11
- Updated dependencies [
7ad5585,210ea7a,83218c8,265ec9f,6ce80bf,9268531,13ead79,bd36d8e,8ac9141]:- @mastra/core@1.33.0-alpha.10
- @mastra/server@1.33.0-alpha.10
- Updated dependencies [
5688881]:- @mastra/core@1.33.0-alpha.9
- @mastra/server@1.33.0-alpha.9
- Updated dependencies [
7c275a8,890b24c,0f48ebf,f180e49,9260e01,2f6c54e,e06a159,db34bc6]:- @mastra/core@1.33.0-alpha.8
- @mastra/server@1.33.0-alpha.8
-
Improved Studio agent serialization by making Studio mode and auth-related request context server-controlled across adapters. Playground requests now identify Studio traffic consistently, body and query request context cannot set reserved server values, and Studio placeholder fallback is limited to instruction rendering while serialized models, workspace, skills, tools, and default options use the real request context. (#16152)
-
Updated dependencies [
6742347,7d57eeb,7b0ad1f,62666c3,4af2160,136c959,4df7cc7,aca3121,284b0d7,9cdf38e,990851e,6068a6c,00106be,284b0d7,e2a079c,534a456,36bae07]:- @mastra/core@1.33.0-alpha.7
- @mastra/server@1.33.0-alpha.7
- Updated dependencies [
b560d6f,36b3bbf,b275631]:- @mastra/core@1.33.0-alpha.6
- @mastra/server@1.33.0-alpha.6
- Updated dependencies [
bae019e,33f5061,99869ec,d86f031]:- @mastra/core@1.33.0-alpha.5
- @mastra/server@1.33.0-alpha.5
- Updated dependencies [
9f17410,c6eb39e,900d086,4c0e286,c6eb39e,25184ff,25184ff,aebde9c]:- @mastra/core@1.33.0-alpha.4
- @mastra/server@1.33.0-alpha.4
- Updated dependencies [
087e413,087e413,087e413,087e413,0461546]:- @mastra/core@1.33.0-alpha.3
- @mastra/server@1.33.0-alpha.3
- Updated dependencies [
dccd8f1]:- @mastra/core@1.33.0-alpha.1
- @mastra/server@1.33.0-alpha.1
-
Fixed peer dependency ranges so packages that use the Mastra server require a compatible Mastra core version. (#16208)
-
Updated dependencies [
ac47842,aefd33b]:- @mastra/core@1.33.0-alpha.0
- @mastra/server@1.33.0-alpha.0
- Updated dependencies [
6dcd65f,86c0298,fb0719a,c05c9a1,ca28c23,e24aacb,7679a63,7679a63,7fce309,cd96779,1d64a76,1c2dda8,c721164,1b55954,7997c2e,5adc55e,5adc55e,39162cb,7679a63,a0d9b6d,e97ccb9,f5afe62,c5daf48,70017d7,cd96779,b0c7022,e4942bc,86c0298]:- @mastra/core@1.32.0
- @mastra/server@1.32.0
- Updated dependencies [
7679a63,7679a63,1d64a76,7679a63,a0d9b6d]:- @mastra/core@1.32.0-alpha.4
- @mastra/server@1.32.0-alpha.4
- Updated dependencies [
fb0719a,ca28c23,39162cb]:- @mastra/server@1.32.0-alpha.3
- @mastra/core@1.32.0-alpha.3
- Updated dependencies [
86c0298,7fce309,cd96779,7997c2e,e97ccb9,f5afe62,c5daf48,cd96779,86c0298]:- @mastra/core@1.32.0-alpha.2
- @mastra/server@1.32.0-alpha.2
- Updated dependencies [
c05c9a1,e24aacb,c721164,1b55954,5adc55e,5adc55e,70017d7,e4942bc]:- @mastra/core@1.32.0-alpha.1
- @mastra/server@1.32.0-alpha.1
-
Add NestJS server adapter (
@mastra/nestjs) for running Mastra with NestJS Express applications. Provides native module registration, DI-based service injection, rate limiting, graceful shutdown, streaming, and MCP transport support. (#12751)import { Module } from '@nestjs/common'; import { MastraModule } from '@mastra/nestjs'; import { mastra } from './mastra'; @Module({ imports: [MastraModule.register({ mastra })], }) export class AppModule {}
- Updated dependencies [
1723e09,629f9e9,25168fb,ab34b5a,5fb6c2a,2b0f355,f0d3c1a,394f0cf,b2deb29,66644be,7dfea5e,e109607,310b953,c600d54,3d7f709,48a42f1,8091c7c,2c83efc,43f0e1d,da0b9e2,282a10c,04151c7,8091c7c]:- @mastra/core@1.31.0
- @mastra/server@1.31.0
- Updated dependencies [
f0d3c1a]:- @mastra/server@1.31.0-alpha.5
- @mastra/core@1.31.0-alpha.5
-
Add NestJS server adapter (
@mastra/nestjs) for running Mastra with NestJS Express applications. Provides native module registration, DI-based service injection, rate limiting, graceful shutdown, streaming, and MCP transport support. (#12751)import { Module } from '@nestjs/common'; import { MastraModule } from '@mastra/nestjs'; import { mastra } from './mastra'; @Module({ imports: [MastraModule.register({ mastra })], }) export class AppModule {}