Skip to content

chore(config): bump compatibility date to 2026-06-17 - #274

Merged
mattzcarey merged 1 commit into
mainfrom
chore/bump-compat-date
Oct 9, 2026
Merged

mattzcarey merged 1 commit into
mainfrom
chore/bump-compat-date

Conversation

@mattzcarey

Copy link
Copy Markdown
Member

Bumps the Worker's compatibility_date from 2026-01-12 to 2026-06-17, the newest date the pinned workerd (1.20260617.1) supports, and regenerates worker-configuration.d.ts.

The flag we need is unhandled_rejection_after_microtask_checkpoint (cloudflare/workerd#6049, default from 2026-03-03):

Other flags this date turns on:

  • strip_bom_in_read_all_text
  • rpc_params_dup_stubs
  • require_returns_default_export
  • fetch_iterable_type_support
  • text_decoder_replace_surrogates
  • text_decoder_cjk_decoder
  • enhanced_error_serialization
  • writable_stream_spec_compliant_writer
  • encoder_stream_spec_compliant_backpressure
  • diagnostics_channel_has_subscribers_getter

The rest are WebSocket, Durable Object alarm, Queues, Workflows, Containers and Python flags, which this Worker doesn't use. The Worker Loader isolates in search.ts and execute.ts stay on 2026-01-12.

npm run check ran. I deployed a minimal repro: on 2026-01-12 it fires the early unhandledrejection, and on 2026-03-03 it fires nothing.

Picks up unhandled_rejection_after_microtask_checkpoint (cloudflare/workerd#6049),
so workerd no longer fires unhandledrejection for a promise that is handled
later in the same microtask checkpoint.
@mattzcarey
mattzcarey merged commit 06ae878 into main Oct 9, 2026
5 checks passed
@mattzcarey
mattzcarey deleted the chore/bump-compat-date branch October 9, 2026 00:40
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.

1 participant