@ai-sdk/provider-utils 4.0.0-beta.59 → 4.0.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,92 @@
1
1
  # @ai-sdk/provider-utils
2
2
 
3
+ ## 4.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - dee8b05: ai SDK 6 beta
8
+
9
+ ### Minor Changes
10
+
11
+ - 78928cb: release: start 5.1 beta
12
+
13
+ ### Patch Changes
14
+
15
+ - 0adc679: feat(provider): shared spec v3
16
+ - 50b70d6: feat(anthropic): add programmatic tool calling
17
+ - dce03c4: feat: tool input examples
18
+ - 3b1d015: feat(ai): Effect schema support
19
+ - 95f65c2: chore: use import \* from zod/v4
20
+ - 016b111: fix(provider-utils): make ReadableStream.cancel() properly finalize async iterators
21
+ - 58920e0: refactor: consolidate header normalization across packages, remove duplicates, preserve custom headers
22
+ - 954c356: feat(openai): allow custom names for provider-defined tools
23
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
24
+ - 521c537: feat(ai): Tool.needsApproval can be a function
25
+ - e8109d3: feat: tool execution approval
26
+ - 03849b0: move DelayedPromise into provider utils
27
+ - e06565c: feat(provider-utils): add needsApproval support to provider-defined tools
28
+ - 32d8dbb: fix(provider-utils): compatibility with V8 readonly execution environment
29
+ - d116b4b: feat(ai): arktype support
30
+ - 293a6b7: Added a title to the tools
31
+ - 703459a: feat: tool execution approval for dynamic tools
32
+ - 83e5744: feat: support async Tool.toModelOutput
33
+ - 7e32fea: feat(ai): valibot support
34
+ - 3ed5519: chore: rename ToolCallOptions to ToolExecutionOptions
35
+ - 8dac895: feat: `LanguageModelV3`
36
+ - cbb1d35: Update for provider-util changeset after change in PR #8588
37
+ - 9061dc0: feat: image editing
38
+ - 32223c8: feat: add toolCallId arg to toModelOutput
39
+ - c1efac4: feat: add input arg to toModelOutput
40
+ - 4616b86: chore: update zod peer depenedency version
41
+ - 4f16c37: chore(provider-utils): upgrade eventsource-parser to 3.0.6
42
+ - 81e29ab: chore: update docs
43
+ - 6306603: chore: replace Validator with Schema
44
+ - fca786b: feat(provider-utils): add MaybePromiseLike type
45
+ - 763d04a: feat: Standard JSON Schema support
46
+ - 3794514: feat: flexible tool output content support
47
+ - e9e157f: fix: generate zod4 json schema from input schema
48
+ - 960ec8f: chore: change argument of toModelOutput to parameter object
49
+ - 1bd7d32: feat: tool-specific strict mode
50
+ - f0b2157: fix: revert zod import change
51
+ - 95f65c2: chore: load zod schemas lazily
52
+ - Updated dependencies [0c3b58b]
53
+ - Updated dependencies [0adc679]
54
+ - Updated dependencies [d1bdadb]
55
+ - Updated dependencies [dee8b05]
56
+ - Updated dependencies [046aa3b]
57
+ - Updated dependencies [8d9e8ad]
58
+ - Updated dependencies [78928cb]
59
+ - Updated dependencies [dce03c4]
60
+ - Updated dependencies [2625a04]
61
+ - Updated dependencies [37c58a0]
62
+ - Updated dependencies [2b0caef]
63
+ - Updated dependencies [954c356]
64
+ - Updated dependencies [544d4e8]
65
+ - Updated dependencies [0c4822d]
66
+ - Updated dependencies [4c44a5b]
67
+ - Updated dependencies [e8109d3]
68
+ - Updated dependencies [ed329cb]
69
+ - Updated dependencies [53f3368]
70
+ - Updated dependencies [3bd2689]
71
+ - Updated dependencies [bb36798]
72
+ - Updated dependencies [8dac895]
73
+ - Updated dependencies [a755db5]
74
+ - Updated dependencies [475189e]
75
+ - Updated dependencies [457318b]
76
+ - Updated dependencies [b681d7d]
77
+ - Updated dependencies [db913bd]
78
+ - Updated dependencies [9061dc0]
79
+ - Updated dependencies [366f50b]
80
+ - Updated dependencies [81d4308]
81
+ - Updated dependencies [9549c9e]
82
+ - Updated dependencies [af3780b]
83
+ - Updated dependencies [522f6b8]
84
+ - Updated dependencies [10d819b]
85
+ - Updated dependencies [3794514]
86
+ - Updated dependencies [cbf52cd]
87
+ - Updated dependencies [1bd7d32]
88
+ - @ai-sdk/provider@3.0.0
89
+
3
90
  ## 4.0.0-beta.59
4
91
 
5
92
  ### Patch Changes
package/dist/index.js CHANGED
@@ -475,7 +475,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
475
475
  }
476
476
 
477
477
  // src/version.ts
478
- var VERSION = true ? "4.0.0-beta.59" : "0.0.0-test";
478
+ var VERSION = true ? "4.0.0" : "0.0.0-test";
479
479
 
480
480
  // src/get-from-api.ts
481
481
  var getOriginalFetch = () => globalThis.fetch;