Go SDK Changelog
Below is the changelog of our Go SDK, go-oso-cloud:
v2.2.1
- Standardize HTTP error code handling to treat all non-2xx responses as errors
v2.2.0
- Add EvaluateLocalFilterandEvaluateLocalSelectfunctions 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 Factdeletes inside ofBatchtransactions
- 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-IDheader to uniquely identify individual API requests; include this ID in error messages for better debugging.
v1.7.0
- Added new oso.ActionsLocal()method.
- Add Instanceconvenience constructors forIntegerandBoolean
v1.6.1
Update error message wording.
v1.6.0
Added support for the local check api:
- Added new osoClient.listLocal()method.
- Added new osoClient.AuthorizeLocal()method.
- Added new oso.NewClientWithDataBindings()constructor.