diff --git a/.changeset/funny-boats-care.md b/.changeset/funny-boats-care.md deleted file mode 100644 index 9500ede..0000000 --- a/.changeset/funny-boats-care.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"wrangler-action": minor ---- - -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. diff --git a/CHANGELOG.md b/CHANGELOG.md index fa4e90d..f4e641e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 3.5.0 + +### Minor Changes + +- [#255](https://github.com/cloudflare/wrangler-action/pull/255) [`31a6263ef3ec73ff2d03cb4c0260379f96f7598c`](https://github.com/cloudflare/wrangler-action/commit/31a6263ef3ec73ff2d03cb4c0260379f96f7598c) Thanks [@matthewdavidrodgers](https://github.com/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. + ## 3.4.1 ### Patch Changes diff --git a/package.json b/package.json index ac8513f..77465b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wrangler-action", - "version": "3.4.1", + "version": "3.5.0", "description": "GitHub Action to use [Wrangler](https://developers.cloudflare.com/workers/cli-wrangler/).", "author": "wrangler@cloudflare.com", "license": "MIT OR Apache-2.0",