wrangler 4.108.0 → 4.110.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1648,6 +1648,22 @@
1648
1648
  "description": "Whether Wrangler should send usage metrics to Cloudflare for this project.\n\nWhen defined this will override any user settings. Otherwise, Wrangler will use the user's preference.",
1649
1649
  "markdownDescription": "Whether Wrangler should send usage metrics to Cloudflare for this project.\n\nWhen defined this will override any user settings.\nOtherwise, Wrangler will use the user's preference."
1650
1650
  },
1651
+ "dependencies_instrumentation": {
1652
+ "type": "object",
1653
+ "properties": {
1654
+ "enabled": {
1655
+ "type": "boolean",
1656
+ "description": "Whether dependency instrumentation is enabled. Defaults to `true`.",
1657
+ "markdownDescription": "Whether dependency instrumentation is enabled. Defaults to `true`."
1658
+ }
1659
+ },
1660
+ "required": [
1661
+ "enabled"
1662
+ ],
1663
+ "additionalProperties": false,
1664
+ "description": "Configuration for npm package dependency instrumentation.\n\nControls whether Wrangler should collect and send npm package dependency metadata when deploying or uploading a Worker version.\n\nWhen `enabled` is set to `false`, Wrangler will not include `package_dependencies` in the upload payload. Defaults to enabled when not specified.\n\nNote: This is considered build metadata, so managed separately from the telemetry one and not disabled when `send_metrics`/`WRANGLER_SEND_METRICS` is set to `false`",
1665
+ "markdownDescription": "Configuration for npm package dependency instrumentation.\n\nControls whether Wrangler should collect and send npm package dependency\nmetadata when deploying or uploading a Worker version.\n\nWhen `enabled` is set to `false`, Wrangler will not include\n`package_dependencies` in the upload payload. Defaults to enabled when\nnot specified.\n\nNote: This is considered build metadata, so managed separately from the\n telemetry one and not disabled when\n `send_metrics`/`WRANGLER_SEND_METRICS` is set to `false`"
1666
+ },
1651
1667
  "dev": {
1652
1668
  "$ref": "#/definitions/RawDevConfig",
1653
1669
  "description": "Options to configure the development server that your worker will use.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#local-development-settings",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.108.0",
3
+ "version": "4.110.0",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "assembly",
@@ -66,16 +66,16 @@
66
66
  "esbuild": "0.28.1",
67
67
  "path-to-regexp": "6.3.0",
68
68
  "unenv": "2.0.0-rc.24",
69
- "workerd": "1.20260706.1",
69
+ "workerd": "1.20260708.1",
70
70
  "@cloudflare/kv-asset-handler": "0.5.0",
71
71
  "@cloudflare/unenv-preset": "2.16.1",
72
- "miniflare": "4.20260706.0"
72
+ "miniflare": "4.20260708.1"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@aws-sdk/client-s3": "^3.721.0",
76
76
  "@bomb.sh/tab": "^0.0.12",
77
77
  "@cloudflare/types": "6.18.4",
78
- "@cloudflare/workers-types": "^5.20260706.1",
78
+ "@cloudflare/workers-types": "^5.20260708.1",
79
79
  "@cspotcode/source-map-support": "0.8.1",
80
80
  "@netlify/build-info": "^10.5.1",
81
81
  "@sentry/node": "^7.86.0",
@@ -155,21 +155,22 @@
155
155
  "yaml": "^2.8.1",
156
156
  "yargs": "^17.7.2",
157
157
  "zod": "^4.4.3",
158
- "@cloudflare/autoconfig": "0.1.3",
159
- "@cloudflare/cli-shared-helpers": "0.1.12",
158
+ "@cloudflare/autoconfig": "0.1.4",
159
+ "@cloudflare/cli-shared-helpers": "0.1.13",
160
160
  "@cloudflare/codemod": "1.1.0",
161
- "@cloudflare/config": "0.0.0",
162
- "@cloudflare/deploy-helpers": "0.3.2",
163
161
  "@cloudflare/containers-shared": "0.16.0",
164
- "@cloudflare/workers-auth": "0.4.1",
165
- "@cloudflare/pages-shared": "^0.13.154",
162
+ "@cloudflare/deploy-helpers": "0.4.0",
163
+ "@cloudflare/pages-shared": "^0.13.156",
164
+ "@cloudflare/runtime-types": "0.0.1",
166
165
  "@cloudflare/workers-shared": "0.19.7",
167
- "@cloudflare/workers-utils": "0.25.1",
166
+ "@cloudflare/workers-auth": "0.4.2",
168
167
  "@cloudflare/workers-tsconfig": "0.0.0",
169
- "@cloudflare/workflows-shared": "0.11.2"
168
+ "@cloudflare/workers-utils": "0.26.0",
169
+ "@cloudflare/workflows-shared": "0.12.0",
170
+ "@cloudflare/config": "0.0.0"
170
171
  },
