Skip to content

Commit d3be1e4

Browse files
Documentation update for Workers increased version deployment lookback (#25097)
1 parent d4973f0 commit d3be1e4

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Worker version rollback limit increased from 10 to 100
3+
description: Workers can now be deployed and rolled back to their most recent 100 versions, up from the previous limit of 10.
4+
products:
5+
- workers
6+
date: 2025-09-11
7+
---
8+
The number of recent versions available for a Worker rollback has been increased from 10 to 100.
9+
10+
This allows you to:
11+
12+
* Promote any of the 100 most recent versions to be the active deployment.
13+
14+
* Split traffic using [gradual deployments](/workers/configuration/versions-and-deployments/gradual-deployments/) between your latest code and any of the 100 most recent versions.
15+
16+
You can do this through the Cloudflare dashboard or with [Wrangler's rollback command](/workers/wrangler/commands/#rollback)
17+
18+
Learn more about [versioned deployments](/workers/configuration/versions-and-deployments/) and [rollbacks](/workers/configuration/versions-and-deployments/rollbacks/).

src/content/docs/workers/configuration/versions-and-deployments/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ See examples of creating a Worker, Versions, and Deployments directly with the A
7878

7979
#### Via Wrangler
8080

81-
Wrangler allows you to view the 10 most recent versions and deployments. Refer to the [`versions list`](/workers/wrangler/commands/#list-4) and [`deployments`](/workers/wrangler/commands/#list-5) documentation to view the commands.
81+
Wrangler allows you to view the 100 most recent versions and deployments. Refer to the [`versions list`](/workers/wrangler/commands/#list-4) and [`deployments`](/workers/wrangler/commands/#list-5) documentation to view the commands.
8282

8383
#### Via the Cloudflare dashboard
8484

src/content/docs/workers/configuration/versions-and-deployments/rollbacks.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,15 @@ Errors could occur if using code for a prior version if the structure of data ha
3434

3535
### Rollbacks limit
3636

37-
You can only roll back to the 10 most recently published versions.
37+
You can only roll back to the 100 most recently published versions.
38+
39+
:::note
40+
41+
When using Wrangler in interactive mode, only the 10 most recent versions will be displayed for selection. To roll back to an older version (beyond the 10 most recent), you must specify the version ID directly on the command line. Refer to the [`wrangler versions deploy`](/workers/wrangler/commands/#versions-deploy) documentation for details on specifying version IDs.
42+
43+
We plan to address this limitation soon to allow displaying all 100 available versions in interactive mode.
44+
45+
:::
3846

3947
### Bindings
4048

0 commit comments

Comments
 (0)