@cloudflare/vitest-pool-workers@0.16.8
📦 cloudflare-workersView on GitHub →
🐛 2 fixes🔧 4 symbols
Summary
This patch fixes an inconsistency in how the CF-Worker header is generated during local development, ensuring it correctly reflects the parent zone name as it does in production. Dependencies including miniflare and wrangler have also been updated.
🐛 Bug Fixes
- Fixed the outbound CF-Worker header in local development environments (@cloudflare/vite-plugin, @cloudflare/vitest-pool-workers, getPlatformProxy) to correctly reflect the parent zone instead of the route pattern hostname or falling back incorrectly.
- Ensured that when a route uses the zone_name field, the CF-Worker header is set to the zone name rather than the pattern hostname, aligning local development behavior with production.