diff --git a/package.json b/package.json index 1fca16ff0edfe08..fb5f895736824ae 100644 --- a/package.json +++ b/package.json @@ -160,7 +160,7 @@ "vfile": "6.0.3", "vite-tsconfig-paths": "6.1.1", "vitest": "4.1.6", - "wrangler": "4.90.1", + "wrangler": "4.92.0", "zod": "4.4.3" }, "devEngines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index faf3d475a6b8840..99451cb9887ffaa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -384,8 +384,8 @@ importers: specifier: 4.1.6 version: 4.1.6(@types/node@25.7.0)(happy-dom@20.9.0)(vite@7.3.3(@types/node@25.7.0)(jiti@2.7.0)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.8.4)) wrangler: - specifier: 4.90.1 - version: 4.90.1(@cloudflare/workers-types@4.20260511.1) + specifier: 4.92.0 + version: 4.92.0(@cloudflare/workers-types@4.20260511.1) zod: specifier: 4.4.3 version: 4.4.3 @@ -761,31 +761,61 @@ packages: vitest: ^4.1.0 '@cloudflare/workerd-darwin-64@1.20260508.1': - resolution: {integrity: sha512-IT3r6VgiSwIesL4AJbxjgxvIxwWZqM7BKkhYAzOKHl4GF2M0TxeOahUIXd+CYXVZgHX8ceEg+MXbEehPelJyNg==, tarball: https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20260508.1.tgz} + resolution: {integrity: sha512-IT3r6VgiSwIesL4AJbxjgxvIxwWZqM7BKkhYAzOKHl4GF2M0TxeOahUIXd+CYXVZgHX8ceEg+MXbEehPelJyNg==} + engines: {node: '>=16'} + cpu: [x64] + os: [darwin] + + '@cloudflare/workerd-darwin-64@1.20260515.1': + resolution: {integrity: sha512-Wtw44el2pNbzixvTkWdfeBDTrQwQbJRz7/JUvPKV27I0pQWXbhNJPpM8cstq/pbrU5AGcA/HjFH6yPMRTIRKig==} engines: {node: '>=16'} cpu: [x64] os: [darwin] '@cloudflare/workerd-darwin-arm64@1.20260508.1': - resolution: {integrity: sha512-JTVsisOJPcNKw0qovPjqyBWYahfdhUh7/9NICiG5wxaEQ45PYKdoqNq0hOAAIqvqoxsKZBvTgcPTJREPqk7avA==, tarball: https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20260508.1.tgz} + resolution: {integrity: sha512-JTVsisOJPcNKw0qovPjqyBWYahfdhUh7/9NICiG5wxaEQ45PYKdoqNq0hOAAIqvqoxsKZBvTgcPTJREPqk7avA==} + engines: {node: '>=16'} + cpu: [arm64] + os: [darwin] + + '@cloudflare/workerd-darwin-arm64@1.20260515.1': + resolution: {integrity: sha512-X8EqkZej6FfmhF9AVAQ3FhyQRr9acS4RcDunMU2YiuxKHF1IU8zzH3vY30/POaG+rUu9vGDp/VgUl49VPenHJQ==} engines: {node: '>=16'} cpu: [arm64] os: [darwin] '@cloudflare/workerd-linux-64@1.20260508.1': - resolution: {integrity: sha512-zO38pCc27YlsZiPYcaZnosy0/t7abXrRU3VEO1oKfUvnaCpHgphDG+VsrmHL+kntda6hrtNwg2jLeMAqqIjnjw==, tarball: https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20260508.1.tgz} + resolution: {integrity: sha512-zO38pCc27YlsZiPYcaZnosy0/t7abXrRU3VEO1oKfUvnaCpHgphDG+VsrmHL+kntda6hrtNwg2jLeMAqqIjnjw==} + engines: {node: '>=16'} + cpu: [x64] + os: [linux] + + '@cloudflare/workerd-linux-64@1.20260515.1': + resolution: {integrity: sha512-CDC89QxQ7Y7t7RG1Jd9vj/qolE1sQRkI2OSEuV5BMJi0vW/gV4OVG6xjpdK3b1OYnSWDzF7NpvlR5Yg86q7k4g==} engines: {node: '>=16'} cpu: [x64] os: [linux] '@cloudflare/workerd-linux-arm64@1.20260508.1': - resolution: {integrity: sha512-XhJa780Ia6MNIrtxn/ruZHS79b9pu5EKPfRNReaUqxy8erPT2fs93axMfFoS9kIkcaRRj/1TOUKcTeAMoywY7w==, tarball: https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20260508.1.tgz} + resolution: {integrity: sha512-XhJa780Ia6MNIrtxn/ruZHS79b9pu5EKPfRNReaUqxy8erPT2fs93axMfFoS9kIkcaRRj/1TOUKcTeAMoywY7w==} + engines: {node: '>=16'} + cpu: [arm64] + os: [linux] + + '@cloudflare/workerd-linux-arm64@1.20260515.1': + resolution: {integrity: sha512-WxbW/PToYES4fvHXzsr/5qOiETQs/Z9iZ0mjSZAiEwq5cMLZemzGN0COx+uFb9OvQwzh6Pg159qPFnw3+i9FuA==} engines: {node: '>=16'} cpu: [arm64] os: [linux] '@cloudflare/workerd-windows-64@1.20260508.1': - resolution: {integrity: sha512-QdDOK3B/Ul1s3QmIwDrFyx9230to6LsNmWcVR8w+TYjNZuRPzqQBgusp78LO7MlqCoEl9dvIcN00jkJnLtBSfw==, tarball: https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20260508.1.tgz} + resolution: {integrity: sha512-QdDOK3B/Ul1s3QmIwDrFyx9230to6LsNmWcVR8w+TYjNZuRPzqQBgusp78LO7MlqCoEl9dvIcN00jkJnLtBSfw==} + engines: {node: '>=16'} + cpu: [x64] + os: [win32] + + '@cloudflare/workerd-windows-64@1.20260515.1': + resolution: {integrity: sha512-WmV/iv+MHjYsvkcMVzpM2B5/mf06UUkdpVhZrtMfV9graWjBGPYFvE/eab8748RPVGKh1Xe1vXofLzDSwc08lA==} engines: {node: '>=16'} cpu: [x64] os: [win32] @@ -4917,6 +4947,11 @@ packages: engines: {node: '>=22.0.0'} hasBin: true + miniflare@4.20260515.0: + resolution: {integrity: sha512-2j0oQWizk1Eu4Cm8tDX7Z+Nsjd0nebIj1TQcQ+Oy1QKeo0Ay9+bdn8wfLAtOj9znDCybDCUlnS1+nYvKXEdfNg==} + engines: {node: '>=22.0.0'} + hasBin: true + minimatch@10.2.5: resolution: {integrity: sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==} engines: {node: 18 || 20 || >=22} @@ -6655,6 +6690,11 @@ packages: engines: {node: '>=16'} hasBin: true + workerd@1.20260515.1: + resolution: {integrity: sha512-MjKOJLcvU45xXedQowvuiHtJTxu4WTHYQeIlF7YmjuqhiI6dImTFxWCEoRQHiskztxuVSNEmdO7/0UfDu6OMnQ==} + engines: {node: '>=16'} + hasBin: true + wrangler@4.90.1: resolution: {integrity: sha512-u2KrieKSMfRM0toTst/CfDtcRraeoVjmcExcMWgILM/ytq3qcDhuOAULoZSyPHzma43lfLJy1BC544drFyqe1A==} engines: {node: '>=22.0.0'} @@ -6665,6 +6705,16 @@ packages: '@cloudflare/workers-types': optional: true + wrangler@4.92.0: + resolution: {integrity: sha512-/DKpQHPxkuZbQsO9dFW2700VTD/4DSZMHjy92fO/frNoDRi/zQsFCAd2ONCV6TGqcUoXcP3D8Bo2gj/L4M0qQQ==} + engines: {node: '>=22.0.0'} + hasBin: true + peerDependencies: + '@cloudflare/workers-types': ^4.20260515.1 + peerDependenciesMeta: + '@cloudflare/workers-types': + optional: true + wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} @@ -7374,6 +7424,12 @@ snapshots: optionalDependencies: workerd: 1.20260508.1 + '@cloudflare/unenv-preset@2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260515.1)': + dependencies: + unenv: 2.0.0-rc.24 + optionalDependencies: + workerd: 1.20260515.1 + '@cloudflare/vitest-pool-workers@0.16.4(@cloudflare/workers-types@4.20260511.1)(@vitest/runner@4.1.6)(@vitest/snapshot@4.1.6)(vitest@4.1.6(@types/node@25.7.0)(happy-dom@20.9.0)(vite@7.3.3(@types/node@25.7.0)(jiti@2.7.0)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.8.4)))': dependencies: '@vitest/runner': 4.1.6 @@ -7392,18 +7448,33 @@ snapshots: '@cloudflare/workerd-darwin-64@1.20260508.1': optional: true + '@cloudflare/workerd-darwin-64@1.20260515.1': + optional: true + '@cloudflare/workerd-darwin-arm64@1.20260508.1': optional: true + '@cloudflare/workerd-darwin-arm64@1.20260515.1': + optional: true + '@cloudflare/workerd-linux-64@1.20260508.1': optional: true + '@cloudflare/workerd-linux-64@1.20260515.1': + optional: true + '@cloudflare/workerd-linux-arm64@1.20260508.1': optional: true + '@cloudflare/workerd-linux-arm64@1.20260515.1': + optional: true + '@cloudflare/workerd-windows-64@1.20260508.1': optional: true + '@cloudflare/workerd-windows-64@1.20260515.1': + optional: true + '@cloudflare/workers-types@4.20260511.1': {} '@cspotcode/source-map-support@0.8.1': @@ -12160,6 +12231,18 @@ snapshots: - bufferutil - utf-8-validate + miniflare@4.20260515.0: + dependencies: + '@cspotcode/source-map-support': 0.8.1 + sharp: 0.34.5 + undici: 7.24.8 + workerd: 1.20260515.1 + ws: 8.18.0 + youch: 4.1.0-beta.10 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + minimatch@10.2.5: dependencies: brace-expansion: 5.0.6 @@ -14075,6 +14158,14 @@ snapshots: '@cloudflare/workerd-linux-arm64': 1.20260508.1 '@cloudflare/workerd-windows-64': 1.20260508.1 + workerd@1.20260515.1: + optionalDependencies: + '@cloudflare/workerd-darwin-64': 1.20260515.1 + '@cloudflare/workerd-darwin-arm64': 1.20260515.1 + '@cloudflare/workerd-linux-64': 1.20260515.1 + '@cloudflare/workerd-linux-arm64': 1.20260515.1 + '@cloudflare/workerd-windows-64': 1.20260515.1 + wrangler@4.90.1(@cloudflare/workers-types@4.20260511.1): dependencies: '@cloudflare/kv-asset-handler': 0.5.0 @@ -14092,6 +14183,23 @@ snapshots: - bufferutil - utf-8-validate + wrangler@4.92.0(@cloudflare/workers-types@4.20260511.1): + dependencies: + '@cloudflare/kv-asset-handler': 0.5.0 + '@cloudflare/unenv-preset': 2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260515.1) + blake3-wasm: 2.1.5 + esbuild: 0.27.3 + miniflare: 4.20260515.0 + path-to-regexp: 6.3.0 + unenv: 2.0.0-rc.24 + workerd: 1.20260515.1 + optionalDependencies: + '@cloudflare/workers-types': 4.20260511.1 + fsevents: 2.3.3 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + wrap-ansi@7.0.0: dependencies: ansi-styles: 4.3.0 diff --git a/src/content/changelog/artifacts/2026-05-15-wrangler-support.mdx b/src/content/changelog/artifacts/2026-05-15-wrangler-support.mdx new file mode 100644 index 000000000000000..aad9b0278c5c6c3 --- /dev/null +++ b/src/content/changelog/artifacts/2026-05-15-wrangler-support.mdx @@ -0,0 +1,21 @@ +--- +title: Manage Artifacts namespaces and repos with Wrangler CLI +description: Manage Artifacts namespaces, repos, and repo-scoped tokens from the command line using Wrangler. +products: + - artifacts +date: 2026-05-15 +--- + +You can now manage [Artifacts](/artifacts/) namespaces, repos, and repo-scoped tokens directly from Wrangler CLI. + +Available commands: + +- `wrangler artifacts namespaces list` — List Artifacts namespaces in your account. +- `wrangler artifacts namespaces get` — Get metadata for a namespace. +- `wrangler artifacts repos create` — Create a repo in a namespace. +- `wrangler artifacts repos list` — List repos in a namespace. +- `wrangler artifacts repos get` — Get metadata for a repo. +- `wrangler artifacts repos delete` — Delete a repo. +- `wrangler artifacts repos issue-token` — Issue a repo-scoped token for Git access. + +To get started, refer to the [Wrangler Artifacts commands documentation](/workers/wrangler/commands/artifacts/). diff --git a/src/content/docs/artifacts/api/wrangler.mdx b/src/content/docs/artifacts/api/wrangler.mdx new file mode 100644 index 000000000000000..cff79bb6caa2a7d --- /dev/null +++ b/src/content/docs/artifacts/api/wrangler.mdx @@ -0,0 +1,15 @@ +--- +pcx_content_type: reference +title: Wrangler commands +sidebar: + order: 3 +description: Manage Artifacts namespaces, repositories, and repo tokens from the command line using Wrangler. +products: + - artifacts +--- + +import { WranglerNamespace } from "~/components"; + +Use `wrangler artifacts` commands to manage Artifacts namespaces, repositories, and repo-scoped tokens from the command line. + + diff --git a/src/content/docs/workers/wrangler/commands/artifacts.mdx b/src/content/docs/workers/wrangler/commands/artifacts.mdx new file mode 100644 index 000000000000000..9b443e2ce4bb105 --- /dev/null +++ b/src/content/docs/workers/wrangler/commands/artifacts.mdx @@ -0,0 +1,13 @@ +--- +pcx_content_type: reference +title: Artifacts +description: Manage Artifacts namespaces, repositories, and repo-scoped tokens using Wrangler. +products: + - workers +--- + +import { WranglerNamespace, InlineBadge } from "~/components"; + +Manage [Artifacts](/artifacts/) namespaces, repositories, and repo-scoped tokens using Wrangler. + +