Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
wrangler ^2.20.1 -> ^3.8.0 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

cloudflare/workers-sdk (wrangler)

v3.8.0

Compare Source

Minor Changes
  • #​3775 3af30879 Thanks @​bthwaites! - R2 Jurisdictional Restrictions guarantee objects in a bucket are stored within a specific jurisdiction. Wrangler now allows you to interact with buckets in a defined jurisdiction.

    Wrangler R2 operations now support a -J flag that allows the user to specify a jurisdiction. When passing the -J flag, you will only be able to interact with R2 resources within that jurisdiction.

v3.7.0

Compare Source

Minor Changes
  • #​3774 ae2d5cb5 Thanks @​mrbbot! - feat: support breakpoint debugging in local mode

    wrangler dev now supports breakpoint debugging in local mode! Press d to open DevTools and set breakpoints.

v3.6.0

Compare Source

Minor Changes
Patch Changes
  • #​3758 0adccc71 Thanks @​jahands! - fix: Retry deployment errors in wrangler pages publish

    This will improve reliability when deploying to Cloudflare Pages

v3.5.1

Compare Source

Patch Changes

v3.5.0

Compare Source

Minor Changes
  • #​3704 8e231afd Thanks @​JacobMGEvans! - secret:bulk exit 1 on failure
    Previously secret"bulk would only log an error on failure of any of the upload requests.
    Now when 'secret:bulk' has an upload request fail it throws an Error which sends an process.exit(1) at the root .catch() signal.
    This will enable error handling in programmatic uses of secret:bulk.
  • #​3595 c302bec6 Thanks @​geelen! - Removing the D1 shim from the build process, in preparation for the Open Beta. D1 can now be used with --no-bundle enabled.
Patch Changes

v3.4.0

Compare Source

Minor Changes
  • #​3649 e2234bbc Thanks @​JacobMGEvans! - Feature: 'stdin' support for 'secret:bulk'
    Added functionality that allows for files and strings to be piped in, or other means of standard input. This will allow for a broader variety of use cases and improved DX.
    This implementation is also fully backward compatible with the previous input method of file path to JSON.

v3.3.0

Compare Source

Minor Changes
Patch Changes
  • #​3587 30f114af Thanks @​mrbbot! - fix: keep configuration watcher alive

    Ensure wrangler dev watches the wrangler.toml file and reloads the server whenever configuration (e.g. KV namespaces, compatibility dates, etc) changes.

v3.2.0

Compare Source

Minor Changes
  • #​3426 5a74cb55 Thanks @​matthewdavidrodgers! - Prefer non-force deletes unless a Worker is a dependency of another.

    If a Worker is used as a service binding, a durable object namespace, an outbounds for a dynamic dispatch namespace, or a tail consumer, then deleting that Worker will break those existing ones that depend upon it. Deleting with ?force=true allows you to delete anyway, which is currently the default in Wrangler.

    Force deletes are not often necessary, however, and using it as the default has unfortunate consequences in the API. To avoid them, we check if any of those conditions exist, and present the information to the user. If they explicitly acknowledge they're ok with breaking their other Workers, fine, we let them do it. Otherwise, we'll always use the much safer non-force deletes. We also add a "--force" flag to the delete command to skip the checks and confirmation and proceed with ?force=true

Patch Changes
  • #​3585 e33bb44a Thanks @​mrbbot! - fix: register middleware once for module workers

    Ensure middleware is only registered on the first request when using module workers.
    This should prevent stack overflows and slowdowns when making large number of requests to wrangler dev with infrequent reloads.

  • #​3547 e16d0272 Thanks @​jspspike! - Fixed issue with wrangler dev not finding imported files. Previously when wrangler dev would automatically reload on any file changes, it would fail to find any imported files.

v3.1.2

Compare Source

