Releases: cloudflare/workers-sdk
[email protected]
Minor Changes
- #7897
34f9797
Thanks @WillTaylorDev! - chore: providesrun_worker_first
for Worker-script-first configuration. Deprecatesexperimental_serve_directly
.
Patch Changes
-
#7945
d758215
Thanks @ns476! - Add Images binding (in private beta for the time being) -
#7947
f57bc4e
Thanks @dario-piotrowicz! - fix: avoidgetPlatformProxy
logging twice that it is using vars defined in.dev.vars
fileswhen
getPlatformProxy
is called and it retrieves values from.dev.vars
files, it logs twice
a message like:Using vars defined in .dev.vars
, the changes here make sure that in such cases
this log only appears once -
#7889
38db4ed
Thanks @emily-shen! - feat: add experimental resource auto-provisioning to versions upload -
#7864
de6fa18
Thanks @dario-piotrowicz! - Update theunstable_getMiniflareWorkerOptions
types to always include anenv
parameter.The
unstable_getMiniflareWorkerOptions
types, when accepting a config object as the first argument,
didn't accept a secondenv
argument. The changes here make sure they do, since theenv
is still
relevant for picking up variables from.dev.vars
files. -
#7964
bc4d6c8
Thanks @LuisDuarte1! - Fix scripts binding to a workflow in a different script overriding workflow config -
Updated dependencies [
cf4f47a
]:
[email protected]
[email protected]
Patch Changes
-
#7903
ce8bfbd
Thanks @dario-piotrowicz! - update experimental Next.js template to work on@opennextjs/[email protected]
-
#7972
7112347
Thanks @andyjessop! - chore: bumps create-hono version to ensure correct Wrangler config file. Fixes the issue where C3 was generating both awrangler.toml
and awrangler.json
file.
@cloudflare/[email protected]
Minor Changes
- #7897
34f9797
Thanks @WillTaylorDev! - chore: providesrun_worker_first
for Worker-script-first configuration. Deprecatesexperimental_serve_directly
.
@cloudflare/[email protected]
@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