Skip to content

Releases: HarryMWinters/fastapi-oidc

Release list

v0.1.0

Choose a tag to compare

@HarryMWinters HarryMWinters released this 15 Jun 05:32
9dab090

⚠️ Breaking change: TokenSpecificationError now inherits from Exception instead of BaseException. If you catch it explicitly, no change is needed, but bare except BaseException flows 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-jose stubs so mypy can type-check the jose imports
  • 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 httpx and uvicorn[standard] as explicit dev dependencies. Newer
    fastapi no longer installs them transitively, but TestClient requires httpx
    and the example apps (examples/) are run with uvicorn
  • 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, list instead of Dict, List)
  • Modernized test utilities to use pathlib.Path instead of os.path
  • Enhanced README.md with comprehensive documentation sections

Fixed

  • BREAKING: TokenSpecificationError now correctly inherits from Exception instead of BaseException
  • Typo in get_auth docstring: "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)
  • # noqa comments from __init__.py (replaced with explicit __all__)