Skip to content

Commit 690d237

Browse files
authored
Merge branch 'main' into delete_tuple_csv
2 parents e4cc8a4 + 7e6d7cb commit 690d237

File tree

7 files changed

+222
-138
lines changed

7 files changed

+222
-138
lines changed

.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* @openfga/dx
2+
README.md @openfga/product @openfga/community

.github/dependabot.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ updates:
88
dependencies:
99
patterns:
1010
- "*"
11+
- package-ecosystem: "gomod"
12+
directory: "/cmd/fga"
13+
schedule:
14+
interval: "weekly"
15+
groups:
16+
dependencies:
17+
patterns:
18+
- "*"
1119
- package-ecosystem: "github-actions"
1220
directory: "/"
1321
schedule:

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## v0.2.6
4+
5+
### [0.2.6](https://github.com/openfga/cli/compare/v0.2.5...v0.2.6) (2024-02-27)
6+
7+
Fixed:
8+
- allow transforming from JSON when `this` is not in first place (openfga/language#166)
9+
310
## v0.2.5
411

512
### [0.2.5](https://github.com/openfga/cli/compare/v0.2.4...v0.2.5) (2024-01-23)

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A cross-platform CLI to interact with an OpenFGA server
66
[![Release](https://img.shields.io/github/v/release/openfga/cli?sort=semver&color=green)](https://github.com/openfga/cli/releases)
77
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE)
88
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fopenfga%2Fcli.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fopenfga%2Fcli?ref=badge_shield)
9-
[![Discord Server](https://img.shields.io/discord/759188666072825867?color=7289da&logo=discord "Discord Server")](https://discord.gg/8naAwJfWN6)
9+
[![Join our community](https://img.shields.io/badge/slack-cncf_%23openfga-40abb8.svg?logo=slack)](https://openfga.dev/community)
1010
[![Twitter](https://img.shields.io/twitter/follow/openfga?color=%23179CF0&logo=twitter&style=flat-square "@openfga on Twitter")](https://twitter.com/openfga)
1111

1212
## Table of Contents
@@ -55,7 +55,7 @@ OpenFGA is designed to make it easy for application builders to model their perm
5555
- [OpenFGA Documentation](https://openfga.dev/docs)
5656
- [OpenFGA API Documentation](https://openfga.dev/api/service)
5757
- [Twitter](https://twitter.com/openfga)
58-
- [OpenFGA Discord Community](https://discord.gg/8naAwJfWN6)
58+
- [OpenFGA Community](https://openfga.dev/community)
5959
- [Zanzibar Academy](https://zanzibar.academy)
6060
- [Google's Zanzibar Paper (2019)](https://research.google/pubs/pub48190/)
6161

@@ -540,11 +540,12 @@ tests: # required
540540

541541
```shell
542542
(FAILING) test-1: Checks (2/3 passing) | ListObjects (2/2 passing)
543-
✓ Check(user=user:anne,relation=can_write,object=folder:1)
544-
ⅹ Check(user=user:anne,relation=can_share,object=folder:1): expected=false, got=true, error=<nil>
545-
✓ Check(user=user:anne,relation=can_view,object=folder:1)
543+
ⅹ Check(user=user:anne,relation=can_share,object=folder:1): expected=false, got=true
546544
---
547-
(PASSING) test-2: Checks (1/1 passing) | ListObjects (1/1 passing)
545+
# Test Summary #
546+
Tests 1/2 passing
547+
Checks 3/4 passing
548+
ListObjects 3/3 passing
548549
```
549550

550551
##### Transform an Authorization Model

go.mod

+19-19
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/oklog/ulid/v2 v2.1.0
1212
github.com/openfga/api/proto v0.0.0-20240201160513-05de9d8be3ee
1313
github.com/openfga/go-sdk v0.3.5
14-
github.com/openfga/language/pkg/go v0.0.0-20240131004817-1e763f816993
14+
github.com/openfga/language/pkg/go v0.0.0-20240226140625-98bcbf4d9f60
1515
github.com/openfga/openfga v1.4.3
1616
github.com/spf13/cobra v1.8.0
1717
github.com/spf13/pflag v1.0.5
@@ -33,7 +33,7 @@ require (
3333
github.com/go-logr/logr v1.4.1 // indirect
3434
github.com/go-logr/stdr v1.2.2 // indirect
3535
github.com/golang/protobuf v1.5.3 // indirect
36-
github.com/google/cel-go v0.19.0 // indirect
36+
github.com/google/cel-go v0.20.0 // indirect
3737
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
3838
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.1 // indirect
3939
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
@@ -50,9 +50,9 @@ require (
5050
github.com/natefinch/wrap v0.2.0 // indirect
5151
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
5252
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
53-
github.com/prometheus/client_golang v1.18.0 // indirect
54-
github.com/prometheus/client_model v0.5.0 // indirect
55-
github.com/prometheus/common v0.46.0 // indirect
53+
github.com/prometheus/client_golang v1.19.0 // indirect
54+
github.com/prometheus/client_model v0.6.0 // indirect
55+
github.com/prometheus/common v0.48.0 // indirect
5656
github.com/prometheus/procfs v0.12.0 // indirect
5757
github.com/sagikazarmark/locafero v0.4.0 // indirect
5858
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
@@ -61,24 +61,24 @@ require (
6161
github.com/spf13/cast v1.6.0 // indirect
6262
github.com/stoewer/go-strcase v1.3.0 // indirect
6363
github.com/subosito/gotenv v1.6.0 // indirect
64-
go.opentelemetry.io/otel v1.22.0 // indirect
65-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0 // indirect
66-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.22.0 // indirect
67-
go.opentelemetry.io/otel/metric v1.22.0 // indirect
68-
go.opentelemetry.io/otel/sdk v1.22.0 // indirect
69-
go.opentelemetry.io/otel/trace v1.22.0 // indirect
64+
go.opentelemetry.io/otel v1.24.0 // indirect
65+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0 // indirect
66+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0 // indirect
67+
go.opentelemetry.io/otel/metric v1.24.0 // indirect
68+
go.opentelemetry.io/otel/sdk v1.24.0 // indirect
69+
go.opentelemetry.io/otel/trace v1.24.0 // indirect
7070
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
7171
go.uber.org/mock v0.4.0 // indirect
7272
go.uber.org/multierr v1.11.0 // indirect
73-
go.uber.org/zap v1.26.0 // indirect
74-
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a // indirect
75-
golang.org/x/net v0.20.0 // indirect
73+
go.uber.org/zap v1.27.0 // indirect
74+
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
75+
golang.org/x/net v0.21.0 // indirect
7676
golang.org/x/sync v0.6.0 // indirect
77-
golang.org/x/sys v0.16.0 // indirect
77+
golang.org/x/sys v0.17.0 // indirect
7878
golang.org/x/text v0.14.0 // indirect
79-
google.golang.org/genproto v0.0.0-20240125205218-1f4bbc51befe // indirect
80-
google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe // indirect
81-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe // indirect
82-
google.golang.org/grpc v1.61.0 // indirect
79+
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
80+
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
81+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
82+
google.golang.org/grpc v1.62.0 // indirect
8383
gopkg.in/ini.v1 v1.67.0 // indirect
8484
)

0 commit comments

Comments
 (0)