From 08817393de7b10831fdc48753bf7c79d84dd527b Mon Sep 17 00:00:00 2001 From: Shubham Gupta <14368181+goodhamgupta@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:43:38 +0800 Subject: [PATCH] Bump authzed api sdk version to v1.22.2 (#19) * Bump tag to dc592e107033a7a4336935cf94fb90426719508d * Add fields and fix formatting * Bump package version to 0.0.7 --- README.md | 2 ++ buf.gen.yaml | 2 +- lib/api/v1/debug.pb.ex | 1 + lib/api/v1/error_reason.pb.ex | 1 + mix.exs | 2 +- 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 00060e7..2ba534a 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ Supported client API versions: You can find more info on each API on the [Authzed API reference documentation]. Additionally, Protobuf API documentation can be found on the [Buf Registry Authzed API repository]. +**NOTE**: Current Authzed SDK commit version on Buf available [here](https://buf.build/authzed/api/activity/commit/dc592e107033a7a4336935cf94fb90426719508d) + [Authzed]: https://authzed.com [Authzed API Reference documentation]: https://docs.authzed.com/reference/api [Buf Registry Authzed API repository]: https://buf.build/authzed/api/docs/main diff --git a/buf.gen.yaml b/buf.gen.yaml index 83223e4..79f5c2b 100755 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -1,4 +1,4 @@ -#!/usr/bin/env -S buf generate buf.build/authzed/api:ae69f452ff582006fc08a9743f87d38373ed65f5 --template +#!/usr/bin/env -S buf generate buf.build/authzed/api:dc592e107033a7a4336935cf94fb90426719508d --template --- version: "v1" plugins: diff --git a/lib/api/v1/debug.pb.ex b/lib/api/v1/debug.pb.ex index a880846..1300445 100644 --- a/lib/api/v1/debug.pb.ex +++ b/lib/api/v1/debug.pb.ex @@ -78,6 +78,7 @@ defmodule Authzed.Api.V1.CheckDebugTrace do json_name: "caveatEvaluationInfo" ) + field(:duration, 9, type: Google.Protobuf.Duration) field(:was_cached_result, 6, type: :bool, json_name: "wasCachedResult", oneof: 0) field(:sub_problems, 7, diff --git a/lib/api/v1/error_reason.pb.ex b/lib/api/v1/error_reason.pb.ex index 50a664b..afeb724 100644 --- a/lib/api/v1/error_reason.pb.ex +++ b/lib/api/v1/error_reason.pb.ex @@ -22,4 +22,5 @@ defmodule Authzed.Api.V1.ErrorReason do field(:ERROR_REASON_TOO_MANY_RELATIONSHIPS_FOR_TRANSACTIONAL_DELETE, 16) field(:ERROR_REASON_MAX_RELATIONSHIP_CONTEXT_SIZE, 17) field(:ERROR_REASON_ATTEMPT_TO_RECREATE_RELATIONSHIP, 18) + field(:ERROR_REASON_MAXIMUM_DEPTH_EXCEEDED, 19) end diff --git a/mix.exs b/mix.exs index a2d16bd..5512628 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Authzed.MixProject do use Mix.Project - @version "0.0.6" + @version "0.0.7" @repo_url "https://github.com/goodhamgupta/authzed_ex/" def project do