Skip to content

release v0.9.1#18

Merged
mdfarhankc merged 1 commit into
mainfrom
release/v0.9.1
Apr 23, 2026
Merged

release v0.9.1#18
mdfarhankc merged 1 commit into
mainfrom
release/v0.9.1

Conversation

@mdfarhankc
Copy link
Copy Markdown
Owner

@mdfarhankc mdfarhankc commented Apr 23, 2026

Summary

Patch release that ships type information to consumers.

  • Adds fastapi_fullauth/py.typed (PEP 561). mypy, pyright, and IDE language servers now pick up the annotations — generic FullAuth[UserSchema, CreateUserSchema] with PEP 696 defaults, CurrentUser/VerifiedUser/SuperUser typed dependencies, require_role/require_permission factories, adapter mixin surfaces. Previously treated as Any downstream.
  • Adds mypy to the dev dependency group for contributors.
  • Not enabling strict mypy in CI yet — there's a backlog of ~190 existing errors (missing return annotations, mixin-method lookups through AbstractUserAdapter, passkey-config narrowings) that deserves a dedicated typed-hardening pass rather than being crammed into a patch.

Test plan

  • uv run ruff format --check . clean
  • uv run ruff check . clean
  • uv run pytest tests/ — 188 passed, 1 skipped
  • uv build --wheel and confirmed fastapi_fullauth/py.typed is inside the wheel
  • CI matrix green on this PR
  • After merge: gh release create v0.9.1 --target main triggers publish.yml → PyPI
  • Fresh install verifies: uv pip install fastapi-fullauth==0.9.1 and mypy on a toy script using FullAuth[...] sees real types instead of Any

Summary by CodeRabbit

  • Chores
    • Version bumped to 0.9.1.
    • Distribution now includes the py.typed marker.
    • Added mypy to development dependencies.

Ships py.typed per PEP 561 so type annotations are visible to mypy,
pyright, and IDEs when consumers install from PyPI. Adds mypy to the
dev deps; strict-mode CI gating is deferred until the existing 190
errors are cleaned up in a dedicated typed-hardening release.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 19155e9b-a07b-4221-a64c-2f2ac8670c52

📥 Commits

Reviewing files that changed from the base of the PR and between 15b138f and 0b92fdc.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • CHANGELOG.md
  • fastapi_fullauth/__init__.py
  • fastapi_fullauth/py.typed
  • pyproject.toml

📝 Walkthrough

Walkthrough

A patch version bump (0.9.0 → 0.9.1) that adds the py.typed marker to the distribution for improved type checker support and introduces mypy as a development dependency. Version is updated consistently across CHANGELOG, package metadata, and package initialization.

Changes

Cohort / File(s) Summary
Version Bumps
fastapi_fullauth/__init__.py, pyproject.toml
Version updated from 0.9.0 to 0.9.1 in package metadata and initialization.
Dependencies
pyproject.toml
Added mypy>=1.20.2 to the dev dependency group.
Changelog
CHANGELOG.md
New section documenting 0.9.1 release: py.typed marker inclusion and mypy addition to dev dependencies.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A version hops forth, small but true,
With py.typed markers shining through,
Type checkers rejoice, no more Any fears,
While mypy arrives to clarity cheers! ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/v0.9.1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mdfarhankc mdfarhankc merged commit 3aa9270 into main Apr 23, 2026
6 of 7 checks passed
@mdfarhankc mdfarhankc deleted the release/v0.9.1 branch April 23, 2026 13:09
@coderabbitai coderabbitai Bot mentioned this pull request May 14, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant