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

now supports timestamp attributes for , which represent the users, teams, devices, or requests evaluated by a flag.Vercel Flagsentities

Use timestamp attributes to show a campaign page only between two dates, run a Black Friday promotion, or target users who registered before a cutoff.

You can configure timestamp attributes in the dashboard or via the CLI.

In the Vercel dashboard, open , select , and create or select an entity. Add an attribute and set its data type to .FlagsEntitiestimestamp

Or define the attribute with the CLI:

Whether you configure the attribute in the dashboard or CLI, your application must provide its value when evaluating a flag. The entity and attribute names must match your configuration, and the value must be a Unix epoch timestamp in milliseconds.

This Flags SDK example passes the current time as . returns the required value in milliseconds. Keeping it inside ensures that every flag evaluated during the same request uses the same time:system.timeDate.now()dedupe()

In the dashboard, open the flag and add a targeting rule using the timestamp attribute. The rule compares the value from your application with a date and time you choose.

Rules support , , , and . The date and time picker uses your local timezone.is afteris at or afteris beforeis at or before

To add a time-based targeting rule with the CLI, use , , , or :afterat-or-afterbeforeat-or-before

Learn how to and , or read the .provide entities in coderelease a flag at a specific timeFlags documentation

Read more

Configure a timestamp attribute

Add a targeting rule

flagstargetingfeaturetimestampscampaigns

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

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
Feature

Claude Haiku 5.5 now available on AI Gateway

Claude Haiku 5.5 is now available through Vercel's AI Gateway, featuring adaptive thinking with effort levels and zero data retention. The fastest Claude model is optimized for high-volume cost-sensitive tasks like summarization, classification, and live customer support.

aiapiclaudemodelsgateway
See all Vercel changes →