diff --git a/.changeset/plenty-seals-cover.md b/.changeset/plenty-seals-cover.md deleted file mode 100644 index a2c8d1b..0000000 --- a/.changeset/plenty-seals-cover.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"wrangler-action": minor ---- - -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://.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. diff --git a/.changeset/weak-lobsters-march.md b/.changeset/weak-lobsters-march.md deleted file mode 100644 index 94476f5..0000000 --- a/.changeset/weak-lobsters-march.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler-action": patch ---- - -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. diff --git a/CHANGELOG.md b/CHANGELOG.md index ef3573f..84f0088 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 3.4.0 + +### Minor Changes + +- [#213](https://github.com/cloudflare/wrangler-action/pull/213) [`d13856dfc92816473ebf47f66e263a2668a97896`](https://github.com/cloudflare/wrangler-action/commit/d13856dfc92816473ebf47f66e263a2668a97896) Thanks [@GrantBirki](https://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://.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](https://github.com/cloudflare/wrangler-action/pull/216) [`9aba9c34daabca23a88191a5fe1b81fa721c1f11`](https://github.com/cloudflare/wrangler-action/commit/9aba9c34daabca23a88191a5fe1b81fa721c1f11) Thanks [@Cherry](https://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. + ## 3.3.2 ### Patch Changes diff --git a/package.json b/package.json index 70f2d4d..01fbd93 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wrangler-action", - "version": "3.3.2", + "version": "3.4.0", "description": "GitHub Action to use [Wrangler](https://developers.cloudflare.com/workers/cli-wrangler/).", "author": "wrangler@cloudflare.com", "license": "MIT OR Apache-2.0",