Wrangler
Patch Changes
- #6819
7ede181Thanks @CarmenPopoviciu! - fix: Validate[routes]on configuration file changes
Patch Changes
#6753
4e33f2cThanks @bluwy! - refactor: prevent bundling entirepackage.jsonin built code#6812
f700d37Thanks @CarmenPopoviciu! - fix: Validate additional config properties for[observability]#6751
638a550Thanks @bluwy! - refactor: simplify date calculation and remove date-fns dependency#6809
28cb0d7Thanks @smellercf! - fix: Remove Beta tag from r2 event notification wrangler command descriptions#6802
17eb8a9Thanks @CarmenPopoviciu! - chore: renameexperimental_assetstoassets#6781
0792fa0Thanks @mikenomitch! - chore: tweaks warning when using node_compat
Patch Changes
#6824
1c58a74Thanks @petebacondarwin! - fix: tidy up error messaging for unexpected use of Node.js APIsFixes #6822
Patch Changes
#6791
74d719fThanks @penalosa! - fix: Add missing binding toinit --from-dash#6728
1ca313fThanks @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
7d7f19aThanks @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
ecd82e8Thanks @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 devsession.#6762
2840b9fThanks @petebacondarwin! - fix: error if a user inadvertently uploads a Pages_workers.jsfile or directory as an asset#6778
61dd93aThanks @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
7655505Thanks @vicb! - chore: update unenv dependency version#6777
9649dbcThanks @penalosa! - chore: Update CI messaging#6779
3e75612Thanks @emily-shen! - fix: include asset binding inwrangler types
Patch Changes
#6743
b45e326Thanks @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
02de103Thanks @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.tomlWrangler will now set observability to disabled for the new version to match thewrangler.tomlas the source of truth.Updated dependencies [
2ddbb65]:
Patch Changes
#6744
e3136f9Thanks @petebacondarwin! - chore: update unenv dependency version#6749
9a06f88Thanks @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_consumersvia their configuration file, for a Worker with assets. This validation is applied for allwrangler dev,wrangler deploy,wrangler versions upload.#6746
0deb42bThanks @GregBrimble! - fix: Fix assets upload message to correctly report number of uploaded assets#6745
6dbbb88Thanks @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
1c42466Thanks @jkoe-cf! - fix: making explicit to only send a body if there are rule ids specified in the config delete#6714
62082aaThanks @OilyLime! - fix: rough edges when creating and updating Hyperdrive over Access configs#6705
ea60a52Thanks @emily-shen! - fix: include compatability date in static-asset only uploads (experimental feature)