Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion config/clients/python/CHANGELOG.md.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## [Unreleased](https://github.com/openfga/python-sdk/compare/v{{packageVersion}}...HEAD)

## v0.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)

## v0.9.0

### [0.9.0](https://github.com/openfga/python-sdk/compare/v0.8.1...v0.9.0) (2024-12-19)
Expand Down Expand Up @@ -69,7 +76,7 @@ Please note that if you use third-party OpenTelemetry tooling to visualize the a
### [0.7.0](https://github.com/openfga/python-sdk/compare/v0.6.1...v0.7.0) (2024-08-30)

- feat: enhancements to OpenTelemetry support (#120)

Note this introduces some breaking changes to our metrics:
1. `fga-client.request.method` is now in TitleCase to match the naming conventions in the Protos, e.g. `Check`, `ListObjects`, etc..
2. Due to possible high costs for attributes with high cardinality, we are no longer including the following attributes by default:
Expand Down
2 changes: 1 addition & 1 deletion config/clients/python/config.overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sdkId": "python",
"gitRepoId": "python-sdk",
"packageName": "openfga_sdk",
"packageVersion": "0.9.0",
"packageVersion": "0.9.1",
"packageDescription": "Python SDK for OpenFGA",
"packageDetailedDescription": "This is an autogenerated python SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).",
"fossaComplianceNoticeId": "2f8a8629-b46c-435e-b8cd-1174a674fb4b",
Expand Down
4 changes: 2 additions & 2 deletions config/clients/python/template/test/api_test.py.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,7 @@ class TestOpenFgaApi(IsolatedAsyncioTestCase):
{
"Accept": "application/json",
"Content-Type": "application/json",
"User-Agent": "openfga-sdk python/0.9.0",
"User-Agent": "openfga-sdk python/{{packageVersion}}",
"Authorization": "Bearer TOKEN1",
}
)
Expand Down Expand Up @@ -1588,7 +1588,7 @@ class TestOpenFgaApi(IsolatedAsyncioTestCase):
{
"Accept": "application/json",
"Content-Type": "application/json",
"User-Agent": "openfga-sdk python/0.9.0",
"User-Agent": "openfga-sdk python/{{packageVersion}}",
"Custom Header": "custom value",
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class TestOAuth2Client(IsolatedAsyncioTestCase):
{
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "openfga-sdk (python) 0.9.0",
"User-Agent": "openfga-sdk (python) {{packageVersion}}",
}
)
mock_request.assert_called_once_with(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,7 @@ class TestOpenFgaApiSync(IsolatedAsyncioTestCase):
{
"Accept": "application/json",
"Content-Type": "application/json",
"User-Agent": "openfga-sdk python/0.9.0",
"User-Agent": "openfga-sdk python/{{packageVersion}}",
"Authorization": "Bearer TOKEN1",
}
)
Expand Down Expand Up @@ -1588,7 +1588,7 @@ class TestOpenFgaApiSync(IsolatedAsyncioTestCase):
{
"Accept": "application/json",
"Content-Type": "application/json",
"User-Agent": "openfga-sdk python/0.9.0",
"User-Agent": "openfga-sdk python/{{packageVersion}}",
"Custom Header": "custom value",
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class TestOAuth2Client(IsolatedAsyncioTestCase):
{
"Accept": "application/json",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "openfga-sdk (python) 0.9.0",
"User-Agent": "openfga-sdk (python) {{packageVersion}}",
}
)
mock_request.assert_called_once_with(
Expand Down
Loading