-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency wrangler to v3.99.0 #175
base: main
Are you sure you want to change the base?
Conversation
|
3bcccc1
to
77b98e8
Compare
77b98e8
to
62fedd6
Compare
7201d38
to
a995b4c
Compare
a995b4c
to
08cd6b1
Compare
08cd6b1
to
894fefe
Compare
2ade803
to
caabb61
Compare
Pull request was closed
e574642
to
83034bd
Compare
83034bd
to
def904b
Compare
def904b
to
04f2f63
Compare
04f2f63
to
84c2976
Compare
84c2976
to
1cd4e59
Compare
1cd4e59
to
7a6d7cb
Compare
7a6d7cb
to
0ea770f
Compare
0ea770f
to
84af5db
Compare
84af5db
to
5f0f592
Compare
5f0f592
to
e42a614
Compare
Dokploy Preview Deployment
|
e42a614
to
57a7a95
Compare
57a7a95
to
62cea71
Compare
62cea71
to
90be8b6
Compare
This PR contains the following updates:
3.81.0
->3.99.0
Release Notes
cloudflare/workers-sdk (wrangler)
v3.99.0
Compare Source
Minor Changes
#7425
8757579
Thanks @CarmenPopoviciu! - feat: Make DX improvements inwrangler dev --remote
Workers + Assets projects have, in certain situations, a relatively degraded
wrangler dev --remote
developer experience, as opposed to Workers proper projects. This is due to the fact that, for Workers + Assets, we need to make extra API calls to:This commit improves the
wrangler dev --remote
DX for Workers + Assets, for use cases when the User Worker/assets change while the API calls for previous changes are still in flight. For such use cases, we have put an exit early strategy in place, that drops the event handler execution of the previous changes, in favour of the handler triggered by the new changes.#7537
086a6b8
Thanks @WillTaylorDev! - Provide validation around assets.experimental_serve_directly#7568
2bbcb93
Thanks @WillTaylorDev! - Warn users when using smart placement with Workers + Assets andserve_directly
is set tofalse
Patch Changes
#7521
48e7e10
Thanks @emily-shen! - feat: add experimental_patchConfig()experimental_patchConfig()
can add to a user's config file. It preserves comments if its awrangler.jsonc
. However, it is not suitable forwrangler.toml
with comments as we cannot preserve comments on write.Updated dependencies [
1488e11
,7216835
]:v3.98.0
Compare Source
Minor Changes
#7476
5124b5d
Thanks @WalshyDev! - feat: allow routing to Workers with Assets on any HTTP route, not just the root. For example,example.com/blog/*
can now be used to serve assets.These assets will be served as though the assets directly were mounted to the root.
For example, if you have
assets = { directory = "./public/" }
, a route like"example.com/blog/*"
and a file./public/blog/logo.png
, this will be available atexample.com/blog/logo.png
. Assets outside of directories which match the configured HTTP routes can still be accessed with the Assets binding or with a Service binding to this Worker.#7380
72935f9
Thanks @CarmenPopoviciu! - Add Workers + Assets support inwrangler dev --remote
Patch Changes
#7573
fb819f9
Thanks @emily-shen! - feat: add experimental_readRawConfig()Adds a Wrangler API to find and read a config file
#7549
42b9429
Thanks @penalosa! - Expand metrics collection to:--x-versions
,--x-dev-env
, and--latest
) by only including args that were inargv
#7583
8def8c9
Thanks @penalosa! - Revert support for custom unenv resolve path to address an issue with Wrangler failing to deploy Pages projects withnodejs_compat_v2
in some casesv3.97.0
Compare Source
Minor Changes
#7522
6403e41
Thanks @vicb! - feat(wrangler): allow overriding the unenv preset.By default wrangler uses the bundled unenv preset.
Setting
WRANGLER_UNENV_RESOLVE_PATHS
allow to use another version of the preset.Those paths are used when resolving the unenv module identifiers to absolute paths.
This can be used to test a development version.
#7479
2780849
Thanks @penalosa! - Accept a JSON file of the format{ name: string }[]
inwrangler kv bulk delete
, as well as the currentstring[]
format.Patch Changes
#7541
ca9410a
Thanks @vicb! - chore(wrangler): update unenv dependency version#7345
15aa936
Thanks @edmundhung! - fix(wrangler): keypress event name is optionalv3.96.0
Compare Source
Minor Changes
#7510
004af53
Thanks @oliy! - Add file prefix option to wrangler pipelines commands#7383
8af3365
Thanks @jonesphillip! - Added wrangler r2 domain get commandPatch Changes
#7542
f13c897
Thanks @CarmenPopoviciu! - Always print deployment and placement ID in Cloudchamber commandsCurrently, Cloudchamber commands only print the full deployment ID when the deployment has an IPv4 address. This commit ensures the deployment ID and the placement ID are always printed to stdout. It also moves the printing of the IPv4 address (if one exists) to the same place as the IPv6 address so that they are printed together.
#6754
0356d0a
Thanks @bluwy! - refactor: move@cloudflare/workers-shared
as dev dependency#7478
2e90efc
Thanks @petebacondarwin! - fix: ensure that non-inherited fields are not removed when using an inferred named environmentIt is an error for the the user to provide an environment name that doesn't match any of the named environments in the Wrangler configuration.
But if there are no named environments defined at all in the Wrangler configuration, we special case the top-level environment as though it was a named environment.
Previously, when this happens, we would remove all the nonInheritable fields from the configuration (essentially all the bindings) leaving an incorrect configuration.
Now we correctly generate a flattened named environment that has the nonInheritable fields, plus correctly applies any transformFn on inheritable fields.
#7524
11f95f7
Thanks @gpanders! - Include response body in Cloudchamber API errors#7427
3bc0f28
Thanks @edmundhung! - Thex-provision
experimental flag now identifies draft and inherit bindings by looking up the current binding settings.Draft bindings can then be provisioned (connected to new or existing KV, D1, or R2 resources) during
wrangler deploy
.Updated dependencies []:
v3.95.0
Compare Source
Minor Changes
e0b98fd
Thanks @jonesphillip! - Added r2 bucket cors command to Wrangler including list, set, deletev3.94.0
Compare Source
Minor Changes
669d7ad
Thanks @gabivlj! - Introduce a new cloudchamber commandwrangler cloudchamber apply
, which will be used by customers to deploy container-appsPatch Changes
#7002
d2447c6
Thanks @GregBrimble! - fix: More helpful error messages when validating compatibility date#7493
4c140bc
Thanks @emily-shen! - fix: remove non-json output in json mode commandsFixes regressions in 3.93.0 where unwanted text (wrangler banner, telemetry notice) was printing in commands that should only output valid json.
Updated dependencies [
5449fe5
]:v3.93.0
Compare Source
Minor Changes
#7291
f5b9cd5
Thanks @edmundhung! - Add anonymous telemetry to Wrangler commandsFor new users, Cloudflare will collect anonymous usage telemetry to guide and improve Wrangler's development. If you have already opted out of Wrangler's existing telemetry, this setting will still be respected.
See our data policy for more details on what we collect and how to opt out if you wish.
#7448
20a0f17
Thanks @GregBrimble! - feat: Allow Workers for Platforms scripts (scripts deployed with--dispatch-namespace
) to bring alongassets
#7445
f4ae6ee
Thanks @WillTaylorDev! - Support forassets.experimental_serve_directly
withwrangler dev
Patch Changes
#7256
415e5b5
Thanks @jamesopstad! - Export unstable_readConfig function and Unstable_Config, Unstable_RawConfig, Unstable_RawEnvironment and Unstable_MiniflareWorkerOptions types from Wrangler.Overload unstable_getMiniflareWorkerOptions function to accept a config that has already been loaded.
#7431
8f25ebe
Thanks @vicb! - chore(wrangler): update unenv dependency versionPull in:
#7426
b40d0ab
Thanks @petebacondarwin! - fix: allow the asset directory to be omitted in Wrangler config for commands that don't need it#7454
f2045be
Thanks @petebacondarwin! - refactor: Ensure that unstable type exports are all prefixed withUnstable_
rather than justUnstable
#7461
9ede45b
Thanks @petebacondarwin! - fix: relax validation of unsafe configuration to allow an empty objectThe types, the default and the code in general support an empty object for this config setting.
So it makes sense to avoid erroring when validating the config.
#7446
9435af0
Thanks @petebacondarwin! - fix: make sure Wrangler doesn't create a.wrangler
tmp dir in thefunctions/
folder of a Pages projectThis regression was introduced in https://github.com/cloudflare/workers-sdk/pull/7415
and this change fixes it by reverting that change.
#7385
14a7bc6
Thanks @edmundhung! - Thex-provision
experimental flag now support inherit bindings in deploys#7463
073293f
Thanks @penalosa! - Clarify messaging aroundwrangler versions
commands to reflect that they're stable (and have been since GA during birthday week)#7436
5e69799
Thanks @Ankcorn! - Relax type on observability.enabled to remove linting error for nested configurations#7450
8c873ed
Thanks @petebacondarwin! - fix: ensure that version secrets commands do not write wrangler config warningsUpdated dependencies [
21a9e24
,f4ae6ee
]:v3.92.0
Compare Source
Minor Changes
#7251
80a83bb
Thanks @penalosa! - Improve Wrangler's multiworker support to allow running multiple workers at once with one command. To try it out, pass multiple-c
flags to Wrangler: i.e.wrangler dev -c wrangler.toml -c ../other-worker/wrangler.toml
. The first config will be treated as the primary worker and will be exposed over HTTP as usual (localhost:8787) while the rest will be treated as secondary and will only be accessible via a service binding from the primary worker. Notably, these workers all run in the same runtime instance, which should improve reliability of multiworker dev and fix some bugs (RPC to cross worker Durable Objects, for instance).#7130
11338d0
Thanks @nickbabcock! - Update import resolution for files and package exportsIn an npm workspace environment, wrangler will now be able to successfully resolve package exports.
Previously, wrangler would only be able to resolve modules in a relative
node_modules
directory and not the workspace rootnode_modules
directory.#7355
5928e8c
Thanks @emily-shen! - feat: addexperimental_serve_directly
option to Workers with AssetsUsers can now specify whether their assets are served directly against HTTP requests or whether these requests always go to the Worker, which can then respond with asset retrieved by its assets binding.
Patch Changes
#7326
24c752e
Thanks @OilyLime! - Print wrangler.toml snippet when creating new Hyperdrive Config#7272
a3f56d1
Thanks @penalosa! - Make debug log for.env
not found less scary#7377
6ecc74e
Thanks @edmundhung! - Thex-provision
experimental flag now skips validation of KV, R2, and D1 IDs in the configuration file.#7348
4cd8b46
Thanks @edmundhung! - Addedx-provision
global optionThis experimental flag currently has no effect. More details will be shared as we roll out its functionality.
#7381
22a4055
Thanks @penalosa! - Turn on--x-registry
for Pages by default#7360
98d2725
Thanks @emily-shen! - fix: allow runningwrangler types
when expected entrypoint doesn't existUpdated dependencies [
ac87395
,6b21919
,b3d2e7d
]:v3.91.0
Compare Source
Minor Changes
#7230
6fe9533
Thanks @penalosa! - Turn onwrangler.json(c)
support by defaultWrangler now supports both JSON (
wrangler.json
) and TOML (wrangler.toml
) for it's configuration file. The format of Wrangler's configuration file is exactly the same across both languages, except that the syntax isJSON
rather thanTOML
. e.g.would be interpreted the same as the equivalent JSON
#7330
219109a
Thanks @jonesphillip! - Added Oceania (oc) location hint as acceptable choice when creating an R2 bucket.#7227
02a0e1e
Thanks @taylorlee! - Addpreview_urls
toggle towrangler.toml
The current Preview URLs (beta) feature routes to version preview urls based on the status of the
workers_dev
config value. Beta users have requested the ability to enable deployment urls and preview urls separately onworkers.dev
, and the newpreviews_enabled
field of the enable-subdomain API will allow that. This change separates theworkers_dev
andpreview_urls
behavior duringwrangler triggers deploy
andwrangler versions upload
.preview_urls
defaults to true, and does not implicitly depend on routes the wayworkers_dev
does.#7308
1b1d01a
Thanks @gpanders! - Add a default image for cloudchamber create and modify commands#7232
7da76de
Thanks @toddmantell! - feat: implement queues info commandThis command allows users to get information on individual queues.
To run this command use the queues info command with the name of a queue in the user's account.
wrangler queues info my-queue-name
Patch Changes
#7319
5a2c93d
Thanks @vicb! - chore(wrangler): update unenv dependency versionPulls in the implementation of module.findSourceMap
Updated dependencies [
0d314ed
,476e5df
]:v3.90.0
Compare Source
Minor Changes
31729ee
Thanks @G4brym! - Update local AI fetcher to forward method and url to upstreamPatch Changes
6ba5903
]:v3.89.0
Compare Source
Minor Changes
#7252
97acf07
Thanks @Maximo-Guk! - feat: Add production_branch and deployment_trigger to pages deploy detailed artifact for wrangler-action pages parity#7263
1b80dec
Thanks @danielrs! - Fix wrangler pages deployment (list|tail) environment filtering.Patch Changes
#7314
a30c805
Thanks @Ankcorn! - Fix observability.logs.enabled validation#7285
fa21312
Thanks @penalosa! - Renamedirectory
toprojectRoot
and ensure it's relative to thewrangler.toml
. This fixes a regression which meant that.wrangler
temporary folders were inadvertently generated relative toprocess.cwd()
rather than the location of thewrangler.toml
file. It also renamesdirectory
toprojectRoot
, which affects the `unstable_startWorker() interface.Updated dependencies [
563439b
]:v3.88.0
Compare Source
Minor Changes
#7173
b6cbfbd
Thanks @Ankcorn! - Adds [observability.logs] settings to wrangler. This setting lets developers control the settings for logs as an independent dataset enabling more dataset types in the future. The most specific setting will win if any of the datasets are not enabled.It also adds the following setting to the logs config
invocation_logs
- set to false to disable invocation logs. Defaults to true.#7207
edec415
Thanks @jonesphillip! - Added r2 bucket lifecycle command to Wrangler including list, add, remove, setPatch Changes
#7243
941d411
Thanks @penalosa! - Include Version Preview URL in Wrangler's output file#7038
e2e6912
Thanks @petebacondarwin! - fix: only show fetch warning if on old compatibility_dateNow that we have the
allow_custom_ports
compatibility flag, we only need to show the fetch warnings when that flag is not enabled.Fixes https://github.com/cloudflare/workerd/issues/2955
#7216
09e6e90
Thanks @vicb! - chore(wrangler): update unenv dependency version#7081
b4a0e74
Thanks @penalosa! - Default the file based registry (--x-registry
) to on. This should improve stability of multi-worker developmentUpdated dependencies []:
v3.87.0
Compare Source
Minor Changes
#7201
beed72e
Thanks @GregBrimble! - feat: Tail Consumers are now supported for Workers with assets.You can now configure
tail_consumers
in conjunction withassets
in yourwrangler.toml
file. Read more about Static Assets and Tail Consumers in the documentation.#7212
837f2f5
Thanks @jonesphillip! - Added r2 bucket info command to Wrangler. Improved formatting of r2 bucket list outputPatch Changes
#7210
c12c0fe
Thanks @taylorlee! - Avoid an unnecessary GET request duringwrangler deploy
.#7197
4814455
Thanks @michelheusschen! - fix console output forwrangler d1 migrations create
#6795
94f07ee
Thanks @benmccann! - chore: upgrade chokidar to v4#7133
c46e02d
Thanks @gpanders! - Do not emit escape sequences when stdout is not a TTYv3.86.1
Compare Source
Patch Changes
b499b74
Thanks @penalosa! - Internal refactor to remove the non--x-dev-env
flow fromwrangler dev
v3.86.0
Compare Source
Minor Changes
ef7c0b3
Thanks @jonesphillip! - Added the ability to enable, disable, and get r2.dev public access URLs for R2 buckets.Patch Changes
#7169
9098a3b
Thanks @penalosa! - Ensureworkerd
processes are cleaned up after address-in-use errors#7172
3dce388
Thanks @penalosa! - Clarify dev registry messaging around locally connected services. The connection status of local service bindings & durable object bindings is now indicated byconnected
ornot connected
next to their entry in the bindings summary. For more details, refer to https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/#local-development#7193
ad51d1d
Thanks @sdnts! - Output suggested wrangler.toml changes after creating an R2 bucket#7191
1d5bc6d
Thanks @sdnts! - Output suggested wrangler.toml changes after creating a QueueUpdated dependencies [
1db7846
,08c6580
]:v3.85.0
Compare Source
Minor Changes
#7105
a5f1779
Thanks @jonesphillip! - Added the ability to list, add, remove, and update R2 bucket custom domains.#7132
89f6274
Thanks @gabivlj! - Event messages are capitalized, images of wrong architectures properly show the error incloudchamber create
When a new "health" enum is introduced,
wrangler cloudchamber list
won't crash anymore.Update Cloudchamber schemas.
#7121
2278616
Thanks @bruxodasilva! - Added pause and resume commands to manage Workflows and hidded unimplemented delete commandPatch Changes
#7134
3ee1353
Thanks @cmackenzie1! - Change Pipelines to use name instead of ID#7020
e1d2fd6
Thanks @KianNH! - chore: move printWranglerBanner for secret delete into handler#7150
6380d86
Thanks @emily-shen! - refactor: improve login/logout/whoami setup with the new internal registration utils#6756
49ef163
Thanks @WalshyDev! - chore: disable wrangler.toml warnings when doingwrangler login
&wrangler logout
#7164
1bd4885
Thanks @penalosa! - Fix--test-scheduled
with custom builds &--x-dev-env
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
](https://redirect.github.com/cloudflConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.