@mastra/schema-compat 1.2.1 → 1.2.2
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 +26 -0
- package/dist/_types/@internal_ai-sdk-v5/dist/index.d.ts +10345 -0
- package/dist/_types/@internal_ai-v6/dist/index.d.ts +122 -677
- package/dist/{chunk-6XBYPMQP.js → chunk-FVQJCU5H.js} +29 -9
- package/dist/chunk-FVQJCU5H.js.map +1 -0
- package/dist/{chunk-J6CVNRSB.cjs → chunk-KJ6FSJ2V.cjs} +30 -9
- package/dist/chunk-KJ6FSJ2V.cjs.map +1 -0
- package/dist/index.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +7 -7
- package/dist/schema.js +1 -1
- package/dist/schema.types.d.ts +1 -1
- package/dist/standard-schema/adapters/zod-v4.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/chunk-6XBYPMQP.js.map +0 -1
- package/dist/chunk-J6CVNRSB.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @mastra/schema-compat
|
|
2
2
|
|
|
3
|
+
## 1.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- `@mastra/schema-compat`: patch ([#14195](https://github.com/mastra-ai/mastra/pull/14195))
|
|
8
|
+
|
|
9
|
+
Fixed published `@mastra/schema-compat` types so AI SDK v5 schemas resolve correctly for consumers
|
|
10
|
+
|
|
11
|
+
- Fixed false `z.toJSONSchema is not available` errors for compatible Zod versions. ([#14264](https://github.com/mastra-ai/mastra/pull/14264))
|
|
12
|
+
|
|
13
|
+
**What changed**
|
|
14
|
+
- Improved Zod schema conversion detection so JSON Schema generation works more reliably across different runtime setups.
|
|
15
|
+
|
|
16
|
+
## 1.2.2-alpha.0
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- `@mastra/schema-compat`: patch ([#14195](https://github.com/mastra-ai/mastra/pull/14195))
|
|
21
|
+
|
|
22
|
+
Fixed published `@mastra/schema-compat` types so AI SDK v5 schemas resolve correctly for consumers
|
|
23
|
+
|
|
24
|
+
- Fixed false `z.toJSONSchema is not available` errors for compatible Zod versions. ([#14264](https://github.com/mastra-ai/mastra/pull/14264))
|
|
25
|
+
|
|
26
|
+
**What changed**
|
|
27
|
+
- Improved Zod schema conversion detection so JSON Schema generation works more reliably across different runtime setups.
|
|
28
|
+
|
|
3
29
|
## 1.2.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|