Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 13, 2025

This PR contains the following updates:

Package Change Age Confidence
wrangler (source) ^3.99.0 -> ^4.0.0 age confidence

Release Notes

cloudflare/workers-sdk (wrangler)

v4.48.0

Minor Changes
  • #​11212 3908162 Thanks @​dario-piotrowicz! - Add autoconfig changes summary for wrangler deploy --x-autoconfig with the option for users to cancel the operation

  • #​11229 14d79f2 Thanks @​dario-piotrowicz! - Enables experimental-deploy-remote-diff-check flag by default (the flag is still present for now so that users can turn it off if needed) and improves the remote config diffing logic (to include less noise in the diff presented to the user)

  • #​11245 dfc6513 Thanks @​vicb! - Change how Wrangler selects default ports for dev sessions.

    If no port is specified, Wrangler now probes the default port and the 10 consecutive ports after it before falling back to a random port.
    This will help getting a stable port number across dev sessions.
    Both the http server and inspector ports are affected.

Patch Changes

v4.47.0

Compare Source

Minor Changes
  • #​11201 5286309 Thanks @​avenceslau! - Add wrangler workflows instances restart command

  • #​11214 5cf8a39 Thanks @​penalosa! - Add the experimental wrangler setup command to run autoconfig outside of the deploy flow.

  • #​11187 8abc789 Thanks @​dario-piotrowicz! - Add possibility for users to edit their project settings during autoconfig

    When running wrangler deploy --experimental-autoconfig, after the automatic project settings detection Wrangler will now present users the opportunity to customize the auto-detected project's settings

Patch Changes

v4.46.0

Compare Source

Minor Changes
Patch Changes
  • #​11160 05440a1 Thanks @​dario-piotrowicz! - Allows auto-update of the local Wrangler configuration file to match remote configuration when running wrangler deploy --env <TARGET_ENV>

    When running wrangler deploy, with --x-remote-diff-check and after cancelling the deployment due to destructive changes present in the local config file, Wrangler offers to update the Wrangler configuration file to match the remote configuration. This wasn't however enabled when a target environment was specified (via the --env|-e flag). Now this will also apply when an environment is targeted.

  • #​11162 c3ed531 Thanks @​dario-piotrowicz! - Update the description of the --local flag for the wrangler dev command to clarify that it disables remote bindings, also un-deprecate and un-hide it

  • #​11162 c3ed531 Thanks @​dario-piotrowicz! - Fix bindings with remote: true being logged as remote when run via wrangler dev --local

  • Updated dependencies [1ae020d]:

    • miniflare@​4.20251105.0

v4.45.4

Compare Source

Patch Changes
  • #​11133 8ffbd17 Thanks @​petebacondarwin! - Reduce the amount of arguments being passed in metrics capture.

    Now the argument values that are captured come from an allow list,
    and can be marked as ALLOW (capture the real value) or REDACT (capture as "").

  • #​11033 77ed7e2 Thanks @​dario-piotrowicz! - Offer to update the local Wrangler configuration file to match remote configuration when running wrangler deploy

    When running wrangler deploy, with --x-remote-diff-check, Wrangler will display the difference between local and remote configuration.
    If there would be a destructive change to the remote configuration, the user is given the option to cancel the deployment.
    In the case where the user does cancel deployment, Wrangler will now also offer to update the local Wrangler configuration file to match the remote configuration.

  • #​11139 bb00f9d Thanks @​devin-ai-integration! - Updated cron trigger documentation links and improved error message to include instructions for testing cron triggers locally

  • #​11135 ed666a1 Thanks @​penalosa! - Implement tail-based logging for wrangler dev remote mode, behind the --x-tail-tags flag. This will become the default in the future.

  • #​11149 22f25fd Thanks @​penalosa! - Add no-op autoconfig logic behind an experimental flag

  • Updated dependencies [90a2566, 14f60e8]:

v4.45.3

