github cloudflare/workers-sdk @cloudflare/workers-utils@0.6.0

latest releases: @cloudflare/pages-shared@0.13.97, miniflare@4.20260107.0, wrangler@4.58.0...
3 days ago

Minor Changes

  • #11702 f612b46 Thanks @gpanders! - Add support for trusted_user_ca_keys in Wrangler

    You can now configure SSH trusted user CA keys for containers. Add the following to your wrangler.toml:

    [[containers.trusted_user_ca_keys]]
    public_key = "ssh-ed25519 AAAAC3..."

    This allows you to specify CA public keys that can be used to verify SSH user certificates.

  • #11620 25f6672 Thanks @dario-piotrowicz! - Expose a new getLocalWorkerdCompatibilityDate utility that allows callers to get the compatibility date of the locally installed workerd package.

  • #11616 fc95831 Thanks @NuroDev! - Add type generation support to wrangler dev

    You can now have your worker configuration types be automatically generated when the local Wrangler development server starts.

    To use it you can either:

    1. Add the --types flag when running wrangler dev.
    2. Update your Wrangler configuration file to add the new dev.generate_types boolean property.
    {
    	"$schema": "node_modules/wrangler/config-schema.json",
    	"name": "example",
    	"main": "src/index.ts",
    	"compatibility_date": "2025-12-12",
    	"dev": {
    		"generate_types": true
    	}
    }
  • #11620 25f6672 Thanks @dario-piotrowicz! - Expose new isCompatDate utility that discerns whether a string represents a compatibility date or not

Patch Changes

  • #11737 2cfea12 Thanks @NuroDev! - Fix the triggers JSON schema default value to use valid JSON ({"crons":[]}) instead of an invalid JavaScript literal, which was causing IDE auto-completion to insert a string rather than an object.

  • #11651 d123ad0 Thanks @dario-piotrowicz! - Surface error in diagnostics when TOML date/time values are used in vars

    TOML parses unquoted date/time values like DATE = 2024-01-01 as TOML Date, Date-Time, and Time values. The config validation now surfaces an error in the diagnostics result when this type of values are encountered, with a clear message telling you to quote the value as a string, e.g. DATE = "2024-01-01".

  • #11693 385ec7f Thanks @vicb! - Update the signature of ParseTOML to drop the Generics.

    Use an explicit cast where required.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.