Add `v2` Go package
Author: johanfyllingCreated Sep 17, 2026Updated Sep 17, 2026
Similar to the v1 package, the v2 package contains a version of the public OPA API/SDK that has Rego v2 as the default behavior for all existing features.
The core OPA implementation moves into v2, and the existing v1 package is transformed into a facade API where the Rego v1/OPA 1.0 behavior is the default.
Source: open-policy-agent/opa