Skip to content

Commit 2a16544

Browse files
authored
Merge pull request #2227 from Permify/master
docs: license update
2 parents 26912d9 + ce30028 commit 2a16544

File tree

8 files changed

+21
-20
lines changed

8 files changed

+21
-20
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.3.7",
6+
"version": "v1.3.8",
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.3.7",
6+
"version": "v1.3.8",
77
"contact": {
88
"name": "API Support",
99
"url": "https://github.com/Permify/permify/issues",

go.mod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/dgraph-io/ristretto v1.0.0
1111
github.com/dustin/go-humanize v1.0.1
1212
github.com/envoyproxy/protoc-gen-validate v1.2.1
13-
github.com/exaring/otelpgx v0.9.1
13+
github.com/exaring/otelpgx v0.9.2
1414
github.com/fatih/color v1.18.0
1515
github.com/go-jose/go-jose/v3 v3.0.4
1616
github.com/golang-jwt/jwt/v4 v4.5.2
@@ -99,6 +99,7 @@ require (
9999
github.com/moby/sys/userns v0.1.0 // indirect
100100
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
101101
github.com/olekukonko/errors v0.0.0-20250405072817-4e6d85265da6 // indirect
102+
github.com/olekukonko/ll v0.0.6-0.20250511102614-9564773e9d27 // indirect
102103
github.com/rivo/uniseg v0.4.4 // indirect
103104
github.com/samber/lo v1.49.1 // indirect
104105
github.com/sethvargo/go-retry v0.3.0 // indirect
@@ -154,7 +155,7 @@ require (
154155
github.com/moby/sys/sequential v0.5.0 // indirect
155156
github.com/moby/term v0.5.0 // indirect
156157
github.com/morikuni/aec v1.0.0 // indirect
157-
github.com/olekukonko/tablewriter v1.0.0
158+
github.com/olekukonko/tablewriter v1.0.2
158159
github.com/opencontainers/go-digest v1.0.0 // indirect
159160
github.com/opencontainers/image-spec v1.1.1 // indirect
160161
github.com/openzipkin/zipkin-go v0.4.3 // indirect

go.sum

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m
9898
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
9999
github.com/envoyproxy/protoc-gen-validate v1.2.1 h1:DEo3O99U8j4hBFwbJfrz9VtgcDfUKS7KJ7spH3d86P8=
100100
github.com/envoyproxy/protoc-gen-validate v1.2.1/go.mod h1:d/C80l/jxXLdfEIhX1W2TmLfsJ31lvEjwamM4DxlWXU=
101-
github.com/exaring/otelpgx v0.9.1 h1:S/1rUD76cXGG5GZISNazVjANpP14dIH4Bpvdb433T9Y=
102-
github.com/exaring/otelpgx v0.9.1/go.mod h1:+uyddQfZ+rsZGqfQ5TWvShOfkOT3kZLMu7FDzDoN1DY=
101+
github.com/exaring/otelpgx v0.9.2 h1:/+w5+UfhiP5MBvg7gkxuZR0aGEQBx2QwS0SoMk5GqeM=
102+
github.com/exaring/otelpgx v0.9.2/go.mod h1:+uyddQfZ+rsZGqfQ5TWvShOfkOT3kZLMu7FDzDoN1DY=
103103
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
104104
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
105105
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
@@ -323,8 +323,10 @@ github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdh
323323
github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls=
324324
github.com/olekukonko/errors v0.0.0-20250405072817-4e6d85265da6 h1:r3FaAI0NZK3hSmtTDrBVREhKULp8oUeqLT5Eyl2mSPo=
325325
github.com/olekukonko/errors v0.0.0-20250405072817-4e6d85265da6/go.mod h1:ppzxA5jBKcO1vIpCXQ9ZqgDh8iwODz6OXIGKU8r5m4Y=
326-
github.com/olekukonko/tablewriter v1.0.0 h1:WHgrshVkRhxxTAVetUh3m4WjBwyOitmUXztaXp3P08g=
327-
github.com/olekukonko/tablewriter v1.0.0/go.mod h1:xmnTFhuRZ6FbtSSkjRw3qDa/TB237m7SlzsC8WaBLUo=
326+
github.com/olekukonko/ll v0.0.6-0.20250511102614-9564773e9d27 h1:LgDwLQDELPB6wMOx1x4DSXnH2pjQNDKFgqv2inJuiAU=
327+
github.com/olekukonko/ll v0.0.6-0.20250511102614-9564773e9d27/go.mod h1:En+sEW0JNETl26+K8eZ6/W4UQ7CYSrrgg/EdIYT2H8g=
328+
github.com/olekukonko/tablewriter v1.0.2 h1:nxz/j28kPYQUuc4veIv3Ymmef7gHKn8rhr42aauENnk=
329+
github.com/olekukonko/tablewriter v1.0.2/go.mod h1:eUa4ArVhHJYomS27xrJB/GyLtnzKKVkZeLM6/MNO+pA=
328330
github.com/onsi/ginkgo/v2 v2.23.4 h1:ktYTpKJAVZnDT4VjxSbiBenUjmlL/5QkBEocaWXiQus=
329331
github.com/onsi/ginkgo/v2 v2.23.4/go.mod h1:Bt66ApGPBFzHyR+JO10Zbt0Gsp4uWxu5mIOTusL46e8=
330332
github.com/onsi/gomega v1.37.0 h1:CdEG8g0S133B4OswTDC/5XPSzE1OeP29QOioj2PID2Y=

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.3.7"
26+
Version = "v1.3.8"
2727
)
2828

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

pkg/cmd/config.go

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -261,21 +261,19 @@ func renderConfigTable(data [][]string) {
261261
table := tablewriter.NewWriter(os.Stdout)
262262

263263
// Set the headers of the table. Each header cell is a column title.
264-
table.SetHeader([]string{"Key", "Value", "Source"})
265-
266-
// Align the columns of the table: left-aligned for keys, centered for values and sources.
267-
table.SetColumnAlignment([]int{tablewriter.ALIGN_LEFT, tablewriter.ALIGN_CENTER, tablewriter.ALIGN_CENTER})
268-
269-
// Set the center separator character for the table, which appears between columns.
270-
table.SetCenterSeparator("|")
264+
table.Header([]string{"Key", "Value", "Source"})
271265

272266
// Loop through the data and add each row to the table.
273267
for _, v := range data {
274-
table.Append(v)
268+
if err := table.Append(v); err != nil {
269+
fmt.Fprintf(os.Stderr, "failed to append row to table: %v\n", err)
270+
}
275271
}
276272

277273
// Render the table to standard output, displaying it to the user.
278-
table.Render()
274+
if err := table.Render(); err != nil {
275+
fmt.Fprintf(os.Stderr, "failed to render table: %v\n", err)
276+
}
279277
}
280278

281279
// HideSecret replaces all but the first and last characters of a string with asterisks

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

0 commit comments

Comments
 (0)