Packages

@ai-sdk/provider-utils

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

Upgrading @ai-sdk/provider-utils From 3.0.4 to 3.0.46

41 releases in betweenevery note read

Other targets from 3.0.4Clears its advisory3.0.28Latest5.0.83
  1. 3.0.4yours
  2. 17 releases
  3. 3.0.22security
  4. 3 releases
  5. 3.0.26security
  6. 13 releases
  7. 3.0.41security
  8. 4 releases
  9. 3.0.46target

Security

Fixes 1 advisory affecting 3.0.4

  • mcp: Prevent SSRF in OAuth metadata discovery

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

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

    3.0.22

Release by release

  1. 3.0.46

    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.

  2. 3.0.45

    7 Nov 20262 fixes
    • Fixed

      Validate response-supplied Black Forest Labs polling and image URLs, including redirects, to block requests to private destinations outside the configured provider origin. Preserve self-hosted endpoints and withhold credentials from foreign origins and cross-origin redirects.

    • Fixed

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

  3. 3.0.44

    3 Nov 20261 new · 2 fixes
    • New

      Add stringifyWithBigIntAndCycles for provider tool serialization that converts BigInt values to decimal strings and replaces ancestor cycles while preserving shared references and toJSON behavior.

    • Fixed

      provider-utils: Support cross-realm Uint8Array and ArrayBuffer in binary type guards and base64 conversion

    • Fixed

      provider-utils: Decode base64 into a preallocated Uint8Array to avoid ~25x transient memory and long event-loop blocking on large files

  4. 3.0.43

    30 Oct 20261 fix
    • Fixed

      Use native Buffer base64 encoding when available. encoding a Uint8Array backed by a detached ArrayBuffer now throws a TypeError in runtimes with Buffer instead of returning an empty string

  5. 3.0.42

    21 Oct 20262 fixes
    • Fixed

      Block .internal hostnames in download URL validation.

    • Fixed

      Encode provider-returned identifiers in follow-up request paths with a shared encodePathSegment helper.

  6. 3.0.41

    Security fix30 Sep 20262 fixes
    • Security

      mcp: Prevent SSRF in OAuth metadata discovery

    • Fixed

      Keep default Node.js downloads protected by DNS validation and connection pinning when frameworks or instrumentation wrap global fetch before or after the SDK loads.

    • Fixed

      provider-utils: Make lazy Undici import visible to deployment tracers

  7. 3.0.40

    28 Sep 20261 fix
    • Fixed

      provider-utils: Preserve streamed tool calls with unreliable IDs and indices

  8. 3.0.38 – 3.0.392 releases, nothing new or fixed in the notes

14 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.