openfga @ v1.5.7
integrity
- size
- 826.7 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/openfga/openfga
release notes
Advisory
⚠️ WARNING ⚠️: OpenFGA v1.5.7 and v1.5.8 have an open security advisory for the Check API, please consider staying with v1.5.6 until the next release which will patch this vulnerability
Added
- Support requesting a different consistency option per request in
Check,Expand,ListObjects,ListUsers, andRead#1764- This is currently experimental and needs to be enabled by configuring
OPENFGA_EXPERIMENTALS=enable-consistency-paramsor passing--experimentals enable-consistency-paramstoopenfga run. - When
HIGHER_CONSISTENCYis requested, OpenFGA will skip the check resolver cache. For storage implementors it is recommended to skip any caching and perform a stronger read ifHIGHER_CONSISTENCYis requested. This can be accessed in theConsistencyoptions provided to the relevant methods of the storage interface.
- This is currently experimental and needs to be enabled by configuring
- Start publishing images to
ghcr.io/openfga/openfgaas alternative to DockerHub #1775 - Thanks @JAORMX! - Performance improvements for parent child relations in Check #1765
- Performance improvement in Check: computed relations don't consume from the resolution depth quota, don't trigger additional goroutines, and don't get cached #1786
Changed
- Update to Go 1.22 in container image #1776 - Thanks @tranngoclam!
Breaking Changes :warning:
[!NOTE] The following breaking changes are related to the storage interface. If you are not implementing a storage adaptor, then there are these changes should not impact your usage of OpenFGA.
Removal of PaginationOptions in favour of a per-method Options type #1732
The options parameter of type PaginationOptions has been replaced with a per-method type that contains a Pagination field that contains this data in the following methods:
ReadAuthorizationModels- Type isReadAuthorizationModelsOptionsListStores- Type isListStoresOptionsReadChanges- Type isReadChangesOptionsReadPage- Type isReadPageOptions
Introduction of new Options types to certain methods in the storage interface to facilitate consistency data #1750
The following methods have had an options parameter introduced to the method signature to include consistency data, or the existing options parameter has been expanded to hold consistency data.
This consistency data should be used to help determine whether any form of caching should be used as part of the read performed by the storage adapter.
Read- Added a new parameter of typeReadOptionsReadPage- AddedConsistencyto existingReadPageOptionstypeReadUserSetTuples- Added a new parameter of typeReadUserSetTuplesOptionsReadStartingWithUser- Added a new parameter of typeReadStartingWithUserOptions
download
curl -fL -o v1.5.7.zip https://ratatoskr.space/pkg/openfga/v1.5.7.zip
printf '%s %s\n' '2c3bc1bc2e0ab2585b38e8311b87573d79c55916c505440b222526f94a0c972d' 'v1.5.7.zip' | sha256sum -c -
$url = "https://ratatoskr.space/pkg/openfga/v1.5.7.zip"
$out = "v1.5.7.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "2c3bc1bc2e0ab2585b38e8311b87573d79c55916c505440b222526f94a0c972d") { throw "sha256 mismatch" }
curl -fL -o v1.5.7.tar.gz https://ratatoskr.space/pkg/openfga/v1.5.7.tar.gz
printf '%s %s\n' 'daa187d5cc58a55da5e0453104f2c3166a1de9e9c08bd6a32d0a8f6912e0e966' 'v1.5.7.tar.gz' | sha256sum -c -
$url = "https://ratatoskr.space/pkg/openfga/v1.5.7.tar.gz"
$out = "v1.5.7.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "daa187d5cc58a55da5e0453104f2c3166a1de9e9c08bd6a32d0a8f6912e0e966") { throw "sha256 mismatch" }
download via yggdrasil mesh
curl -fL -o v1.5.7.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.5.7.zip
printf '%s %s\n' '2c3bc1bc2e0ab2585b38e8311b87573d79c55916c505440b222526f94a0c972d' 'v1.5.7.zip' | sha256sum -c -
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.5.7.zip"
$out = "v1.5.7.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "2c3bc1bc2e0ab2585b38e8311b87573d79c55916c505440b222526f94a0c972d") { throw "sha256 mismatch" }
curl -fL -o v1.5.7.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.5.7.tar.gz
printf '%s %s\n' 'daa187d5cc58a55da5e0453104f2c3166a1de9e9c08bd6a32d0a8f6912e0e966' 'v1.5.7.tar.gz' | sha256sum -c -
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.5.7.tar.gz"
$out = "v1.5.7.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "daa187d5cc58a55da5e0453104f2c3166a1de9e9c08bd6a32d0a8f6912e0e966") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.5.7.zip | zip | 830.0 KiB |
blake3-24 0a10d8bd6b5fbd9095880d69d5b1703aa8416cd5ac7954a5
sha256 2c3bc1bc2e0ab2585b38e8311b87573d79c55916c505440b222526f94a0c972d
sha1 ed138d67a9c805dca5a911b8ed56bd3651460df9
|
| v1.5.7.tar.gz | tar.gz | 685.2 KiB |
blake3-24 7a438d9cdba014c638867c869191bf4d950231f0847ca3e7
sha256 daa187d5cc58a55da5e0453104f2c3166a1de9e9c08bd6a32d0a8f6912e0e966
sha1 275680876e4d6280ac1ad2926e14fc787d97bdbb
|
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.5.7.zip | zip | 837.7 KiB |
blake3-24 6a47a2fe7ec0228728c34578f364f02fa903123a32aee9eb
sha256 9e8c5816bc0a57066ced92d4744a64f0ad494efb01023d3584e965750581750e
sha1 b1ac9c0b65c85436f808736750be47c64189390d
|
install
http_archive(
name = "openfga",
urls = ["https://ratatoskr.space/pkg/openfga/v1.5.7.tar.gz"],
integrity = "sha256-2qGH1cxYpV2l4EUxBPLDFmod6enAi9ajLQqPaRLg6WY=",
strip_prefix = "openfga-v1.5.7",
)
.url = "https://ratatoskr.space/pkg/openfga/v1.5.7.tar.gz",
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/openfga@v1.5.7
install via yggdrasil mesh
http_archive(
name = "openfga",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.5.7.tar.gz"],
integrity = "sha256-2qGH1cxYpV2l4EUxBPLDFmod6enAi9ajLQqPaRLg6WY=",
strip_prefix = "openfga-v1.5.7",
)
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga/v1.5.7.tar.gz",
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/openfga@v1.5.7