Skip to content

Commit 1176f7b

Browse files
chore(release): bump version to 0.3.0 and update release notes
1 parent 21248d6 commit 1176f7b

3 files changed

Lines changed: 37 additions & 2 deletions

File tree

docs/release.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## Release 0.3.0 — Openapi® Python SDK Evolves
2+
3+
The **0.3.0** release of the Openapi® Python SDK introduces powerful new features, critical bug fixes, and significant stability improvements that make it even easier to build robust and reliable API clients.
4+
5+
### 🚀 New Features
6+
7+
* **Async Support & Context Managers**: Full `httpx`-based async client support with context manager support for all clients, enabling modern asynchronous Python workflows.
8+
* **Configurable Timeouts**: Added configurable 30-second default timeouts for both sync and async clients, with the ability to customize timeout values during OAuth client initialization.
9+
* **Thread-Safe OAuth Client**: `OauthClient` is now thread-safe using `threading.local`, allowing shared instances across multiple threads without conflicts.
10+
* **Custom HTTP Client Injection**: Advanced users can now inject custom HTTP clients for tailored transport layers and retry configurations.
11+
* **Refactored Architecture**: Client classes have been extracted into separate module files without breaking the existing API, improving maintainability and clarity.
12+
13+
### 🔧 Bug Fixes
14+
15+
* **Query Parameter Encoding**: Fixed an issue where special characters in query parameters caused `400 Bad Request` errors by properly encoding them with `urllib`.
16+
* **Linting & Tests**: Resolved ruff formatting issues and cleaned up unused variables in test suites.
17+
18+
### 🧪 Quality & Testing
19+
20+
* Added a comprehensive thread-safety verification suite for synchronous clients.
21+
* Updated documentation with examples for configuring network timeouts and customizing transport layers.
22+
23+
### 🎯 Why This Matters
24+
25+
* Safer concurrent usage with thread-safe OAuth handling.
26+
* Greater control over network behavior with configurable timeouts and custom HTTP clients.
27+
* More predictable request handling with properly encoded query parameters.
28+
* Cleaner codebase architecture for easier future contributions.
29+
30+
### 🙏 Special Thanks
31+
32+
A huge thank you to **[@Deadpool2000](https://github.com/Deadpool2000)** for their outstanding contributions to this release. Their work on thread-safety, configurable timeouts, custom HTTP client support, query parameter encoding fixes, and overall code quality has been invaluable. This release would not have been possible without their dedication and effort.
33+
34+
### 🚀 Looking Ahead
35+
36+
Version **0.3.0** marks another major step toward a more mature and developer-friendly Python SDK. Future releases will continue to focus on performance enhancements, broader interoperability, and even more seamless developer experiences.

openapi-python-sdk

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "openapi-python-sdk"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
description = "A minimal Python SDK for the Openapi® API marketplace"
55
authors = ["Michael Cuffaro <michael@cuffaro.com>"]
66
readme = "docs/readme-pypi.md"

0 commit comments

Comments
 (0)