Skip to content

Go SDK 0.8.0

Choose a tag to compare

Go SDK 0.8.0

Changes from 0.7.0

  • Preserve supported exact JSON numbers, including json.Number values, and reject unsupported numeric inputs instead of silently rounding them.
  • Distinguish invalid evaluation context from malformed requests in SDK errors.
  • Add PolicyStatus and lifecycle status on policy responses. Set creation status explicitly for a draft; omitting it preserves published creation behavior.

Install

go get github.com/OpenProdkt/governance-sdk-go@v0.8.0

Compatibility and upgrade

Use the matching control-plane and enforcement-adapter version. Review the SDK manual and coordinated upgrade guidance before upgrading approval-bearing integrations.

Full SDK changes