Patch Changes
  • #​3497 c5f3bf45 Thanks @​evanderkoogh! - Refactor dev-only checkedFetch check from a method substitution to a JavaScript Proxy to be able to support Proxied global fetch function.
  • #​3403 8d1521e9 Thanks @​Cherry! - fix: wrangler generate will now work cross-device. This is very common on Windows install that use C:/ for the OS and another drive for user files.

v3.1.1

Compare Source

Patch Changes
  • #​3414 6b1870ad Thanks @​rozenmd! - fix: in D1, lift error.cause into the error message

    Prior to this PR, folks had to console.log the error.cause property to understand why their D1 operations were failing. With this PR, error.cause will continue to work, but we'll also lift the cause into the error message.

  • #​3434 4beac418 Thanks @​rozenmd! - fix: add the number of read queries and write queries in the last 24 hours to the d1 info command
  • #​3454 a2194043 Thanks @​mrbbot! - chore: upgrade miniflare to 3.0.1

    This version ensures root CA certificates are trusted on Windows.
    It also loads extra certificates from the NODE_EXTRA_CA_CERTS environment variable,
    allowing wrangler dev to be used with Cloudflare WARP enabled.

  • #​3485 e8df68ee Thanks @​GregBrimble! - feat: Allow setting a D1 database ID when using wrangler pages dev by providing an optional =<ID> suffix to the argument like --d1 BINDING_NAME=database-id

v3.1.0

Compare Source

Minor Changes
Patch Changes
  • #​3399 d8a9995b Thanks @​Skye-31! - Fix: wrangler pages dev --script-path argument when using a proxy command instead of directory mode

    Fixes a regression in wrangler@3.x, where wrangler pages dev --script-path=<my script path> -- <proxy command> would start throwing esbuild errors.

  • #​3314 d5a230f1 Thanks @​elithrar! - Fixed wrangler d1 migrations to use --experimental-backend and not --experimentalBackend so that it is consistent with wrangler d1 create.
  • #​3124 2956c31d Thanks @​verokarhu! - fix: failed d1 migrations not treated as errors

    This PR teaches wrangler to return a non-success exit code when a set of migrations fails.

    It also cleans up wrangler d1 migrations apply output significantly, to only log information relevant to migrations.

  • #​3358 27b5aec5 Thanks @​rozenmd! - This PR implements a trimmer that removes BEGIN TRANSACTION/COMMIT from SQL files sent to the API (since the D1 API already wraps SQL in a transaction for users).
  • #​3324 ed9fbf79 Thanks @​rozenmd! - add d1 info command for people to check DB size

    This PR adds a d1 info <NAME> command for getting information about a D1 database, including the current database size and state.

    Usage:

    > npx wrangler d1 info northwind
    
    ┌───────────────────┬──────────────────────────────────────┐
    │                   │ d5b1d127-xxxx-xxxx-xxxx-cbc69f0a9e06 │
    ├───────────────────┼──────────────────────────────────────┤
    │ name              │ northwind                            │
    ├───────────────────┼──────────────────────────────────────┤
    │ version           │ beta                                 │
    ├───────────────────┼──────────────────────────────────────┤
    │ num_tables        │ 13                                   │
    ├───────────────────┼──────────────────────────────────────┤
    │ file_size         │ 33.1 MB                              │
    ├───────────────────┼──────────────────────────────────────┤
    │ running_in_region │ WEUR                                 │
    └───────────────────┴──────────────────────────────────────┘
    
    > npx wrangler d1 info northwind --json
    {
      "uuid": "d5b1d127-xxxx-xxxx-xxxx-cbc69f0a9e06",
      "name": "northwind",
      "version": "beta",
      "num_tables": 13,
      "file_size": 33067008,
      "running_in_region": "WEUR"
    }
    
  • #​3317 3dae2585 Thanks @​jculvey! - Add the --compatibility-flags and --compatibility-date options to the pages project create command

v3.0.1

Compare Source

Patch Changes

v3.0.0

Compare Source

