megachangelog
Feature

Chat SDK adds Discord Components V2 support

The Chat SDK now supports Discord Components V2, an opt-in layout system that lets you arrange text, images, files, and buttons as flexible components with native containers and sections. The release also adds thread renaming, global mention filtering, and improved mention detection for Discord bots.

You can now send Discord bot messages with , an opt-in layout system that treats text, images, files, and buttons as flexible components you can arrange in any order.Components V2

Set the adapter's option to and cards render with native containers, sections, media galleries, separators, buttons, and string selects. Embeds remain the default, so existing bots work unchanged.contentFormatComponentsV2

Individual sections can carry their own actions, markdown renders correctly inside components, and the adapter enforces Discord's platform limits for you, including the 40-component cap per message.

This release also includes several other Discord adapter improvements:

to get started or browse the .Read the documentationadapter directory

Special thanks to community contributors , , , and for laying the groundwork for these improvements.DeanMauroonmaxFarazPatankarsivchari

Read more

  • A new method renames native Discord thread channels. Your bot needs the Manage Threadspermission to use it.Rename threads: setThreadTitle()

  • Bots running in gateway mode no longer treat and announcements as mentions. A new config option (default ) lets you opt back in. Direct mentions, role mentions, and replies to the bot are unaffected.Ignore global pings: @everyone@hererespondToGlobalMentionsfalse

  • Mentions of similarly named users no longer trigger false matches. A message with no longer counts as a bot tag.Precise mention detection: @bot-dev

discordchat-sdkcomponentsbots

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Feature

OpenAI Decisions API now available on AI Gateway

OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.

ai-gatewayopenaiapidecisionssdks
Feature

Timestamp attributes now supported in Vercel Flags

Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.

flagstargetingfeaturetimestampscampaigns
Feature

Glyph Cluster now available in stealth on AI Gateway

Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.

ai-gatewaymodelscodingstealth
See all Vercel changes →