chore: add changeset

This commit is contained in:
James Ross 2023-12-09 18:40:20 +00:00
parent fe8fdd7fbd
commit efb84b073b
No known key found for this signature in database
GPG key ID: 49E8B07166BE49AB

View file

@ -0,0 +1,9 @@
---
"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.