Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency wrangler to v3 #324

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
wrangler (source) 2.21.2 -> 3.95.0 age adoption passing confidence

Release Notes

cloudflare/workers-sdk (wrangler)

v3.95.0

Compare Source

Minor Changes

v3.94.0

Compare Source

Minor Changes
  • #​7229 669d7ad Thanks @​gabivlj! - Introduce a new cloudchamber command wrangler cloudchamber apply, which will be used by customers to deploy container-apps
Patch Changes

v3.93.0

Compare Source

Minor Changes
  • #​7291 f5b9cd5 Thanks @​edmundhung! - Add anonymous telemetry to Wrangler commands

    For new users, Cloudflare will collect anonymous usage telemetry to guide and improve Wrangler's development. If you have already opted out of Wrangler's existing telemetry, this setting will still be respected.

    See our data policy for more details on what we collect and how to opt out if you wish.

  • #​7448 20a0f17 Thanks @​GregBrimble! - feat: Allow Workers for Platforms scripts (scripts deployed with --dispatch-namespace) to bring along assets

  • #​7445 f4ae6ee Thanks @​WillTaylorDev! - Support for assets.experimental_serve_directly with wrangler dev

Patch Changes

v3.92.0

Compare Source

Minor Changes
  • #​7251 80a83bb Thanks @​penalosa! - Improve Wrangler's multiworker support to allow running multiple workers at once with one command. To try it out, pass multiple -c flags to Wrangler: i.e. wrangler dev -c wrangler.toml -c ../other-worker/wrangler.toml. The first config will be treated as the primary worker and will be exposed over HTTP as usual (localhost:8787) while the rest will be treated as secondary and will only be accessible via a service binding from the primary worker. Notably, these workers all run in the same runtime instance, which should improve reliability of multiworker dev and fix some bugs (RPC to cross worker Durable Objects, for instance).

  • #​7130 11338d0 Thanks @​nickbabcock! - Update import resolution for files and package exports

    In an npm workspace environment, wrangler will now be able to successfully resolve package exports.

    Previously, wrangler would only be able to resolve modules in a relative node_modules directory and not the workspace root node_modules directory.

  • #​7355 5928e8c Thanks @​emily-shen! - feat: add experimental_serve_directly option to Workers with Assets

    Users can now specify whether their assets are served directly against HTTP requests or whether these requests always go to the Worker, which can then respond with asset retrieved by its assets binding.

Patch Changes

v3.91.0

Compare Source

Minor Changes
  • #​7230 6fe9533 Thanks @​penalosa! - Turn on wrangler.json(c) support by default

    Wrangler now supports both JSON (wrangler.json) and TOML (wrangler.toml) for it's configuration file. The format of Wrangler's configuration file is exactly the same across both languages, except that the syntax is JSON rather than TOML. e.g.

    name = "worker-ts"
    main = "src/index.ts"
    compatibility_date = "2023-05-04"

    would be interpreted the same as the equivalent JSON

    {
      "name": "worker-ts",
      "main": "src/index.ts",
      "compatibility_date": "2023-05-04"
    }
  • #​7330 219109a Thanks @​jonesphillip! - Added Oceania (oc) location hint as acceptable choice when creating an R2 bucket.

  • #​7227 02a0e1e Thanks @​taylorlee! - Add preview_urls toggle to wrangler.toml

    The current Preview URLs (beta) feature routes to version preview urls based on the status of the workers_dev config value. Beta users have requested the ability to enable deployment urls and preview urls separately on workers.dev, and the new previews_enabled field of the enable-subdomain API will allow that. This change separates the workers_dev and preview_urls behavior during wrangler triggers deploy and wrangler versions upload. preview_urls defaults to true, and does not implicitly depend on routes the way workers_dev does.

  • #​7308 1b1d01a Thanks @​gpanders! - Add a default image for cloudchamber create and modify commands

  • #​7232 7da76de Thanks @​toddmantell! - feat: implement queues info command

    This command allows users to get information on individual queues.

    To run this command use the queues info command with the name of a queue in the user's account.

    wrangler queues info my-queue-name

Patch Changes

v3.90.0

Compare Source

Minor Changes
Patch Changes

v3.89.0

Compare Source

Minor Changes
Patch Changes
  • #​7314 a30c805 Thanks @​Ankcorn! - Fix observability.logs.enabled validation

  • #​7285 fa21312 Thanks @​penalosa! - Rename directory to projectRoot and ensure it's relative to the wrangler.toml. This fixes a regression which meant that .wrangler temporary folders were inadvertently generated relative to process.cwd() rather than the location of the wrangler.toml file. It also renames directory to projectRoot, which affects the `unstable_startWorker() interface.

  • Updated dependencies [563439b]:

    • miniflare@3.20241106.1

v3.88.0

Compare Source

Minor Changes
  • #​7173 b6cbfbd Thanks @​Ankcorn! - Adds [observability.logs] settings to wrangler. This setting lets developers control the settings for logs as an independent dataset enabling more dataset types in the future. The most specific setting will win if any of the datasets are not enabled.

    It also adds the following setting to the logs config

    • invocation_logs - set to false to disable invocation logs. Defaults to true.
    [observability.logs]
    enabled = true
    invocation_logs = false
  • #​7207 edec415 Thanks @​jonesphillip! - Added r2 bucket lifecycle command to Wrangler including list, add, remove, set

Patch Changes

v3.87.0

Compare Source

Minor Changes
Patch Changes

v3.86.1

Compare Source

Patch Changes

v3.86.0

Compare Source

Minor Changes
Patch Changes

v3.85.0

Compare Source

Minor Changes
  • #​7105 a5f1779 Thanks @​jonesphillip! - Added the ability to list, add, remove, and update R2 bucket custom domains.

  • #​7132 89f6274 Thanks @​gabivlj! - Event messages are capitalized, images of wrong architectures properly show the error in cloudchamber create
    When a new "health" enum is introduced, wrangler cloudchamber list won't crash anymore.
    Update Cloudchamber schemas.

  • #​7121 2278616 Thanks @​bruxodasilva! - Added pause and resume commands to manage Workflows and hidded unimplemented delete command

Patch Changes

v3.84.1

Compare Source

Patch Changes

v3.84.0

Compare Source

Minor Changes
Patch Changes
  • #​7091 68a2a84 Thanks @​taylorlee! - fix: synchronize observability settings during wrangler versions deploy

    When running wrangler versions deploy, Wrangler will now update observability settings in addition to logpush and tail_consumers. Unlike wrangler deploy, it will not disable observability when observability is undefined in wrangler.toml.

  • #​7080 924ec18 Thanks @​vicb! - chore(wrangler): update unenv dependency version

  • #​7097 8ca4b32 Thanks @​emily-shen! - fix: remove deprecation warnings for wrangler init

    We will not be removing wrangler init (it just delegates to create-cloudflare now). These warnings were causing confusion for users as it wrangler init is still recommended in many places.

  • #​7073 656a444 Thanks @​penalosa! - Internal refactor to remove es-module-lexer and support wrangler types for Workers with Durable Objects & JSX

  • #​7024 bd66d51 Thanks @​xortive! - fix: make individual parameters work for wrangler hyperdrive create when not using HoA

    wrangler hyperdrive create individual parameters were not setting the database name correctly when calling the api.

  • #​7024 bd66d51 Thanks @​xortive! - refactor: use same param parsing code for wrangler hyperdrive create and wrangler hyperdrive update

    ensures that going forward, both commands support the same features and have the same names for config flags

v3.83.0

Compare Source

Minor Changes
  • #​7000 1de309b Thanks @​jkoe-cf! - feature: allowing users to specify a description when creating an event notification rule
Patch Changes

v3.82.0

Compare Source

