Added
- Override option for timestamp in JSON logs (#1330) - thank you, @raj-saxena!
- OpenTelemetry tracing and attributes to check algorithm (#1331, #1388)
- Dispatch count to check response metadata as a query complexity heuristic (#1343)
Fixed
- Cycles detected during check now deterministically return with
{allowed:false}
(#1371, #1372) - Fix incorrect path for gPRC health check (#1321)
Breaking Change ⚠️
The AuthorizationModelReadBackend
interface method FindLatestAuthorizationModelID
has changed to FindLatestAuthorizationModel
for performance improvements. #1387
If you implement your own data store, you will need to make the following change:
Before | After |
---|---|
func (...) FindLatestAuthorizationModelID(ctx context.Context, storeID string) (string, error) {
//...get model ID
return modelID, nil
} |
func (...) FindLatestAuthorizationModel(ctx context.Context, storeID string) (*openfgav1.AuthorizationModel, error) {
//...get model
return model.(*openfgav1.AuthorizationModel), nil
} |