Go SDK

Go SDK Changelog

Below is the changelog of our Go SDK, go-oso-cloud:

v2.2.0

  • Add EvaluateLocalFilter and EvaluateLocalSelect functions to the Query Builder to support querying with Local Authorization.

v2.1.0

  • Use Fallback, if configured, for Get, GetPolicyMetadata, and local check APIs if Oso Cloud returns an error (Requires Fallback 1.0.0 or later)
  • Use Fallback, if configured, if Oso Cloud returns an HTTP 400 error

v2.0.1

  • Bugfix: correctly handle Fact deletes inside of Batch transactions
  • Bugfix: correctly filter by predicate in Get

v2.0.0

This release contains several breaking changes. There's a migration guide for upgrading from version 1.x, and don't hesitate to reach out if you run into any issues.

  • Add support for context facts to Local Authorization functions.

v1.7.1

  • Add X-Request-ID header to uniquely identify individual API requests; include this ID in error messages for better debugging.

v1.7.0

  • Added new oso.ActionsLocal() method.
  • Add Instance convenience constructors for Integer and Boolean

v1.6.1

Update error message wording.

v1.6.0

Added support for the local check api: