Skip to content

Remove WORKER_SELF_REFERENCE in favor of new ctx.exports #915

@mhart

Description

@mhart

A named binding is no longer needed: https://developers.cloudflare.com/changelog/2025-09-26-ctx-exports/

Currently requires the enable_ctx_exports compat flag

Happy to do a PR but my main questions would be around how to handle backwards compat, etc.

ie, straightforward to apple this to new projects, but how do we deal with existing projects that might be on an older compat date, etc?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions