megachangelog
Feature

Introducing vercel.ts: Programmatic project configuration

Vercel now supports vercel.ts, a new TypeScript-based configuration file with type safety, dynamic logic, and conditional behavior. It enables advanced routing, request transforms, caching rules, and cron jobs with full environment variable and shared logic support, going beyond static JSON configuration.

Vercel now supports , a new TypeScript-based configuration file that brings type safety, dynamic logic, and better developer experience to project configuration.vercel.ts

lets you express configuration as code by defining advanced routing, request transforms, caching rules, and cron jobs, going beyond what static JSON can express. In addition to full type safety, this also allows access to environment variables, shared logic, and conditional behavior.vercel.ts

All projects can now use (or , , , ) for project configuration. Properties are defined identically to and can be enhanced using the new package.vercel.ts.js.mjs.cjs.mtsvercel.json@vercel/config

to explore , , or read the and the .Try the playgroundlearn how to migrate from an existing vercel.jsondocumentation@vercel/config packagevercel.ts

Read more

configtypescriptdeveloper-experienceroutingtype-safety

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 →