@mastra/nestjs 0.1.5-alpha.3 → 0.1.6-alpha.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 +22 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @mastra/nestjs
|
|
2
2
|
|
|
3
|
+
## 0.1.6-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b661349`](https://github.com/mastra-ai/mastra/commit/b661349281514691db78941a9044e6e4f1cde7a7)]:
|
|
8
|
+
- @mastra/core@1.34.1-alpha.0
|
|
9
|
+
- @mastra/server@1.34.1-alpha.0
|
|
10
|
+
|
|
11
|
+
## 0.1.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Fixed `@mastra/nestjs` coercing query parameter values to booleans, `null`, numbers, and parsed JSON objects/arrays before route schema validation. A route declaring `queryParamSchema: 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](https://github.com/mastra-ai/mastra/pull/16268))
|
|
16
|
+
|
|
17
|
+
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.
|
|
18
|
+
|
|
19
|
+
Fixes #16114.
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`20787de`](https://github.com/mastra-ai/mastra/commit/20787de5965234a1af28fe35f49437c537dbfa0d), [`784ad98`](https://github.com/mastra-ai/mastra/commit/784ad989549de91dc5d33ab8ef36caa6f7dcd34e), [`fceae1f`](https://github.com/mastra-ai/mastra/commit/fceae1f5f5db4722cb078a663c6eb4bd22944123), [`090a647`](https://github.com/mastra-ai/mastra/commit/090a647ba5a66d36f203f9f49457e03a1ff4e6fb), [`bf02acb`](https://github.com/mastra-ai/mastra/commit/bf02acbb8a6110f638ac844e89f1ebf04cb7fe74), [`090a647`](https://github.com/mastra-ai/mastra/commit/090a647ba5a66d36f203f9f49457e03a1ff4e6fb), [`bdb4cbf`](https://github.com/mastra-ai/mastra/commit/bdb4cbf8ba4b685d7481f28bb9dc3de6c79c9ed2), [`0fd3fbe`](https://github.com/mastra-ai/mastra/commit/0fd3fbe40fb63657aedd72f6e7b38c8e8ee6940d), [`f84447d`](https://github.com/mastra-ai/mastra/commit/f84447d6c80f3471836a9b300d246b331fb47e0d), [`a1a5b3e`](https://github.com/mastra-ai/mastra/commit/a1a5b3e42ab2ca5161ea21db59ebf28442680fa7), [`af84f57`](https://github.com/mastra-ai/mastra/commit/af84f571ed762e92e8e61c5f9a72363520914274), [`8b3c6f9`](https://github.com/mastra-ai/mastra/commit/8b3c6f90f7879833ba7d1bc70937e1d8f69d0804), [`fed0475`](https://github.com/mastra-ai/mastra/commit/fed0475ccfea31e4fc251469ac05640d0742c1f0), [`0d53730`](https://github.com/mastra-ai/mastra/commit/0d53730c1ed87ef80c87caa5701c4170ea8028e6), [`8dd8859`](https://github.com/mastra-ai/mastra/commit/8dd8859020a7b90113e5ccd19dcb936d33d05395), [`522f44d`](https://github.com/mastra-ai/mastra/commit/522f44d947214bfc06cff50599bae1ef3494880d)]:
|
|
22
|
+
- @mastra/core@1.34.0
|
|
23
|
+
- @mastra/server@1.34.0
|
|
24
|
+
|
|
3
25
|
## 0.1.5-alpha.3
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/nestjs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6-alpha.0",
|
|
4
4
|
"description": "Mastra NestJS adapter for the server",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@fastify/busboy": "^3.2.0",
|
|
24
|
-
"@mastra/server": "1.34.
|
|
24
|
+
"@mastra/server": "1.34.1-alpha.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@nestjs/common": "^10.4.15",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"typescript": "^6.0.3",
|
|
44
44
|
"vitest": "^3.2.4",
|
|
45
45
|
"zod": "^3.25.0",
|
|
46
|
-
"@internal/lint": "0.0.
|
|
47
|
-
"@internal/
|
|
48
|
-
"@
|
|
49
|
-
"@internal/
|
|
46
|
+
"@internal/lint": "0.0.95",
|
|
47
|
+
"@internal/types-builder": "0.0.70",
|
|
48
|
+
"@mastra/core": "1.34.1-alpha.0",
|
|
49
|
+
"@internal/server-adapter-test-utils": "0.0.20",
|
|
50
50
|
"@mastra/evals": "1.2.2",
|
|
51
|
-
"@mastra/
|
|
52
|
-
"@
|
|
53
|
-
"@mastra/
|
|
54
|
-
"@mastra/
|
|
51
|
+
"@mastra/libsql": "1.10.1",
|
|
52
|
+
"@internal/storage-test-utils": "0.0.91",
|
|
53
|
+
"@mastra/memory": "1.18.1",
|
|
54
|
+
"@mastra/observability": "1.12.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@mastra/core": ">=1.32.0-0 <2.0.0-0",
|