chore(release): v0.10.0 by SoulPancake · Pull Request #261 · openfga/python-sdk

Documentation Updates

1 document(s) were updated by changes in this PR:

Retry-After Header and Retry Strategy
View Changes
@@ -136,7 +136,7 @@
 ---
 
 ### Python SDK
-**Version Introduced:** v0.9.4 (2025-04-30)  
+**Version Introduced:** v0.9.4 (Current version: v0.10.0)  
 **[Changelog](https://github.com/openfga/python-sdk/pull/189)**
 
 #### Retry-After Handling
@@ -161,10 +161,18 @@
 #### Error Exposure
 If the `Retry-After` header is invalid or missing, a `ValueError` is raised and the SDK falls back to exponential backoff. Retry-related errors are surfaced through exceptions.
 
+#### New Methods in v0.10.0
+The SDK adds `execute_api_request` and `execute_streamed_api_request` methods to `OpenFgaClient` and `OpenFgaApi` for making arbitrary HTTP requests to any OpenFGA API endpoint with full auth, retry, and telemetry support. These methods are the recommended approach for users who need access to raw HTTP response details.
+
 #### Migration Guidance
 - The default `max_retry` is now 3 (was previously 15).
 - Ensure any custom retry logic or error handling is updated to use the new configuration and error exposure patterns.
-- Upgrade to v0.9.4+ for full `Retry-After` support.
+- Upgrade to v0.10.0+ for full `Retry-After` support and the latest features.
+
+##### Breaking Changes in v0.10.0
+- The `_return_http_data_only`, `_preload_content`, `_request_auth`, `async_req`, and `_request_timeout` kwargs have been removed from all `OpenFgaApi` and `SyncOpenFgaApi` endpoint methods. These were internal implementation details not intended for external use.
+- `_return_http_data_only` is now hardcoded to `True`; all endpoint methods return the deserialized response object directly.
+- Users previously relying on `_with_http_info` methods returning a `(data, status, headers)` tuple should use the new `execute_api_request` method instead.
 
 ---
 

How did I do? Any feedback?  Join Discord