ci: Version Packages #2285 (GitHub #2283)
main fromrefs/pull/2283/head·merged by AlemTuzlak View on GitHubThis PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases#
@tanstack/ai@1.10.1#
Patch Changes#
- #2079
b6fd9fe- Structured output now applies the strict conversion to schemas inside$defsanddefinitions, and undoes it after the response. An optional field inside a definition comes back as an omitted key, not asnull, so a.optional()field passes validation. This also works for recursive schemas, for example a zod 4next?: Node: an optional$refgets anullbranch so the chain can end, and zod'sallOf: [{ $ref }]form becomes a bare$ref, because strict mode does not supportallOf. Fields that are really nullable keep theirnull.
@tanstack/ai-harness@0.6.1#
Patch Changes#
#1955
6c13469- Store a rejected input and itsharness.input.rejectedrecord in one log append. The rejected receipt resolves after that append is stored, and a crash no longer runs the input as pending work.Updated dependencies [
b6fd9fe]:- @tanstack/ai@1.10.1
- @tanstack/ai-persistence@1.2.0
@tanstack/openai-base@1.1.3#
Patch Changes#
#2079
b6fd9fe- Apply the strict structured-output conversion to schemas inside$defsanddefinitions. Recursive schemas (for example from zod 4) previously reached the API with optional properties missing fromrequired, which OpenAI and Azure OpenAI reject.An optional property that is only a
$ref, or zod 4'sallOf: [{ $ref }]form of it, now becomesanyOf: [{ $ref }, { type: 'null' }], so recursive schemas such asnext?: Nodecan end. Strict mode does not supportallOf.#2264
ba37c63- Drop aresponse.function_call_arguments.deltathat arrives after the call already ended (viafunction_call_arguments.doneoroutput_item.done). It was emitted asTOOL_CALL_ARGSafterTOOL_CALL_END, so the extra text was appended to the finalized arguments, parsing failed, and the tool did not run. The late delta is now logged and ignored.Updated dependencies [
b6fd9fe]:- @tanstack/ai@1.10.1
@tanstack/ai-optimize-evals@0.0.3#
Patch Changes#
- Updated dependencies [
b6fd9fe]:- @tanstack/ai@1.10.1
- @tanstack/ai-anthropic@1.2.3
- @tanstack/ai-code-mode@1.1.4
- @tanstack/ai-gemini@1.3.1
- @tanstack/ai-openai@1.2.1
- @tanstack/ai-optimize@0.1.0
- 1
AlemTuzlak approved these changes
AlemTuzlak merged thisf302e8b
AlemTuzlak closed this
Sign in to join this conversation.
Important
Review skipped#
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.fe0bb222-5649-4aea-a6c2-0cf46497dcf4You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share