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

Update Cloudflare #610

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Update Cloudflare #610

merged 1 commit into from
Nov 1, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@cloudflare/workers-types 4.20240725.0 -> 4.20241022.0 age adoption passing confidence
wrangler (source) 3.67.1 -> 3.84.1 age adoption passing confidence

Release Notes

cloudflare/workerd (@​cloudflare/workers-types)

v4.20241022.0

Compare Source

v4.20241018.0

Compare Source

v4.20241011.0

Compare Source

v4.20241004.0

Compare Source

v4.20240925.0

Compare Source

v4.20240924.0

Compare Source

v4.20240919.0

Compare Source

v4.20240909.0

Compare Source

v4.20240903.0

Compare Source

v4.20240821.1

Compare Source

v4.20240815.0

Compare Source

v4.20240806.0

Compare Source

v4.20240729.0

Compare Source

cloudflare/workers-sdk (wrangler)

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]:

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
  • #​6854 04a8fed Thanks @​penalosa! - chore: Include serialised FormData in debug logs

  • #​6879 b27d8cb Thanks @​petebacondarwin! - fix: the docs command should not crash if given search terms

    Fixes a regression accidentally introduced by #​3735.

  • #​6873 b123f43 Thanks @​zwily! - fix: reduce logging noise during wrangler dev with static assets

    Updates to static assets are accessible by passing in --log-level="debug" but otherwise hidden.

  • #​6881 7ca37bc Thanks @​RamIdeas! - fix: custom builds outputting files in assets watched directory no longer cause the custom build to run again in an infinite loop

  • #​6872 b2d094e Thanks @​petebacondarwin! - fix: render a helpful build error if a Service Worker mode Worker has imports

    A common mistake is to forget to export from the entry-point of a Worker, which causes
    Wrangler to infer that we are in "Service Worker" mode.

    In this mode, imports to external modules are not allowed.
    Currently this only fails at runtime, because our esbuild step converts these imports to an internal __require() call that throws an error.
    The error message is misleading and does not help the user identify the cause of the problem.
    This is particularly tricky where the external imports are added by a library or our own node.js polyfills.

    Fixes #​6648

  • #​6792 27e8385 Thanks @​penalosa! - fix: Handle more module declaration cases

  • #​6838 7dbd0c8 Thanks @​GregBrimble! - fix: Improve static asset upload messaging

v3.79.0

Compare Source

Minor Changes
  • #​6801 6009bb4 Thanks @​RamIdeas! - feat: implement retries within wrangler deploy and wrangler versions upload to workaround spotty network connections and service flakes
Patch Changes

v3.78.12

Compare Source

Patch Changes

v3.78.11

Compare Source

Patch Changes

v3.78.10

Compare Source

Patch Changes

v3.78.9

Compare Source

Patch Changes

v3.78.8

Compare Source

Patch Changes
  • #​6791 74d719f Thanks @​penalosa! - fix: Add missing binding to init --from-dash

  • #​6728 1ca313f Thanks @​emily-shen! - fix: remove filepath encoding on asset upload and handle sometimes-encoded characters

    Some characters like [ ] @​ are encoded by encodeURIComponent() but are often requested at an unencoded URL path.
    This change will make assets with filenames with these characters accessible at both the encoded and unencoded paths,
    but to use the encoded path as the canonical one, and to redirect requests to the canonical path if necessary.

  • #​6798 7d7f19a Thanks @​emily-shen! - fix: error if an asset binding is provided without a Worker script

  • Updated dependencies [1ca313f]:

v3.78.7

Compare Source

Patch Changes
  • #​6775 ecd82e8 Thanks @​CarmenPopoviciu! - fix: Support switching between static and dynamic Workers

    This commit fixes the current behaviour of watch mode for Workers with assets, and adds support for switching between static and dynamic Workers within a single wrangler dev session.

  • #​6762 2840b9f Thanks @​petebacondarwin! - fix: error if a user inadvertently uploads a Pages _workers.js file or directory as an asset

  • #​6778 61dd93a Thanks @​CarmenPopoviciu! - fix: Error if Workers + Assets are run in remote mode

    Workers + Assets are currently supported only in local mode. We should throw an error if users attempt to use Workers with assets in remote mode.

  • #​6782 7655505 Thanks @​vicb! - chore: update unenv dependency version

  • #​6777 9649dbc Thanks @​penalosa! - chore: Update CI messaging

  • #​6779 3e75612 Thanks @​emily-shen! - fix: include asset binding in wrangler types

