Skip to content

Commit

Permalink
release(python-sdk): v0.9.1 (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims authored Jan 24, 2025
2 parents dce927b + dd5164e commit 1b4955e
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
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
4 changes: 2 additions & 2 deletions config/clients/python/template/test/sync/api_test.py.mustache
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

0 comments on commit 1b4955e

Please sign in to comment.