Wrangler
Minor Changes
- #7000
1de309bThanks @jkoe-cf! - feature: allowing users to specify a description when creating an event notification rule
Patch Changes
#7011
cef32c8Thanks @GregBrimble! - fix: Correctly apply Durable Object migrations for namespaced scripts#7067
4aa35c5Thanks @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
3f1d79cThanks @LuisDuarte1! - Change to new terminate instance workflow endpoint#7036
e7ea600Thanks @penalosa! - Reduce KV bulk upload bucket size to 1000 (from the previous 5000)#7068
a2afcf1Thanks @RamIdeas! - log warning of Workflows open-beta status when running deploying a Worker that contains a Workflow binding#7065
b219296Thanks @penalosa! - Internal refactor to remove React/ink from all non-wrangler devflows#7064
a90980cThanks @penalosa! - Fixwrangler dev --remote --show-interactive-dev-session=falseby only enabling hotkeys after account selection if hotkeys were previously enabled#7045
5ef6231Thanks @RamIdeas! - Add preliminary support for Workflows in wrangler dev#7075
80e5bc6Thanks @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]:- miniflare@3.20241022.0
- @cloudflare/workers-shared@0.7.0
Minor Changes
- #6945
6b97353Thanks @bthwaites! - Add jurisdiction option to R2 event notification wrangler actions
Patch Changes
#5737
9bf51d6Thanks @penalosa! - Validate duplicate bindings across all binding types#7010
1f6ff8bThanks @vicb! - chore: update unenv dependency version#7012
244aa57Thanks @RamIdeas! - Add support for Workflow bindings (in deployments, not yet in local dev)To bind to a workflow, add a
workflowssection in your wrangler.toml:[[workflows]] binding = "WORKFLOW" name = "my-workflow" class_name = "MyDemoWorkflow"and export an entrypoint (e.g.
MyDemoWorkflow) in your script:import { WorkflowEntrypoint } from "cloudflare:workers"; export class MyDemoWorkflow extends WorkflowEntrypoint<Env, Params> {...}#7039
e44f496Thanks @penalosa! - Only show dev registry connection status in local dev#7037
e1b93dcThanks @emily-shen! - fix: ask for confirmation before creating a new Worker when uploading secretsPreviously,
wrangler secret put KEY --name non-existent-workerwould 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
48152d6Thanks @RamIdeas! - addwrangler workflows ...commands#7041
045787bThanks @CarmenPopoviciu! - Showwrangler pages dev --proxywarningOn 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
--proxyshould be configured for IPv6.#7018
127615aThanks @emily-shen! - fix: log successful runs ofd1 executein local#6970
a8ca700Thanks @oliy! - Add HTTP authentication options for Workers Pipelines#7005
6131ef5Thanks @edmundhung! - fix: prevent users from passing multiple arguments to non array options#7046
f9d5fdbThanks @oliy! - Minor change to 3rd party API shape for Workers Pipelines#6972
c794935Thanks @penalosa! - Add(local)indicator to bindings using local dataUpdated dependencies [
809193e]:
Minor Changes
- #6990
586c253Thanks @courtney-sims! - feat: Adds new detailed pages deployment output type
Patch Changes
#6963
a5ac45dThanks @RamIdeas! - fix: makewrangler dev --remoterespect wrangler.toml'saccount_idproperty.This was a regression in the
--x-dev-envflow recently turned on by default.#6996
b8ab809Thanks @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.
Patch Changes
#6937
51aedd4Thanks @lrapoport-cf! - fix: show help when kv commands are run without parametersUpdated dependencies [
c863183,fd43068]:- miniflare@3.20241004.0
- @cloudflare/workers-shared@0.6.0
Patch Changes
#6927
2af75edThanks @emily-shen! - fix: respectCLOUDFLARE_ACCOUNT_IDwithwrangler pages projectcommandsFixes #4947
#6894
eaf71b8Thanks @petebacondarwin! - fix: improve the rendering of build errors when bundling#6920
2e64968Thanks @vicb! - chore: update unenv dependency versionPulls in feat(node/net): implement Server mock.
#6932
4c6aad0Thanks @vicb! - fix: allowrequireing unenv aliased packagesBefore this PR
requireing packages aliased in unenv would fail. That's becauserequirewould load the mjs file.This PR adds wraps the mjs file in a virtual ES module to allow
requireing it.