Openfga-sdk

Latest version: v0.9.2

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.9.1

[0.9.1](https://github.com/openfga/python-sdk/compare/v0.9.0...v0.9.1) (2025-01-23)

- feat: add `/streamed-list-objects` endpoint support (163)
- feat: add `contextual_tuples` support for `/expand` endpoint requests (164)

0.9.0

[0.9.0](https://github.com/openfga/python-sdk/compare/v0.8.1...v0.9.0) (2024-12-19)

- feat: remove client-side validation - thanks GMorris-professional (155)
- feat: add support for `start_time` parameter in `ReadChanges` endpoint (156) - Note, this feature requires v1.8.0 of OpenFGA or newer
- feat!: add support for `BatchCheck` API (154) - Note, this feature requires v1.8.2 of OpenFGA or newer
- fix: change default max retry limit to 3 from 15 - thanks ovindu-a (155)

BREAKING CHANGE:

Usage of the existing batch_check should now use client_batch_check instead, additionally the existing
BatchCheckResponse has been renamed to ClientBatchCheckClientResponse.

Please see (154)(https://github.com/openfga/python-sdk/pull/154) for more details on this change.

0.8.1

[0.8.1](https://github.com/openfga/python-sdk/compare/v0.8.0...v0.8.1) (2024-11-26)

- feat: allow specifying a request timeout (151) - thanks Oscmage!

0.8.0

[0.8.0](https://github.com/openfga/python-sdk/compare/v0.7.2...v0.8.0) (2024-11-15)

- feat: allow configuring the token endpoint (137)
- feat: add per-HTTP request counter metric (135)
- refactor: remove SDK version for OpenTelemetry meter name (134)
- fix: only send SDK method header from SDK wrapper methods (142)
- fix: unable to pass `retry_params` (144)
- fix: list users should send contextual tuples as a list (147)
- fix: handle no models existing in `read_latest_authorization_model` (147)

0.7.2

[0.7.2](https://github.com/openfga/python-sdk/compare/v0.7.1...v0.7.2) (2024-09-22)

This release includes improvements to the OpenTelemetry configuration API introduced in the previous releases

- refactor: improve OpenTelemetry configuration (127)

This release also includes fixes for several bugs identified in previous releases:

- fix: ensure max_parallel_requests is an int value in batch_check (132)
- fix: inconsistency in 429 handling between sync/async client (131)
- fix: ensure telemetry is reported when API exceptions are raised (127)

0.7.1

[0.7.1](https://github.com/openfga/python-sdk/compare/v0.7.0...v0.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()` and `requestDuration()`
- fix: some attributes may not have been exported as expected under some conditions
- fix: `queryDuration()` and `requestDuration()` may not have updated their histograms reliably when `attr_http_client_request_duration` or `attr_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.

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.