Skip to content

Commit 073293f

Browse files
authored
Mark wrangler versions as stable (#7463)
1 parent 5ea9d8e commit 073293f

File tree

7 files changed

+35
-32
lines changed

7 files changed

+35
-32
lines changed

.changeset/thick-nails-switch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
Mark `wrangler versions` commands as stable

packages/wrangler/e2e/versions.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,7 @@ describe("versions deploy", { timeout: TIMEOUT }, () => {
555555
);
556556

557557
expect(normalize(upload.output)).toMatchInlineSnapshot(`
558-
"▲ [WARNING] 🚧 \`wrangler versions upload\` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose
559-
X [ERROR] Legacy assets does not support uploading versions through \`wrangler versions upload\`. You must use \`wrangler deploy\` instead.
558+
"X [ERROR] Legacy assets does not support uploading versions through \`wrangler versions upload\`. You must use \`wrangler deploy\` instead.
560559
🪵 Logs were written to "<LOG>""
561560
`);
562561
});
@@ -590,8 +589,7 @@ describe("versions deploy", { timeout: TIMEOUT }, () => {
590589
const upload = await helper.run(`wrangler versions upload --x-versions`);
591590

592591
expect(normalize(upload.output)).toMatchInlineSnapshot(`
593-
"▲ [WARNING] 🚧 \`wrangler versions upload\` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose
594-
X [ERROR] Workers Sites does not support uploading versions through \`wrangler versions upload\`. You must use \`wrangler deploy\` instead.
592+
"X [ERROR] Workers Sites does not support uploading versions through \`wrangler versions upload\`. You must use \`wrangler deploy\` instead.
595593
🪵 Logs were written to "<LOG>""
596594
`);
597595
});

