Skip to content

Releases: cloudflare/wrangler-action

v3.5.0

01 May 09:03
a84dcc6
Compare
Choose a tag to compare

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

09 Jan 17:33
7c01cc4
Compare
Choose a tag to compare

Patch Changes

v3.4.0

19 Dec 17:53
a8be0ea
Compare
Choose a tag to compare

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

24 Oct 18:45
5e84849
Compare
Choose a tag to compare

Patch Changes

  • #171 76d614f Thanks @1000hz! - Fixed issues that caused the action to fail if any secret or var values contained shell metacharacters.

  • #171 473d9cb Thanks @1000hz! - Bumped DEFAULT_WRANGLER_VERSION to 3.13.2

v3.3.1

11 Oct 16:33
4b3eae8
Compare
Choose a tag to compare

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

10 Oct 20:24
b20d6d6
Compare
Choose a tag to compare

Minor Changes

v3.2.1

10 Oct 14:28
3870f7e
Compare
Choose a tag to compare

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

02 Oct 15:24
5a6b8d2
Compare
Choose a tag to compare

Minor Changes

v3.1.1

31 Aug 16:02
09fc6b5
Compare
Choose a tag to compare

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

17 Aug 16:07
c25aadc
Compare
Choose a tag to compare

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 wrangler@3.5.1 by default