github vercel/ai @ai-sdk/react@4.0.31

latest releases: @ai-sdk/xai@2.0.79, @ai-sdk/vue@2.0.214, @ai-sdk/vercel@1.0.45...
6 hours ago

Patch Changes

  • 48e7e78: Harden MCP Apps handling of server-supplied resource metadata and the host/iframe bridge:

    • Runtime-validate _meta.ui and drop malformed or non-string fields.
    • Gate iframe permissions deny-by-default via a new sandbox.allowedPermissions allowlist.
    • Derive a concrete postMessage target origin and validate inbound message origins.
    • Validate inbound bridge params: limit resources/read to ui:// resources and allow only https/http/mailto in ui/open-link.
    • Add fingerprintMCPAppResource / detectMCPAppResourceDrift for pinning and comparing app resources.
  • Updated dependencies [48e7e78]

    • @ai-sdk/mcp@2.0.14

Don't miss a new ai release

NewReleases is sending notifications on new releases.