Releases: cloudflare/workers-sdk
wrangler@3.53.0
Minor Changes
-
#5604
327a456
Thanks @dario-piotrowicz! - feat: add support for environments ingetPlatformProxy
allow
getPlatformProxy
to target environments by allowing users to specify anenvironment
optionExample usage:
const { env } = await getPlatformProxy({ environment: "production", });
Patch Changes
@cloudflare/vitest-pool-workers@0.2.4
@cloudflare/pages-shared@0.11.31
create-cloudflare@2.21.1
wrangler@3.52.0
Minor Changes
-
#5666
81d9615
Thanks @CarmenPopoviciu! - fix: Fix Pages config validation around Durable ObjectsToday Pages cannot deploy Durable Objects itself. For this reason it is mandatory that when declaring Durable Objects bindings in the config file, the
script_name
is specified. We are currently not failing validation if
script_name
is not specified but we should. These changes fix that.
Patch Changes
-
#5610
24840f6
Thanks @SuperchupuDev! - Markts-json-schema-generator
as a dev dependency -
#5669
a7e36d5
Thanks @dario-piotrowicz! - fix: fix broken Durable Object local proxying (when nocf
property is present)A regression was introduced in wrangler 3.46.0 (#5215)
which made it so that missingRequest#cf
properties are serialized as"undefined"
, this in turn
throws a syntax parse error when such values are parsed viaJSON.parse
breaking the communication
with Durable Object local proxies. Fix such issue by serializing missingRequest#cf
properties as
"{}"
instead. -
#5616
c6312b5
Thanks @webbertakken! - fix: broken link to durable object migrations docs -
#5482
1b7739e
Thanks @DaniFoldi! - docs: show new Discord url everywhere for consistency. The old URL still works, but https://discord.cloudflare.com is preferred. -
Updated dependencies [
3a0d735
,1b7739e
]:- miniflare@3.20240419.0
- @cloudflare/kv-asset-handler@0.3.2
workers-playground@0.0.4
Patch Changes
- #5482
1b7739e
Thanks @DaniFoldi! - docs: show new Discord url everywhere for consistency. The old URL still works, but https://discord.cloudflare.com is preferred.
miniflare@3.20240419.0
Patch Changes
-
#5682
3a0d735
Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
Dependency From To workerd 1.20240405.0 1.20240419.0 @cloudflare/workers-types ^4.20240405.0 ^4.20240419.0 -
#5482
1b7739e
Thanks @DaniFoldi! - docs: show new Discord url everywhere for consistency. The old URL still works, but https://discord.cloudflare.com is preferred.
format-errors@0.0.1
Patch Changes
- #5482
1b7739e
Thanks @DaniFoldi! - docs: show new Discord url everywhere for consistency. The old URL still works, but https://discord.cloudflare.com is preferred.
create-cloudflare@2.21.0
Minor Changes
-
#5675
235c439
Thanks @jculvey! - feat: Improvements tohono
template.The
hono
template has been updated as follows:- Bumps
create-hono
to0.7.0
- Automatically installs dependencies and specifies the detected package manager to avoid interactive prompts
- Adds a
wrangler.toml
file with commented out examples of all available bindings to match other templates. - Adds a
cf-typegen
package script to automatically regenerate types forBindings
fromwrangler.toml
- Bumps
-
#5637
b41c4ed
Thanks @joshthoward! - feat: change Durable Objects "Hello, World!" template to use RPC methods
Patch Changes
-
#5483
a55314c
Thanks @DaniFoldi! - fix: make sure that using the current directory doesn't generate anundefined undefined
log in the output summary. -
#5482
1b7739e
Thanks @DaniFoldi! - docs: show new Discord url everywhere for consistency. The old URL still works, but https://discord.cloudflare.com is preferred. -
#5684
c81fa65
Thanks @jculvey! - docs: Add Smart Placement example towrangler.toml
of templates.