Skip to content

Update dependency @ai-sdk/groq to v4 - #70

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ai-sdk-groq-4.x
Open

Update dependency @ai-sdk/groq to v4#70
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ai-sdk-groq-4.x

Conversation

@renovate

@renovate renovate Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@ai-sdk/groq (source) ^1.2.5^4.0.0 age confidence

Release Notes

vercel/ai (@​ai-sdk/groq)

v4.0.34

Compare Source

Patch Changes

v4.0.33

Compare Source

Patch Changes

v4.0.31

Compare Source

Patch Changes
  • 2214258: Prevent negative text output token counts when providers report reasoning tokens. Perplexity reasoning tokens are now treated as separate from completion tokens.
  • 9e9bf11: fix: disable reasoning for supported Groq models when top-level reasoning is set to none
  • Updated dependencies [591d25b]

v4.0.30

Compare Source

Patch Changes

v4.0.29

Patch Changes

v4.0.28

Patch Changes

v4.0.27

Compare Source

Patch Changes

v4.0.26

Compare Source

Patch Changes

v4.0.25

Compare Source

Patch Changes

v4.0.24

Compare Source

Patch Changes

v4.0.23

Compare Source

Patch Changes

v4.0.22

Compare Source

Patch Changes

v4.0.21

Compare Source

Patch Changes

v4.0.20

Patch Changes

v4.0.19

Patch Changes

v4.0.18

Patch Changes

v4.0.17

Compare Source

Patch Changes
  • d2d8744: fix(groq): map word timestamps to transcription segments when segment timestamps are unavailable
  • 817910d: Support plain-text responses from Groq transcription models when responseFormat is set to text.
  • Updated dependencies [d8210b6]
  • Updated dependencies [b192878]

v4.0.16

Compare Source

Patch Changes

v4.0.15

Compare Source

Patch Changes

v4.0.14

Compare Source

Patch Changes

v4.0.13

Compare Source

Patch Changes

v4.0.12

Compare Source

Patch Changes

v4.0.11

Compare Source

Patch Changes

v4.0.10

Compare Source

Patch Changes

v4.0.8

Compare Source

Patch Changes
  • 23ca4c9: fix (provider/groq): surface prompt cache reads in usage

    convertGroqUsage accepted prompt_tokens_details.cached_tokens but never read it, so cache hits were reported as cacheRead: undefined and the entire prompt was counted as noCache. Groq's implicit prompt caching now surfaces as usage.cachedInputTokens (mapped to cacheRead, subtracted from noCache). Groq has no cache-creation charge, so cacheWrite remains undefined.

v4.0.7

Compare Source

Patch Changes

v4.0.6

Compare Source

Patch Changes
  • ac306ed: Fix StreamingToolCallTracker finalizing streaming tool calls on parsable partial JSON. Tool calls now only finalize during stream flush, restoring the behavior of #​13137: a parsable argument buffer can still be the prefix of a longer argument string, so finalizing early could act on truncated tool inputs.
  • Updated dependencies [ac306ed]

v4.0.5

Compare Source

Patch Changes

v4.0.4

Compare Source

Patch Changes

v4.0.3

Compare Source

Patch Changes

v4.0.2

Compare Source

Patch Changes

v4.0.1

Compare Source

Patch Changes

v4.0.0

Compare Source

Major Changes
  • ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only ("type": "module"). Consumers using require() must switch to ESM import syntax.

  • c29a26f: feat(provider): add support for provider references and uploading files as supported per provider

  • 8359612: Start v7 pre-release

  • 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols

    For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.

Patch Changes
  • 38fc777: Add AI Gateway hint to provider READMEs

  • 023550e: Deprecate streamText result fullStream in favor of stream.

  • 74d520f: feat: migrate providers to support new top-level reasoning parameter

  • 45b3d76: fix(security): prevent streaming tool calls from finalizing on parsable partial JSON

    Streaming tool call arguments were finalized using isParsableJson() as a heuristic for completion. If partial accumulated JSON happened to be valid JSON before all chunks arrived, the tool call would be executed with incomplete arguments. Tool call finalization now only occurs in flush() after the stream is fully consumed.

  • 9f0e36c: trigger release for all packages after provenance setup

  • 58a2ad7: fix: more precise default message for tool execution denial

  • 7bf717f: feat: Groq support for performance service tier

  • f7295cb: revert incorrect fix #​13172

  • 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.

  • f807e45: Extract shared StreamingToolCallTracker class into @ai-sdk/provider-utils to deduplicate streaming tool call handling across OpenAI-compatible providers. Also adds missing generateId() fallback for toolCallId in Alibaba's doGenerate path and ensures all providers finalize unfinished tool calls during stream flush.

  • 0c4c275: trigger initial canary release

  • 6fd51c0: fix(provider): preserve error type prefix in getErrorMessage

  • 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type

  • 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles

  • b8396f0: trigger initial beta release

  • 90e2d8a: chore: fix unused vars not being flagged by our lint tooling

  • b3976a2: Add workflow serialization support to all provider models.

    @ai-sdk/provider-utils: New serializeModel() helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.

    All providers: headers is now optional in provider config types. This is non-breaking — existing code that passes headers continues to work. Custom provider implementations that construct model configs manually can now omit headers, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.

    All provider model classes now include WORKFLOW_SERIALIZE and WORKFLOW_DESERIALIZE static methods, enabling them to cross workflow step boundaries without serialization errors.

v3.0.64

Compare Source

Patch Changes

v3.0.63

Compare Source

Patch Changes

v3.0.62

Compare Source

Patch Changes
  • 313a441: Prevent negative text output token counts when providers report reasoning tokens. Perplexity reasoning tokens are now treated as separate from completion tokens.
  • Updated dependencies [5642849]

v3.0.61

Compare Source

Patch Changes

v3.0.60

Compare Source

Patch Changes

v3.0.59

Compare Source

Patch Changes

v3.0.58

Compare Source

Patch Changes

v3.0.57

Compare Source

Patch Changes

v3.0.56

Compare Source

Patch Changes

v3.0.55

Compare Source

Patch Changes
  • ae2812a: fix(groq): map word timestamps to transcription segments when segment timestamps are unavailable
  • cc3269f: Support plain-text responses from Groq transcription models when responseFormat is set to text.

v3.0.54

Compare Source

Patch Changes

v3.0.53

Compare Source

Patch Changes

v3.0.52

Compare Source

Patch Changes

v3.0.51

Compare Source

Patch Changes
  • cee7e45: fix (provider/groq): surface prompt cache reads in usage

    convertGroqUsage accepted prompt_tokens_details.cached_tokens but never read it, so cache hits were reported as cacheRead: undefined and the entire prompt was counted as noCache. Groq's implicit prompt caching now surfaces as usage.cachedInputTokens (mapped to cacheRead, subtracted from noCache). Groq has no cache-creation charge, so cacheWrite remains undefined.

v3.0.50

Compare Source

Patch Changes

v3.0.49

Compare Source

Patch Changes
  • bef93ae: fix(security): prevent streaming tool calls from finalizing on parsable partial JSON

    Streaming tool call arguments were finalized using isParsableJson() as a heuristic for completion. If partial accumulated JSON happened to be valid JSON before all chunks arrived, the tool call would be executed with incomplete arguments. Tool call finalization now only occurs in flush() after the stream is fully consumed.

  • 327642b: fix: more precise default message for tool execution denial

  • Updated dependencies [d559de9]

v3.0.48

Compare Source

Patch Changes

v3.0.47

Compare Source

Patch Changes

v3.0.46

Compare Source

Patch Changes

v3.0.45

Compare Source

Patch Changes

v3.0.44

Compare Source

Patch Changes

v3.0.43

Compare Source

Patch Changes

v3.0.42

Compare Source

Patch Changes

v3.0.41

Patch Changes

v3.0.39

Compare Source

Patch Changes

v3.0.38

Compare Source

Patch Changes

v3.0.37

Compare Source

Patch Changes

v3.0.36

Compare Source

Patch Changes

v3.0.35

Compare Source

Patch Changes
  • d42076d: Add AI Gateway hint to provider READMEs

v3.0.34

Compare Source

Patch Changes

v3.0.33

Compare Source

Patch Changes

v3.0.32

Patch Changes
  • cb3ca8f: feat: Groq support for performance service tier

v3.0.29

Patch Changes

v3.0.28

Patch Changes

v3.0.27

Patch Changes

v3.0.26

Patch Changes

v3.0.25

Patch Changes
  • 91f8777: fix(bedrock/groq): pass strict mode for tools

v3.0.24

Patch Changes

v3.0.23

Patch Changes
  • 99fbed8: feat: normalize provider specific model options type names and ensure they are exported

v3.0.22

Patch Changes

v3.0.21

Patch Changes

v3.0.20

Patch Changes

v3.0.19

Patch Changes

v3.0.18

Patch Changes
  • 1524271: chore: add skill information to README files

v3.0.17

Patch Changes
  • 3988c08: docs: fix incorrect and outdated provider docs

v3.0.16

Patch Changes

v3.0.15

Patch Changes

v3.0.14

Patch Changes
  • 2b8369d: chore: add docs to package dist

v3.0.13

Patch Changes
  • 8dc54db: chore: add src folders to package bundle

v3.0.12

Patch Changes
  • 25f5da3: feat(groq): expose reasoningTokens in usage data

v3.0.11

Patch Changes
  • 7c98577: fix timestamp_granularities handling in groq transcription

v3.0.10

Patch Changes

v3.0.9

Patch Changes

v3.0.8

Patch Changes

v3.0.7

Patch Changes
  • bc02a3c: feat(groq,compat): add strictJsonSchema for providers

v3.0.6

Patch Changes
  • 78fcb18: fix(compat,groq): send reasoning-end before text-start in streaming

v3.0.5

Patch Changes

v3.0.4

Patch Changes

v3.0.3

Patch Changes

v3.0.2

Patch Changes

v3.0.1

Patch Changes

v3.0.0

Major Changes
Minor Changes
Patch Changes
  • 0c3b58b: fix(provider): add specificationVersion to ProviderV3

  • 541abc9: Removed deprecated distil-whisper-large-v3-en model from groq transcription

  • 0adc679: feat(provider): shared spec v3

  • 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3

    Before

    model.textEmbeddingModel("my-model-id");

    After

    model.embeddingModel("my-model-id");
  • 2625a04: feat(openai); update spec for mcp approval

  • 95f65c2: chore: use import * from zod/v4

  • 954c356: feat(openai): allow custom names for provider-defined tools

  • 544d4e8: chore(specification): rename v3 provider defined tool to provider tool

  • e8109d3: feat: tool execution approval

  • ed329cb: feat: Provider-V3

  • 3bd2689: feat: extended token usage

  • 1cad0ab: feat: add provider version to user-agent header

  • 08d5419: fix(groq): remove decomissioned moonshotai/kimi-k2-instruct, add moonshotai/kimi-k2-instruct-0905

  • 8dac895: feat: LanguageModelV3

  • 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings

  • 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases

  • 4616b86: chore: update zod peer depenedency version

  • 0f0fa34: Restrict reasoningEffort to allowed enum values in Groq provider options

  • 21e20c0: feat(provider): transcription model v3 spec

  • cbf52cd: feat: expose raw finish reason

  • 10c1322: fix: moved dependency @ai-sdk/test-server to devDependencies

  • 3f464f4: fix(provider/groq): track cached tokens usage

  • Updated dependencies

v2.0.52

Compare Source

Patch Changes

v2.0.51

Compare Source

Patch Changes

v2.0.49

Compare Source

Patch Changes

v2.0.48

Compare Source

Patch Changes

v2.0.47

Compare Source

Patch Changes
  • 3fbb9cc: Support plain-text responses from Groq transcription models when responseFormat is set to text.

v2.0.46

Compare Source

Patch Changes

v2.0.45

Compare Source

Patch Changes

v2.0.44

Compare Source

Patch Changes

v2.0.43

Compare Source

Patch Changes

v2.0.42

Compare Source

Patch Changes

v2.0.41

Compare Source

Patch Changes

v2.0.40

Compare Source

Patch Changes

v2.0.39

Compare Source

Patch Changes

v2.0.38

Compare Source

Patch Changes
  • 5543cd1: Add AI Gateway hint to provider READMEs

v2.0.37

Patch Changes

v2.0.35

Patch Changes

v2.0.34

Patch Changes

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Asia/Jerusalem)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Jun 28, 2026
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
connected-agent Error Error Aug 31, 2026 5:31pm

@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 0422576 to c67cebe Compare June 30, 2026 20:08
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from c67cebe to 43c8628 Compare July 3, 2026 07:48
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 43c8628 to e7bceb5 Compare July 11, 2026 15:52
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from e7bceb5 to 736c6b9 Compare July 12, 2026 15:14
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 736c6b9 to 7a3aa9c Compare July 15, 2026 00:09
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 7a3aa9c to 811dfb9 Compare July 17, 2026 23:25
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 811dfb9 to 4aaca91 Compare July 23, 2026 08:05
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 4aaca91 to 958f463 Compare July 24, 2026 00:19
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 958f463 to 5f4c53f Compare July 30, 2026 20:10
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 5f4c53f to 1e13897 Compare July 30, 2026 23:49
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 1e13897 to 233e40f Compare August 1, 2026 18:58
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 233e40f to 73d4f1c Compare August 3, 2026 23:43
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 73d4f1c to d66d8cc Compare August 4, 2026 04:04
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from d66d8cc to a41dba4 Compare August 7, 2026 02:39
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from a41dba4 to 2658770 Compare August 8, 2026 02:36
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 2658770 to b29970b Compare August 8, 2026 06:30
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from b29970b to 827d515 Compare August 11, 2026 00:11
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 827d515 to d8b87d8 Compare August 12, 2026 03:18
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from d8b87d8 to 4eec723 Compare August 22, 2026 23:45
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 4eec723 to 0cd8abc Compare August 25, 2026 18:42
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 0cd8abc to 37d6179 Compare August 28, 2026 09:07
@renovate
renovate Bot force-pushed the renovate/ai-sdk-groq-4.x branch from 37d6179 to ed87ed3 Compare August 29, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants