Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.10.6"
".": "0.10.7"
}
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# Changelog

## [0.10.7](https://github.com/openfga/python-sdk/compare/v0.10.6...v0.10.7) (2026-12-02)


### Added

* add an opt-in `merge_equivalent_checks` option to `batch_check`, which sends checks that will get the same answer, like relation aliases and exact repeats, only once. Enable it by passing `"merge_equivalent_checks": True` in the `batch_check` options, with an authorization model ID set ([#334](https://github.com/openfga/python-sdk/issues/334)) ([9176481](https://github.com/openfga/python-sdk/commit/917648153cdeffa187f02be206e788215401b3e5))
* add metrics for `merge_equivalent_checks`, listed in `docs/opentelemetry.md` ([#334](https://github.com/openfga/python-sdk/issues/334)) ([9176481](https://github.com/openfga/python-sdk/commit/917648153cdeffa187f02be206e788215401b3e5))


### Fixed

* allow a minimum retry wait of 0 ms ([#332](https://github.com/openfga/python-sdk/issues/332)) ([1e99d08](https://github.com/openfga/python-sdk/commit/1e99d080d90fbcc0b8c0ef3c8f95145c9f7531f3))
* honor Retry-After delay seconds ([#340](https://github.com/openfga/python-sdk/issues/340)) ([a307e52](https://github.com/openfga/python-sdk/commit/a307e522a1481c6f5683d8670e1a2cc45fe4c323))
* raise errors that happen while reading a streamed response instead of ending the stream silently ([ab1a5c8](https://github.com/openfga/python-sdk/commit/ab1a5c85b7a7bcd5bb45800dfd9f85753736696d))
* release the connection as soon as a streamed response is closed ([ab1a5c8](https://github.com/openfga/python-sdk/commit/ab1a5c85b7a7bcd5bb45800dfd9f85753736696d))
* retry token requests that fail with 429 or 5xx ([#331](https://github.com/openfga/python-sdk/issues/331)) ([214ec02](https://github.com/openfga/python-sdk/commit/214ec0288f8345776cc4527e7ff1bd3dd2e50db9)), closes [#139](https://github.com/openfga/python-sdk/issues/139)
* retry transient network errors such as dropped connections and timeouts in the sync and async clients, including token requests and streamed responses ([ab1a5c8](https://github.com/openfga/python-sdk/commit/ab1a5c85b7a7bcd5bb45800dfd9f85753736696d))
* stop jitter() returning 0 whenever pytest is imported ([#348](https://github.com/openfga/python-sdk/issues/348)) ([60caaa5](https://github.com/openfga/python-sdk/commit/60caaa51af0172fb4e72ef02264390e0dd613d7e)), closes [#346](https://github.com/openfga/python-sdk/issues/346)
* sync client raises the underlying urllib3 error instead of `MaxRetryError` once retries are exhausted ([ab1a5c8](https://github.com/openfga/python-sdk/commit/ab1a5c85b7a7bcd5bb45800dfd9f85753736696d))
* turn off aiohttp's own resend of GET, PUT and DELETE after a dropped connection so `retry_params` is the only retry policy; on aiohttp 3.10.x there is no switch for it and such a request can still be sent once more than `max_retry` allows ([ab1a5c8](https://github.com/openfga/python-sdk/commit/ab1a5c85b7a7bcd5bb45800dfd9f85753736696d))


### Documentation

* update CHANGELOG.md for GHSA-4q64-52jh-rg9v ([#336](https://github.com/openfga/python-sdk/issues/336)) ([0545cfe](https://github.com/openfga/python-sdk/commit/0545cfe2b0fe777e28dd712fade17db3c478637f))


### Miscellaneous

* release 0.10.7 ([6e57418](https://github.com/openfga/python-sdk/commit/6e57418eb5c206b183a0e94ea6ea890b8a7b954e))

## [0.10.6](https://github.com/openfga/python-sdk/compare/v0.10.5...v0.10.6) (2026-11-12)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Python SDK for OpenFGA

[![pypi](https://img.shields.io/pypi/v/openfga_sdk.svg?style=flat)](https://pypi.org/project/openfga_sdk)
[![Socket Badge](https://badge.socket.dev/pypi/package/openfga-sdk/0.10.6)](https://socket.dev/pypi/package/openfga-sdk) <!-- x-release-please-version -->
[![Socket Badge](https://badge.socket.dev/pypi/package/openfga-sdk/0.10.7)](https://socket.dev/pypi/package/openfga-sdk) <!-- x-release-please-version -->
[![DeepWiki](https://img.shields.io/badge/DeepWiki-openfga%2Fpython--sdk-blue.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/SQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH//PB8mnKqScAhsD0kYP3j/Yt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY/56ebRWeraTjMt/00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB/imwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h/U4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5/XFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb/vA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26/HfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr/FGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r/cKaoqr+27/XcrS5UwSMbQAAAABJRU5ErkJggg==)](https://deepwiki.com/openfga/python-sdk)
[![Release](https://img.shields.io/github/v/release/openfga/python-sdk?sort=semver&color=green)](https://github.com/openfga/python-sdk/releases)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fopenfga%2Fpython-sdk.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fopenfga%2Fpython-sdk?ref=badge_shield)
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.6 # x-release-please-version
0.10.7 # x-release-please-version
2 changes: 1 addition & 1 deletion example/example1/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ attrs >= 26.1.0
frozenlist >= 1.8.0
idna >= 3.20
multidict >= 7.1.0
openfga-sdk >= 0.10.6 # x-release-please-version
openfga-sdk >= 0.10.7 # x-release-please-version
python-dateutil >= 3.0.0
urllib3 != 2.0.0.dev, != 2.1.0.dev, != 2.2.0, != 2.2.1, >= 2.8.0, < 3
yarl >= 1.25.1
Expand Down
2 changes: 1 addition & 1 deletion example/example1/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

NAME = "example1"
VERSION = "0.0.1"
REQUIRES = ["openfga-sdk >= 0.10.6"] # x-release-please-version
REQUIRES = ["openfga-sdk >= 0.10.7"] # x-release-please-version

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion openfga_sdk/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


# Version of the OpenFGA Python SDK.
SDK_VERSION: Final[str] = "0.10.6" # x-release-please-version
SDK_VERSION: Final[str] = "0.10.7" # x-release-please-version

# User agent used in HTTP requests.
USER_AGENT: Final[str] = f"openfga-sdk python/{SDK_VERSION}"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[project]
name = "openfga-sdk"
version = "0.10.6"
version = "0.10.7"
description="A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar."
authors = [
{ name = "OpenFGA (https://openfga.dev)", email = "community@openfga.dev"}
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.