diff --git a/config/clients/python/CHANGELOG.md.mustache b/config/clients/python/CHANGELOG.md.mustache index 0c050bcb..cba24f39 100644 --- a/config/clients/python/CHANGELOG.md.mustache +++ b/config/clients/python/CHANGELOG.md.mustache @@ -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) @@ -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: diff --git a/config/clients/python/config.overrides.json b/config/clients/python/config.overrides.json index 09df4e90..3fe89010 100644 --- a/config/clients/python/config.overrides.json +++ b/config/clients/python/config.overrides.json @@ -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", diff --git a/config/clients/python/template/test/api_test.py.mustache b/config/clients/python/template/test/api_test.py.mustache index 2fac190e..a620ca7e 100644 --- a/config/clients/python/template/test/api_test.py.mustache +++ b/config/clients/python/template/test/api_test.py.mustache @@ -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", } ) @@ -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", } ) diff --git a/config/clients/python/template/test/oauth2_test.py.mustache b/config/clients/python/template/test/oauth2_test.py.mustache index 0d5c7def..fcd0be87 100644 --- a/config/clients/python/template/test/oauth2_test.py.mustache +++ b/config/clients/python/template/test/oauth2_test.py.mustache @@ -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( diff --git a/config/clients/python/template/test/sync/api_test.py.mustache b/config/clients/python/template/test/sync/api_test.py.mustache index 99286132..a8d0dc7f 100644 --- a/config/clients/python/template/test/sync/api_test.py.mustache +++ b/config/clients/python/template/test/sync/api_test.py.mustache @@ -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", } ) @@ -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", } ) diff --git a/config/clients/python/template/test/sync/oauth2_test.py.mustache b/config/clients/python/template/test/sync/oauth2_test.py.mustache index 78a652f5..2e1a8380 100644 --- a/config/clients/python/template/test/sync/oauth2_test.py.mustache +++ b/config/clients/python/template/test/sync/oauth2_test.py.mustache @@ -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(