miniflare@5.20260820.0-alpha
Pre-releaseMajor Changes
-
#15130
99a1f49Thanks @emily-shen! - Remove the deprecatedhasAssetsAndIsVitestoptionThis internal assets testing option is no longer supported.
-
#15130
99a1f49Thanks @emily-shen! - Change R2 local S3 credentials configurationR2 bindings now use
localDev.experimentalS3Credentialsinstead ofs3Credentialsfor local S3 endpoint credentials.
Minor Changes
-
#14995
59872c4Thanks @ThomasRubini! - Addconnecttrigger for raw socketsYou can now configure a Worker to receive raw socket connections during
wrangler dev, delivered directly to the Worker'sconnect(socket, env, ctx)handler:Each entry opens a listening socket on
127.0.0.1(or the givenaddress) that forwards incoming connections straight to the Worker, bypassing the local dev HTTP entry point. This requires theexperimentalcompatibility flag. Only"tcp"is supported at the moment.@cloudflare/configalso supports declaring this trigger viatriggers.connect(...), which lowers to theconnectfield above:import { defineWorker, triggers } from "@cloudflare/config"; export default defineWorker({ triggers: [ triggers.connect({ protocol: "tcp", port: 5432, address: "127.0.0.1" }), ], });
-
#14735
30c2d47Thanks @vaishnav-mk! - Add individual and batch Workflow instance deletion to the runtime and SDK.WorkflowInstance.delete()deletes one instance. Self-deletion stops the current execution.env.MY_WORKFLOW.deleteBatch(instanceIds)deletes up to 100 instances and returns{ deleted, errors }per input position.wrangler workflows instances delete <name> [id..]deletes instances remotely or with--local; IDs can also come from a JSON array passed with--filename, with a combined limit of 100.
Patch Changes
-
#15130
99a1f49Thanks @emily-shen! - Default local Analytics Engine dataset names in MiniflareAnalytics Engine dataset bindings without an explicit
namenow fallback to the worker and binding name as a default. -
#15260
5ae9d5bThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To @cloudflare/workers-types ^5.20260815.1 ^5.20260816.1 workerd 1.20260815.1 1.20260816.1 -
#15264
4b52975Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To @cloudflare/workers-types ^5.20260816.1 ^5.20260819.1 workerd 1.20260816.1 1.20260819.1 -
#15277
ce9b151Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To @cloudflare/workers-types ^5.20260819.1 ^5.20260820.1 workerd 1.20260819.1 1.20260820.1
{ "connect": [{ "protocol": "tcp", "port": 5432 }] }