Skip to content

Commit 1db27a8

Browse files
authored
Merge pull request #2560 from Permify/update-api-version-to-v1.4.6
docs: update API version to v1.4.6 across documentation and code files
2 parents 4ed470f + 05a7b48 commit 1db27a8

7 files changed

Lines changed: 9 additions & 12 deletions

File tree

β€Ž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.4.5",
6+
"version": "v1.4.6",
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.4.5",
6+
"version": "v1.4.6",
77
"contact": {
88
"name": "API Support",
99
"url": "https://github.com/Permify/permify/issues",

β€Žinternal/engines/entity_filter.goβ€Ž

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -433,14 +433,11 @@ func (engine *EntityFilter) lt(
433433

434434
// pathChainEntrance handles multi-hop relation chain traversal for nested attributes
435435
//
436-
// TODO: This function can be optimized for better performance by implementing smart batching logic:
436+
// TODO: Optimize performance with smart batching:
437437
// - Extract unique attributes from path chain entrances to avoid duplicate queries
438-
// - Implement batch vs individual processing based on scope and attribute count:
439-
// - Use batch mode when we have scope (limited entity IDs) or few attributes (<=1)
440-
// - Use individual mode when no scope and multiple attributes to avoid loading large result sets
441-
// - Refactor into smaller helper functions: extractUniqueAttributes, getScopeIds, shouldUseBatchMode,
442-
// processBatchMode, processIndividualMode, queryAttributesBatch, processEntranceWithResults
443-
// - Remove debug statements after optimization is tested
438+
// - Use batch processing when scope limits entity IDs or when attribute count is low (<=1)
439+
// - Use individual processing when no scope exists and multiple attributes are present
440+
// - Consider refactoring into helper functions for improved maintainability
444441
func (engine *EntityFilter) pathChainEntrance(
445442
ctx context.Context,
446443
request *base.PermissionEntityFilterRequest,

β€Ž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.4.5"
26+
Version = "v1.4.6"
2727
)
2828

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

β€Ž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.

β€Žplayground/public/play.wasmβ€Ž

1.97 MB
Binary file not shown.

β€Ž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.4.5";
12+
version: "v1.4.6";
1313
contact: {
1414
name: "API Support";
1515
url: "https://github.com/Permify/permify/issues";

0 commit comments

Comments
Β (0)