---
title: "@ai-sdk/provider 4.0.39: release notes, upgrades and advisories"
description: "@ai-sdk/provider 4.0.39: release notes, breaking changes by major version and no known security advisory."
url: https://inlinr.com/packages/@ai-sdk/provider
lang: en
---

[Packages](https://inlinr.com/packages)

# @ai-sdk/provider

4.0.39 · 17 Nov 2026 Apache-2.0 107.4M / week [Repository](https://github.com/vercel/ai) [Homepage](https://ai-sdk.dev/docs) [npm](https://www.npmjs.com/package/@ai-sdk/provider) [Atom feed](https://inlinr.com/packages/feed/@ai-sdk/provider)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/@ai-sdk/provider/upgrade)

LineNewestSecurity

- 4.x 4.0.39 No known advisory Latest line
- 3.x 3.0.19 No known advisory [To 4.0.39](https://inlinr.com/packages/@ai-sdk/provider/upgrade/3.0.19-4.0.39)
- 2.x 2.0.5 No known advisory [To 4.0.39](https://inlinr.com/packages/@ai-sdk/provider/upgrade/2.0.5-4.0.39)
- 1.x 1.1.3 No known advisory [To 4.0.39](https://inlinr.com/packages/@ai-sdk/provider/upgrade/1.1.3-4.0.39)
- 0.x 0.0.26 No known advisory [To 4.0.39](https://inlinr.com/packages/@ai-sdk/provider/upgrade/0.0.26-4.0.39)

## Latest releases

[All 109 releases](https://inlinr.com/packages/@ai-sdk/provider/releases)

1. 4.x · latest line
2. ### [4.0.39](https://inlinr.com/packages/@ai-sdk/provider/releases/4.0.39 "Open this release") [](https://github.com/vercel/ai/releases/tag/%40ai-sdk/provider%404.0.39 "Read this release where it was published")  
17 Nov 2026

  - Add extraction model support to provider registries, custom providers and string model ids
3. ### [4.0.38](https://inlinr.com/packages/@ai-sdk/provider/releases/4.0.38 "Open this release") [](https://github.com/vercel/ai/releases/tag/ai%407.0.171 "Read this release where it was published")  
12 Nov 2026

  - Prevent excessive memory and CPU usage when validating malformed UI messages. `validateUIMessages`, `safeValidateUIMessages`, and the agent UI stream helpers reported the issues of every part schema for every invalid part, so a small request with many malformed parts could exhaust memory. Each part is now validated against the schemas for its type only, validation stops at the first invalid message or part, and an invalid JSON value in provider or tool metadata is reported as a single issue.
  - Forward the provider's configured fetch transport when downloading file inputs. Add a `fetch` option to `createDownload` so core downloads can also use `guarded-fetch` for opt-in DNS validation on Node.js. The function returned by `createDownload` can now also be passed as `experimental_download` to `generateText` and `streamText`, and `experimental_download` now also handles generated file URLs returned by the model, so one hook covers all core downloads. Document that the default URL checks do not resolve DNS and recommend the guarded transport or network egress controls for untrusted URLs.  
  Keep Azure image and Vertex tool-result downloads separate from provider authentication wrappers so file hosts never receive Azure bearer tokens or Vertex Express Mode API keys.  
  Pass the call's abort signal to custom download requests, including prompt assets and generated files, so `experimental_download: createDownload({ fetch })` preserves cancellation and timeouts.
  - Add experimental extract api and extraction model spec
4. ### [4.0.37](https://inlinr.com/packages/@ai-sdk/provider/releases/4.0.37 "Open this release") [](https://github.com/vercel/ai/releases/tag/%40ai-sdk/provider%404.0.37 "Read this release where it was published")  
7 Nov 2026

  - Fix TypeSafe decision requests with primitive JSON state by serializing those values as text, reject empty criteria and null or undefined Score levels before sending a request, and expose structured Score legends in provider metadata. Allow omitted or null Box instructions and null Boolean criteria in experimental decision question types.

Dependency tracking

## Know when your own dependencies move

@ai-sdk/provider shipped 2 new majors in the last 12 months, among 65 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

No known security advisory.

## Health of 4.0.39

[Details](https://inlinr.com/packages/@ai-sdk/provider/security#signals)

- **Provenance**: Present
- **Publisher**: GitHub Actions
- **Maintainers**: 2
- **Scorecard**: None
- **Size**: 811 kB

## Weekly downloads

## Same family

- [@ai-sdk/provider-utils 75.4M/wk](https://inlinr.com/packages/@ai-sdk/provider-utils)
- [ai 48.5M/wk](https://inlinr.com/packages/ai)
- [@ai-sdk/gateway 47.3M/wk](https://inlinr.com/packages/@ai-sdk/gateway)
- [@ai-sdk/openai 25.8M/wk](https://inlinr.com/packages/@ai-sdk/openai)
- [@ai-sdk/anthropic 24.8M/wk](https://inlinr.com/packages/@ai-sdk/anthropic)
- [@ai-sdk/google 14.6M/wk](https://inlinr.com/packages/@ai-sdk/google)
- [@ai-sdk/openai-compatible 14.4M/wk](https://inlinr.com/packages/@ai-sdk/openai-compatible)
- [@ai-sdk/react 14.3M/wk](https://inlinr.com/packages/@ai-sdk/react)

Reading releases, release notes and advisories…

Registry facts last checked 21 Nov 2026\. Releases and advisories last read 24 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
