wrangler-action/CHANGELOG.md
github-actions[bot] 7451182d38 Version Packages
2024-01-05 18:08:21 +00:00

7.8 KiB

Changelog

3.4.1

Patch Changes

3.4.0

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.

3.3.2

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

3.3.1

Patch Changes

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

3.3.0

Minor Changes

3.2.1

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.

3.2.0

Minor Changes

  • #166 7d7b988 Thanks @nix6839! - Support for package managers other than npm, such as pnpm and yarn.

    fixes #156

3.1.1

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.

3.1.0

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

3.0.2

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

Version 3.0.0 (Breaking update)

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


Version 2.0.0 (Breaking update)

Additions

  • New command input
    • This allows you to specify the Wrangler command you would like to run. For example, if you want to publish the production version of your Worker you may run publish --env=production.
    • This opens up other possibilities too like publishing a Pages project: pages publish <directory> --project-name=<name>.
  • New accountId input
    • This allows you to specify your account ID.

Removals

Changes

-- no changes --

Breaking changes

  • publish has been removed.
    • You should instead do `command: