Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.20240725.0
->4.20241022.0
3.67.1
->3.84.1
Release Notes
cloudflare/workerd (@cloudflare/workers-types)
v4.20241022.0
Compare Source
v4.20241018.0
Compare Source
v4.20241011.0
Compare Source
v4.20241004.0
Compare Source
v4.20240925.0
Compare Source
v4.20240924.0
Compare Source
v4.20240919.0
Compare Source
v4.20240909.0
Compare Source
v4.20240903.0
Compare Source
v4.20240821.1
Compare Source
v4.20240815.0
Compare Source
v4.20240806.0
Compare Source
v4.20240729.0
Compare Source
cloudflare/workers-sdk (wrangler)
v3.84.1
Compare Source
Patch Changes
#7141
d938bb3
Thanks @emily-shen! - fix: throw a better error if there is an "ASSETS" user binding in a Pages projects#7124
f8ebdd1
Thanks @skepticfx! - fix: Modify Cloudchamber deployment labels in interactive modev3.84.0
Compare Source
Minor Changes
#6999
0111edb
Thanks @garvit-gupta! - docs: Vectorize GA Announcement Banner#6916
a33a133
Thanks @garrettgu10! - Local development now supports Vectorize bindings#7004
15ef013
Thanks @garvit-gupta! - feat: Enable Vectorize query by id via Wrangler#7092
038fdd9
Thanks @jonesphillip! - Added location hint option for the Wrangler R2 bucket create command#7024
bd66d51
Thanks @xortive! - feature: allow using a connection string when updating hyperdrive configsboth
hyperdrive create
andhyperdrive update
now support updating configs with connection strings.Patch Changes
#7091
68a2a84
Thanks @taylorlee! - fix: synchronize observability settings duringwrangler versions deploy
When running
wrangler versions deploy
, Wrangler will now updateobservability
settings in addition tologpush
andtail_consumers
. Unlikewrangler deploy
, it will not disable observability whenobservability
is undefined inwrangler.toml
.#7080
924ec18
Thanks @vicb! - chore(wrangler): update unenv dependency version#7097
8ca4b32
Thanks @emily-shen! - fix: remove deprecation warnings forwrangler init
We will not be removing
wrangler init
(it just delegates to create-cloudflare now). These warnings were causing confusion for users as itwrangler init
is still recommended in many places.#7073
656a444
Thanks @penalosa! - Internal refactor to removees-module-lexer
and supportwrangler types
for Workers with Durable Objects & JSX#7024
bd66d51
Thanks @xortive! - fix: make individual parameters work forwrangler hyperdrive create
when not using HoAwrangler hyperdrive create
individual parameters were not setting the database name correctly when calling the api.#7024
bd66d51
Thanks @xortive! - refactor: use same param parsing code forwrangler hyperdrive create
andwrangler hyperdrive update
ensures that going forward, both commands support the same features and have the same names for config flags
v3.83.0
Compare Source
Minor Changes
1de309b
Thanks @jkoe-cf! - feature: allowing users to specify a description when creating an event notification rulePatch Changes
#7011
cef32c8
Thanks @GregBrimble! - fix: Correctly apply Durable Object migrations for namespaced scripts#7067
4aa35c5
Thanks @LuisDuarte1! - Change trigger command to comply with the current workflows endpoint.This also adds an id option to allow users to optionally customize the new instance id.
#7082
3f1d79c
Thanks @LuisDuarte1! - Change to new terminate instance workflow endpoint#7036
e7ea600
Thanks @penalosa! - Reduce KV bulk upload bucket size to 1000 (from the previous 5000)#7068
a2afcf1
Thanks @RamIdeas! - log warning of Workflows open-beta status when running deploying a Worker that contains a Workflow binding#7065
b219296
Thanks @penalosa! - Internal refactor to remove React/ink from all non-wrangler dev
flows#7064
a90980c
Thanks @penalosa! - Fixwrangler dev --remote --show-interactive-dev-session=false
by only enabling hotkeys after account selection if hotkeys were previously enabled#7045
5ef6231
Thanks @RamIdeas! - Add preliminary support for Workflows in wrangler dev#7075
80e5bc6
Thanks @LuisDuarte1! - Fix params serialization when send the trigger workflow APIPreviously, wrangler did not parse the params sending it as a string to workflow's services.
Updated dependencies [
760e43f
,8dc2b7d
,5ef6231
]:v3.82.0
Compare Source
Minor Changes
6b97353
Thanks @bthwaites! - Add jurisdiction option to R2 event notification wrangler actionsPatch Changes
#5737
9bf51d6
Thanks @penalosa! - Validate duplicate bindings across all binding types#7010
1f6ff8b
Thanks @vicb! - chore: update unenv dependency version#7012
244aa57
Thanks @RamIdeas! - Add support for Workflow bindings (in deployments, not yet in local dev)To bind to a workflow, add a
workflows
section in your wrangler.toml:and export an entrypoint (e.g.
MyDemoWorkflow
) in your script:#7039
e44f496
Thanks @penalosa! - Only show dev registry connection status in local dev#7037
e1b93dc
Thanks @emily-shen! - fix: ask for confirmation before creating a new Worker when uploading secretsPreviously,
wrangler secret put KEY --name non-existent-worker
would automatically create a new Worker with the namenon-existent-worker
. This fix asks for confirmation before doing so (if running in an interactive context). Behaviour in non-interactive/CI contexts should be unchanged.#7015
48152d6
Thanks @RamIdeas! - addwrangler workflows ...
commands#7041
045787b
Thanks @CarmenPopoviciu! - Showwrangler pages dev --proxy
warningOn Node.js 17+, wrangler will default to fetching only the IPv6 address. With these changes we warn users that the process listening on the port specified via
--proxy
should be configured for IPv6.#7018
127615a
Thanks @emily-shen! - fix: log successful runs ofd1 execute
in local#6970
a8ca700
Thanks @oliy! - Add HTTP authentication options for Workers Pipelines#7005
6131ef5
Thanks @edmundhung! - fix: prevent users from passing multiple arguments to non array options#7046
f9d5fdb
Thanks @oliy! - Minor change to 3rd party API shape for Workers Pipelines#6972
c794935
Thanks @penalosa! - Add(local)
indicator to bindings using local dataUpdated dependencies [
809193e
]:v3.81.0
Compare Source
Minor Changes
586c253
Thanks @courtney-sims! - feat: Adds new detailed pages deployment output typePatch Changes
#6963
a5ac45d
Thanks @RamIdeas! - fix: makewrangler dev --remote
respect wrangler.toml'saccount_id
property.This was a regression in the
--x-dev-env
flow recently turned on by default.#6996
b8ab809
Thanks @emily-shen! - fix: improve error messaging when accidentally using Workers commands in Pages projectIf we detect a Workers command used with a Pages project (i.e. wrangler.toml contains
pages_output_build_dir
), error with Pages version of command rather than "missing entry-point" etc.v3.80.5
Compare Source
Patch Changes
5761020
,7859a04
]:v3.80.4
Compare Source
Patch Changes
#6937
51aedd4
Thanks @lrapoport-cf! - fix: show help when kv commands are run without parametersUpdated dependencies [
c863183
,fd43068
]:v3.80.3
Compare Source
Patch Changes
#6927
2af75ed
Thanks @emily-shen! - fix: respectCLOUDFLARE_ACCOUNT_ID
withwrangler pages project
commandsFixes #4947
#6894
eaf71b8
Thanks @petebacondarwin! - fix: improve the rendering of build errors when bundling#6920
2e64968
Thanks @vicb! - chore: update unenv dependency versionPulls in feat(node/net): implement Server mock.
#6932
4c6aad0
Thanks @vicb! - fix: allowrequire
ing unenv aliased packagesBefore this PR
require
ing packages aliased in unenv would fail.That's because
require
would load the mjs file.This PR adds wraps the mjs file in a virtual ES module to allow
require
ing it.v3.80.2
Compare Source
Patch Changes
1320f20
Thanks @andyjessop! - chore: adds eslint-disable for ESLint error on empty typescript interface in workers-configuration.d.tsv3.80.1
Compare Source
Patch Changes
#6908
d696850
Thanks @penalosa! - fix: debounce restarting worker on assets dir file changes when--x-dev-env
is enabled.#6902
dc92af2
Thanks @threepointone! - fix: enable esbuild's keepNames: true to set .name on functions/classes#6909
82180a7
Thanks @penalosa! - fix: Various fixes for logging in--x-dev-env
, primarily to ensure the hotkeys don't wipe useful output and are cleaned up correctly#6903
54924a4
Thanks @petebacondarwin! - fix: ensure thatalias
config gets passed through to the bundler when using new--x-dev-env
Fixes #6898
#6911
30b7328
Thanks @emily-shen! - fix: infer experimentalJsonConfig from file extensionFixes #5768 - issue with vitest and Pages projects with wrangler.toml
Updated dependencies [
5c50949
]:v3.80.0
Compare Source
Minor Changes
#6408
3fa846e
Thanks @RamIdeas! - feat: update the--experimental-dev-env
(shorthand:--x-dev-env
) flag to on-by-defaultIf you experience any issues, you can disable the flag with
--x-dev-env=false
. Please also let us know by opening an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose.Patch Changes
#6854
04a8fed
Thanks @penalosa! - chore: Include serialisedFormData
in debug logs#6879
b27d8cb
Thanks @petebacondarwin! - fix: the docs command should not crash if given search termsFixes a regression accidentally introduced by #3735.
#6873
b123f43
Thanks @zwily! - fix: reduce logging noise during wrangler dev with static assetsUpdates to static assets are accessible by passing in --log-level="debug" but otherwise hidden.
#6881
7ca37bc
Thanks @RamIdeas! - fix: custom builds outputting files in assets watched directory no longer cause the custom build to run again in an infinite loop#6872
b2d094e
Thanks @petebacondarwin! - fix: render a helpful build error if a Service Worker mode Worker has importsA common mistake is to forget to export from the entry-point of a Worker, which causes
Wrangler to infer that we are in "Service Worker" mode.
In this mode, imports to external modules are not allowed.
Currently this only fails at runtime, because our esbuild step converts these imports to an internal
__require()
call that throws an error.The error message is misleading and does not help the user identify the cause of the problem.
This is particularly tricky where the external imports are added by a library or our own node.js polyfills.
Fixes #6648
#6792
27e8385
Thanks @penalosa! - fix: Handle more module declaration cases#6838
7dbd0c8
Thanks @GregBrimble! - fix: Improve static asset upload messagingv3.79.0
Compare Source
Minor Changes
6009bb4
Thanks @RamIdeas! - feat: implement retries withinwrangler deploy
andwrangler versions upload
to workaround spotty network connections and service flakesPatch Changes
#6870
dc9039a
Thanks @penalosa! - fix: Includeworkerd
in the external dependecies of Wrangler to fix local builds.#6866
c75b0d9
Thanks @zwily! - fix: debounce restarting worker on assets dir file changesv3.78.12
Compare Source
Patch Changes
5bfb75d
Thanks @a-robinson! - chore: update warning inwrangler dev --remote
when using Queues to not mention beta statusv3.78.11
Compare Source
Patch Changes
7ede181
Thanks @CarmenPopoviciu! - fix: Validate[routes]
on configuration file changesv3.78.10
Compare Source
Patch Changes
#6824
1c58a74
Thanks @petebacondarwin! - fix: tidy up error messaging for unexpected use of Node.js APIsFixes #6822
Updated dependencies [
5e2e62c
,1c58a74
]:v3.78.9
Compare Source
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_compatv3.78.8
Compare Source
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
]:v3.78.7
Compare Source
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
v3.78.6
Compare Source
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.
Fixes https://github.com/cloudflare/workers-sdk/issues/6742
#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
]:v3.78.5
Compare Source
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
]:v3.78.4
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)v3.78.3
Patch Changes
#6686
2c8506f
Thanks @DaniFoldi! - fix: Bump path-to-regexp dependency version#6329
c135de4
Thanks @penalosa! - chore: Cache generated runtime typesUpdated dependencies [
5b5dd95
]:v3.78.2
Compare Source
Patch Changes
7a8bb17
]:v3.78.1
Compare Source
Patch Changes
31bfd37
,5d8547e
]:v3.78.0
Compare Source
Minor Changes
#6643
f30c61f
Thanks @WalshyDev! - feat: add "Deployment alias URL" towrangler pages deploy
if an alias is available for this deployment.#6415
b27b741
Thanks @irvinebroque! - chore: Redirectwrangler generate [template name]
andwrangler init
tonpm create cloudflare
#6647
d68e8c9
Thanks @joshthoward! - feat: Configure SQLite backed Durable Objects in local dev#6696
0a9e90a
Thanks @penalosa! - feat: SupportWRANGLER_CI_MATCH_TAG
environment variable.When set, this will ensure that
wrangler deploy
andwrangler versions upload
only deploy to Workers which match the provided tag.#6702
aa603ab
Thanks @hhoughgg! - feat: Hidewrangler pipelines
until releasePatch Changes
#6699
2507304
Thanks @joshthoward! - fix: Bugs when warning users using SQLite in Durable Objects in remote dev#6693
0737e0f
Thanks @GregBrimble! - fix: Persist Workers Assets when doingwrangler versions secrets put/bulk
Updated dependencies [
d68e8c9
,fed1fda
]:v3.77.0
Compare Source
Minor Changes
#6674
831f892
Thanks @andyjessop! - feat: Added new [[pipelines]] bindings. This creates a new binding that allows sending events tothe specified pipeline.
Example:
[[pipelines]]
binding = "MY_PIPELINE"
pipeline = "my-pipeline"
#6668
88c40be
Thanks @zebp! - feature: add observability setting to wrangler.tomlAdds the
observability
setting which provides your Worker with automatic persistent logs that can be searched, filtered, and queried directly from the Workers dashboard.#6679
2174127
Thanks @jkoe-cf! - feat: adding option to specify a rule within the config to delete (if no rules are specified, all rules get deleted)#6666
4107f57
Thanks @threepointone! - feat: support analytics engine in local/remote devThis adds "support" for analytics engine datasets for
wrangler dev
. Specifically, it simply mocks the AE bindings so that they exist while developing (and don't throw when accessed).This does NOT add support in Pages, though we very well could do so in a similar way in a followup.
#6640
8527675
Thanks @petebacondarwin! - feat: experimental workers assets can be ignored by adding a .assetsignore fileThis file can be added to the root of the assets directory that is to be uploaded alongside the Worker
when using
experimental_assets
.The file follows the
.gitignore
syntax, and any matching paths will not be included in the upload.#6652
648cfdd
Thanks @bthwaites! - feat: Update R2 Get Event Notification response, display, and actions#6625
8dcd456
Thanks @maxwellpeterson! - feature: Add support for placement hintsAdds the
hint
field to smart placement configuration. When set, placement hints will be used to decide where smart-placement-enabled Workers are run.#6631
59a0072
Thanks @emily-shen! - feat: Add config options 'html_handling' and 'not_found_handling' to experimental_asset field in wrangler.tomlPatch Changes
#6621
6523db2
Thanks @emily-shen! - fix: Validateroutes
inwrangler dev
andwrangler deploy
for Workers with assetsWe want wrangler to error if users are trying to deploy a Worker with assets, and routes with a path component.
All Workers with assets must have either:
#6687 [
7bbed63
](https://redirect.github.com/cloudConfiguration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.