@cloudflare/containers
0.3.7 · 4 Jun 2026MIT OR Apache-2.03M / weekRepositoryHomepagenpmAtom feed
Latest releases
All 46 releases- 0.3.x · latest line
0.3.7
4 Jun 2026Prevent startup and stop handling races from persisting a stopped state for a running container.
0.3.6
1 Jun 2026Use
IdentityTransformStreamwhen proxying deferred HTTP response bodies.Remove noisy logs emitted while checking container and port readiness.
0.3.5
27 May 2026Use the canonical
AlarmInvocationInfotype from@cloudflare/workers-typesfor thealarm()parameter instead of an inline type. This is a no-op for users (the shape is identical), but keeps the override aligned with the Durable Object base class signature.Refreshed the
examples/projects:No changes to the published library API.
Add return types to exported functions and public methods to satisfy ESLint and improve type checking.
Patch Changes
Use the canonical
AlarmInvocationInfotype from@cloudflare/workers-typesfor thealarm()parameter instead of an inline type. This is a no-op for users (the shape is identical), but keeps the override aligned with the Durable Object base class signature.Refreshed the
examples/projects:All examples now use the latest TypeScript, Vitest, and Wrangler, and target a current Workers
compatibility_date.Worker types are generated by
wrangler types, matching current Cloudflare guidance.The
examples/timeout/snippet is now a fully runnable example.Integration tests now run on arm64 hosts (e.g. Apple Silicon) and reliably clean up after themselves.
No changes to the published library API.
Add return types to exported functions and public methods to satisfy ESLint and improve type checking.
Clarify the license for this library matches that of
@cloudflare/workers-sdk, which is dual licensed under either MIT OR Apache-2.0.Tighten the return type of
Container#onErrorfromanytounknown. Subclasses that overrideonErrorcan still return any value. This should be a no-op for most users.Preserve original errors as
causewhen wrapping abort/timeout errors during container startup, making it easier to debug the underlying failure.Reset container state after failed startup or terminal monitor errors, avoid stale monitor callbacks updating newer instances, and apply configured constructor startup options.
Dependency tracking
Know when your own dependencies move
@cloudflare/containers published 16 releases in the last 12 months. inlinr folds the routine ones into a line and keeps the few that need you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 20 Nov 2026. Releases and advisories last read 20 Nov 2026.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.