Major Changes
  • #​3197 3b3fadfa Thanks @​mrbbot! - feature: rename wrangler publish to wrangler deploy

    This ensures consistency with other messaging, documentation and our dashboard,
    which all refer to deployments. This also avoids confusion with the similar but
    very different npm publish command. wrangler publish will remain a
    deprecated alias for now, but will be removed in the next major version of Wrangler.

  • #​3197 bac9b5de Thanks @​mrbbot! - feature: enable local development with Miniflare 3 and workerd by default

    wrangler dev now runs fully-locally by default, using the open-source Cloudflare Workers runtime workerd.
    To restore the previous behaviour of running on a remote machine with access to production data, use the new --remote flag.
    The --local and --experimental-local flags have been deprecated, as this behaviour is now the default, and will be removed in the next major version.

  • #​3197 02a672ed Thanks @​mrbbot! - feature: enable persistent storage in local mode by default

    Wrangler will now persist local KV, R2, D1, Cache and Durable Object data
    in the .wrangler folder, by default, between reloads. This persistence
    directory can be customised with the --persist-to flag. The --persist flag
    has been removed, as this is now the default behaviour.

  • #​3197 dc755fdc Thanks @​mrbbot! - feature: remove delegation to locally installed versions

    Previously, if Wrangler was installed globally and locally within a project,
    running the global Wrangler would instead invoke the local version.
    This behaviour was contrary to most other JavaScript CLI tools and has now been
    removed. We recommend you use npx wrangler instead, which will invoke the
    local version if installed, or install globally if not.

  • #​3197 24e1607a Thanks @​mrbbot! - chore: remove unused files from published package

    Specifically, the src and miniflare-config-stubs directories have been removed.

Minor Changes
  • #​3157 4d7781f7 Thanks @​edevil! - [wrangler] feat: Support for Constellation bindings

    Added support for a new type of safe bindings called "Constellation"
    that allows interacting with uploaded models in the context of these
    projects.

    [[constellation]]
    binding = 'AI'
    project_id = '9d478427-dea6-4988-9b16-f6f8888d974c'
  • #​3135 cc2adc2e Thanks @​edevil! - [wrangler] feat: Support for Browser Workers

    These bindings allow one to use puppeteer to control a browser
    in a worker script.

Patch Changes
  • #​3048 6ccc4fa6 Thanks @​oustn! - Fix: fix local registry server closed

    Closes #​1920. Sometimes start the local dev server will kill
    the devRegistry server so that the devRegistry server can't be used. We can listen the devRegistry server close event
    and reset server to null. When registerWorker is called, we can check if the server is null and start a new server.

  • #​3001 f9722873 Thanks @​rozenmd! - fix: make it possible to create a D1 database backed by the experimental backend, and make d1 execute's batch size configurable

    With this PR, users will be able to run wrangler d1 create <NAME> --experimental-backend to create new D1 dbs that use an experimental backend. You can also run wrangler d1 migrations apply <NAME> experimental-backend to run migrations against an experimental database.

    On top of that, both wrangler d1 migrations apply <NAME> and wrangler d1 execute <NAME> now have a configurable batch-size flag, as the experimental backend can handle more than 10000 statements at a time.

  • #​3153 1b67a405 Thanks @​edevil! - [wrangler] fix: constellation command help

    Changed name to projectName in some Constellation commands that interacted with projects. Also added the possibility to specify a model description when uploading it.


Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone CET, 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 has been generated by Mend Renovate. View repository job log here.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 1, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: dc3fcc5
Status: ✅  Deploy successful!
Preview URL: https://5658aac0.forest-b6d.pages.dev
Branch Preview URL: https://renovate-wrangler-3-x.forest-b6d.pages.dev

View logs

@renovate renovate bot force-pushed the renovate/wrangler-3.x branch 2 times, most recently from d041f10 to 57ebace Compare September 5, 2023 19:11
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 57ebace to d017216 Compare September 13, 2023 21:14
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from d017216 to dc3fcc5 Compare September 15, 2023 23:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant