Skip to content

Version Packages - #206

Merged
gabivlj merged 1 commit into
mainfrom
changeset-release/main
May 27, 2026
Merged

gabivlj merged 1 commit into
mainfrom
changeset-release/main

Conversation

@emily-shen

@emily-shen emily-shen commented May 12, 2026

Copy link
Copy Markdown
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@cloudflare/containers@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.

@emily-shen
emily-shen requested a review from a team as a code owner May 12, 2026 16:31
@pkg-pr-new

pkg-pr-new Bot commented May 12, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@cloudflare/containers@206

commit: d8cf366

@emily-shen
emily-shen force-pushed the changeset-release/main branch 3 times, most recently from a6554e2 to e72300d Compare May 13, 2026 19:21
@ask-bonk

ask-bonk Bot commented May 13, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@emily-shen
emily-shen force-pushed the changeset-release/main branch from e72300d to 6982f98 Compare May 13, 2026 19:52
@ask-bonk

ask-bonk Bot commented May 13, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@emily-shen
emily-shen force-pushed the changeset-release/main branch from 6982f98 to d8cf366 Compare May 27, 2026 00:12
@ask-bonk

ask-bonk Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@gabivlj
gabivlj merged commit 4a50257 into main May 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants