Wrangler
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.
Patch Changes
- #6923
1320f20Thanks @andyjessop! - chore: adds eslint-disable for ESLint error on empty typescript interface in workers-configuration.d.ts
Patch Changes
#6908
d696850Thanks @penalosa! - fix: debounce restarting worker on assets dir file changes when--x-dev-envis enabled.#6902
dc92af2Thanks @threepointone! - fix: enable esbuild's keepNames: true to set .name on functions/classes#6909
82180a7Thanks @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
54924a4Thanks @petebacondarwin! - fix: ensure thataliasconfig gets passed through to the bundler when using new--x-dev-envFixes #6898
#6911
30b7328Thanks @emily-shen! - fix: infer experimentalJsonConfig from file extensionFixes #5768 - issue with vitest and Pages projects with wrangler.toml
Updated dependencies [
5c50949]: