ai 5.0.0-alpha.6 → 5.0.0-alpha.8

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,49 @@
1
1
  # ai
2
2
 
3
+ ## 5.0.0-alpha.8
4
+
5
+ ### Major Changes
6
+
7
+ - c25cbce: feat (ai): use console.error as default error handler for streamText and streamObject
8
+
9
+ ### Patch Changes
10
+
11
+ - 4fef487: feat: support for zod v4 for schema validation
12
+
13
+ All these methods now accept both a zod v4 and zod v3 schemas for validation:
14
+
15
+ - `generateObject()`
16
+ - `streamObject()`
17
+ - `generateText()`
18
+ - `experimental_useObject()` from `@ai-sdk/react`
19
+ - `streamUI()` from `@ai-sdk/rsc`
20
+
21
+ - 6b1c55c: feat (ai): introduce GLOBAL_DEFAULT_PROVIDER
22
+ - 2e4f9e4: feat (ai): improved error messages when using gateway
23
+ - Updated dependencies [4fef487]
24
+ - Updated dependencies [9222aeb]
25
+ - Updated dependencies [3cbcbb7]
26
+ - Updated dependencies [989ac75]
27
+ - Updated dependencies [7742ba3]
28
+ - @ai-sdk/provider-utils@3.0.0-alpha.8
29
+ - @ai-sdk/provider@2.0.0-alpha.8
30
+ - @ai-sdk/gateway@1.0.0-alpha.8
31
+
32
+ ## 5.0.0-alpha.7
33
+
34
+ ### Major Changes
35
+
36
+ - db345da: chore (ai): remove exports of internal ui functions
37
+ - 247ee0c: chore (ai): remove steps from tool invocation ui parts
38
+
39
+ ### Patch Changes
40
+
41
+ - 9b0da33: fix (ai): do not send id with start unless specified
42
+ - Updated dependencies [5c56081]
43
+ - @ai-sdk/provider@2.0.0-alpha.7
44
+ - @ai-sdk/gateway@1.0.0-alpha.7
45
+ - @ai-sdk/provider-utils@3.0.0-alpha.7
46
+
3
47
  ## 5.0.0-alpha.6
4
48
 
5
49
  ### Patch Changes