Releases: openfga/python-sdk
Releases · openfga/python-sdk
v0.8.0
v0.7.2
v0.7.1
0.7.1 (2024-09-16)
This release includes fixes for several bugs identified in the previous release related to OpenTelemetry metrics reporting: (#124)
- fix: attribute values are now correctly exported as their intended types (previously, these were all sent as string values)
- fix:
http_client_request_duration
being reported in seconds rather than the intended milliseconds - fix: sync client mistakenly passing the entire configuration (rather than just the OpenTelemetry configuration as intended) to
queryDuration()
andrequestDuration()
- fix: some attributes may not have been exported as expected under some conditions
- fix:
queryDuration()
andrequestDuration()
may not have updated their histograms reliably whenattr_http_client_request_duration
orattr_http_server_request_duration
(respectively) were not enabled (which is the default)
Please note that if you use third-party OpenTelemetry tooling to visualize the attributes mentioned above, you may need to update your queries to account for these changes.
v0.7.0
0.7.0 (2024-08-30)
- feat: enhancements to OpenTelemetry support (#120)
Breaking Changes
Note this introduces some breaking changes to our metrics:
fga-client.request.method
is now in TitleCase to match the naming conventions in the Protos, e.g.,Check,
ListObjects,
etc.- Due to possible high costs for attributes with high cardinality, we are no longer including the following attributes by default:
fga-client.user
http.client.request.duration
http.server.request.duration
We added configuration options to allow you to set which specific metrics and attributes you care about in case the defaults don't work for your use case.
v0.6.1
0.6.1 (2024-07-31)
- feat: add support for specifying consistency when evaluating or reading (#113)
Note: To use this feature, you need to be running OpenFGA v1.5.7+ with the experimental flagenable-consistency-params
enabled.
See the OpenFGA v1.5.7 release notes for details.
v0.6.0
v0.5.0
v0.4.3
v0.4.2
0.4.2 (2024-04-04)
- feat: support for modular models metadata
- feat: support auto-retry of failed network requests
- refactor: remove Python 2 code
- fix: limit the number of network retries
- fix: Configuration class
api_scheme
,min_wait_in_ms
anddisabled_client_side_validations
validation issues - chore: update aiohttp to 3.9.2
- chore: update black to 24.3.0