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.50.0 #15

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

cloudflare/workers-sdk (wrangler)

v3.50.0

Compare Source

Minor Changes
  • #​5587 d95450f Thanks @​CarmenPopoviciu! - fix: pages functions build-env should throw error if invalid Pages config file is found

  • #​5572 65aa21c Thanks @​CarmenPopoviciu! - fix: fix pages function build-env to exit with code rather than throw fatal error

    Currently pages functions build-env throws a fatal error if a config file does not exit, or if it is invalid. This causes issues for the CI system. We should instead exit with a specific code, if any of those situations arises.

  • #​5291 ce00a44 Thanks @​pmiguel! - feature: Added bespoke OAuth scope for Queues management.

Patch Changes
  • Updated dependencies [08b4908]:
    • miniflare@3.20240405.1

v3.49.0

Compare Source

Minor Changes
Patch Changes
  • #​5374 7999dd2 Thanks @​maxwellpeterson! - fix: Improvements to --init-from-dash

    Adds user-specified CPU limit to wrangler.toml if one exists. Excludes usage_model from wrangler.toml in all cases, since this field is deprecated and no longer used.

  • #​5553 dcd65dd Thanks @​rozenmd! - fix: refactor d1's time-travel compatibility check

  • #​5380 57d5658 Thanks @​GregBrimble! - fix: Respect --no-bundle when deploying a _worker.js/ directory in Pages projects

  • #​5536 a7aa28a Thanks @​Cherry! - fix: resolve a regression where wrangler pages dev would bind to port 8787 by default instead of 8788 since wrangler@3.38.0

  • Updated dependencies [9575a51]:

    • miniflare@3.20240405.0

v3.48.0

Compare Source

Minor Changes
  • #​5429 c5561b7 Thanks @​ocsfrank! - R2 will introduce storage classes soon. Wrangler allows you to interact with storage classes once it is
    enabled on your account.

    Wrangler supports an -s flag that allows the user to specify a storage class when creating a bucket,
    changing the default storage class of a bucket, and uploading an object.

    wrangler r2 bucket create ia-bucket -s InfrequentAccess
    wrangler r2 bucket update storage-class my-bucket -s InfrequentAccess
    wrangler r2 object put bucket/ia-object -s InfrequentAccess --file foo
Patch Changes

v3.47.1

Compare Source

Patch Changes
  • Updated dependencies [9f15ce1]:
    • miniflare@3.20240404.0

v3.47.0

Compare Source

Minor Changes
  • #​5506 7734f80 Thanks @​penalosa! - feat: Add interactive prompt to wrangler pages download config if an existing wrangler.toml file exists

v3.46.0

Compare Source

Minor Changes
  • #​5282 b7ddde1 Thanks @​maxwellpeterson! - feature: Add source map support for Workers

    Adds the source_maps boolean config option. When enabled, source maps included in the build output are uploaded alongside the built code modules. Uploaded source maps can then be used to remap stack traces emitted by the Workers runtime.

  • #​5215 cd03d1d Thanks @​GregBrimble! - feature: support named entrypoints in service bindings

    This change allows service bindings to bind to a named export of another Worker. As an example, consider the following Worker named bound:

    import { WorkerEntrypoint } from "cloudflare:workers";
    
    export class EntrypointA extends WorkerEntrypoint {
    	fetch(request) {
    		return new Response("Hello from entrypoint A!");
    	}
    }
    
    export const entrypointB: ExportedHandler = {
    	fetch(request, env, ctx) {
    		return new Response("Hello from entrypoint B!");
    	}
    };
    
    export default <ExportedHandler>{
    	fetch(request, env, ctx) {
    		return new Response("Hello from the default entrypoint!");
    	}
    };

    Up until now, you could only bind to the default entrypoint. With this change, you can bind to EntrypointA or entrypointB too using the new entrypoint option:

    [[services]]
    binding = "SERVICE"
    service = "bound"
    entrypoint = "EntrypointA"

    To bind to named entrypoints with wrangler pages dev, use the # character:

    $ wrangler pages dev --service=SERVICE=bound#EntrypointA
Patch Changes
  • #​5215 cd03d1d Thanks @​GregBrimble! - fix: ensure request url and cf properties preserved across service bindings

    Previously, Wrangler could rewrite url and cf properties when sending requests via service bindings or Durable Object stubs. To match production behaviour, this change ensures these properties are preserved.

  • Updated dependencies [cd03d1d, 6c3be5b, cd03d1d, cd03d1d]:

    • miniflare@3.20240403.0

v3.45.0

Compare Source

Minor Changes
  • #​5377 5d68744 Thanks @​CarmenPopoviciu! - feat: Add wrangler.toml support in wrangler pages deploy

    As we are adding wrangler.toml support for Pages, we want to ensure that wrangler pages deploy works with a configuration file.

  • #​5471 489b9c5 Thanks @​zebp! - feature: Add version-id filter for Worker tailing to filter logs by scriptVersion in a gradual deployment

    This allows users to only get logs in a gradual deployment if you are troubleshooting issues
    specific to one deployment. Example:
    npx wrangler tail --version-id 72d3f357-4e52-47c5-8805-90be978c403f

Patch Changes

v3.44.0

Compare Source

Minor Changes
  • #​5461 f69e562 Thanks @​mattdeboard! - feature: Add command for fetching R2 Event Notification configurations for a given bucket

    This allows users to see the entire event notification configuration -- i.e. every rule for every configured queue -- for a single bucket with a single request.

    This change also improves messaging of console output when creating a new bucket notification.

Patch Changes

v3.43.0

Compare Source

Minor Changes
Patch Changes

v3.42.0

Compare Source

Minor Changes
  • #​5371 77152f3 Thanks @​G4brym! - feature: remove requirement for @cloudflare/ai package to use Workers AI

    Previously, to get the correct Workers AI API, you needed to wrap your env.AI binding with new Ai() from @cloudflare/ai. This change moves the contents of @cloudflare/ai into the Workers runtime itself, meaning env.AI is now an instance of Ai, without the need for wrapping.

Patch Changes
  • Updated dependencies [d994066]:
    • miniflare@3.20240329.0

v3.41.0

Compare Source

Minor Changes

v3.40.0

Compare Source

Minor Changes
  • #​5426 9343714 Thanks @​RamIdeas! - feature: added a new wrangler triggers deploy command

    This command currently requires the --experimental-versions flag.

    This command extracts the trigger deployment logic from wrangler deploy and allows users to update their currently deployed Worker's triggers without doing another deployment. This is primarily useful for users of wrangler versions upload and wrangler versions deploy who can then run wrangler triggers deploy to apply trigger changes to their currently deployed Worker Versions.

    The command can also be used even if not using the wrangler versions ... commands. And, in fact, users are already using it implicitly when running wrangler deploy.

  • #​4932 dc0c1dc Thanks @​xortive! - feature: Add support for private networking in Hyperdrive configs

  • #​5369 7115568 Thanks @​mattdeboard! - fix: Use queue name, not ID, for r2 bucket event-notification subcommands

    Since the original command was not yet operational, this update does not constitute a breaking change.

    Instead of providing the queue ID as the parameter to --queue, users must provide the queue name. Under the hood, we will query the Queues API for the queue ID given the queue name.

  • #​5413 976adec Thanks @​pmiguel! - feature: Added Queue delivery controls support in wrangler.toml

  • #​5412 3e5a932 Thanks @​RamIdeas! - feature: adds the --json option to wrangler deployments list --experimental-versions, wrangler deployments status --experimental-versions, wrangler versions list --experimental-versions and wrangler versions view --experimental-versions which will format the output as clean JSON. The --experimental-versions flag is still required for these commands.

  • #​5258 fbdca7d Thanks @​OilyLime! - feature: URL decode components of the Hyperdrive config connection string

  • #​5416 47b325a Thanks @​mattdeboard! - fix: minor improvements to R2 notification subcommand

    1. r2 bucket event-notification <subcommand> becomes r2 bucket notification <subcommand>
    2. Parameters to --event-type use - instead of _ (e.g. object_create -> object-create)

    Since the original command was not yet operational, this update does not constitute a breaking change.

Patch Changes
  • #​5419 daac6a2 Thanks @​RamIdeas! - chore: add helpful logging to --experimental-versions commands

  • #​5400 c90dd6b Thanks @​RamIdeas! - chore: log of impending change of "Deployment ID" to "Version ID" in wrangler deploy, wrangler deployments list, wrangler deployments view and wrangler rollback. This is a warning of a future change for anyone depending on the output text format, for example by grepping the output in automated flows.

  • #​5422 b341614 Thanks @​geelen! - fix: remove d1BetaWarning and all usages

    This PR removes the warning that D1 is in beta for all D1 commands.

  • Updated dependencies [fbdca7d]:

    • miniflare@3.20240320.1

v3.39.0

Compare Source

Minor Changes
  • #​5373 5bd8db8 Thanks @​RamIdeas! - feature: Implement versioned rollbacks via wrangler rollback [version-id] --experimental-versions.

    Please note, the experimental-versions flag is required to use the new behaviour. The original wrangler rollback command is unchanged if run without this flag.

Patch Changes
  • #​5366 e11e169 Thanks @​RamIdeas! - fix: save non-versioned script-settings (logpush, tail_consumers) on wrangler versions deploy. This command still requires --experimental-versions.

  • #​5405 7c701bf Thanks @​RamIdeas! - chore: add wrangler deployments view [deployment-id] --experimental-versions command

    This command will display an error message which points the user to run either wrangler deployments status --experimental-versions or wrangler versions view <version-id> --experimental-versions instead.

v3.38.0

Compare Source

Minor Changes
  • #​5310 528c011 Thanks @​penalosa! - feat: Watch the entire module root for changes in --no-bundle mode, rather than just the entrypoint file.

  • #​5327 7d160c7 Thanks @​penalosa! - feat: Add wrangler pages download config

  • #​5284 f5e2367 Thanks @​CarmenPopoviciu! - feat: Add wrangler.toml support in wrangler pages dev

    As we are adding wrangler.toml support for Pages, we want to ensure that wrangler pages dev works with a configuration file.

  • #​5353 3be826f Thanks @​penalosa! - feat: Updates wrangler pages functions build to support using configuration from wrangler.toml in the generated output.

  • #​5102 ba52208 Thanks @​pmiguel! - feature: add support for queue delivery controls on wrangler queues create

Patch Changes

v3.37.0

Compare Source

Minor Changes
  • #​5294 bdc121d Thanks @​mattdeboard! - feature: Add event-notification commands in support of event notifications for Cloudflare R2.

    Included are commands for creating and deleting event notification configurations for individual buckets.

  • #​5231 e88ad44 Thanks @​w-kuhn! - feature: Add support for configuring HTTP Pull consumers for Queues

    HTTP Pull consumers can be used to pull messages from queues via https request.

Patch Changes
  • #​5317 9fd7eba Thanks @​GregBrimble! - chore: Deprecate -- <command>, --proxy and --script-path options from wrangler pages dev.

    Build your application to a directory and run the wrangler pages dev <directory> instead. This results in a more faithful emulation of production behavior.

  • Updated dependencies [248a318]:

    • miniflare@3.20240320.0

v3.36.0

Compare Source

Minor Changes
  • #​5234 e739b7f Thanks @​CarmenPopoviciu! - feat: Implement environment inheritance for Pages configuration

    For Pages, Wrangler will not require both of the supported named environments ("preview" | "production") to be explicitly defined in the config file. If either [env.production] or [env.preview] is left unspecified, Wrangler will use the top-level environment when targeting that named Pages environment.

Patch Changes
  • #​5306 c60fed0 Thanks @​taylorlee! - fix: Remove triggered_by annotation from experimental versions deploy command which is now set by the API and cannot be set by the client.

  • #​5321 ac93411 Thanks @​RamIdeas! - fix: rename --experimental-gradual-rollouts to --experimental-versions flag

    The --experimental-gradual-rollouts flag has been made an alias and will still work.

    And additional shorthand alias --x-versions has also been added and will work too.

  • #​5324 bfc4282 Thanks @​penalosa! - fix: Ignore OPTIONS requests in Wrangler's oauth server

  • #​5099 93150aa Thanks @​KaiSpencer! - feat: expose --show-interactive-dev-session flag

    This flag controls the interactive mode of the dev session, a feature that already exists internally but was not exposed to the user.
    This is useful for CI/CD environments where the interactive mode is not desired, or running in tools like turbo and nx.