v3.78.6

Compare Source

Patch Changes
  • #​6743 b45e326 Thanks @​petebacondarwin! - fix: ability to build tricky Node.js compat scenario Workers

    Adds support for non-default build conditions and platform via the WRANGLER_BUILD_CONDITIONS and WRANGLER_BUILD_PLATFORM flags.

    Fixes https://github.com/cloudflare/workers-sdk/issues/6742

  • #​6776 02de103 Thanks @​zebp! - fix: disable observability on deploy if not explicitly defined in config

    When deploying a Worker that has observability enabled in the deployed version but not specified in the wrangler.toml Wrangler will now set observability to disabled for the new version to match the wrangler.toml as the source of truth.

  • Updated dependencies [2ddbb65]:

v3.78.5

Compare Source

Patch Changes
  • #​6744 e3136f9 Thanks @​petebacondarwin! - chore: update unenv dependency version

  • #​6749 9a06f88 Thanks @​CarmenPopoviciu! - fix: Throw error when attempting to configure Workers with assets and tail consumers

    Tail Workers are currently not supported for Workers with assets. This commit ensures we throw a corresponding error if users are attempting to configure tail_consumers via their configuration file, for a Worker with assets. This validation is applied for all wrangler dev, wrangler deploy, wrangler versions upload.

  • #​6746 0deb42b Thanks @​GregBrimble! - fix: Fix assets upload message to correctly report number of uploaded assets

  • #​6745 6dbbb88 Thanks @​jonesphillip! - fix: r2 bucket notification get <bucket_name> has been marked deprecated in favor of r2 bucket notification list <bucket_name> to reflect behavior.

  • Updated dependencies [2407c41]:

v3.78.4

Patch Changes

v3.78.3

Patch Changes

v3.78.2

Compare Source

Patch Changes

v3.78.1

Compare Source

Patch Changes

v3.78.0

Compare Source

Minor Changes
Patch Changes

v3.77.0

Compare Source

Minor Changes
  • #​6674 831f892 Thanks @​andyjessop! - feat: Added new [[pipelines]] bindings. This creates a new binding that allows sending events to
    the specified pipeline.

    Example:

    [[pipelines]]
    binding = "MY_PIPELINE"
    pipeline = "my-pipeline"

  • #​6668 88c40be Thanks @​zebp! - feature: add observability setting to wrangler.toml

    Adds the observability setting which provides your Worker with automatic persistent logs that can be searched, filtered, and queried directly from the Workers dashboard.

  • #​6679 2174127 Thanks @​jkoe-cf! - feat: adding option to specify a rule within the config to delete (if no rules are specified, all rules get deleted)

  • #​6666 4107f57 Thanks @​threepointone! - feat: support analytics engine in local/remote dev

    This adds "support" for analytics engine datasets for wrangler dev. Specifically, it simply mocks the AE bindings so that they exist while developing (and don't throw when accessed).

    This does NOT add support in Pages, though we very well could do so in a similar way in a followup.

  • #​6640 8527675 Thanks @​petebacondarwin! - feat: experimental workers assets can be ignored by adding a .assetsignore file

    This file can be added to the root of the assets directory that is to be uploaded alongside the Worker
    when using experimental_assets.

    The file follows the .gitignore syntax, and any matching paths will not be included in the upload.

  • #​6652 648cfdd Thanks @​bthwaites! - feat: Update R2 Get Event Notification response, display, and actions

  • #​6625 8dcd456 Thanks @​maxwellpeterson! - feature: Add support for placement hints

    Adds the hint field to smart placement configuration. When set, placement hints will be used to decide where smart-placement-enabled Workers are run.

  • #​6631 59a0072 Thanks @​emily-shen! - feat: Add config options 'html_handling' and 'not_found_handling' to experimental_asset field in wrangler.toml

Patch Changes
  • #​6621 6523db2 Thanks @​emily-shen! - fix: Validate routes in wrangler dev and wrangler deploy for Workers with assets

    We want wrangler to error if users are trying to deploy a Worker with assets, and routes with a path component.

    All Workers with assets must have either:

    • custom domain routes
    • pattern routes which have no path component (except for the wildcard splat) "some.domain.com/*"
  • #​6687 [7bbed63](https://redirect.github.com/cloud


Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 merged commit 4dc3d1e into main Nov 1, 2024
1 check passed
@renovate renovate bot deleted the renovate/cloudflare branch November 1, 2024 03:25
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.

0 participants