Releases: cloudflare/workers-sdk
Release list
@cloudflare/workers-utils@0.26.0
Minor Changes
-
#14591
0283a1fThanks @dario-piotrowicz! - ExportgetInstalledPackageVersion,getPackagePath, andisPackageInstalledutilitiesPackage resolution helpers that were previously internal to
@cloudflare/autoconfigare now exported from@cloudflare/workers-utilsso they can be shared across packages without pulling in the full autoconfig dependency.getPackagePathnow also consistently returns a directory path. Previously the fallback resolution strategy could return a file path (the package entry point) instead of its containing directory.
@cloudflare/workers-auth@0.4.2
Patch Changes
- Updated dependencies [
0283a1f]:- @cloudflare/workers-utils@0.26.0
@cloudflare/vitest-pool-workers@0.18.4
Patch Changes
-
#14535
1b965c5Thanks @Naapperas! - Support dynamic retry delays for Workflow steps in local devA step's
retries.delaycan now be a function that computes the delay per failed attempt, in addition to a static duration. The function receives{ ctx, error }and returns a delay (a number of milliseconds or a duration string like"30 seconds"), and its result is fed into the configuredbackoff.await step.do( "call flaky API", { retries: { limit: 5, backoff: "constant", delay: ({ ctx }) => ctx.attempt * 1000, }, }, async () => { /* ... */ } );
The function is invoked once per failed attempt with a 5 second timeout. If it throws, times out, or returns an invalid value, the step fails without further retries.
-
Updated dependencies [
0283a1f,7b28392,1b965c5]:- wrangler@4.110.0
- miniflare@4.20260708.1
@cloudflare/vitest-pool-workers@0.18.3
Patch Changes
-
#14489
e3f0cd6Thanks @edmundhung! - AddlistDurableObjectIds()to MiniflareMiniflare now exposes
listDurableObjectIds()for listing persisted Durable Object instance IDs by binding name. The Vitest pool now uses this shared Miniflare API internally instead of duplicating Miniflare's storage listing logic. -
Updated dependencies [
e3f0cd6,8511ddf,9f74a5f,e3f0cd6,c782e2a,2fedb1f,17d2fc1]:- miniflare@4.20260708.0
- wrangler@4.109.0
@cloudflare/vite-plugin@1.44.0
Minor Changes
-
#14535
1b965c5Thanks @Naapperas! - Support dynamic retry delays for Workflow steps in local devA step's
retries.delaycan now be a function that computes the delay per failed attempt, in addition to a static duration. The function receives{ ctx, error }and returns a delay (a number of milliseconds or a duration string like"30 seconds"), and its result is fed into the configuredbackoff.await step.do( "call flaky API", { retries: { limit: 5, backoff: "constant", delay: ({ ctx }) => ctx.attempt * 1000, }, }, async () => { /* ... */ } );
The function is invoked once per failed attempt with a 5 second timeout. If it throws, times out, or returns an invalid value, the step fails without further retries.
Patch Changes
@cloudflare/vite-plugin@1.43.3
@cloudflare/runtime-types@0.0.1
Patch Changes
- Updated dependencies [
1b965c5]:- miniflare@4.20260709.0