Releases: cloudflare/workers-sdk
@cloudflare/[email protected]
Patch Changes
-
#7864
de6fa18
Thanks @dario-piotrowicz! - Add full support for.dev.vars
files.This change makes sure that
.dev.vars
files work when the environment is specified. It also
copies the target.dev.vars
file (which might be environment specific, e.g..dev.vars.prod
)
to the worker's dist directory so thatvite preview
can pick it up.
The copied file will always be named.dev.vars
. -
Updated dependencies [
d758215
,34f9797
,f57bc4e
,cf4f47a
,38db4ed
,de6fa18
,bc4d6c8
]:
@cloudflare/[email protected]
Patch Changes
-
#7939
17ce7f5
Thanks @anonrig! - RemoveclearImmediate()
andsetImmediate()
injectsThese globals are now available in workerd (as of v1.20240815 - cloudflare/workerd@f07cd8e).
@cloudflare/[email protected]
Patch Changes
- Updated dependencies [
cf4f47a
]:
[email protected]
Minor Changes
-
#7856
2b6f149
Thanks @emily-shen! - feat: add sanitised error messages to Wrangler telemetryError messages that have been audited for potential inclusion of personal information, and explicitly opted-in, are now included in Wrangler's telemetry collection. Collected error messages will not include any filepaths, user input or any other potentially private content.
-
#7900
bd9228e
Thanks @vicb! - chore(wrangler): update unenv dependency version[email protected]
allows using the workerd implementation for
the Node modulesnet
,timers
, andtimers/promises
.
Seeunjs/unenv#396
.
Patch Changes
-
#7904
50b13f6
Thanks @WalshyDev! - fix: validation for R2 bucket names, the regex was wrongly rejecting buckets starting with a number and the message wasn't as clear as it could be on what was going wrong. -
#7895
134d61d
Thanks @jahands! - Fix regression in retryOnAPIFailure preventing any requests from being retriedAlso fixes a regression in pipelines that prevented 401 errors from being retried when waiting for an API token to become active.
-
#7879
5c02e46
Thanks @andyjessop! - Fix to not require local connection string when using Hyperdrive and wrangler dev --remote -
#7860
13ab591
Thanks @vicb! - refactor(wrangler): make JSON parsing independent of NodeSwitch
jsonc-parser
to parse json:JSON.parse()
exception messages are not stable across Node versions- While
jsonc-parser
is used, JSONC specific syntax is disabled
-
Updated dependencies []:
[email protected]
Patch Changes
- #7793
9941219
Thanks @edmundhung! - fix: ensure no body is passed when constructing a GET or HEAD request to the preview worker
[email protected]
Patch Changes
- #7793
9941219
Thanks @edmundhung! - fix: ensure no body is passed when constructing a GET or HEAD request to the preview worker
@cloudflare/[email protected]
Patch Changes
- #7906
f5eaf4b
Thanks @WillTaylorDev! - Fixes bug in router-worker that prevents unexpected errors from being captured.