From db451901600ce943288631eb1b7a0bb03f9ea233 Mon Sep 17 00:00:00 2001 From: Matt Silverlock Date: Mon, 15 Apr 2024 09:24:05 -0400 Subject: [PATCH] build: update compat date, remove Update the `compatibility_date` and remove the need for https://developers.cloudflare.com/workers/configuration/compatibility-dates/#streams-constructors as it is the default as of `2022-11-30` --- _templates/cloudflare/worker-go/wrangler.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/_templates/cloudflare/worker-go/wrangler.toml b/_templates/cloudflare/worker-go/wrangler.toml index 7e68af0..1612728 100644 --- a/_templates/cloudflare/worker-go/wrangler.toml +++ b/_templates/cloudflare/worker-go/wrangler.toml @@ -1,9 +1,6 @@ name = "go-worker" main = "./build/worker.mjs" -compatibility_date = "2022-11-19" -compatibility_flags = [ - "streams_enable_constructors" -] +compatibility_date = "2024-04-15" [build] command = "make build"