Patch Changes
  • #​11117 6822aaf Thanks @​emily-shen! - fix: show local/remote status before D1 command confirmations

    D1 commands (execute, export, migrations apply, migrations list, delete, time-travel) now display whether they're running against local or remote databases before showing confirmation prompts. This prevents confusion about which database will be affected by the operation.

  • #​11077 bce8142 Thanks @​petebacondarwin! - Ensure that process.env is case-insensitive on Windows

    The object that holds the environment variables in process.env does not care about the case of its keys
    in Windows. For example, process.env.SystemRoot and process.env.SYSTEMROOT will refer to the same value.

    Previously, when merging fields from .env files we were replacing this native object with a vanilla
    JavaScript object, that is case-insensitive, and so sometimes environment variables appeared to be missing
    when in reality they just had different casing.

v4.45.2

Patch Changes

v4.45.1

Compare Source

Patch Changes

v4.45.0

Compare Source

Minor Changes
  • #​11030 1a8088a Thanks @​penalosa! - Enable automatic resource provisioning by default in Wrangler. This is still an experimental feature, but we're turning on the flag by default to make it easier for people to test it and try it out. You can disable the feature using the --no-x-provision flag. It currently works for R2, D1, and KV bindings.

    To use this feature, add a binding to your config file without a resource ID:

    {
    	"kv_namespaces": [{ "binding": "MY_KV" }],
    	"d1_databases": [{ "binding": "MY_DB" }],
    	"r2_buckets": [{ "binding": "MY_R2" }],
    }

    wrangler dev will automatically create these resources for you locally, and when you next run wrangler deploy Wrangler will call the Cloudflare API to create the requested resources and link them to your Worker. They'll stay linked across deploys, and you don't need to add the resource IDs to the config file for future deploys to work. This is especially good for shared templates, which now no longer need to include account-specific resource ID when adding a binding.

Patch Changes
  • #​11037 4bd4c29 Thanks @​danielrs! - Better Wrangler subdomain defaults warning.

    Improves the warnings that we show users when either worker_dev or preview_urls are missing.

  • #​10927 31e1330 Thanks @​dom96! - Implements python_modules.excludes wrangler config field

    [python_modules]
    excludes = ["**/*.pyc", "**/__pycache__"]
  • #​10741 2f57345 Thanks @​penalosa! - Remove obsolete --x-remote-bindings flag

  • Updated dependencies [ca6c010]:

    • miniflare@​4.20251011.1

v4.44.0

Compare Source

Minor Changes
  • #​10939 d4b4c90 Thanks @​danielrs! - Config preview_urls defaults to workers_dev value.

    Originally, we were defaulting config.preview_urls to true, but we
    were accidentally enabling Preview URLs for users that only had
    config.workers_dev=false.

    Then, we set the default value of config.preview_urls to false, but we
    were accidentally disabling Preview URLs for users that only had
    config.workers_dev=true.

    Rather than defaulting config.preview_urls to true or false, we
    default to the resolved value of config.workers_dev. Should result in a
    clearer user experience.

  • #​11027 1a2bbf8 Thanks @​jamesopstad! - Statically replace the value of process.env.NODE_ENV with development for development builds and production for production builds if it is not set. Else, use the given value. This ensures that libraries, such as React, that branch code based on process.env.NODE_ENV can be properly tree shaken.

  • #​9705 0ee1a68 Thanks @​hiendv! - Add params type to Workflow type generation. E.g.

    interface Env {
    	MY_WORKFLOW: Workflow<
    		Parameters<import("./src/index").MyWorkflow["run"]>[0]["payload"]
    	>;
    }
  • #​10867 dd5f769 Thanks @​austin-mc! - Add media binding support

