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 #168

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 1, 2023

This PR contains the following updates:

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

Release Notes

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

v3.13.0

Compare Source

Minor Changes

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 - At any time (no schedule defined), 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.

@guardrails
Copy link

guardrails bot commented Aug 1, 2023

⚠️ We detected 1 security issue in this pull request:

Hard-Coded Secrets (1)
Severity Details Docs
Medium Title: Cloudflare Email
📚

More info on how to fix Hard-Coded Secrets in General.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 2 times, most recently from a84bffa to 590b64a Compare August 11, 2023 00:37
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 590b64a to c52144a Compare August 17, 2023 16:31
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 3 times, most recently from 7d2e968 to e70ce4f Compare August 31, 2023 16:31
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from e70ce4f to d04262c Compare October 2, 2023 16:34
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 3 times, most recently from f3f4a53 to 7849c5e Compare October 11, 2023 19:28
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 7849c5e to 07cd3e8 Compare October 24, 2023 22:21
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 07cd3e8 to 70b9ae8 Compare December 19, 2023 18:47
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 70b9ae8 to 7e77c95 Compare January 9, 2024 19:35
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 7e77c95 to 566568c Compare May 1, 2024 10:58
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 2 times, most recently from 68a1286 to 8a8c619 Compare May 24, 2024 17:22
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 8a8c619 to e08e7a7 Compare July 2, 2024 14:03
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 2 times, most recently from 07a5d97 to 76510b5 Compare October 8, 2024 19:55
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 2 times, most recently from bf8ab45 to e8ab101 Compare October 24, 2024 15:11
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch 2 times, most recently from bcdbf43 to 21ecbf3 Compare November 6, 2024 15:38
@renovate renovate bot force-pushed the renovate/cloudflare-wrangler-action-3.x branch from 21ecbf3 to a61698c Compare November 26, 2024 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants