openfga @ v1.23.0
integrity
- size
- 1.4 MiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/openfga/openfga
release notes
Added
- Added a typed query AST and a
Querierinterface so backends can run queries as structured statements instead of hand-built SQL. This lays the groundwork for future SQL optimizations. #3316- Breaking change: This only applies if you use openfga as a library and implement a custom
RelationshipTupleReader. The interface now has aQueriermethod which must be implemented (seepkg/storage/adapter). Returningnilis safe (especially for non-SQL datastores) but skips future SQL optimizations.
- Breaking change: This only applies if you use openfga as a library and implement a custom
- Implemented the
Querierinterface for SQLite. #3322
Changed
- Moved the CEL dependency from
github.com/google/cel-goto its new module pathcel.dev/cel-go(v0.33.2), as the upstream project has relocated togithub.com/cel-expr/cel-go. Condition compilation errors no longer end with(in container ''). #3391 - Various dependency updates. Breaking (HTTP API): grpc-gateway v2.33.0 no longer forwards
Grpc-Metadata-*request headers to gRPC metadata, and rejects malformed query parameters (e.g. non-decimal float spellings,field[key]on non-map fields) that were previously accepted. #3363 - PostgreSQL:
FindLatestAuthorizationModelreads only the rows of the store's latest model instead of every model version, so Check and other requests withoutauthorization_model_idno longer slow down as the model history grows. #3377
Fixed
- Improved error handling in graph evaluation and iterator processing.
- Fixed
--request-timeoutnot reaching Check, which always used the 3s default for the planner's penalty when a strategy errors. Setting it to a non-default value now changes Check's behavior.server.WithRequestTimeoutnow ignores values <= 0 and keeps the default. #3400
Security
- Fixed known vulnerabilities in the
openfga/openfgaDocker image by updating Go to 1.27.4,golang.org/x/netto v0.62.0, and the bundledgrpc_health_probeto v0.4.62. #3405
New Contributors
- @cvas22 made their first contribution in https://github.com/openfga/openfga/pull/3377
Full Changelog: https://github.com/openfga/openfga/compare/v1.22.1...v1.23.0
download
unix · zip
curl -fL -o v1.23.0.zip https://ratatoskr.space/pkg/openfga/v1.23.0.zip
printf '%s %s\n' 'ddb45f6d7c0fbbec8c73c5d642c0aa8cb7e66196e13813ab8e4925a53b55cea7' 'v1.23.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/openfga/v1.23.0.zip"
$out = "v1.23.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "ddb45f6d7c0fbbec8c73c5d642c0aa8cb7e66196e13813ab8e4925a53b55cea7") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.23.0.tar.gz https://ratatoskr.space/pkg/openfga/v1.23.0.tar.gz
printf '%s %s\n' 'dd940279f24d3f5ecebace81e0922ad8f499c335b1d0a51211662b0bf760ac46' 'v1.23.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/openfga/v1.23.0.tar.gz"
$out = "v1.23.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "dd940279f24d3f5ecebace81e0922ad8f499c335b1d0a51211662b0bf760ac46") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.23.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.23.0.zip
printf '%s %s\n' 'ddb45f6d7c0fbbec8c73c5d642c0aa8cb7e66196e13813ab8e4925a53b55cea7' 'v1.23.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.23.0.zip"
$out = "v1.23.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "ddb45f6d7c0fbbec8c73c5d642c0aa8cb7e66196e13813ab8e4925a53b55cea7") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.23.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.23.0.tar.gz
printf '%s %s\n' 'dd940279f24d3f5ecebace81e0922ad8f499c335b1d0a51211662b0bf760ac46' 'v1.23.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.23.0.tar.gz"
$out = "v1.23.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "dd940279f24d3f5ecebace81e0922ad8f499c335b1d0a51211662b0bf760ac46") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.23.0.zip | zip | 1.4 MiB |
blake3-24 911cff74966770e13a1e7f3f2a01e8d2c6dfea4bf50d2882
sha256 ddb45f6d7c0fbbec8c73c5d642c0aa8cb7e66196e13813ab8e4925a53b55cea7
sha1 6d8e03d0d1015f120d975bc72db2dc1b0971cded
|
| v1.23.0.tar.gz | tar.gz | 1.1 MiB |
blake3-24 0aa99e3c723c7b5ddb74f91c70813b35d8e50d6865e24fbf
sha256 dd940279f24d3f5ecebace81e0922ad8f499c335b1d0a51211662b0bf760ac46
sha1 be7d8395fdabe801a98f6a31eca1e0bd2372fe62
|
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.23.0.zip | zip | 1.4 MiB |
blake3-24 525ca338ae533e128c94eb39158d6044c840264a29994155
sha256 3c758c2db6785f506622fa9c272feb387a475b65c7a24292899389ff73d4c800
sha1 cbe70bdd5f9e9bec6c803ff0ccec780da52af668
|
install
bazel
http_archive(
name = "openfga",
urls = ["https://ratatoskr.space/pkg/openfga/v1.23.0.tar.gz"],
integrity = "sha256-3ZQCefJNP17Ous6B4JIq2PSZwzWx0KUSEWYrC/dgrEY=",
strip_prefix = "openfga-v1.23.0",
)
zig
.url = "https://ratatoskr.space/pkg/openfga/v1.23.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/openfga@v1.23.0
install via yggdrasil mesh
bazel
http_archive(
name = "openfga",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.23.0.tar.gz"],
integrity = "sha256-3ZQCefJNP17Ous6B4JIq2PSZwzWx0KUSEWYrC/dgrEY=",
strip_prefix = "openfga-v1.23.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.23.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga@v1.23.0