diff --git a/src/content/changelog/workers/2025-09-11-increased-version-rollback-limit.mdx b/src/content/changelog/workers/2025-09-11-increased-version-rollback-limit.mdx new file mode 100644 index 000000000000000..71c52fcc523d5bf --- /dev/null +++ b/src/content/changelog/workers/2025-09-11-increased-version-rollback-limit.mdx @@ -0,0 +1,18 @@ +--- +title: Worker version rollback limit increased from 10 to 100 +description: Workers can now be deployed and rolled back to their most recent 100 versions, up from the previous limit of 10. +products: + - workers +date: 2025-09-11 +--- +The number of recent versions available for a Worker rollback has been increased from 10 to 100. + +This allows you to: + +* Promote any of the 100 most recent versions to be the active deployment. + +* Split traffic using [gradual deployments](/workers/configuration/versions-and-deployments/gradual-deployments/) between your latest code and any of the 100 most recent versions. + +You can do this through the Cloudflare dashboard or with [Wrangler's rollback command](/workers/wrangler/commands/#rollback) + +Learn more about [versioned deployments](/workers/configuration/versions-and-deployments/) and [rollbacks](/workers/configuration/versions-and-deployments/rollbacks/). diff --git a/src/content/docs/workers/configuration/versions-and-deployments/index.mdx b/src/content/docs/workers/configuration/versions-and-deployments/index.mdx index bb0f74f1074599b..14210a31411422d 100644 --- a/src/content/docs/workers/configuration/versions-and-deployments/index.mdx +++ b/src/content/docs/workers/configuration/versions-and-deployments/index.mdx @@ -78,7 +78,7 @@ See examples of creating a Worker, Versions, and Deployments directly with the A #### Via Wrangler -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. +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. #### Via the Cloudflare dashboard diff --git a/src/content/docs/workers/configuration/versions-and-deployments/rollbacks.mdx b/src/content/docs/workers/configuration/versions-and-deployments/rollbacks.mdx index 9147ba883970e96..f7f9187bbcbda56 100644 --- a/src/content/docs/workers/configuration/versions-and-deployments/rollbacks.mdx +++ b/src/content/docs/workers/configuration/versions-and-deployments/rollbacks.mdx @@ -34,7 +34,15 @@ Errors could occur if using code for a prior version if the structure of data ha ### Rollbacks limit -You can only roll back to the 10 most recently published versions. +You can only roll back to the 100 most recently published versions. + +:::note + +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. + +We plan to address this limitation soon to allow displaying all 100 available versions in interactive mode. + +::: ### Bindings