Closed mvdwetering closed 3 months ago
The recent changes streamline the project by updating the GitHub Actions workflow to focus on more recent Python versions, removing support for Python 3.7. Additionally, the CommonNameInserterResolver
class was eliminated from the HueSyncBox
code, simplifying SSL certificate validation. The requirements.txt
file was also modified to ensure compatibility with a specific range of aiohttp
, enhancing stability while utilizing new features.
Files | Change Summary |
---|---|
.github/workflows/python-package.yml |
Updated python-version matrix to remove Python 3.7, now supporting only versions 3.8 to 3.12. |
aiohuesyncbox/huesyncbox.py |
Removed CommonNameInserterResolver class and _mangled_host method, simplifying SSL handling. |
requirements.txt |
Updated aiohttp version constraint to >=3.9.0,<4 , ensuring compatibility with newer features. |
sequenceDiagram
participant User
participant HueSyncBox
participant SSLManager
User->>HueSyncBox: Initiate Request
HueSyncBox->>SSLManager: Validate SSL with self._id
SSLManager-->>HueSyncBox: SSL Validation Result
HueSyncBox-->>User: Return Response
🐰 In the meadow, bunnies cheer,
Python's newer versions near.
Old 3.7, now out of sight,
SSL's simpler, what a delight!
Aiohttp's range now holds so true,
Hopping forward, we code anew! 🎉
My hacky server name inserter does not work anymore with aiohttp >=3.10.
Luckily support for this feature was added in 3.9 with the
server_hostname
option.Summary by CodeRabbit
New Features
Bug Fixes
Chores