Patch Changes
  • #​11018 5124818 Thanks @​dario-piotrowicz! - Improve potential errors thrown by startRemoteProxySession by including more information

  • #​11019 6643bd4 Thanks @​dario-piotrowicz! - Fix observability.logs.persist being flagged as an unexpected field during the wrangler config file validation

  • #​10768 8211bc9 Thanks @​dario-piotrowicz! - Update logs handling to use the new handleStructuredLogs miniflare option

  • #​10997 3bb034f Thanks @​nikitassharma! - When either WRANGLER_OUTPUT_FILE_PATH or WRANGLER_OUTPUT_FILE_DIRECTORY are set
    in the environment, then command failures will append a line to the output file
    encoding the error code and message, if present.

  • #​10986 43503c7 Thanks @​emily-shen! - fix: cleanup any running containers again on wrangler dev exit

  • #​11000 a6de9db Thanks @​jonboulle! - always load container image into local store during build

    BuildKit supports different build drivers. When using the more modern docker-container driver (which is now the default on some systems, e.g. a standard Docker installation on Fedora Linux), it will not automatically load the built image into the local image store. Since wrangler expects the image to be there (e.g. when calling getImageRepoTags), it will thus fail, e.g.:

    ⎔ Preparing container image(s)...
    [+] Building 0.3s (8/8) FINISHED                                                                                                                                                                                                     docker-container:default
    
    [...]
    
    WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
    
    ✘ [ERROR] failed inspecting image locally: Error response from daemon: failed to find image cloudflare-dev/sandbox:f86e40e4: docker.io/cloudflare-dev/sandbox:f86e40e4: No such image
    
    

    Explicitly setting the --load flag (equivalent to -o type=docker) during the build fixes this and should make the build a bit more portable without requiring users to change their default build driver configuration.

  • #​10994 d39c8b5 Thanks @​pombosilva! - Make Workflows instances list command cursor based

  • #​10892 7d0417b Thanks @​dario-piotrowicz! - improve the diffing representation for wrangler deploy (run under --x-remote-diff-check)

  • Updated dependencies [36d7054, dd5f769, ee7d710, 8211bc9]:

v4.43.0

Compare Source

Minor Changes
Patch Changes
  • #​10938 e52d0ec Thanks @​penalosa! - Acquire Cloudflare Access tokens for additional requests made during a wrangler dev --remote session

  • #​10923 2429533 Thanks @​emily-shen! - fix: update docker manifest inspect to use full image registry uri when checking if the image exists remotely

  • #​10521 88b5b7f Thanks @​penalosa! - Improves the Wrangler auto-provisioning feature (gated behind the experimental flag --x-provision) by:

    • Writing back changes to the user's config file (not necessary, but can make it resilient to binding name changes)
    • Fixing --dry-run, which previously threw an error when your config file had auto provisioned resources
    • Improve R2 bindings display to include the bucket_name from the config file on upload
    • Fixing bindings view for specific versions to not display TOML

v4.42.2

Compare Source

Patch Changes
  • #​10881 ce832d5 Thanks @​garvit-gupta! - Add table-level compaction commands for R2 Data Catalog:

    • wrangler r2 bucket catalog compaction enable <bucket> [namespace] [table]
    • wrangler r2 bucket catalog compaction disable <bucket> [namespace] [table]

    This allows you to enable and disable automatic file compaction for a specific R2 data catalog table.

  • #​10888 d0ab919 Thanks @​lrapoport-cf! - Clarify that wrangler check startup generates a local CPU profile

  • Updated dependencies [42e256f, 4462bc1]:

    • miniflare@​4.20251008.0

v4.42.1

Compare Source

Patch Changes

v4.42.0

Compare Source

Minor Changes
Patch Changes

v4.41.0

Compare Source

Minor Changes
  • #​10507 21a0bef Thanks @​dario-piotrowicz! - Add strict mode for the wrangler deploy command

    Add a new flag: --strict that makes the wrangler deploy command be more strict and not deploy workers when the deployment could be potentially problematic. This "strict mode" currently only affects non-interactive sessions where conflicts with the remote settings for the worker (for example when the worker has been re-deployed via the dashboard) will cause the deployment to fail instead of automatically overriding the remote settings.

  • #​10710 7f2386e Thanks @​penalosa! - Add prompt to resource creation flow allowing for newly created resources to be remote.

Patch Changes

v4.40.3

Compare Source

Patch Changes

v4.40.2

Compare Source

Patch Changes

v4.40.1

Compare Source

Patch Changes

v4.40.0

Compare Source

Minor Changes
  • #​10743 a7ac751 Thanks @​jonesphillip! - Changes --fileSizeMB to --file-size for wrangler r2 bucket catalog compaction command.
    Small fixes for pipelines commands.
Patch Changes
  • #​10706 81fd733 Thanks @​1000hz! - Fixed an issue that caused some Workers to have an incorrect service tag applied when using a redirected configuration file (as used by the Cloudflare Vite plugin). This resulted in these Workers not being correctly grouped with their sibling environments in the Cloudflare dashboard.

  • Updated dependencies [06e9a48]:

    • miniflare@​4.20250924.0

v4.39.0

Compare Source

Minor Changes
  • #​10647 555a6da Thanks @​efalcao! - VPC service binding support

  • #​10612 97a72cc Thanks @​jonesphillip! - Added new pipelines commands (pipelines, streams, sinks, setup), moved old pipelines commands behind --legacy

  • #​10652 acd48ed Thanks @​edmundhung! - Rename Hyperdrive local connection string environment variable from WRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING_<BINDING_NAME> to CLOUDFLARE_HYPERDRIVE_LOCAL_CONNECTION_STRING_<BINDING_NAME>. The old variable name is still supported but will now show a deprecation warning.

  • #​10721 55a10a3 Thanks @​penalosa! - Stabilise Worker Loader bindings

Patch Changes

v4.38.0

Compare Source

Minor Changes
Patch Changes

v4.37.1

Compare Source

Patch Changes
  • #​10658 3029b9a Thanks @​1000hz! - Fixed an issue with service tags not being applied properly to Workers when the Wrangler configuration file did not include a top-level name property.

  • #​10657 31ec996 Thanks @​penalosa! - Disable remote bindings with the --local flag

  • Updated dependencies [783afeb]:

    • miniflare@​4.20250913.0

v4.37.0

Compare Source

Minor Changes
  • #​10546 d53a0bc Thanks @​1000hz! - On deploy or version upload, Workers with multiple environments are tagged with metadata that groups them together in the Cloudflare Dashboard.

  • #​10596 735785e Thanks @​penalosa! - Add Miniflare & Wrangler support for unbound Durable Objects

  • #​10622 15c34e2 Thanks @​nagraham! - Modify R2 Data Catalog compaction commands to enable/disable for Catalog (remove table/namespace args), and require Cloudflare API token on enable.

Patch Changes
  • Updated dependencies [735785e]:
    • miniflare@​4.20250906.2

v4.36.0