Minor Changes
Patch Changes
  • #​5737 9bf51d6 Thanks @​penalosa! - Validate duplicate bindings across all binding types

  • #​7010 1f6ff8b Thanks @​vicb! - chore: update unenv dependency version

  • #​7012 244aa57 Thanks @​RamIdeas! - Add support for Workflow bindings (in deployments, not yet in local dev)

    To bind to a workflow, add a workflows section 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 e44f496 Thanks @​penalosa! - Only show dev registry connection status in local dev

  • #​7037 e1b93dc Thanks @​emily-shen! - fix: ask for confirmation before creating a new Worker when uploading secrets

    Previously, wrangler secret put KEY --name non-existent-worker would automatically create a new Worker with the name non-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 48152d6 Thanks @​RamIdeas! - add wrangler workflows ... commands

  • #​7041 045787b Thanks @​CarmenPopoviciu! - Show wrangler pages dev --proxy warning

    On 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 --proxy should be configured for IPv6.

  • #​7018 127615a Thanks @​emily-shen! - fix: log successful runs of d1 execute in local

  • #​6970 a8ca700 Thanks @​oliy! - Add HTTP authentication options for Workers Pipelines

  • #​7005 6131ef5 Thanks @​edmundhung! - fix: prevent users from passing multiple arguments to non array options

  • #​7046 f9d5fdb Thanks @​oliy! - Minor change to 3rd party API shape for Workers Pipelines

  • #​6972 c794935 Thanks @​penalosa! - Add (local) indicator to bindings using local data

  • Updated dependencies [809193e]:

    • miniflare@3.20241018.0

v3.81.0

Compare Source

Minor Changes
Patch Changes
  • #​6963 a5ac45d Thanks @​RamIdeas! - fix: make wrangler dev --remote respect wrangler.toml's account_id property.

    This was a regression in the --x-dev-env flow recently turned on by default.

  • #​6996 b8ab809 Thanks @​emily-shen! - fix: improve error messaging when accidentally using Workers commands in Pages project

    If 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.

v3.80.5

Compare Source

Patch Changes

v3.80.4

Compare Source

Patch Changes

v3.80.3

Compare Source

Patch Changes

v3.80.2

Compare Source

Patch Changes
  • #​6923 1320f20 Thanks @​andyjessop! - chore: adds eslint-disable for ESLint error on empty typescript interface in workers-configuration.d.ts

v3.80.1

Compare Source

Patch Changes

v3.80.0

Compare Source

Minor Changes
Patch Changes

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 is behind base branch, 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.

Copy link

vercel bot commented Dec 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zodiac-pilot-example-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 0:31am

Copy link

cloudflare-workers-and-pages bot commented Dec 11, 2024

Deploying zodiac-pilot with  Cloudflare Pages  Cloudflare Pages

Latest commit: d229210
Status: ✅  Deploy successful!
Preview URL: https://ef42dfde.zodiac-pilot-29m.pages.dev
Branch Preview URL: https://renovate-wrangler-3-x.zodiac-pilot-29m.pages.dev

View logs

Copy link

cloudflare-workers-and-pages bot commented Dec 11, 2024

Deploying zodiac-pilot-connect with  Cloudflare Pages  Cloudflare Pages

Latest commit: d229210
Status: ✅  Deploy successful!
Preview URL: https://2a4787d0.zodiac-pilot.pages.dev
Branch Preview URL: https://renovate-wrangler-3-x.zodiac-pilot.pages.dev

View logs

Copy link

github-actions bot commented Dec 11, 2024

Coverage Report for extension

Status Category Percentage Covered / Total
🔵 Lines 60.73% 4952 / 8153
🔵 Statements 60.73% 4952 / 8153
🔵 Functions 66.59% 295 / 443
🔵 Branches 77.67% 734 / 945
File CoverageNo changed files found.
Generated in workflow #5 for commit d229210 by the Vitest Coverage Report Action

@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 32f2eff to d229210 Compare December 11, 2024 12:29
@frontendphil frontendphil merged commit dc68f6d into main Dec 11, 2024
12 checks passed
@frontendphil frontendphil deleted the renovate/wrangler-3.x branch December 11, 2024 12:33
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2024
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