Packages

@ai-sdk/provider-utils

5.0.83 · 20 Nov 2026Apache-2.076.4M / weekRepositoryHomepagenpmAtom feed

Upgrading @ai-sdk/provider-utils From 4.0.14 to 5.0.83

133 releases in betweennotes for 132

Other targets from 4.0.14Newest 4.x4.0.67Clears its advisory4.0.33
  1. 4.0.14yours
  2. 4 releases
  3. 4.0.19security
  4. 48 releases
  5. 5.0.0security
  6. 3 releases
  7. 5.0.4security
  8. 29 releases
  9. 5.0.36security
  10. 3 releases
  11. 5.0.40security
  12. 32 releases
  13. 5.0.74breaking
  14. 7 releases
  15. 5.0.83target
  16. 30 pre
12+
changes to make
1
advisory fixed
53+
new
87+
fixes

Counted from 132 of 133 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking5.0.74
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0

Security

Fixes 1 advisory affecting 4.0.14

  • mcp: Prevent SSRF in OAuth metadata discovery

    5.0.40
  • Update Undici to a version patched for CVE-2026-13697.

    5.0.36
  • Prevent prototype pollution when synchronously parsing provider JSON inputs and expose secureJsonParse from provider-utils.

    5.0.4
  • security: Validate redirect targets in download functions to prevent SSRF bypass

    5.0.0
  • Harden download URL SSRF guard against hostname and redirect bypasses

    5.0.0
  • Add URL validation to downloadBlob and download to prevent blind SSRF attacks. Private/internal IP addresses, localhost, and non-HTTP protocols are now rejected before fetching.

    4.0.19

Release by release

  1. 5.0.83

    20 Nov 20261 fix
    • Fixed

      Bound bash tool output collection before returning it from supporting sandbox adapters, and copy retained prefixes so truncated results do not keep large source strings alive. Preserve output text, omission counts, command completion, exit codes, and timeout behavior. Custom sandbox implementations remain compatible; just-bash's interpreter buffering remains subject to its native execution limits.

  2. 5.0.82

    17 Nov 20262 fixes
    • Fixed

      Fix validation of non-Zod Standard Schema results: a result that contains issues is now always treated as a failure, even when it also carries a value. Previously a failing schema such as Valibot's through toStandardJsonSchema() could be reported as valid, so rejected input, including tool input, was accepted.

    • Fixed

      Centralize empty extraction value normalization in experimental_extract, preserving missing-value behavior while removing duplicated conversion from extraction providers.

  3. 5.0.81

    13 Nov 20261 new
    • New

      Add experimental extraction models backed by structured language model output

  4. 5.0.80

    12 Nov 20261 fix
    • Fixed

      Move Node.js connection-time DNS validation to the optional guarded-fetch package. It uses an Undici agent to validate every resolved address and pin the connection to those results, independently of global fetch wrappers. It supports explicitly trusted private origins and connection-pool cleanup.

  5. 5.0.79

    10 Nov 20262 fixes
    • Fixed

      Infer Zod 3 schemas through Standard Schema to prevent recursive type comparisons between installed Zod versions, preserving tool input and streamed output inference.

    • Fixed

      Use Zod Mini for internal validation schemas to reduce bundle size while preserving the public message schemas' classic Zod methods, error messages, and compatibility with supported Zod 3 and Zod 4 versions.

  6. 5.0.78

    10 Nov 20261 fix
    • Fixed

      Require a DNS-pinned fetch for untrusted MCP OAuth discovery and metadata-derived token/registration URLs on server runtimes without a protected default transport. Preserve developer-configured endpoints and allow explicitly supplied fetch implementations that provide equivalent connect-time validation. Browser workers without a DOM follow the same explicit custom-fetch requirement.

  7. 5.0.76

    7 Nov 20261 new · 2 fixes
    • New

      Add resolveProviderOptions to parse provider options that a model accepts under several providerOptions keys, either as aliases (first) or merged in order (merge), and use it for the existing multi-key lookups in the OpenAI, OpenAI-compatible, Anthropic, Google, and Amazon Bedrock models. Resolution behavior for these models is unchanged.

    • Fixed

      Reject HTTPS-to-HTTP redirects in validated downloads before requesting the insecure target, including when it matches a configured trusted origin.

    • Fixed

      Return undefined instead of throwing when detectMediaType receives an unsupported topLevelType that matches an inherited object property.

  8. 5.0.75

    5 Nov 20261 new
    • New

      provider-utils: Add an experimental_binaryFields option to createJsonResponseHandler

1 other line we could not sort, mostly version bumps
  • Start v7 pre-release

    5.0.0

71 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.