Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cloudflare/wrangler-action action to v3 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 1, 2023

This PR contains the following updates:

Package Type Update Change
cloudflare/wrangler-action action major 2.0.0 -> v3.12.1

Release Notes

cloudflare/wrangler-action (cloudflare/wrangler-action)

v3.12.1

Compare Source

Patch Changes

v3.12.0

Compare Source

Minor Changes
  • #​312 122ee5cf5b66847e0b6cfa67ecd9e03e38a67a42 Thanks @​Maximo-Guk! - This reapplies 303 add parity with pages-action for pages deploy outputs. Thanks @​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

Compare Source

Minor Changes

v3.10.0

Compare Source

Minor Changes

v3.9.0

Compare Source

Minor Changes
Patch Changes

v3.8.0

Compare Source

Minor Changes

v3.7.0

Compare Source

Minor Changes

v3.6.1

Compare Source

Patch Changes

v3.6.0

Compare Source

Minor Changes

v3.5.0

Compare Source

Minor Changes
  • #​255 31a6263ef3ec73ff2d03cb4c0260379f96f7598c Thanks @​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

Compare Source

Patch Changes

v3.4.0

Compare Source

Minor Changes
  • #​213 d13856dfc92816473ebf47f66e263a2668a97896 Thanks @​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
  • #​216 9aba9c34daabca23a88191a5fe1b81fa721c1f11 Thanks @​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

Compare Source

Patch Changes

v3.3.1

Compare Source

Patch Changes
  • #​193 a4509d5 Thanks @​1000hz! - Fixed the package manager not being inferred based on lockfile when the packageManager input isn't set.

v3.3.0

Compare Source

Minor Changes

v3.2.1

Compare Source

Patch Changes
  • #​190 528687a Thanks @​1000hz! - Fixed action failure when no packageManager specified and no lockfile is found. The action now falls back to using npm.

v3.2.0

Compare Source

Minor Changes

v3.1.1

Compare Source

Patch Changes
  • #​161 e5251df Thanks @​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 #​160.

v3.1.0

Compare Source

Minor Changes
  • #​154 3f40637 Thanks @​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 #​142

  • #​157 4132892 Thanks @​EstebanBorai! - use [email protected] by default

v3.0.2

Compare Source

Patch Changes
  • #​147 58f274b Thanks @​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 #​137

  • #​147 58f274b Thanks @​JacobMGEvans! - Adding Changesets

  • Version 3.0.0

  • Version 2.0.0

v3.0.1

Compare Source

Automating Build & Release

What's Changed

New Contributors

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

v3.0.0

Compare Source

Additions
  • Rewritten Wrangler Action in TypeScript.
  • Bulk secrets API utilization from Wrangler.
  • Added testing for improved reliability.
  • Implemented multiline support for the command input to allow running multiple Wrangler commands.
  • Now using Node for the Action engine/runner.
  • Open discussions with the community on all changes through GitHub Discussions and monitored Issues.
Removals
  • Removed Docker as a dependency.
  • Dropped support for Wrangler v1.
Changes
  • Fixed CI/CD issues.
Breaking changes
  • Wrangler v1 is no longer supported.
    • Please update to the latest version of Wrangler.
  • Updated default version of Wrangler to v3.4.0
Additional Notes


Configuration

📅 Schedule: Branch creation - "on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Sep 1, 2023
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 2 times, most recently from 8662668 to 8d654d4 Compare September 1, 2023 08:16
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 8d654d4 to b2336ac Compare October 3, 2023 05:48
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 2 times, most recently from c957fd9 to a4ea5cd Compare October 12, 2023 05:04
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from a4ea5cd to e16ec18 Compare October 25, 2023 02:19
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from e16ec18 to 362e85d Compare December 20, 2023 02:07
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 362e85d to 28b3f38 Compare January 9, 2024 23:26
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 28b3f38 to 3acfb85 Compare May 2, 2024 17:22
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 2 times, most recently from 0c62cfc to 8279532 Compare May 25, 2024 05:59
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 8279532 to 9dd8550 Compare July 2, 2024 23:55
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 2 times, most recently from 7b64750 to 08d1e53 Compare October 9, 2024 05:13
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 2 times, most recently from fa7d1bc to 930a505 Compare October 25, 2024 02:57
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 930a505 to e16dba2 Compare November 5, 2024 08:54
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from e16dba2 to 48b737d Compare November 7, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants