Conversation
There was a problem hiding this comment.
Greptile Summary
This PR performs a straightforward version bump from 5.26.0 to 5.26.1, releasing the JWKS client caching optimization implemented in issue #466. The change updates only the version string in the package metadata file (workos/__about__.py).
The underlying functionality being released introduces a performance improvement to the WorkOS Python SDK's session handling. The optimization uses @lru_cache(maxsize=None) on the _get_jwks_client function in workos/session.py, which caches PyJWKClient instances per JWKS URL globally. Previously, each session instance created its own JWKS client, leading to inefficient resource usage even though individual clients cached their results. The new implementation allows JWKS clients to be reused across session instances when they share the same JWKS URL.
This follows semantic versioning correctly as a patch release (5.26.0 → 5.26.1) since it's a performance optimization that doesn't change the public API or introduce breaking changes. The change fits into the SDK's architecture by improving resource efficiency in the session management layer without affecting the external interface.
Confidence score: 5/5
- This is an extremely safe version bump with no risk of production issues
- Only updates a version string with no code changes, and the underlying optimization is a well-established caching pattern
- No files need additional attention - this is a standard release process
1 file reviewed, no comments
Description
Version bump for #466
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.