wrangler 4.29.1 → 4.31.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.
- package/config-schema.json +5 -0
- package/package.json +12 -11
- package/templates/remoteBindings/ProxyServerWorker.ts +133 -0
- package/templates/remoteBindings/{proxyServerWorker/wrangler.jsonc → wrangler.jsonc} +1 -1
- package/wrangler-dist/ProxyServerWorker.js +1139 -0
- package/wrangler-dist/cli.d.ts +10 -4
- package/wrangler-dist/cli.js +3189 -2531
- package/wrangler-dist/metafile-cjs.json +1 -1
- package/templates/remoteBindings/proxyServerWorker/index.ts +0 -40
package/wrangler-dist/cli.d.ts
CHANGED
@@ -164,6 +164,12 @@ type ContainerApp = {
|
|
164
164
|
* @default "full_auto"
|
165
165
|
*/
|
166
166
|
rollout_kind?: "full_auto" | "none" | "full_manual";
|
167
|
+
/**
|
168
|
+
* Configures the grace period (in seconds) for active instances before being shutdown during a rollout.
|
169
|
+
* @optional
|
170
|
+
* @default 0
|
171
|
+
*/
|
172
|
+
rollout_active_grace_period?: number;
|
167
173
|
};
|
168
174
|
/**
|
169
175
|
* Configuration in wrangler for Durable Object Migrations
|
@@ -1411,6 +1417,7 @@ interface CfKvNamespace {
|
|
1411
1417
|
*/
|
1412
1418
|
type CfSendEmailBindings = {
|
1413
1419
|
name: string;
|
1420
|
+
experimental_remote?: boolean;
|
1414
1421
|
} & ({
|
1415
1422
|
destination_address?: string;
|
1416
1423
|
} | {
|
@@ -1521,6 +1528,7 @@ interface CfLogfwdrBinding {
|
|
1521
1528
|
interface CfPipeline {
|
1522
1529
|
binding: string;
|
1523
1530
|
pipeline: string;
|
1531
|
+
experimental_remote?: boolean;
|
1524
1532
|
}
|
1525
1533
|
interface CfUnsafeBinding {
|
1526
1534
|
name: string;
|
@@ -1769,7 +1777,6 @@ declare function deploy({ directory, accountId, projectName, branch, skipCaching
|
|
1769
1777
|
modified_on: string;
|
1770
1778
|
short_id: string;
|
1771
1779
|
build_image_major_version: number;
|
1772
|
-
kv_namespaces?: any;
|
1773
1780
|
source?: {
|
1774
1781
|
type: "github" | "gitlab";
|
1775
1782
|
config: {
|
@@ -1784,6 +1791,7 @@ declare function deploy({ directory, accountId, projectName, branch, skipCaching
|
|
1784
1791
|
preview_branch_excludes?: string[] | undefined;
|
1785
1792
|
};
|
1786
1793
|
} | undefined;
|
1794
|
+
kv_namespaces?: any;
|
1787
1795
|
env_vars?: any;
|
1788
1796
|
durable_object_namespaces?: any;
|
1789
1797
|
is_skipped?: boolean | undefined;
|
@@ -2647,9 +2655,6 @@ type WorkerConfigObject = {
|
|
2647
2655
|
/**
|
2648
2656
|
* Utility for potentially starting or updating a remote proxy session.
|
2649
2657
|
*
|
2650
|
-
* It uses an internal map for storing existing remote proxy session indexed by worker names. If no worker name is provided
|
2651
|
-
* the remote proxy session won't be retrieved nor saved to/from the internal map.
|
2652
|
-
*
|
2653
2658
|
* @param wranglerOrWorkerConfigObject either a file path to a wrangler configuration file or an object containing the name of
|
2654
2659
|
* the target worker alongside its bindings.
|
2655
2660
|
* @param preExistingRemoteProxySessionData the optional data of a pre-existing remote proxy session if there was one, this
|
@@ -2734,6 +2739,7 @@ type ExperimentalFlags = {
|
|
2734
2739
|
MULTIWORKER: boolean;
|
2735
2740
|
RESOURCES_PROVISION: boolean;
|
2736
2741
|
REMOTE_BINDINGS: boolean;
|
2742
|
+
DEPLOY_REMOTE_DIFF_CHECK: boolean;
|
2737
2743
|
};
|
2738
2744
|
|
2739
2745
|
// Team names from https://wiki.cfdata.org/display/EW/Developer+Platform+Components+and+Pillar+Ownership
|