Home

Awesome

mcov

Minimum compatible Open Policy Agent (OPA) version, or mcov for short, is a tiny tool that, as the name implies, reports the minimum compatible OPA version for any given Rego files you point it at. This can be used to:

Usage

$ mcov policies/
v0.37.0

Caveats

Note that not all features of Rego that have been added over time — or changes made to existing ones — are possible to track using capabilities alone. Use the version reported by mcov as a starting point — not as a replacement for testing compatibility!

OPA Versions Cheatsheet

Below lists additions to the Rego language, as presented in the OPA capabilities file for each version. Features that may have an impact on the minimum compatible OPA version but are not covered by capabilities are mentioned separately.

v0.67.0

New built-in functions

Not covered by capabilities

v0.64.0

New built-in functions

v0.63.0

New built-in functions

v0.59.0

Features

v0.57.0

Features

Not covered by capabilities

v0.56.0

New built-in functions

v0.55.0

New built-in functions

Not covered by capabilities

v0.53.0

New built-in functions

v0.52.0

New built-in functions

v0.50.0

New built-in functions

v0.48.0

New built-in functions

v0.47.0

New built-in functions

v0.46.0

Features

New built-in functions

Not covered by capabilities

v0.45.0

New built-in functions

v0.44.0

New built-in functions

v0.43.0

Not covered by capabilities

v0.42.0

Future keywords

New built-in functions

v0.41.0

New built-in functions

v0.40.0

New built-in functions

Not covered by capabilities

v0.38.0

Future keywords

Not covered by capabilities

v0.37.0

New built-in functions

Not covered by capabilities

v0.36.0

New built-in functions

Miscellaneous

v0.35.0

New built-in functions

v0.34.0

Future keywords

New built-in functions

v0.33.0

New built-in functions

v0.31.0

New built-in functions

v0.28.0

New built-in functions

v0.26.0

New built-in functions

v0.25.0

New built-in functions

v0.24.0

New built-in functions

v0.23.0

New built-in functions

v0.22.0

New built-in functions

Community

For questions, discussions and announcements related to Styra products, services and open source projects, please join the Styra community on Slack!