Workers - Workers per-branch preview URLs now support long branch names
10mo ago
Source
CloudflareWorkers - Workers per-branch preview URLs now support long branch namescloudflare.comWe've updated preview URLs for Cloudflare Workers to support long branch names. Previously, branch and Worker names exceeding the 63-character DNS limit would cause alias generation to fail, leaving pull requests without aliased preview URLs. This particularly impacted teams relying on descriptive branch naming. Now, Cloudflare automatically truncates long branch names and appends a unique hash, ensuring every pull request gets a working preview link. How it works 63 characters or less : - → Uses actual branch name as is 64 characters or more : --- → Uses truncated name with 4-character hash Hash generation : The hash is derived from the full branch name to ensure uniqueness Stable URLs : The same branch always generates the same hash across all commits Requirements and compatibility Wrangler 4.30.0 or later : This feature requires updating to [email protected]+ No configuration needed : Works automatically with existing preview URL setups
You might also wanna read
Cloudflare expands AI bot management tools with granular traffic controls for all customers
Cloudflare is celebrating the second "Content Independence Day" by expanding AI traffic management options for all website owners. Building
Workers - Simpler runtime types with @cloudflare/workers-types v5
Cloudflare·1d ago
AI Search - Manage AI Search sync jobs with Wrangler CLI
Cloudflare·2d ago
Workers - Work across multiple accounts with Wrangler auth profiles
Cloudflare·2d ago
Cache - Cache multiple versions of a URL with Vary
Cloudflare·2d ago
Cloudflare One - Hostname routing for Cloudflare Mesh
Cloudflare·2d ago

Comments
Sign in to join the conversation.
No comments yet. Be the first.