-
Notifications
You must be signed in to change notification settings - Fork 1
Comparing changes
Open a pull request
base repository: primetheus/fastapi-githubapp
base: v0.2.6
head repository: primetheus/fastapi-githubapp
compare: v0.2.7
- 9 commits
- 5 files changed
- 1 contributor
Commits on Mar 20, 2026
-
fix: cast self.id to str in JWT payload for PyJWT 2.12+ compatibility
PyJWT 2.12+ enforces that the 'iss' claim must be a string per RFC 7519 Section 4.1.1 (StringOrURI). Previously self.id (an int) was passed directly, which worked with older PyJWT but fails with: TypeError: Issuer (iss) must be a string. This is safe for all PyJWT versions — older versions accept both int and str, and GitHub's API matches on value regardless of JSON type.Configuration menu - View commit details
-
Copy full SHA for 40d3938 - Browse repository at this point
Copy the full SHA 40d3938View commit details -
fix: test failures, lint errors, and formatting issues
- Fix webhook handler tests posting to / instead of /webhooks/github/ - Remove redundant init_app() calls (constructor already calls it) - Remove unused imports (json, APIRouter, Request, mock_open) - Remove unused local variables (result, client, github_app) - Fix type comparison using isinstance() instead of type() == - Run black formatter on core.py - Run ruff autofix for import sorting
Configuration menu - View commit details
-
Copy full SHA for 625919a - Browse repository at this point
Copy the full SHA 625919aView commit details -
fix: guard against None app ID before JWT creation
Addresses review feedback — str(None) would produce 'None' as the issuer, which passes PyJWT's type check but gets rejected by GitHub. Raise GitHubAppError with a clear message instead.
Configuration menu - View commit details
-
Copy full SHA for fc23f10 - Browse repository at this point
Copy the full SHA fc23f10View commit details -
fix: address review feedback — remove empty tests, use __class__ is f…
…or type comparison - Remove empty signature verification tests (no assertions, always pass) - Remove empty extract_payload test (no assertions, always pass) - Use client1.__class__ is client2.__class__ for exact type comparison
Configuration menu - View commit details
-
Copy full SHA for fa26d85 - Browse repository at this point
Copy the full SHA fa26d85View commit details -
Merge pull request #7 from primetheus/fix/test-and-lint-cleanup
fix: test failures, lint errors, and formatting
Configuration menu - View commit details
-
Copy full SHA for 2ee0a9e - Browse repository at this point
Copy the full SHA 2ee0a9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0780663 - Browse repository at this point
Copy the full SHA 0780663View commit details -
Merge pull request #6 from primetheus/fix/jwt-iss-string-type
fix: cast JWT iss claim to string for PyJWT 2.12+ compatibility
Configuration menu - View commit details
-
Copy full SHA for 32985a9 - Browse repository at this point
Copy the full SHA 32985a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e902435 - Browse repository at this point
Copy the full SHA e902435View commit details -
Merge pull request #8 from primetheus/chore/bump-version-0.2.7
chore: bump version to 0.2.7
Configuration menu - View commit details
-
Copy full SHA for f66000d - Browse repository at this point
Copy the full SHA f66000dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.2.6...v0.2.7