Skip to content

chore(deps): bump @cloudflare/containers from 0.2.0 to 0.3.7#124

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/cloudflare/containers-0.3.7
Open

chore(deps): bump @cloudflare/containers from 0.2.0 to 0.3.7#124
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/cloudflare/containers-0.3.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 5, 2026

Copy link
Copy Markdown
Contributor

Bumps @cloudflare/containers from 0.2.0 to 0.3.7.

Release notes

Sourced from @​cloudflare/containers's releases.

v0.3.7

Patch Changes

  • a5fd50a: Prevent startup and stop handling races from persisting a stopped state for a running container.

v0.3.6

Patch Changes

  • 9650b2d: Use IdentityTransformStream when proxying deferred HTTP response bodies.
  • 5b6eb5f: Remove noisy logs emitted while checking container and port readiness.

v0.3.5

Patch Changes

  • a3fe15b: Use the canonical AlarmInvocationInfo type from @cloudflare/workers-types for the alarm() 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.

  • ca72a22: 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.

  • fc7e7f4: Add return types to exported functions and public methods to satisfy ESLint and improve type checking.

  • eabe7ac: Clarify the license for this library matches that of @cloudflare/workers-sdk, which is dual licensed under either MIT OR Apache-2.0.

  • df8699a: Tighten the return type of Container#onError from any to unknown. Subclasses that override onError can still return any value. This should be a no-op for most users.

  • 45274ea: Preserve original errors as cause when wrapping abort/timeout errors during container startup, making it easier to debug the underlying failure.

  • 19c1709: Reset container state after failed startup or terminal monitor errors, avoid stale monitor callbacks updating newer instances, and apply configured constructor startup options.

v0.3.4

Patch Changes

  • 8442f40: Fix a race in Container where concurrent container.fetch calls to a cold container could throw "start() cannot be called on a container that is already running.".

  • cf01432: Ensure pending stop events are processed when the persisted container lifecycle state is still running but the underlying container has already exited.

    Migrate the root unit test suite from Jest to Vitest and add a test:unit script for running src/tests directly.

  • cf41295: Fix subclass sleepAfter overrides being ignored during the initial activity timeout setup. Previously, the base Container constructor called renewActivityTimeout() inside blockConcurrencyWhile() before subclass class-field initializers ran, so the first sleepAfterMs was always computed from the base default ('10m') regardless of whether the subclass declared sleepAfter = '2h'. A container could then be killed by the activity timeout before the subclass's longer window took effect on the next renewActivityTimeout call. Declarations like:

    class BigContainer extends Container {
      sleepAfter = '2h';
    }

... (truncated)

Changelog

Sourced from @​cloudflare/containers's changelog.

0.3.7

Patch Changes

  • a5fd50a: Prevent startup and stop handling races from persisting a stopped state for a running container.

0.3.6

Patch Changes

  • 9650b2d: Use IdentityTransformStream when proxying deferred HTTP response bodies.
  • 5b6eb5f: Remove noisy logs emitted while checking container and port readiness.

0.3.5

Patch Changes

  • a3fe15b: Use the canonical AlarmInvocationInfo type from @cloudflare/workers-types for the alarm() 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.

  • ca72a22: 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.

  • fc7e7f4: Add return types to exported functions and public methods to satisfy ESLint and improve type checking.

  • eabe7ac: Clarify the license for this library matches that of @cloudflare/workers-sdk, which is dual licensed under either MIT OR Apache-2.0.

  • df8699a: Tighten the return type of Container#onError from any to unknown. Subclasses that override onError can still return any value. This should be a no-op for most users.

  • 45274ea: Preserve original errors as cause when wrapping abort/timeout errors during container startup, making it easier to debug the underlying failure.

  • 19c1709: Reset container state after failed startup or terminal monitor errors, avoid stale monitor callbacks updating newer instances, and apply configured constructor startup options.

0.3.4

Patch Changes

  • 8442f40: Fix a race in Container where concurrent container.fetch calls to a cold container could throw "start() cannot be called on a container that is already running.".

  • cf01432: Ensure pending stop events are processed when the persisted container lifecycle state is still running but the underlying container has already exited.

    Migrate the root unit test suite from Jest to Vitest and add a test:unit script for running src/tests directly.

  • cf41295: Fix subclass sleepAfter overrides being ignored during the initial activity timeout setup. Previously, the base Container constructor called renewActivityTimeout() inside blockConcurrencyWhile() before subclass class-field initializers ran, so the first sleepAfterMs was always computed from the base default ('10m') regardless of whether the subclass declared sleepAfter = '2h'. A container could then be killed by the activity timeout before the subclass's longer window took effect on the next renewActivityTimeout call. Declarations like:

    class BigContainer extends Container {
      sleepAfter = '2h';
    }

    are now honored from the very first alarm check.

... (truncated)

Commits
  • 298169f Merge pull request #219 from cloudflare/changeset-release/main
  • 5ee33ce Version Packages
  • 84da034 Merge pull request #218 from cloudflare/gv/on-exit-improvements
  • a5fd50a fix: Make sure an alarm can't call onStop in the middle of a start()
  • d63074d Merge pull request #215 from cloudflare/changeset-release/main
  • 4c24683 Version Packages
  • b7dd165 Merge pull request #216 from cloudflare/gv/noisy
  • 5b6eb5f containers: Remove noisy logs
  • 23a96df Merge pull request #214 from cloudflare/gv/identity
  • 9650b2d Switch up TransformStream to IdentityTransformStream for deferred proxying
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@cloudflare/containers](https://github.com/cloudflare/containers) from 0.2.0 to 0.3.7.
- [Release notes](https://github.com/cloudflare/containers/releases)
- [Changelog](https://github.com/cloudflare/containers/blob/main/CHANGELOG.md)
- [Commits](cloudflare/containers@v0.2.0...v0.3.7)

---
updated-dependencies:
- dependency-name: "@cloudflare/containers"
  dependency-version: 0.3.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants