Skip to content

Commit 977cf63

Browse files
authored
Merge pull request #1988 from Permify/update-version-v1-2-9
build: version info update
2 parents e041ca4 + d3dedb8 commit 977cf63

File tree

6 files changed

+12
-18
lines changed

6 files changed

+12
-18
lines changed

docs/api-reference/apidocs.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Permify API",
55
"description": "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.",
6-
"version": "v1.2.8",
6+
"version": "v1.2.9",
77
"contact": {
88
"name": "API Support",
99
"url": "https://github.com/Permify/permify/issues",

docs/api-reference/openapiv2/apidocs.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Permify API",
55
"description": "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.",
6-
"version": "v1.2.8",
6+
"version": "v1.2.9",
77
"contact": {
88
"name": "API Support",
99
"url": "https://github.com/Permify/permify/issues",

internal/info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var Identifier = ""
2323
*/
2424
const (
2525
// Version is the last release of the Permify (e.g. v0.1.0)
26-
Version = "v1.2.8"
26+
Version = "v1.2.9"
2727
)
2828

2929
// Function to create a single line of the ASCII art with centered content and color

pkg/cmd/serve.go

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -435,16 +435,21 @@ func serve() func(cmd *cobra.Command, args []string) error {
435435
// Declare a variable `checker` of type `invoke.Check`.
436436
var checker invoke.Check
437437

438+
checker = cache.NewCheckEngineWithCache(
439+
checkEngine,
440+
schemaReader,
441+
engineKeyCache,
442+
)
443+
438444
// Create the checker either with load balancing or caching capabilities.
439445
if cfg.Distributed.Enabled {
440-
441446
if cfg.Authn.Enabled && cfg.Authn.Method == "oidc" {
442447
return errors.New("OIDC authentication method cannot be used in distributed mode. Please check your configuration")
443448
}
444449

445450
checker, err = balancer.NewCheckEngineWithBalancer(
446451
ctx,
447-
checkEngine,
452+
checker,
448453
schemaReader,
449454
&cfg.Distributed,
450455
&cfg.Server.GRPC,
@@ -454,17 +459,6 @@ func serve() func(cmd *cobra.Command, args []string) error {
454459
if err != nil {
455460
return err
456461
}
457-
//checker = cache.NewCheckEngineWithCache(
458-
// checker,
459-
// schemaReader,
460-
// engineKeyCache,
461-
//)
462-
} else {
463-
checker = cache.NewCheckEngineWithCache(
464-
checkEngine,
465-
schemaReader,
466-
engineKeyCache,
467-
)
468462
}
469463

470464
// Create a localChecker which directly checks without considering distributed setup.

pkg/pb/base/v1/openapi.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/base/v1/openapi.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
99
info: {
1010
title: "Permify API";
1111
description: "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.";
12-
version: "v1.2.8";
12+
version: "v1.2.9";
1313
contact: {
1414
name: "API Support";
1515
url: "https://github.com/Permify/permify/issues";

0 commit comments

Comments
 (0)