v3.35.0

Compare Source

Minor Changes
  • #​5166 133a190 Thanks @​CarmenPopoviciu! - feat: Implement config file validation for Pages projects

    Wrangler proper has a mechanism in place through which it validates a wrangler.toml file for Workers projects. As part of adding wrangler toml support for Pages, we need to put a similar mechanism in place, to validate a configuration file against Pages specific requirements.

  • #​5279 0a86050 Thanks @​penalosa! - feat: Support the hidden command wrangler pages functions build-env

  • #​5093 a676f55 Thanks @​benycodes! - feature: add --dispatch-namespace to wrangler deploy to support uploading Workers directly to a Workers for Platforms dispatch namespace.

Patch Changes
  • #​5275 e1f2576 Thanks @​petebacondarwin! - fix: ensure tail exits when the WebSocket disconnects

    Previously when the tail WebSocket disconnected, e.g. because of an Internet failure,
    the wrangler tail command would just hang and neither exit nor any longer receive tail messages.

    Now the process exits with an exit code of 1, and outputs an error message.

    The error message is formatted appropriately, if the tail format is set to json.

    Fixes #​3927

  • #​5069 8f79981 Thanks @​RamIdeas! - chore: deprecate wrangler version command

    wrangler version is an undocumented alias for wrangler --version. It is being deprecated in favour of the more conventional flag syntax to avoid confusion with a new (upcoming) wrangler versions command.

  • Updated dependencies [1720f0a]:

    • miniflare@3.20240314.0

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 6873948 to dfe3908 Compare March 21, 2024 21:55
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.35.0 chore(deps): update dependency wrangler to v3.36.0 Mar 21, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from dfe3908 to 5e35793 Compare March 22, 2024 16:50
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.36.0 chore(deps): update dependency wrangler to v3.37.0 Mar 22, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 5e35793 to afd0a41 Compare March 26, 2024 18:09
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.37.0 chore(deps): update dependency wrangler to v3.38.0 Mar 26, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from afd0a41 to ae76b1c Compare March 27, 2024 18:18
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.38.0 chore(deps): update dependency wrangler to v3.39.0 Mar 27, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from ae76b1c to 9fe7cc4 Compare March 29, 2024 10:44
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.39.0 chore(deps): update dependency wrangler to v3.40.0 Mar 29, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 9fe7cc4 to c853fd5 Compare March 29, 2024 17:33
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.40.0 chore(deps): update dependency wrangler to v3.41.0 Mar 29, 2024
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.41.0 chore(deps): update dependency wrangler to v3.42.0 Apr 1, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from c853fd5 to c2b1ad8 Compare April 1, 2024 17:09
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.42.0 chore(deps): update dependency wrangler to v3.43.0 Apr 2, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from c2b1ad8 to 90a373f Compare April 2, 2024 16:07
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.43.0 chore(deps): update dependency wrangler to v3.44.0 Apr 2, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch 2 times, most recently from 0825747 to 038e192 Compare April 3, 2024 22:13
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.44.0 chore(deps): update dependency wrangler to v3.45.0 Apr 3, 2024
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.45.0 chore(deps): update dependency wrangler to v3.46.0 Apr 4, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch 2 times, most recently from 3ea8c3a to 33bf678 Compare April 4, 2024 21:02
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.46.0 chore(deps): update dependency wrangler to v3.45.0 Apr 4, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 33bf678 to 999c75b Compare April 5, 2024 02:17
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.45.0 chore(deps): update dependency wrangler to v3.47.1 Apr 5, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 999c75b to 7817475 Compare April 5, 2024 19:54
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.47.1 chore(deps): update dependency wrangler to v3.48.0 Apr 5, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 7817475 to 59ec591 Compare April 10, 2024 21:43
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.48.0 chore(deps): update dependency wrangler to v3.49.0 Apr 10, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 59ec591 to 5a2d4a6 Compare April 11, 2024 17:10
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.49.0 chore(deps): update dependency wrangler to v3.50.0 Apr 11, 2024
@pigri pigri merged commit 4b77cf1 into main Apr 12, 2024
2 checks passed
@renovate renovate bot deleted the renovate/wrangler-3.x branch April 12, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant