Skip to content
Source
Sign inSign up
TanStack/ai

ci: Version Packages #2285 (GitHub #2283)

Mergedgithub-actions[bot](GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/2283/headmerged by AlemTuzlak View on GitHub

This 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 $defs and definitions, and undoes it after the response. An optional field inside a definition comes back as an omitted key, not as null, so a .optional() field passes validation. This also works for recursive schemas, for example a zod 4 next?: Node: an optional $ref gets a null branch so the chain can end, and zod's allOf: [{ $ref }] form becomes a bare $ref, because strict mode does not support allOf. Fields that are really nullable keep their null.

@tanstack/ai-harness@0.6.1

Patch Changes

  • #1955 6c13469 - Store a rejected input and its harness.input.rejected record 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 $defs and definitions. Recursive schemas (for example from zod 4) previously reached the API with optional properties missing from required, which OpenAI and Azure OpenAI reject.

    An optional property that is only a $ref, or zod 4's allOf: [{ $ref }] form of it, now becomes anyOf: [{ $ref }, { type: 'null' }], so recursive schemas such as next?: Node can end. Strict mode does not support allOf.

  • #2264 ba37c63 - Drop a response.function_call_arguments.delta that arrives after the call already ended (via function_call_arguments.done or output_item.done). It was emitted as TOOL_CALL_ARGS after TOOL_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. Important

      Review skipped

      Bot user detected.

      To trigger a single review, invoke the @coderabbitai review command.

      Run configuration

      • Source mode: Auto
      • Repository: TanStack/ai
      • Branch: main
      • File: .coderabbit.yaml
      • Commit: 6c13469
      • Layers: Repository YAML
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: fe0bb222-5649-4aea-a6c2-0cf46497dcf4

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • Trigger review
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      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

    2. AlemTuzlak approved these changes

    3. AlemTuzlak merged thisf302e8b

    4. AlemTuzlak closed this

Sign in to join this conversation.