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.63.0 #29

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 30, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

cloudflare/workers-sdk (wrangler)

v3.63.0

Compare Source

Minor Changes
  • #​6167 e048958 Thanks @​threepointone! - feature: alias modules in the worker

    Sometimes, users want to replace modules with other modules. This commonly happens inside a third party dependency itself. As an example, a user might have imported node-fetch, which will probably never work in workerd. You can use the alias config to replace any of these imports with a module of your choice.

    Let's say you make a fetch-nolyfill.js

    export default fetch; // all this does is export the standard fetch function`

    You can then configure wrangler.toml like so:

v3.62.0

Compare Source

Minor Changes
  • #​5950 0075621 Thanks @​WalshyDev! - feat: add wrangler versions secret put, wrangler versions secret bulk and wrangler versions secret list

    wrangler versions secret put allows for you to add/update a secret even if the latest version is not fully deployed. A new version with this secret will be created, the existing secrets and config are copied from the latest version.

    wrangler versions secret bulk allows you to bulk add/update multiple secrets at once, this behaves the same as secret put and will only make one new version.

    wrangler versions secret list lists the secrets available to the currently deployed versions. wrangler versions secret list --latest-version or wrangler secret list will list for the latest version.

    Additionally, we will now prompt for extra confirmation if attempting to rollback to a version with different secrets than the currently deployed.

Patch Changes
  • #​6118 1621992 Thanks @​WalshyDev! - fix: rollback in the case of a secret change, the prompt meant to show was not showing due to the spinner in an interactive env. It will now properly show.

    chore: improve the view of wrangler versions view and change up copy a little for versions secret commands.

  • #​6105 26855f3 Thanks @​helloimalastair! - feat: Add help messages to all invalid r2 commands

  • #​3735 9c7df38 Thanks @​lrapoport-cf! - chore: Cleanup wrangler --help output

    This commit cleans up and standardizes the look and feel of all wrangler commands as displayed by wrangler --help and wrangler <cmd> --help.

  • #​6080 e2972cf Thanks @​threepointone! - chore: run eslint (with react config) on workers-playground/wrangler

    This enables eslint (with our react config) for the workers-playground project. Additionally, this enables the react-jsx condition in relevant tsconfig/eslint config, letting us write jsx without having React in scope.

  • #​6001 d39d595 Thanks @​penalosa! - chore: changes to how wrangler dev launches your worker, behind the experimental --x-dev-env flag

  • #​5214 05c5607 Thanks @​penalosa! - feat: Experimental file based service discovery when running multiple Wrangler instances locally. To try it out, make sure all your local Wrangler instances are running with the --x-registry flag.

  • Updated dependencies [7d02856, d4e1e9f]:

v3.61.0

Compare Source

Minor Changes
  • #​5995 374bc44 Thanks @​petebacondarwin! - feat: allow Durable Object migrations to be overridable in environments

    By making the migrations key inheritable, users can provide different migrations
    for each wrangler.toml environment.

    Resolves #​729

Patch Changes
  • #​6039 dc597a3 Thanks @​petebacondarwin! - fix: hybrid nodejs compat now supports requiring the default export of a CJS module

    Fixes #​6028

  • #​6051 15aff8f Thanks @​threepointone! - fix: Don't check expiry dates on custom certs

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

    For wrangler dev, we don't have to check whether certificates have expired when they're provided by the user.

  • #​6052 b4c0233 Thanks @​threepointone! - chore: Add .wrangler and .DS_Store to .gitignore generated by wrangler init

    This commit adds a small QOL improvement to init (to be deprecated in the future), for those who still use this wrangler command.

  • #​6050 a0c3327 Thanks @​threepointone! - chore: Normalize more deps

    This is the last of the patches that normalize dependencies across the codebase. In this batch: ws, vitest, zod , rimraf, @types/rimraf, ava, source-map, glob, cookie, @types/cookie, @microsoft/api-extractor, @types/mime, @types/yargs, devtools-protocol, @vitest/ui, execa, strip-ansi

    This patch also sorts dependencies in every package.json

  • #​6029 f5ad1d3 Thanks @​threepointone! - chore: Normalize some dependencies in workers-sdk

    This is the first of a few expected patches that normalize dependency versions, This normalizes undici, concurrently, @types/node, react, react-dom, @types/react, @types/react-dom, eslint, typescript. There are no functional code changes (but there are a couple of typecheck fixes).

  • #​6046 c643a81 Thanks @​threepointone! - chore: Normalize more dependencies.

    Follow up to https://github.com/cloudflare/workers-sdk/pull/6029, this normalizes some more dependencies : get-port, chalk, yargs, toucan-js, @typescript-eslint/parser, @typescript-eslint/eslint-plugin, esbuild-register, hono, glob-to-regexp, @cloudflare/workers-types

  • #​6058 31cd51f Thanks @​threepointone! - chore: Quieter builds

    This patch cleans up warnings we were seeing when doing a full build. Specifically:

    • fixtures/remix-pages-app had a bunch of warnings about impending features that it should be upgraded to, so I did that. (tbh this one needs a full upgrade of packages, but we'll get to that later when we're upgrading across the codebase)
    • updated @microsoft/api-extractor so it didn't complain that it didn't match the typescript version (that we'd recently upgraded)
    • it also silenced a bunch of warnings when exporting types from wrangler. We'll need to fix those, but we'll do that when we work on unstable_dev etc.
    • workers-playground was complaining about the size of the bundle being generated, so I increased the limit on it
  • #​6043 db66101 Thanks @​threepointone! - fix: avoid esbuild warning when running dev/bundle

    I've been experimenting with esbuild 0.21.4 with wrangler. It's mostly been fine. But I get this warning every time

    ▲ [WARNING] Import "__INJECT_FOR_TESTING_WRANGLER_MIDDLEWARE__" will always be undefined because there is no matching export in "src/index.ts" [import-is-undefined]
    
        .wrangler/tmp/bundle-Z3YXTd/middleware-insertion-facade.js:8:23:
          8 │ .....(OTHER_EXPORTS.__INJECT_FOR_TESTING_WRANGLER_MIDDLEWARE__ ?? []),
            ╵
    

    This is because [email protected] enabled a warning by default whenever an undefined import is accessed on an imports object. However we abuse imports to inject stuff in middleware.test.ts. A simple fix is to only inject that code in tests.

  • #​6062 267761b Thanks @​WalshyDev! - fix: typo in wrangler d1 execute saying "Databas" instead of "Database"

  • #​6064 84e6aeb Thanks @​helloimalastair! - fix: Wrangler is now able to upload files to local R2 buckets above the 300 MiB limit

  • Updated dependencies [a0c3327, f5ad1d3, 31cd51f]:

v3.60.3

Compare Source

Patch Changes
  • #​6025 122ef06 Thanks @​IgorMinar! - fix: avoid path collisions between performance and Performance Node.js polyfills

    It turns out that ESBuild paths are case insensitive, which can result in path collisions between polyfills for globalThis.performance and globalThis.Performance, etc.

    This change ensures that we encode all global names to lowercase and decode them appropriately.

  • #​6009 169a9fa Thanks @​RamIdeas! - fix: reduce the number of parallel file reads on Windows to avoid EMFILE type errors

    Fixes #​1586

  • 53acdbc Thanks @​petebacondarwin! - fix: warn if user tries normal deploy when in the middle of a gradual version rollout

  • Updated dependencies [c4146fc]:

v3.60.2

Compare Source

Patch Changes
  • #​5307 e6a3d24 Thanks @​achanda! - fix: add more timePeriods to wrangler d1 insights

    This PR updates wrangler d1 insights to accept arbitrary timePeriod values up to 31 days.

v3.60.1

Compare Source

Patch Changes

v3.60.0

Compare Source

Minor Changes
  • #​5878 1e68fe5 Thanks @​IgorMinar! - feat: add experimental support for hybrid Node.js compatibility

    This feature is experimental and not yet available for general consumption.

    Use a combination of workerd Node.js builtins (behind the experimental:nodejs_compat_v2 flag) and
    Unenv polyfills (configured to only add those missing from the runtime) to provide a new more effective
    Node.js compatibility approach.

  • #​5988 e144f63 Thanks @​RamIdeas! - feature: rename the wrangler secret:bulk command to wrangler secret bulk

    The old command is now deprecated (but still functional) and will be removed in a future release. The new command is now more consistent with the rest of the wrangler CLI commands.

  • #​5989 35b1a2f Thanks @​RamIdeas! - feature: rename wrangler kv:... commands to wrangler kv ...

    The old commands are now deprecated (but still functional) and will be removed in a future release. The new commands are now more consistent with the rest of the wrangler CLI commands.

  • #​5861 1cc52f1 Thanks @​zebp! - feat: allow for Pages projects to upload sourcemaps

    Pages projects can now upload sourcemaps for server bundles to enable remapped stacktraces in realtime logs when deployed with upload_source_map set to true in wrangler.toml.

Patch Changes
  • #​5939 21573f4 Thanks @​penalosa! - refactor: Adds the experimental flag --x-dev-env which opts in to using an experimental code path for wrangler dev and wrangler dev --remote. There should be no observable behaviour changes when this flag is enabled.

  • #​5934 bac79fb Thanks @​dbenCF! - fix: Update create KV namespace binding details message for easier implementation

  • #​5927 6f83641 Thanks @​CarmenPopoviciu! - fix: Clean pages dev terminal ouput

    This work includes a series of improvements to the pages dev terminal output, in an attempt to make this output more structured, organised, cleaner, easier to follow, and therefore more helpful for our users <3

  • #​5960 e648825 Thanks @​petebacondarwin! - fix: avoid injecting esbuild watch stubs into production Worker code

    When we added the ability to include additional modules in the deployed bundle of a Worker,
    we inadvertently also included some boiler plate code that is only needed at development time.

    This fix ensures that this code is only injected if we are running esbuild in watch mode
    (e.g. wrangler dev) and not when building for deployment.

    It is interesting to note that this boilerplate only gets included in the production code
    if there is an import of CommonJS code in the Worker, which esbuild needs to convert to an
    ESM import.

    Fixes #​4269

  • Updated dependencies [ab95473]:

v3.59.0

Compare Source

Minor Changes
  • #​5963 bf803d7 Thanks @​Skye-31! - Feature: Add support for hiding the "unsafe" fields are experimental warning using an environment variable

    By setting WRANGLER_DISABLE_EXPERIMENTAL_WARNING to any truthy value, these warnings will be hidden.

Patch Changes

v3.58.0

Compare Source

Minor Changes
  • #​5933 93b98cb Thanks @​WalshyDev! - feature: allow for writing authentication details per API environment. This allows someone targetting staging to have their staging auth details saved separately from production, this saves them logging in and out when switching environments.
Patch Changes
  • #​5938 9e4d8bc Thanks @​threepointone! - fix: let "assets" in wrangler.toml be a string

    The experimental "assets" field can be either a string or an object. However the type definition marks it only as an object. This is a problem because we use this to generate the json schema, which gets picked up by vscode's even better toml extension, and shows it to be an error when used with a string (even though it works fine). The fix is to simply change the type definition to add a string variant.

  • #​5758 8e5e589 Thanks @​Jackenmen! - fix: use correct type for AI binding instead of unknown

  • Updated dependencies [e0e7725]:

v3.57.2

Compare Source

Patch Changes

v3.57.1

Compare Source

Patch Changes
  • #​5859 f2ceb3a Thanks @​w-kuhn! - fix: queue consumer max_batch_timeout should accept a 0 value

  • #​5862 441a05f Thanks @​CarmenPopoviciu! - fix: wrangler pages deploy should fail if deployment was unsuccessful

    If a Pages project fails to deploy, wrangler pages deploy will log
    an error message, but exit successfully. It should instead throw a
    FatalError.

  • #​5812 d5e00e4 Thanks @​thomasgauvin! - fix: remove Hyperdrive warning for local development.

    Hyperdrive bindings are now supported when developing locally with Hyperdrive. We should update our logs to reflect this.

  • #​5626 a12b031 Thanks @​RamIdeas! - chore: ignore workerd output (error: CODE_MOVED) not intended for end-user devs

v3.57.0

Compare Source

Minor Changes
  • #​5696 7e97ba8 Thanks @​geelen! - feature: Improved d1 execute --file --remote performance & added support for much larger SQL files within a single transaction.

  • #​5819 63f7acb Thanks @​CarmenPopoviciu! - fix: Show feedback on Pages project deployment failure

    Today, if uploading a Pages Function, or deploying a Pages project fails for whatever reason, there’s no feedback shown to the user. Worse yet, the shown message is misleading, saying the deployment was successful, when in fact it was not:

    ✨ Deployment complete!
    

    This commit ensures that we provide users with:

    • the correct feedback with respect to their Pages deployment
    • the appropriate messaging depending on the status of their project's deployment status
    • the appropriate logs in case of a deployment failure
  • #​5814 2869e03 Thanks @​CarmenPopoviciu! - fix: Display correct global flags in wrangler pages --help

    Running wrangler pages --help will list, amongst others, the following global flags:

    -j, --experimental-json-config
    -c, --config
    -e, --env
    -h, --help
    -v, --version
    

    This is not accurate, since flags such as --config, --experimental-json-config, or env are not supported by Pages.

    This commit ensures we display the correct global flags that apply to Pages.

  • #​5818 df2daf2 Thanks @​WalshyDev! - chore: Deprecate usage of the deployment object on the unsafe metadata binding in favor of the new version_metadata binding.

    If you're currently using the old binding, please move over to the new version_metadata binding by adding:

    [version_metadata]
    binding = "CF_VERSION_METADATA"

    and updating your usage accordingly. You can find the docs for the new binding here: https://developers.cloudflare.com/workers/runtime-apis/bindings/version-metadata

Patch Changes
  • #​5838 609debd Thanks @​petebacondarwin! - fix: update undici to the latest version to avoid a potential vulnerability

  • #​5832 86a6e09 Thanks @​petebacondarwin! - fix: do not allow non-string values in bulk secret uploads

    Prior to Wrangler 3.4.0 we displayed an error if the user tried to upload a
    JSON file that contained non-string secrets, since these are not supported
    by the Cloudflare backend.

    This change reintroduces that check to give the user a helpful error message
    rather than a cryptic workers.api.error.invalid_script_config error code.

v3.56.0

Compare Source

Minor Changes
  • #​5712 151bc3d Thanks @​penalosa! - feat: Support mtls_certificates and browser bindings when using wrangler.toml with a Pages project
Patch Changes
  • #​5813 9627cef Thanks @​GregBrimble! - fix: Upload Pages project assets with more grace

    • Reduces the maximum bucket size from 50 MiB to 40 MiB.
    • Reduces the maximum asset count from 5000 to 2000.
    • Allows for more retries (with increased sleep between attempts) when encountering an API gateway failure.
  • Updated dependencies [0725f6f, 89b6d7f]:

v3.55.0

Compare Source

Minor Changes
  • #​5570 66bdad0 Thanks @​sesteves! - feature: support delayed delivery in the miniflare's queue simulator.

    This change updates the miniflare's queue broker to support delayed delivery of messages, both when sending the message from a producer and when retrying the message from a consumer.

Patch Changes
  • #​5740 97741db Thanks @​WalshyDev! - chore: log "Version ID" in wrangler deploy, wrangler deployments list, wrangler deployments view and wrangler rollback to support migration from the deprecated "Deployment ID". Users should update any parsing to use "Version ID" before "Deployment ID" is removed.

  • #​5754 f673c66 Thanks @​RamIdeas! - fix: when using custom builds, the wrangler dev proxy server was sometimes left in a paused state

    This could be observed as the browser loading indefinitely, after saving a source file (unchanged) when using custom builds. This is now fixed by ensuring the proxy server is unpaused after a short timeout period.

  • Updated dependencies [66bdad0, 9b4af8a]:

v3.53.1

Compare Source

Patch Changes
  • #​5091 6365c90 Thanks @​Cherry! - fix: better handle dashes and other invalid JS identifier characters in wrangler types generation for vars, bindings, etc.

    Previously, with the following in your wrangler.toml, an invalid types file would be generated:

    [vars]
    some-var = "foobar"

    Now, the generated types file will be valid:

    interface Env {
    	"some-var": "foobar";
    }
  • #​5748 27966a4 Thanks @​penalosa! - fix: Load sourcemaps relative to the entry directory, not cwd.

  • #​5746 1dd9f7e Thanks @​petebacondarwin! - fix: suggest trying to update Wrangler if there is a newer one available after an unexpected error

  • #​5226 f63e7a5 Thanks @​DaniFoldi! - fix: remove second Wrangler banner from wrangler dispatch-namespace rename

v3.53.0

Compare Source

Minor Changes
  • #​5604 327a456 Thanks @​dario-piotrowicz! - feat: add support for environments in getPlatformProxy

    allow getPlatformProxy to target environments by allowing users to specify an environment option

    Example usage:

    const { env } = await getPlatformProxy({
    	environment: "production",
    });
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 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 02d5d76 to bf87abc Compare May 2, 2024 20:02
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.53.0 chore(deps): update dependency wrangler to v3.53.1 May 2, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from bf87abc to 112317d Compare May 9, 2024 19:26
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.53.1 chore(deps): update dependency wrangler to v3.55.0 May 9, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 112317d to 17984d2 Compare May 14, 2024 22:58
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.55.0 chore(deps): update dependency wrangler to v3.56.0 May 14, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 17984d2 to cba1787 Compare May 17, 2024 15:57
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.56.0 chore(deps): update dependency wrangler to v3.57.0 May 17, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from cba1787 to 929524d Compare May 21, 2024 18:51
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.57.0 chore(deps): update dependency wrangler to v3.57.1 May 21, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 929524d to 3cb0db9 Compare May 28, 2024 17:19
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.57.1 chore(deps): update dependency wrangler to v3.57.2 May 28, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 3cb0db9 to 55e4613 Compare May 31, 2024 16:50
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.57.2 chore(deps): update dependency wrangler to v3.58.0 May 31, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 55e4613 to c92902a Compare June 4, 2024 19:49
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.58.0 chore(deps): update dependency wrangler to v3.59.0 Jun 4, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from c92902a to da8c734 Compare June 7, 2024 12:41
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.59.0 chore(deps): update dependency wrangler to v3.60.0 Jun 7, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from da8c734 to 9e2fb66 Compare June 10, 2024 22:25
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.60.0 chore(deps): update dependency wrangler to v3.60.1 Jun 10, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 9e2fb66 to 6dfb2e4 Compare June 11, 2024 19:26
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.60.1 chore(deps): update dependency wrangler to v3.60.2 Jun 11, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 6dfb2e4 to 1e81b6f Compare June 14, 2024 12:18
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.60.2 chore(deps): update dependency wrangler to v3.60.3 Jun 14, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 1e81b6f to 3393f6a Compare June 18, 2024 19:54
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.60.3 chore(deps): update dependency wrangler to v3.61.0 Jun 18, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 3393f6a to 09b131f Compare June 25, 2024 15:59
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.61.0 chore(deps): update dependency wrangler to v3.62.0 Jun 25, 2024
@renovate renovate bot force-pushed the renovate/wrangler-3.x branch from 09b131f to aea7ebd Compare July 3, 2024 13:38
@renovate renovate bot changed the title chore(deps): update dependency wrangler to v3.62.0 chore(deps): update dependency wrangler to v3.63.0 Jul 3, 2024
@pigri pigri merged commit a163972 into main Jul 4, 2024
@pigri pigri deleted the renovate/wrangler-3.x branch July 4, 2024 14: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