171
172
  "peerDependencies": {
172
- "@cloudflare/workers-types": "^5.20260706.1"
173
+ "@cloudflare/workers-types": "^5.20260708.1"
173
174
  },
174
175
  "peerDependenciesMeta": {
175
176
  "@cloudflare/workers-types": {
@@ -7,7 +7,7 @@ import { Metafile } from 'esbuild';
7
7
  import Protocol from 'devtools-protocol/types/protocol-mapping';
8
8
  import { EventEmitter } from 'node:events';
9
9
  import { ContainerNormalizedConfig } from '@cloudflare/containers-shared';
10
- import { Rpc, ExportedHandler, D1Database, Workflow, Service } from '@cloudflare/workers-types';
10
+ import { Rpc, ExportedHandler, DurableObjectNamespace, D1Database, Workflow, Service } from '@cloudflare/workers-types';
11
11
  import { FetcherScheduledOptions, FetcherScheduledResult, IncomingRequestCfProperties } from '@cloudflare/workers-types/experimental';
12
12
  import { RouterConfig, AssetConfig } from '@cloudflare/workers-shared';
13
13
  export { printBindings as unstable_printBindings } from '@cloudflare/deploy-helpers';
@@ -828,6 +828,10 @@ type WorkerHandle<Env = AnyEnv, Module extends WorkerModule = {
828
828
  * ```
829
829
  */
830
830
  getEnv(): Promise<Env>;
831
+ /**
832
+ * Lists the string IDs of Durable Object instances with persisted storage for a binding.
833
+ */
834
+ listDurableObjectIds(bindingName: BindingName<Env, DurableObjectNamespace>): Promise<string[]>;
831
835
  /**
832
836
  * Applies D1 migration files that have not already run to a D1 binding on this Worker.
833
837
  *
@@ -2752,6 +2756,24 @@ interface ConfigFields<Dev extends RawDevConfig> {
2752
2756
  * Otherwise, Wrangler will use the user's preference.
2753
2757
  */
2754
2758
  send_metrics: boolean | undefined;
2759
+ /**
2760
+ * Configuration for npm package dependency instrumentation.
2761
+ *
2762
+ * Controls whether Wrangler should collect and send npm package dependency
2763
+ * metadata when deploying or uploading a Worker version.
2764
+ *
2765
+ * When `enabled` is set to `false`, Wrangler will not include
2766
+ * `package_dependencies` in the upload payload. Defaults to enabled when
2767
+ * not specified.
2768
+ *
2769
+ * Note: This is considered build metadata, so managed separately from the
2770
+ * telemetry one and not disabled when
2771
+ * `send_metrics`/`WRANGLER_SEND_METRICS` is set to `false`
2772
+ */
2773
+ dependencies_instrumentation: {
2774
+ /** Whether dependency instrumentation is enabled. Defaults to `true`. */
2775
+ enabled: boolean;
2776
+ } | undefined;
2755
2777
  /**
2756
2778
  * Options to configure the development server that your worker will use.
2757
2779
  *
@@ -3342,7 +3364,8 @@ type Teams =
3342
3364
  | "Product: Email Service"
3343
3365
  | "Product: Browser Run"
3344
3366
  | "Product: Artifacts"
3345
- | "Product: Flagship";
3367
+ | "Product: Flagship"
3368
+ | "Product: Turnstile";
3346
3369
 
3347
3370
  /** Convert literal string types like 'foo-bar' to 'FooBar' */
3348
3371
  type PascalCase<S extends string> = string extends S ? string : S extends `${infer T}-${infer U}` ? `${Capitalize<T>}${PascalCase<U>}` : Capitalize<S>;