Releases: HarryMWinters/fastapi-oidc
Releases · HarryMWinters/fastapi-oidc
Release list
v0.1.0
⚠️ Breaking change:TokenSpecificationErrornow inherits fromExceptioninstead ofBaseException. If you catch it explicitly, no change is needed, but bareexcept BaseExceptionflows may behave differently.
📦 Install: pip install fastapi-oidc==0.1.0 · PyPI
Added
- Support for multiple accepted issuers:
get_auth(issuer=...)now accepts an
iterable of issuer strings in addition to a single string types-python-josestubs so mypy can type-check thejoseimports- Comprehensive modernization of development tooling and dependencies
- Coverage reporting in CI/CD pipeline with Codecov integration
- Dependabot configuration for automated dependency updates
- Enhanced pre-commit hooks (YAML/TOML/JSON validation, Poetry checks)
- pytest and coverage configuration in pyproject.toml
- Comprehensive docstrings for discovery module functions
- Module-level docstring and explicit
__all__exports in__init__.py __version__attribute for programmatic version access- Community health files: CHANGELOG.md, CONTRIBUTING.md, SECURITY.md
- GitHub issue templates (bug report, feature request, question)
- Pull request template with checklist
- Integration tests with FastAPI TestClient
- Edge case tests for error handling scenarios
- Examples directory with working applications for multiple OIDC providers
Changed
- Added Python 3.13 and 3.14 to the CI test matrix (the dependency ecosystem now
ships prebuilt wheels for these versions, so the temporary exclusion is removed) - Bumped dependencies (consolidating outstanding Dependabot updates):
- fastapi: 0.111.1 → 0.137.0 (pulls in starlette 1.x)
- sphinx: 7.4.7 → 8.1.3
- types-cachetools: 0.1.10 → 6.2.0
- pyasn1: 0.6.2 → 0.6.3; h11: 0.14.0 → 0.16.0
- codecov/codecov-action: v6 → v7
- Added
httpxanduvicorn[standard]as explicit dev dependencies. Newer
fastapi no longer installs them transitively, butTestClientrequireshttpx
and the example apps (examples/) are run withuvicorn - Updated Poetry configuration to modern format (
poetry.core,group.dev.dependencies) - Updated all dev dependencies to current versions:
- black: 19.10b0 → 24.0.0
- pytest: 6.0.1 → 8.0.0
- mypy: 0.910 → 1.11.0
- pylint: 2.6.0 → 3.0.0
- sphinx: 3.3.1 → 7.0.0
- pyjwt: 1.7.1 → 2.0.0
- pre-commit: 2.13.0 → 3.0.0
- Updated GitHub Actions to latest versions (checkout@v4, setup-python@v5, setup-task@v2)
- Standardized type hints to use modern Python 3.10+ syntax (
dict,listinstead ofDict,List) - Modernized test utilities to use
pathlib.Pathinstead ofos.path - Enhanced README.md with comprehensive documentation sections
Fixed
- BREAKING:
TokenSpecificationErrornow correctly inherits fromExceptioninstead ofBaseException - Typo in
get_authdocstring: "beggining" → "beginning" - Version mismatch between pyproject.toml and docs/conf.py (now both 0.0.11)
Removed
- Obsolete UTF-8 encoding comment from auth.py (unnecessary in Python 3)
# noqacomments from__init__.py(replaced with explicit__all__)