Skip to main content

WRANGLER_MIN

Constant WRANGLER_MIN 

Source
pub const WRANGLER_MIN: &str = "4.162.0";
Expand description

#1732: the wrangler minimum. bynk doctor warns about a wrangler below it, and bynk dev prints the same warning before serving.

It was the oldest wrangler whose bundled workerd serves COMPATIBILITY_DATE: an older workerd refuses a newer date outright (wrangler dev exits: “This Worker requires compatibility date …”). Until v1.0.0 it instead tracks the newest wrangler at each release (the toolchain policy in design/bynk-release-discipline.md Part 3), which is never older than the one that serves the date. It is also past every feature a generated Worker needs, including the durable_object container policy (4.136.0), so no feature has a floor of its own. bynk-emit/tests/compat_date_policy.rs checks the policy doc names it.