Wrangler
Patch Changes
- #6819
7ede181
Thanks @CarmenPopoviciu! - fix: Validate[routes]
on configuration file changes
Patch Changes
#6753
4e33f2c
Thanks @bluwy! - refactor: prevent bundling entirepackage.json
in built code#6812
f700d37
Thanks @CarmenPopoviciu! - fix: Validate additional config properties for[observability]
#6751
638a550
Thanks @bluwy! - refactor: simplify date calculation and remove date-fns dependency#6809
28cb0d7
Thanks @smellercf! - fix: Remove Beta tag from r2 event notification wrangler command descriptions#6802
17eb8a9
Thanks @CarmenPopoviciu! - chore: renameexperimental_assets
toassets
#6781
0792fa0
Thanks @mikenomitch! - chore: tweaks warning when using node_compat
Patch Changes
#6824
1c58a74
Thanks @petebacondarwin! - fix: tidy up error messaging for unexpected use of Node.js APIsFixes #6822
Patch Changes
#6791
74d719f
Thanks @penalosa! - fix: Add missing binding toinit --from-dash
#6728
1ca313f
Thanks @emily-shen! - fix: remove filepath encoding on asset upload and handle sometimes-encoded charactersSome characters like [ ] @ are encoded by encodeURIComponent() but are often requested at an unencoded URL path. This change will make assets with filenames with these characters accessible at both the encoded and unencoded paths, but to use the encoded path as the canonical one, and to redirect requests to the canonical path if necessary.
#6798
7d7f19a
Thanks @emily-shen! - fix: error if an asset binding is provided without a Worker scriptUpdated dependencies [
1ca313f
]:- @cloudflare/workers-shared@0.5.4
- miniflare@3.20240909.5
Patch Changes
#6775
ecd82e8
Thanks @CarmenPopoviciu! - fix: Support switching between static and dynamic WorkersThis commit fixes the current behaviour of watch mode for Workers with assets, and adds support for switching between static and dynamic Workers within a single
wrangler dev
session.#6762
2840b9f
Thanks @petebacondarwin! - fix: error if a user inadvertently uploads a Pages_workers.js
file or directory as an asset#6778
61dd93a
Thanks @CarmenPopoviciu! - fix: Error if Workers + Assets are run in remote modeWorkers + Assets are currently supported only in local mode. We should throw an error if users attempt to use Workers with assets in remote mode.
#6782
7655505
Thanks @vicb! - chore: update unenv dependency version#6777
9649dbc
Thanks @penalosa! - chore: Update CI messaging#6779
3e75612
Thanks @emily-shen! - fix: include asset binding inwrangler types
Patch Changes
#6743
b45e326
Thanks @petebacondarwin! - fix: ability to build tricky Node.js compat scenario WorkersAdds support for non-default build conditions and platform via the WRANGLER_BUILD_CONDITIONS and WRANGLER_BUILD_PLATFORM flags.
#6776
02de103
Thanks @zebp! - fix: disable observability on deploy if not explicitly defined in configWhen deploying a Worker that has observability enabled in the deployed version but not specified in the
wrangler.toml
Wrangler will now set observability to disabled for the new version to match thewrangler.toml
as the source of truth.Updated dependencies [
2ddbb65
]:
Patch Changes
#6744
e3136f9
Thanks @petebacondarwin! - chore: update unenv dependency version#6749
9a06f88
Thanks @CarmenPopoviciu! - fix: Throw error when attempting to configure Workers with assets and tail consumersTail Workers are currently not supported for Workers with assets. This commit ensures we throw a corresponding error if users are attempting to configure
tail_consumers
via their configuration file, for a Worker with assets. This validation is applied for allwrangler dev
,wrangler deploy
,wrangler versions upload
.#6746
0deb42b
Thanks @GregBrimble! - fix: Fix assets upload message to correctly report number of uploaded assets#6745
6dbbb88
Thanks @jonesphillip! - fix: r2 bucket notification get <bucket_name> has been marked deprecated in favor of r2 bucket notification list <bucket_name> to reflect behavior.Updated dependencies [
2407c41
]:
Patch Changes
#6706
1c42466
Thanks @jkoe-cf! - fix: making explicit to only send a body if there are rule ids specified in the config delete#6714
62082aa
Thanks @OilyLime! - fix: rough edges when creating and updating Hyperdrive over Access configs#6705
ea60a52
Thanks @emily-shen! - fix: include compatability date in static-asset only uploads (experimental feature)