Change8

@cloudflare/deploy-helpers@0.8.0

📦 cloudflare-workersView on GitHub →
2 features🔧 3 symbols

Summary

Introduced container support for worker previews and automatically creates parent Workers for previews when they don't exist. Refactored deploy validation and output writing into shared helpers.

Migration Steps

  1. Declare containers explicitly in the `previews` block to enable them for previews. Container configuration does not inherit.
  2. Ensure that each `previews.containers` entry has a `class_name` that matches a Durable Object class.

✨ New Features

  • Worker previews now support containers through a new `previews.containers` configuration block.
  • Automatically create the parent Worker when `wrangler preview` targets one that doesn't exist yet.

Affected Symbols