Wrangler Changelog
2024-04-24
3.52.0
#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 ifscript_name
is not specified but we should. These changes fix that.#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 ( https://github.com/cloudflare/workers-sdk/pull/5215) which made it so that missing
Request#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
]:- [email protected]
- @cloudflare/[email protected]
2024-04-18
3.51.2
- #5652
ccb9d3d
Thanks @petebacondarwin! - chore: re-release due to broken build
2024-04-17
3.51.0
#5477
9a46e03
Thanks @pmiguel! - feature: Changed Queues client to use the new QueueId and ConsumerId-based endpoints.#5172
fbe1c9c
Thanks @GregBrimble! - feat: Allow marking external modules (with--external
) to avoid bundling them when building Pages FunctionsIt’s useful for Pages Plugins which want to declare a peer dependency.
#5585
22f5841
Thanks @geelen! - Updateswrangler d1 export
to handle larger DBs more efficiently
2024-04-11
3.50.0
#5587
d95450f
Thanks @CarmenPopoviciu! - fix:pages functions build-env
should throw error if invalid Pages config file is found#5572
65aa21c
Thanks @CarmenPopoviciu! - fix: fixpages function build-env
to exit with code rather than throw fatal errorCurrently pages functions build-env throws a fatal error if a config file does not exit, or if it is invalid. This causes issues for the CI system. We should instead exit with a specific code, if any of those situations arises.
#5291
ce00a44
Thanks @pmiguel! - feature: Added bespoke OAuth scope for Queues management.Updated dependencies [
08b4908
]:
2024-04-10
3.49.0
#5549
113ac41
Thanks @penalosa! - feat: Supportwrangler pages secret put|delete|list|bulk
#5550
4f47f74
Thanks @penalosa! - feat: Generate a JSON schema for the Wrangler package & use it in templates#5561
59591cd
Thanks @ocsfrank! - feat: update R2 CreateBucket action to include the storage class in the request body#5374
7999dd2
Thanks @maxwellpeterson! - fix: Improvements to--init-from-dash
Adds user-specified CPU limit to
wrangler.toml
if one exists. Excludesusage_model
fromwrangler.toml
in all cases, since this field is deprecated and no longer used.#5553
dcd65dd
Thanks @rozenmd! - fix: refactor d1’s time-travel compatibility check#5380
57d5658
Thanks @GregBrimble! - fix: Respect--no-bundle
when deploying a_worker.js/
directory in Pages projects#5536
a7aa28a
Thanks @Cherry! - fix: resolve a regression wherewrangler pages dev
would bind to port 8787 by default instead of 8788 since [email protected]Updated dependencies [
9575a51
]:
2024-04-05
3.48.0
#5429
c5561b7
Thanks @ocsfrank! - R2 will introduce storage classes soon. Wrangler allows you to interact with storage classes once it is enabled on your account.Wrangler supports an
-s
flag that allows the user to specify a storage class when creating a bucket, changing the default storage class of a bucket, and uploading an object.wrangler r2 bucket create ia-bucket -s InfrequentAccesswrangler r2 bucket update storage-class my-bucket -s InfrequentAccesswrangler r2 object put bucket/ia-object -s InfrequentAccess --file foo#5531
887150a
Thanks @penalosa! - fix: Writewrangler pages functions build-env
to file rather than stdout#5526
bafbd67
Thanks @rozenmd! - fix: teachwrangler d1 create
about Australia
2024-04-04
3.47.1
- Updated dependencies [
9f15ce1
]: