Cloudflare Docs
Workers
View RSS feed
Edit this page on GitHub
Set theme to dark (⇧+D)

Wrangler Changelog

​​ 2023-11-22

​​ 3.17.1

​​ 2023-11-21

​​ 3.17.0

​​ 2023-11-17

​​ 3.16.0

  • #4179 dd270d00 Thanks @matthewdavidrodgers! - Simplify secret:bulk api via script settings

    Firing PUTs to the secret api in parallel has never been a great solution - each request independently needs to lock the script, so running in parallel is at best just as bad as running serially.

    Luckily, we have the script settings PATCH api now, which can update the settings for a script (including secret bindings) at once, which means we don’t need any parallelization. However this api doesn’t work with a partial list of bindings, so we have to fetch the current bindings and merge in with the new secrets before PATCHing. We can however just omit the value of the binding (i.e. only provide the name and type) which instructs the config service to inherit the existing value, which simplifies this as well. Note that we don’t use the bindings in your current wrangler.toml, as you could be in a draft state, and it makes sense as a user that a bulk secrets update won’t update anything else. Instead, we use script settings api again to fetch the current state of your bindings.

    This simplified implementation means the operation can only fail or succeed, rather than succeeding in updating some secrets but failing for others. In order to not introduce breaking changes for logging output, the language around “${x} secrets were updated” or “${x} secrets failed” is kept, even if it doesn’t make much sense anymore.

​​ 2023-10-26

​​ 3.15.0

​​ 2023-10-19

​​ 3.14.0

​​ 2023-10-17

​​ 3.13.2

​​ 2023-10-12

​​ 3.13.1

​​ 3.13.0

​​ 2023-10-11

​​ 3.12.0

​​ 2023-10-05

​​ 3.11.0

​​ 2023-09-28

​​ 3.10.1

​​ 2023-09-26

​​ 3.10.0

​​ 2023-09-25

​​ 3.9.1

​​ 2023-09-20

​​ 3.9.0

Note this release changes the layout of persisted data in the .wrangler folder. KV namespaces, R2 buckets and D1 databases will automatically be migrated to the new layout. See the corresponding miniflare@3.20230918.0 release notes for more information.