openfga @ v1.3.0
integrity
- size
- 592.5 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/openfga/openfga
release notes
Added
-
Bounded concurrency limiter for Check and ListObjects queries (#860, #887)
New server configurations can be provided to limit/bound the amount of concurrency that is allowed during query evaluation. These settings can help reduce the impact/burden that a single query (e.g. Check, ListObjects, etc..) can have on the underlying database and OpenFGA server.
-
--maxConcurrentReadsForListObjects- The maximum allowed number of concurrent reads in a single ListObjects query. -
--maxConcurrentReadsForCheck- The maximum allowed number of concurrent reads in a single Check query. -
--resolveNodeBreadthLimit- Defines how many nodes on a given level can be evaluated concurrently in a Check resolution tree.
-
-
Jaeger persistent storage for traces in
docker-compose.yaml(#888) - thanks @Azanul
Fixed
- Disable default debug level-logging in
retryablehttpclient (#882) - thanks @KlausVii
Changed
-
[BREAKING] Imports for OpenFGA protobuf API dependencies (#898)
-
Problem - Previously we depended on Buf remote generated packages, but they recently deprecated protobuf imports served from the
go.buf.builddomain (see Migrate from remote generation alpha). OpenFGA builds are currently broken as a result of this. -
Change - We switched our protobuf API dependency from
go.buf.build/openfga/go/openfga/api/openfga/v1togithub.com/openfga/api/proto/openfga/v1. So we no longer use Buf remote generated packages in favor of packages we manage in theopenfga/apirepository. This fixes existing build issues. -
Impact - Developers using the OpenFGA as a library or the gRPC API must change their protobuf dependency from
go.buf.build/openfga/go/openfga/api/openfga/v1togithub.com/openfga/api/proto/openfga/v1. A global find/replace and package depedency update should fix it. Here's a diff demonstrating the changes for a Go app, for example:import ( ... - openfgav1 "go.buf.build/openfga/go/openfga/api/openfga/v1" + openfgav1 "github.com/openfga/api/proto/openfga/v1" )
-
-
Refactor the
Serverconstructor to use the options builder pattern (#833)import ( openfga "github.com/openfga/openfga/pkg/server" ) s := openfga.New( &server.Dependencies{...}, &server.Config{...}, )becomes
import ( openfga "github.com/openfga/openfga/pkg/server" ) var opts []openfga.OpenFGAServiceV1Option s := openfga.MustNewServerWithOpts(opts...)
download
curl -fL -o v1.3.0.zip https://ratatoskr.space/pkg/openfga/v1.3.0.zip
printf '%s %s\n' '29b80ce1a7d0b53915b8004ec17518871cffffa766ae533fe286b33951d53cae' 'v1.3.0.zip' | sha256sum -c -
$url = "https://ratatoskr.space/pkg/openfga/v1.3.0.zip"
$out = "v1.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "29b80ce1a7d0b53915b8004ec17518871cffffa766ae533fe286b33951d53cae") { throw "sha256 mismatch" }
curl -fL -o v1.3.0.tar.gz https://ratatoskr.space/pkg/openfga/v1.3.0.tar.gz
printf '%s %s\n' '4ca1df92a1b1c6c55449fb6b5c816fbc15762f87bcf6af08a6886bbb1b43b246' 'v1.3.0.tar.gz' | sha256sum -c -
$url = "https://ratatoskr.space/pkg/openfga/v1.3.0.tar.gz"
$out = "v1.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "4ca1df92a1b1c6c55449fb6b5c816fbc15762f87bcf6af08a6886bbb1b43b246") { throw "sha256 mismatch" }
download via yggdrasil mesh
curl -fL -o v1.3.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.3.0.zip
printf '%s %s\n' '29b80ce1a7d0b53915b8004ec17518871cffffa766ae533fe286b33951d53cae' 'v1.3.0.zip' | sha256sum -c -
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.3.0.zip"
$out = "v1.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "29b80ce1a7d0b53915b8004ec17518871cffffa766ae533fe286b33951d53cae") { throw "sha256 mismatch" }
curl -fL -o v1.3.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.3.0.tar.gz
printf '%s %s\n' '4ca1df92a1b1c6c55449fb6b5c816fbc15762f87bcf6af08a6886bbb1b43b246' 'v1.3.0.tar.gz' | sha256sum -c -
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.3.0.tar.gz"
$out = "v1.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "4ca1df92a1b1c6c55449fb6b5c816fbc15762f87bcf6af08a6886bbb1b43b246") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.3.0.zip | zip | 593.6 KiB |
blake3-24 22bd379df5d5a71ebf950663d07564ec88f2f0557518b253
sha256 29b80ce1a7d0b53915b8004ec17518871cffffa766ae533fe286b33951d53cae
sha1 02ab9db84f29a6c8928420060fb0d698e93071ce
|
| v1.3.0.tar.gz | tar.gz | 505.6 KiB |
blake3-24 05e05abf51b9448b1f782bdffef0b633d4097d4c215b3e9c
sha256 4ca1df92a1b1c6c55449fb6b5c816fbc15762f87bcf6af08a6886bbb1b43b246
sha1 f4601c6df920861cce8a7e9beecc65cc4529b15a
|
go module archive
module zip with the module path rewritten to this mirror; fetched by go get through the
GOPROXY route
| artifact | format | size | hashes |
|---|---|---|---|
| v1.3.0.zip | zip | 596.3 KiB |
blake3-24 17bf750a647bdf8206cdf73645c71dbb1dd9f8cd01e50530
sha256 a060ab197919c356332f87a36907cb8d6e9880c554cbab1e5c3ad8a09596a99d
sha1 d6396ef876024d60b5b97559c06ea3855baed500
|
install
http_archive(
name = "openfga",
urls = ["https://ratatoskr.space/pkg/openfga/v1.3.0.tar.gz"],
integrity = "sha256-TKHfkqGxxsVUSftrXIFvvBV2L4e89q8IpohruxtDskY=",
strip_prefix = "openfga-v1.3.0",
)
.url = "https://ratatoskr.space/pkg/openfga/v1.3.0.tar.gz",
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/openfga@v1.3.0
install via yggdrasil mesh
http_archive(
name = "openfga",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.3.0.tar.gz"],
integrity = "sha256-TKHfkqGxxsVUSftrXIFvvBV2L4e89q8IpohruxtDskY=",
strip_prefix = "openfga-v1.3.0",
)
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.3.0.tar.gz",
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga@v1.3.0