packages/wrangler/src/__tests__/versions/versions.help.test.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ describe("versions --help", () => {
6363
🫧 List, view, upload and deploy Versions of your Worker to Cloudflare
6464
6565
COMMANDS
66-
wrangler versions view <version-id> View the details of a specific version of your Worker [open-beta]
67-
wrangler versions list List the 10 most recent Versions of your Worker [open-beta]
68-
wrangler versions upload Uploads your Worker code and config as a new Version [open-beta]
69-
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions [open-beta]
66+
wrangler versions view <version-id> View the details of a specific version of your Worker
67+
wrangler versions list List the 10 most recent Versions of your Worker
68+
wrangler versions upload Uploads your Worker code and config as a new Version
69+
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions
7070
wrangler versions secret Generate a secret that can be referenced in a Worker
7171
7272
GLOBAL FLAGS
@@ -88,10 +88,10 @@ describe("versions --help", () => {
8888
🫧 List, view, upload and deploy Versions of your Worker to Cloudflare
8989
9090
COMMANDS
91-
wrangler versions view <version-id> View the details of a specific version of your Worker [open-beta]
92-
wrangler versions list List the 10 most recent Versions of your Worker [open-beta]
93-
wrangler versions upload Uploads your Worker code and config as a new Version [open-beta]
94-
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions [open-beta]
91+
wrangler versions view <version-id> View the details of a specific version of your Worker
92+
wrangler versions list List the 10 most recent Versions of your Worker
93+
wrangler versions upload Uploads your Worker code and config as a new Version
94+
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions
9595
wrangler versions secret Generate a secret that can be referenced in a Worker
9696
9797
GLOBAL FLAGS
@@ -126,10 +126,10 @@ describe("versions subhelp", () => {
126126
🫧 List, view, upload and deploy Versions of your Worker to Cloudflare
127127
128128
COMMANDS
129-
wrangler versions view <version-id> View the details of a specific version of your Worker [open-beta]
130-
wrangler versions list List the 10 most recent Versions of your Worker [open-beta]
131-
wrangler versions upload Uploads your Worker code and config as a new Version [open-beta]
132-
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions [open-beta]
129+
wrangler versions view <version-id> View the details of a specific version of your Worker
130+
wrangler versions list List the 10 most recent Versions of your Worker
131+
wrangler versions upload Uploads your Worker code and config as a new Version
132+
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions
133133
wrangler versions secret Generate a secret that can be referenced in a Worker
134134
135135
GLOBAL FLAGS
@@ -152,10 +152,10 @@ describe("versions subhelp", () => {
152152
🫧 List, view, upload and deploy Versions of your Worker to Cloudflare
153153
154154
COMMANDS
155-
wrangler versions view <version-id> View the details of a specific version of your Worker [open-beta]
156-
wrangler versions list List the 10 most recent Versions of your Worker [open-beta]
157-
wrangler versions upload Uploads your Worker code and config as a new Version [open-beta]
158-
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions [open-beta]
155+
wrangler versions view <version-id> View the details of a specific version of your Worker
156+
wrangler versions list List the 10 most recent Versions of your Worker
157+
wrangler versions upload Uploads your Worker code and config as a new Version
158+
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions
159159
wrangler versions secret Generate a secret that can be referenced in a Worker
160160
161161
GLOBAL FLAGS
@@ -178,10 +178,10 @@ describe("versions subhelp", () => {
178178
🫧 List, view, upload and deploy Versions of your Worker to Cloudflare
179179
180180
COMMANDS
181-
wrangler versions view <version-id> View the details of a specific version of your Worker [open-beta]
182-
wrangler versions list List the 10 most recent Versions of your Worker [open-beta]
183-
wrangler versions upload Uploads your Worker code and config as a new Version [open-beta]
184-
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions [open-beta]
181+
wrangler versions view <version-id> View the details of a specific version of your Worker
182+
wrangler versions list List the 10 most recent Versions of your Worker
183+
wrangler versions upload Uploads your Worker code and config as a new Version
184+
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions
185185
wrangler versions secret Generate a secret that can be referenced in a Worker
186186
187187
GLOBAL FLAGS
@@ -204,10 +204,10 @@ describe("versions subhelp", () => {
204204
🫧 List, view, upload and deploy Versions of your Worker to Cloudflare
205205
206206
COMMANDS
207-
wrangler versions view <version-id> View the details of a specific version of your Worker [open-beta]
208-
wrangler versions list List the 10 most recent Versions of your Worker [open-beta]
209-
wrangler versions upload Uploads your Worker code and config as a new Version [open-beta]
210-
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions [open-beta]
207+
wrangler versions view <version-id> View the details of a specific version of your Worker
208+
wrangler versions list List the 10 most recent Versions of your Worker
209+
wrangler versions upload Uploads your Worker code and config as a new Version
210+
wrangler versions deploy [version-specs..] Safely roll out new Versions of your Worker by splitting traffic between multiple Versions
211211
wrangler versions secret Generate a secret that can be referenced in a Worker
212212
213213
GLOBAL FLAGS

packages/wrangler/src/versions/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const versionsDeployCommand = createCommand({
4545
description:
4646
"Safely roll out new Versions of your Worker by splitting traffic between multiple Versions",
4747
owner: "Workers: Authoring and Testing",
48-
status: "open-beta",
48+
status: "stable",
4949
},
5050
args: {
5151
name: {

packages/wrangler/src/versions/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const versionsListCommand = createCommand({
1313
metadata: {
1414
description: "List the 10 most recent Versions of your Worker",
1515
owner: "Workers: Authoring and Testing",
16-
status: "open-beta",
16+
status: "stable",
1717
},
1818
args: {
1919
name: {

packages/wrangler/src/versions/upload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export const versionsUploadCommand = createCommand({
131131
metadata: {
132132
description: "Uploads your Worker code and config as a new Version",
133133
owner: "Workers: Authoring and Testing",
134-
status: "open-beta",
134+
status: "stable",
135135
},
136136
args: {
137137
script: {

packages/wrangler/src/versions/view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const versionsViewCommand = createCommand({
1515
metadata: {
1616
description: "View the details of a specific version of your Worker",
1717
owner: "Workers: Authoring and Testing",
18-
status: "open-beta",
18+
status: "stable",
1919
},
2020
args: {
2121
"version-id": {

0 commit comments

Comments
 (0)