[Compare Source](https://redirect.github.com/cloudflare/workers-sdk/comp


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot temporarily deployed to cloudflare-pages March 13, 2025 16:36 Inactive
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 13, 2025

Deploying auth-wiki with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3d7c016
Status: ✅  Deploy successful!
Preview URL: https://373bdd16.auth-wiki.pages.dev
Branch Preview URL: https://renovate-wrangler-4-x.auth-wiki.pages.dev

View logs

@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 849cd87 to 328b580 Compare April 10, 2025 13:57
@renovate renovate bot temporarily deployed to cloudflare-pages April 10, 2025 13:57 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 328b580 to 0b8de61 Compare April 10, 2025 16:41
@renovate renovate bot temporarily deployed to cloudflare-pages April 10, 2025 16:41 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 0b8de61 to 4a53e8d Compare June 30, 2025 07:20
@renovate renovate bot temporarily deployed to cloudflare-pages June 30, 2025 07:20 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 4a53e8d to 8db9180 Compare July 22, 2025 18:26
@renovate renovate bot temporarily deployed to cloudflare-pages July 22, 2025 18:26 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 8db9180 to 38e2537 Compare July 24, 2025 17:50
@renovate renovate bot temporarily deployed to cloudflare-pages July 24, 2025 17:50 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 38e2537 to 7915a1a Compare July 29, 2025 11:48
@renovate renovate bot temporarily deployed to cloudflare-pages July 29, 2025 11:48 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 7915a1a to f755880 Compare July 31, 2025 16:57
@renovate renovate bot temporarily deployed to cloudflare-pages July 31, 2025 16:57 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from f755880 to 8ba1ff2 Compare August 5, 2025 10:12
@renovate renovate bot temporarily deployed to cloudflare-pages August 5, 2025 10:13 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 8ba1ff2 to ae902e1 Compare August 7, 2025 02:24
@renovate renovate bot temporarily deployed to cloudflare-pages August 7, 2025 02:24 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from ae902e1 to 8da841b Compare August 7, 2025 12:40
@renovate renovate bot temporarily deployed to cloudflare-pages August 7, 2025 12:41 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 8da841b to fe8927b Compare August 12, 2025 19:01
@renovate renovate bot temporarily deployed to cloudflare-pages August 12, 2025 19:01 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from fe8927b to 67f81aa Compare August 13, 2025 15:52
@renovate renovate bot temporarily deployed to cloudflare-pages August 13, 2025 15:52 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 67f81aa to 7b65a43 Compare August 14, 2025 16:50
@renovate renovate bot temporarily deployed to cloudflare-pages August 14, 2025 16:50 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 7b65a43 to cd1a021 Compare August 18, 2025 18:13
@renovate renovate bot had a problem deploying to cloudflare-pages August 18, 2025 18:13 Failure
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from c624b03 to b5f5519 Compare September 30, 2025 13:13
@renovate renovate bot temporarily deployed to cloudflare-pages September 30, 2025 13:13 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from b5f5519 to 66a30a1 Compare October 2, 2025 15:26
@renovate renovate bot temporarily deployed to cloudflare-pages October 2, 2025 15:26 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 66a30a1 to 055f5d6 Compare October 3, 2025 17:42
@renovate renovate bot temporarily deployed to cloudflare-pages October 3, 2025 17:42 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 055f5d6 to 6b547d0 Compare October 7, 2025 20:23
@renovate renovate bot temporarily deployed to cloudflare-pages October 7, 2025 20:23 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 6b547d0 to 03fa2a6 Compare October 9, 2025 18:06
@renovate renovate bot had a problem deploying to cloudflare-pages October 9, 2025 18:06 Failure
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 03fa2a6 to 3b1f73f Compare October 14, 2025 18:55
@renovate renovate bot temporarily deployed to cloudflare-pages October 14, 2025 18:55 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 3b1f73f to ac18c26 Compare October 21, 2025 17:12
@renovate renovate bot had a problem deploying to cloudflare-pages October 21, 2025 17:12 Failure
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from ac18c26 to 61d7769 Compare October 24, 2025 01:13
@renovate renovate bot temporarily deployed to cloudflare-pages October 24, 2025 01:13 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 61d7769 to 6ed9db4 Compare October 28, 2025 07:46
@renovate renovate bot temporarily deployed to cloudflare-pages October 28, 2025 07:46 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 6ed9db4 to 1693fee Compare October 29, 2025 19:42
@renovate renovate bot had a problem deploying to cloudflare-pages October 29, 2025 19:42 Failure
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 1693fee to 033a7cf Compare October 30, 2025 20:13
@renovate renovate bot temporarily deployed to cloudflare-pages October 30, 2025 20:13 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 033a7cf to f9f2299 Compare November 4, 2025 20:36
@renovate renovate bot temporarily deployed to cloudflare-pages November 4, 2025 20:36 Inactive
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from f9f2299 to 3b50962 Compare November 6, 2025 18:01
@renovate renovate bot had a problem deploying to cloudflare-pages November 6, 2025 18:01 Failure
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from 3b50962 to d1e1dae Compare November 11, 2025 17:00
@renovate renovate bot force-pushed the renovate/wrangler-4.x branch from d1e1dae to 3d7c016 Compare November 13, 2025 12:11
@renovate renovate bot deployed to cloudflare-pages November 13, 2025 12:11 Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant