Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/fix-relative-container-fetch.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/plenty-bats-shave.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tidy-moons-repeat.md

This file was deleted.

15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @cloudflare/containers

## 0.4.0

### Minor Changes

- bd79750: Declare an optional peer dependency on `@cloudflare/workers-types` of `>=4.20260402.1`, the first release providing `Container.interceptOutboundHttps`.

Because consumers supply their own runtime types, the version this package builds against is the minimum they need. The range is enforced only when `@cloudflare/workers-types` is actually installed — projects using `wrangler types` are unaffected.

### Patch Changes

- 41206f9: Support relative URL paths in `containerFetch`.
- b1b29ab: Fail with an actionable error when `interceptHttps` is enabled on a runtime that does not support `ctx.container.interceptOutboundHttps`.

This previously surfaced as a bare `TypeError: this.container.interceptOutboundHttps is not a function`. Worse, the failure happened part-way through applying interception, so a container could be left with HTTP hosts already intercepted. The support check now runs before any interception is applied, and the error names the runtime date required (2026-04-02 or later).

## 0.3.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/containers",
"version": "0.3.7",
"version": "0.4.0",
"description": "Helper class for container-enabled Durable Objects",
"repository": {
"type": "git",
Expand Down
Loading