Skip to content

Add deployment alias url to pages deploy#6643

Merged
WalshyDev merged 1 commit intomainfrom
walshy/pages-alias
Sep 13, 2024
Merged

Add deployment alias url to pages deploy#6643
WalshyDev merged 1 commit intomainfrom
walshy/pages-alias

Conversation

@WalshyDev
Copy link
Member

What this PR solves / how to test

Fixes #3717

This is inline with how we did Worker previews and makes it easy to grep for usage in workflows.

Examples:

# Production (no alias):
$ node ~/workspace/cloudflare/workers-sdk/packages/wrangler/bin/wrangler.js pages deploy . --project-name test --commit-dirty true
✨ Compiled Worker successfully
🌎  Uploading... (43/43)

✨ Success! Uploaded 1 files (42 already uploaded) (2.28 sec)

✨ Uploading _headers
✨ Uploading _redirects
✨ Uploading Functions bundle
✨ Uploading _routes.json
🌎 Deploying...
✨ Deployment complete! Take a peek over at https://d2b7dfb3.test-dcz.pages.dev

# Staging (has alias)
$ node ~/workspace/cloudflare/workers-sdk/packages/wrangler/bin/wrangler.js pages deploy . --project-name test --commit-dirty true --branch staging
✨ Compiled Worker successfully
🌍  Uploading... (43/43)

✨ Success! Uploaded 1 files (42 already uploaded) (2.08 sec)

✨ Uploading _headers
✨ Uploading _redirects
✨ Uploading Functions bundle
✨ Uploading _routes.json
🌎 Deploying...
✨ Deployment complete! Take a peek over at https://d4290ae3.test-dcz.pages.dev
✨ Deployment alias URL: https://staging.test-dcz.pages.dev

# Grep example
$ node ~/workspace/cloudflare/workers-sdk/packages/wrangler/bin/wrangler.js pages deploy . --project-name test --commit-dirty true --branch staging | grep 'Deployment alias URL' | awk '{pri
nt $5}'
https://staging.test-dcz.pages.dev

Author has addressed the following

  • Tests
    • TODO (before merge)
    • Included
    • Not necessary because:
  • E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)
    • I don't know
    • Required / Maybe required
    • Not required because: no e2e coverage
  • Changeset (Changeset guidelines)
    • TODO (before merge)
    • Included
    • Not necessary because:
  • Public documentation
    • TODO (before merge)
    • Cloudflare docs PR(s):
    • Not necessary because: just output change

@WalshyDev WalshyDev requested review from a team as code owners September 6, 2024 06:57
@changeset-bot
Copy link

changeset-bot bot commented Sep 6, 2024

🦋 Changeset detected

Latest commit: 671d63f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
wrangler Minor
@cloudflare/vitest-pool-workers Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2024

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10834177104/npm-package-wrangler-6643

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6643/npm-package-wrangler-6643

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10834177104/npm-package-wrangler-6643 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10834177104/npm-package-create-cloudflare-6643 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10834177104/npm-package-cloudflare-kv-asset-handler-6643
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10834177104/npm-package-miniflare-6643
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10834177104/npm-package-cloudflare-pages-shared-6643
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10834177104/npm-package-cloudflare-vitest-pool-workers-6643
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10834177104/npm-package-cloudflare-workers-editor-shared-6643
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10834177104/npm-package-cloudflare-workers-shared-6643

Note that these links will no longer work once the GitHub Actions artifact expires.


wrangler@3.76.0 includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20240821.2
workerd 1.20240909.0 1.20240909.0
workerd --version 1.20240909.0 2024-09-09

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

@Ambroos
Copy link

Ambroos commented Sep 30, 2024

@WalshyDev or @CarmenPopoviciu - any chance either of you could take a look at the matching PR in wrangler-action, or poke someone internally who can? cloudflare/wrangler-action#291

Thanks!

@WalshyDev
Copy link
Member Author

Yeah I already poked internally - I'll re-ping tomorrow

renovate bot added a commit to recyclarr/wiki that referenced this pull request Nov 5, 2025
…1 ) (#151)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[cloudflare/wrangler-action](https://redirect.github.com/cloudflare/wrangler-action)
| action | minor | `v3` -> `v3.14.1` |

---

### Release Notes

<details>
<summary>cloudflare/wrangler-action
(cloudflare/wrangler-action)</summary>

###
[`v3.14.1`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.14.1)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.14.0...v3.14.1)

##### Patch Changes

-
[#&#8203;358](https://redirect.github.com/cloudflare/wrangler-action/pull/358)
[`cd6314a`](https://redirect.github.com/cloudflare/wrangler-action/commit/cd6314a97b09d9a764e30cacd0870edc86f92986)
Thanks [@&#8203;penalosa](https://redirect.github.com/penalosa)! - Use
`secret bulk` instead of deprecated `secret:bulk` command

###
[`v3.14.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.14.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.13.1...v3.14.0)

##### Minor Changes

-
[#&#8203;351](https://redirect.github.com/cloudflare/wrangler-action/pull/351)
[`4ff07f4`](https://redirect.github.com/cloudflare/wrangler-action/commit/4ff07f4310dc5067d84a254cd9af3d2e91df119e)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
Use wrangler outputs for version upload and wrangler deploy

##### Patch Changes

-
[#&#8203;350](https://redirect.github.com/cloudflare/wrangler-action/pull/350)
[`e209094`](https://redirect.github.com/cloudflare/wrangler-action/commit/e209094e624c6f6b418141b7e9d0ab7838d794a3)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
Handle failures in createGitHubDeployment and createGitHubJobSummary

###
[`v3.13.1`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.13.1)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.13.0...v3.13.1)

##### Patch Changes

-
[#&#8203;345](https://redirect.github.com/cloudflare/wrangler-action/pull/345)
[`e819570`](https://redirect.github.com/cloudflare/wrangler-action/commit/e819570b2d0a69816a1c2e9d2f2954e278748d80)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
fix: Pages GitHub Deployment not triggering

###
[`v3.13.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.13.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.12.1...v3.13.0)

##### Minor Changes

-
[#&#8203;325](https://redirect.github.com/cloudflare/wrangler-action/pull/325)
[`cada7a6`](https://redirect.github.com/cloudflare/wrangler-action/commit/cada7a63124ded3471bef7e8001b76356b838e40)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
Add GitHub deployments and job summaries for parity with pages-action

-
[#&#8203;334](https://redirect.github.com/cloudflare/wrangler-action/pull/334)
[`9fed19a`](https://redirect.github.com/cloudflare/wrangler-action/commit/9fed19aa4ed79946f009e8aad7437a922e62d523)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
Bump default wrangler version to 3.90.0

###
[`v3.12.1`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.12.1)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.12.0...v3.12.1)

##### Patch Changes

-
[#&#8203;319](https://redirect.github.com/cloudflare/wrangler-action/pull/319)
[`59c04629408d58978884fadd18755f1a15f96157`](https://redirect.github.com/cloudflare/wrangler-action/commit/59c04629408d58978884fadd18755f1a15f96157)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
Fixes
[#&#8203;317](https://redirect.github.com/cloudflare/wrangler-action/issues/317):
Generate a new output directory with a randomUUID in the tmpDir, so that
when the action is executed multiple times, we use the artifacts from
that run, opposed to the artifacts from a previous run.

###
[`v3.12.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.12.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.11.0...v3.12.0)

##### Minor Changes

-
[#&#8203;312](https://redirect.github.com/cloudflare/wrangler-action/pull/312)
[`122ee5cf5b66847e0b6cfa67ecd9e03e38a67a42`](https://redirect.github.com/cloudflare/wrangler-action/commit/122ee5cf5b66847e0b6cfa67ecd9e03e38a67a42)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
This reapplies
[303](https://redirect.github.com/cloudflare/wrangler-action/pull/303)
add parity with pages-action for pages deploy outputs. Thanks
[@&#8203;courtney-sims](https://redirect.github.com/courtney-sims)! -
Support pages-deployment-id, pages-environment,
pages-deployment-alias-url and deployment-url outputs for Pages deploys
when wrangler version is >=3.81.0. deployment-alias-url was also
deprecated in favour of pages-deployment-alias.

###
[`v3.11.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.11.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.10.0...v3.11.0)

##### Minor Changes

-
[#&#8203;309](https://redirect.github.com/cloudflare/wrangler-action/pull/309)
[`10d5b9c1c1826adaec0a9ee49fdf5b91113508ef`](https://redirect.github.com/cloudflare/wrangler-action/commit/10d5b9c1c1826adaec0a9ee49fdf5b91113508ef)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
Revert "Add parity with pages-action for pages deploy outputs"

###
[`v3.10.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.10.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.9.0...v3.10.0)

##### Minor Changes

-
[#&#8203;303](https://redirect.github.com/cloudflare/wrangler-action/pull/303)
[`3ec7f8943ef83351f743cfaa8763a9056ef70993`](https://redirect.github.com/cloudflare/wrangler-action/commit/3ec7f8943ef83351f743cfaa8763a9056ef70993)
Thanks
[@&#8203;courtney-sims](https://redirect.github.com/courtney-sims)! -
Support id, environment, url, and alias outputs for Pages deploys.

###
[`v3.9.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.9.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.8.0...v3.9.0)

##### Minor Changes

-
[#&#8203;298](https://redirect.github.com/cloudflare/wrangler-action/pull/298)
[`134b5c2a3252d66b8c4d1cddd0b9baaeed6a4daa`](https://redirect.github.com/cloudflare/wrangler-action/commit/134b5c2a3252d66b8c4d1cddd0b9baaeed6a4daa)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
Update wrangler version from 3.13.2 to 3.78.10

##### Patch Changes

-
[#&#8203;278](https://redirect.github.com/cloudflare/wrangler-action/pull/278)
[`47d51f25c113ee9205110728599b43ed6a1e273b`](https://redirect.github.com/cloudflare/wrangler-action/commit/47d51f25c113ee9205110728599b43ed6a1e273b)
Thanks [@&#8203;acusti](https://redirect.github.com/acusti)! - fix:
Detect existing wrangler install even when wrangler version output is
multiline

###
[`v3.8.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.8.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.7.0...v3.8.0)

##### Minor Changes

-
[#&#8203;291](https://redirect.github.com/cloudflare/wrangler-action/pull/291)
[`a1467a0c8f2a058f8d43a4d0c40a55176ed5efe6`](https://redirect.github.com/cloudflare/wrangler-action/commit/a1467a0c8f2a058f8d43a4d0c40a55176ed5efe6)
Thanks [@&#8203;Ambroos](https://redirect.github.com/Ambroos)! - Adds
`deployment-alias-url` output for Pages deployment aliases (since
Wrangler v3.78.0):
[cloudflare/workers-sdk#6643](https://redirect.github.com/cloudflare/workers-sdk/pull/6643)

###
[`v3.7.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.7.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.6.1...v3.7.0)

##### Minor Changes

-
[#&#8203;271](https://redirect.github.com/cloudflare/wrangler-action/pull/271)
[`66efca2cbb82a5a49df6af2e14c4b58d53b0e266`](https://redirect.github.com/cloudflare/wrangler-action/commit/66efca2cbb82a5a49df6af2e14c4b58d53b0e266)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
This unreverts
[#&#8203;235](https://redirect.github.com/cloudflare/wrangler-action/issues/235)
ensuring wrangler-action will re-use existing wrangler installations,
thanks [@&#8203;AdiRishi](https://redirect.github.com/AdiRishi)! and
ensures we don't automatically install wrangler when checking if it
present

###
[`v3.6.1`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.6.1)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.6.0...v3.6.1)

##### Patch Changes

-
[#&#8203;265](https://redirect.github.com/cloudflare/wrangler-action/pull/265)
[`2d275a8f2d279dc91912c1ff8023af109ef3280c`](https://redirect.github.com/cloudflare/wrangler-action/commit/2d275a8f2d279dc91912c1ff8023af109ef3280c)
Thanks [@&#8203;Maximo-Guk](https://redirect.github.com/Maximo-Guk)! -
Reverts
[#&#8203;235](https://redirect.github.com/cloudflare/wrangler-action/issues/235)
which may have caused the latest version of wrangler to be installed, if
no wrangler version was found

###
[`v3.6.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.6.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.5.0...v3.6.0)

##### Minor Changes

-
[#&#8203;235](https://redirect.github.com/cloudflare/wrangler-action/pull/235)
[`0545ad285acaff2b92053d636ee17fb303b4c5f5`](https://redirect.github.com/cloudflare/wrangler-action/commit/0545ad285acaff2b92053d636ee17fb303b4c5f5)
Thanks [@&#8203;AdiRishi](https://redirect.github.com/AdiRishi)! -
wrangler-action will now re-use existing wrangler installations when
available

###
[`v3.5.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.5.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.4.1...v3.5.0)

##### Minor Changes

-
[#&#8203;255](https://redirect.github.com/cloudflare/wrangler-action/pull/255)
[`31a6263ef3ec73ff2d03cb4c0260379f96f7598c`](https://redirect.github.com/cloudflare/wrangler-action/commit/31a6263ef3ec73ff2d03cb4c0260379f96f7598c)
Thanks
[@&#8203;matthewdavidrodgers](https://redirect.github.com/matthewdavidrodgers)!
- Stop racing secret uploads

For up to date versions of wrangler, secrets are uploaded via the
'secret:bulk' command, which batches updates in a single API call.

For versions of wrangler without that capability, the action falls back
to the single 'secret put' command for each secret. It races all these
with a Promise.all()

Unfortunately, the single secret API cannot handle concurrency - at
best, these calls have to wait on one another, holding requests open all
the while. Often it times out and errors.

This fixes the legacy secret upload errors by making these calls
serially instead of concurrently.

###
[`v3.4.1`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.4.1)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.4.0...v3.4.1)

##### Patch Changes

-
[#&#8203;227](https://redirect.github.com/cloudflare/wrangler-action/pull/227)
[`bbedd8e54f256d36f81f81f1f05b90937d533bb7`](https://redirect.github.com/cloudflare/wrangler-action/commit/bbedd8e54f256d36f81f81f1f05b90937d533bb7)
Thanks [@&#8203;AdiRishi](https://redirect.github.com/AdiRishi)! -
Surface inner exception when secret:bulk upload command fails

###
[`v3.4.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.4.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.3.2...v3.4.0)

##### Minor Changes

-
[#&#8203;213](https://redirect.github.com/cloudflare/wrangler-action/pull/213)
[`d13856dfc92816473ebf47f66e263a2668a97896`](https://redirect.github.com/cloudflare/wrangler-action/commit/d13856dfc92816473ebf47f66e263a2668a97896)
Thanks [@&#8203;GrantBirki](https://redirect.github.com/GrantBirki)! -
This change introduces three new GitHub Actions output variables. These
variables are as follows:

  - `command-output` - contains the string results of `stdout`
  - `command-stderr` - contains the string results of `stderr`
- `deployment-url` - contains the string results of the URL that was
deployed (ex: `https://<your_pages_site>.pages.dev`)

These output variables are intended to be used by more advanced
workflows that require the output results or deployment url from
Wrangler commands in subsequent workflow steps.

##### Patch Changes

-
[#&#8203;216](https://redirect.github.com/cloudflare/wrangler-action/pull/216)
[`9aba9c34daabca23a88191a5fe1b81fa721c1f11`](https://redirect.github.com/cloudflare/wrangler-action/commit/9aba9c34daabca23a88191a5fe1b81fa721c1f11)
Thanks [@&#8203;Cherry](https://redirect.github.com/Cherry)! - Fixes
issues with semver comparison, where version parts were treated
lexicographically instead of numerically.

Bulk secret uploading was introduced in wrangler `3.4.0`, and this
action tries to check if the version used is greater than `3.4.0`, and
then if so, using the new bulk secret API which is faster. Due to a bug
in the semver comparison, `3.19.0` was being considered less than
`3.4.0`, and then using an older and slower method for uploading
secrets.

Now the semver comparison is fixed, the faster bulk method is used for
uploading secrets when available.

###
[`v3.3.2`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.3.2)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.3.1...v3.3.2)

##### Patch Changes

-
[#&#8203;171](https://redirect.github.com/cloudflare/wrangler-action/pull/171)
[`76d614f`](https://redirect.github.com/cloudflare/wrangler-action/commit/76d614f400bd92237ed23c3df559f2c31b14a790)
Thanks [@&#8203;1000hz](https://redirect.github.com/1000hz)! - Fixed
issues that caused the action to fail if any secret or var values
contained shell metacharacters.

-
[#&#8203;171](https://redirect.github.com/cloudflare/wrangler-action/pull/171)
[`473d9cb`](https://redirect.github.com/cloudflare/wrangler-action/commit/473d9cbd296528b41c653af10062faba6540a7ab)
Thanks [@&#8203;1000hz](https://redirect.github.com/1000hz)! - Bumped
`DEFAULT_WRANGLER_VERSION` to 3.13.2

###
[`v3.3.1`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.3.1)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.3.0...v3.3.1)

##### Patch Changes

-
[#&#8203;193](https://redirect.github.com/cloudflare/wrangler-action/pull/193)
[`a4509d5`](https://redirect.github.com/cloudflare/wrangler-action/commit/a4509d507c62dd7f49fba7df7d2db3997222393a)
Thanks [@&#8203;1000hz](https://redirect.github.com/1000hz)! - Fixed the
package manager not being inferred based on lockfile when the
`packageManager` input isn't set.

###
[`v3.3.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.3.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.2.1...v3.3.0)

##### Minor Changes

-
[#&#8203;188](https://redirect.github.com/cloudflare/wrangler-action/pull/188)
[`d9a0a00`](https://redirect.github.com/cloudflare/wrangler-action/commit/d9a0a00f8bc502ceea2a60e5af258416b35a85b9)
Thanks
[@&#8203;simpleauthority](https://redirect.github.com/simpleauthority)!
- Added support for Bun as a package manager

###
[`v3.2.1`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.2.1)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.2.0...v3.2.1)

##### Patch Changes

-
[#&#8203;190](https://redirect.github.com/cloudflare/wrangler-action/pull/190)
[`528687a`](https://redirect.github.com/cloudflare/wrangler-action/commit/528687aaf436f67565918533ffd15c250f39c47b)
Thanks [@&#8203;1000hz](https://redirect.github.com/1000hz)! - Fixed
action failure when no `packageManager` specified and no lockfile is
found. The action now falls back to using npm.

###
[`v3.2.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.2.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.1.1...v3.2.0)

##### Minor Changes

-
[#&#8203;166](https://redirect.github.com/cloudflare/wrangler-action/pull/166)
[`7d7b988`](https://redirect.github.com/cloudflare/wrangler-action/commit/7d7b98826e14e9ad422870a7263b7074b40bf16f)
Thanks [@&#8203;nix6839](https://redirect.github.com/nix6839)! - Support
for package managers other than npm, such as pnpm and yarn.

fixes
[#&#8203;156](https://redirect.github.com/cloudflare/wrangler-action/issues/156)

###
[`v3.1.1`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.1.1)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.1.0...v3.1.1)

##### Patch Changes

-
[#&#8203;161](https://redirect.github.com/cloudflare/wrangler-action/pull/161)
[`e5251df`](https://redirect.github.com/cloudflare/wrangler-action/commit/e5251df52154e9ebc98edb02ee0598c7210dcf0f)
Thanks [@&#8203;1000hz](https://redirect.github.com/1000hz)! -
Refactored error handling to stop execution when action fails.
Previously, the action would continue executing to completion if one of
the steps encountered an error. Fixes
[#&#8203;160](https://redirect.github.com/cloudflare/wrangler-action/issues/160).

###
[`v3.1.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.1.0)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.0.2...v3.1.0)

##### Minor Changes

-
[#&#8203;154](https://redirect.github.com/cloudflare/wrangler-action/pull/154)
[`3f40637`](https://redirect.github.com/cloudflare/wrangler-action/commit/3f40637a1c48016d2101e412a7a06f1eb4b9c2fd)
Thanks [@&#8203;JacobMGEvans](https://redirect.github.com/JacobMGEvans)!
- feat: Quiet mode
Some of the stderr, stdout, info & groupings can be a little noisy for
some users and use cases.
This feature allows for a option to be passed 'quiet: true' this would
significantly reduce the noise.

There will still be output that lets the user know Wrangler Installed
and Wrangler Action completed successfully.
Any failure status will still be output to the user as well, to prevent
silent failures.

resolves
[#&#8203;142](https://redirect.github.com/cloudflare/wrangler-action/issues/142)
-
[#&#8203;157](https://redirect.github.com/cloudflare/wrangler-action/pull/157)
[`4132892`](https://redirect.github.com/cloudflare/wrangler-action/commit/4132892387b6930d5bdec6947e6f21a970fd4284)
Thanks [@&#8203;EstebanBorai](https://redirect.github.com/EstebanBorai)!
- use `wrangler@3.5.1` by default

###
[`v3.0.2`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.0.2)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/3.0.1...v3.0.2)

##### Patch Changes

-
[#&#8203;147](https://redirect.github.com/cloudflare/wrangler-action/pull/147)
[`58f274b`](https://redirect.github.com/cloudflare/wrangler-action/commit/58f274b9f70867447519c6fa983c813e2b167b85)
Thanks [@&#8203;JacobMGEvans](https://redirect.github.com/JacobMGEvans)!
- Added more error logging when a command fails to execute
Previously, we prevented any error logs from propagating too far to
prevent leaking of any potentially sensitive information. However, this
made it difficult for developers to debug their code.

In this release, we have updated our error handling to allow for more
error messaging from pre/post and custom commands. We still discourage
the use of these commands for secrets or other sensitive information,
but we believe this change will make it easier for developers to debug
their code.

Relates to
[#&#8203;137](https://redirect.github.com/cloudflare/wrangler-action/issues/137)

-
[#&#8203;147](https://redirect.github.com/cloudflare/wrangler-action/pull/147)
[`58f274b`](https://redirect.github.com/cloudflare/wrangler-action/commit/58f274b9f70867447519c6fa983c813e2b167b85)
Thanks [@&#8203;JacobMGEvans](https://redirect.github.com/JacobMGEvans)!
- Adding Changesets

- [Version 3.0.0](#version-300)

- [Version 2.0.0](#version-200)

###
[`v3.0.1`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/3.0.1)

[Compare
Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3...3.0.1)

Automating Build & Release

#### What's Changed

- Artifacts are now ESM supported with `.mjs`
- Update publish to deploy by
[@&#8203;lrapoport-cf](https://redirect.github.com/lrapoport-cf) in
[#&#8203;124](https://redirect.github.com/cloudflare/wrangler-action/pull/124)
- Automatically add issues to workers-sdk GH project by
[@&#8203;lrapoport-cf](https://redirect.github.com/lrapoport-cf) in
[#&#8203;127](https://redirect.github.com/cloudflare/wrangler-action/pull/127)
- Automate Action Release by
[@&#8203;JacobMGEvans](https://redirect.github.com/JacobMGEvans) in
[#&#8203;128](https://redirect.github.com/cloudflare/wrangler-action/pull/128)

#### New Contributors

- [@&#8203;lrapoport-cf](https://redirect.github.com/lrapoport-cf) made
their first contribution in
[#&#8203;124](https://redirect.github.com/cloudflare/wrangler-action/pull/124)

**Full Changelog**:
<cloudflare/wrangler-action@3.0.0...3.0.1>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/recyclarr/wiki).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

🚀 Feature Request: Get alias after wrangler pages deploy

4 participants