Releases: yezz123/authx
1.0.0
Core
- ✨ AuthX Revamp - V1.0.0. PR #446 by @yezz123
- ♻️ Refactor & Rebuild Functionalities in authx. PR #454 by @yezz123
- ✨ Migrate Authx to use pydantic v2. PR #531 by @yezz123
- ✨ Handle catch-all signature errors. PR #538 by @yezz123
- ♻️ Drop External Libraries in favour of
authx-extra
. PR #506 by @yezz123
Internal
- 🐛 fix Continuous Integration Badge. PR #455 by @yezz123
- ♻️ use pip-tool to autogenerate dependencies. PR #478 by @yezz123
- 🔧 Run tests against
py38
. PR #480 by @yezz123 - ✨ add support for ruff linter. PR #497 by @yezz123
- 🔧 Group dependencies on dependabot updates. PR #523 by @yezz123
- 👷 Add setup for uv and use uv for dependency installation. PR #537 by @yezz123
- 💸 Add Support for Polar. PR #536 by @yezz123
- ✅ Add test case for garbage collection of old sessions. PR #539 by @yezz123
- 🍻 Add tests for several functions & Bump coverage. PR #540 by @yezz123
- 🔨 Update
setup-uv
and specify virtual environment path. PR #542 by @yezz123 - 🍱 update
pydantic
classifiers from v1 to v2. PR #545 by @yezz123 - 🔨 Update script to use uv instead of pip-compile. PR #549 by @yezz123
- 👷 Add uv-version for uv action. PR #551 by @yezz123
- 🔨 Add Latest Changes workflow. PR #562 by @yezz123
Documentation
- 📝 overrides template & Include google analytics. PR #482 by @yezz123
- 📝 Add Extra documentation to AuthX. PR #483 by @yezz123
- 📝 Update
OAuth2
external middleware. PR #514 by @yezz123 - 📝 Add Basic Documentation for AuthX core. PR #513 by @yezz123
- 📝 Add
mkdocstrings
to mkdocs configuration. PR #552 by @yezz123 - ♻️ refactor documentation. PR #557 by @yezz123
- 📝 Add guide on accessing payload data in routes. PR #558 by @yezz123
- ✨ Add Documentation & Fix Linting Rules. PR #559 by @yezz123
- ✨ Update social plugin configuration. PR #561 by @yezz123
Dependencies
- ⬆️ Update typing-extensions requirement from <4.6.0,>=3.7.4 to >=3.7.4,<4.7.0. PR #458 by @dependabot
- ⬆️ Bump itsdangerous from 2.0.1 to 2.1.2. PR #457 by @dependabot
- ⬆️ Bump sqlalchemy from 1.4.37 to 2.0.15. PR #456 by @dependabot
- ⬆️ Update fastapi requirement from <0.96.0,>=0.65.2 to >=0.65.2,<0.97.0. PR #463 by @dependabot
- ⬆️ Update starlette requirement from <0.27.1,>=0.14.02 to >=0.14.02,<0.28.1. PR #468 by @dependabot
- ⬆️ Update pyinstrument requirement from <4.5.0,>=4.1.1 to >=4.1.1,<4.6.0. PR #466 by @dependabot
- ⬆️ Bump pytest from 7.3.1 to 7.3.2. PR #464 by @dependabot
- ⬆️ Bump sqlalchemy from 2.0.15 to 2.0.16. PR #465 by @dependabot
- ⬆️ Update fastapi requirement from <0.97.0,>=0.65.2 to >=0.65.2,<0.98.0. PR #467 by @dependabot
- ⬆️ Bump pre-commit from 3.3.2 to 3.3.3. PR #469 by @dependabot
- ⬆️ Bump sqlalchemy from 2.0.16 to 2.0.17. PR #471 by @dependabot
- ⬆️ Bump mypy from 1.3.0 to 1.4.0. PR #472 by @dependabot
- ⬆️ Bump pytest from 7.3.2 to 7.4.0. PR #473 by @dependabot
- ⬆️ Update fastapi requirement from <0.98.0,>=0.65.2 to >=0.65.2,<0.99.0. PR #474 by @dependabot
- ⬆️ Update redis requirement from <4.5.6,>=4.3.3 to >=4.3.3,<4.6.1. PR #477 by @dependabot
- ⬆️ Bump mypy from 1.4.0 to 1.4.1. PR #476 by @dependabot
- ⬆️ Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7. PR #479 by @dependabot
- ⬆️️ Bump cryptography from 41.0.1 to 41.0.2. PR #485 by @dependabot
- ⬆️ Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8. PR #486 by @dependabot
- ⬆️️ Bump certifi from 2023.5.7 to 2023.7.22. PR #487 by @dependabot
- ⬆️️ Bump cryptography from 41.0.2 to 41.0.3. PR #488 by @dependabot
- ⬆️ Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10. PR #489 by @dependabot
- ⬆️ Bump actions/checkout from 3 to 4. PR #491 by @dependabot
- ⬆️️ Upgrade Dependencies. PR #492 by @yezz123
- ⬆️️ Bump urllib3 from 2.0.5 to 2.0.6. PR #493 by @dependabot
- ⬆️️ Include Python 3.12. PR #494 by @yezz123
- ⬆️️ Bump urllib3 from 2.0.6 to 2.0.7. PR #495 by @dependabot
- ⬆️️ Bump cryptography from 41.0.4 to 41.0.6. PR #498 by @dependabot
- ⬆️ Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11. PR #499 by @dependabot
- ⬆️ Upgrade Dependencies. PR #500 by @yezz123
- ⬆️ Bump actions/setup-python from 4 to 5. PR #503 by @dependabot
- ⬆️️ Bump jinja2 from 3.1.2 to 3.1.3. PR #505 by @dependabot
- ⬆️ Bump ruff from 0.1.8 to 0.1.13. PR #510 by @dependabot
- ⬆️ Bump fastapi from 0.98.0 to 0.109.0. PR #509 by @dependabot
- ⬆️ Bump black from 23.12.0 to 23.12.1. PR #508 by @dependabot
- ⬆️ Bump ruff from 0.1.13 to 0.1.14. PR #515 by @dependabot
- ⬆️ Bump mkdocs-material from 9.5.3 to 9.5.4. PR #517 by @dependabot
- ⬆️ Bump mypy from 1.7.1 to 1.8.0. PR #516 by @dependabot
- ⬆️ Bump black from 23.12.1 to 24.1.1. PR #519 by @dependabot
- ⬆️ Bump mkdocs-material from 9.5.4 to 9.5.6. PR #521 by @dependabot
- ⬆️ Bump pytest-asyncio from 0.23.3 to 0.23.4. PR #520 by @dependabot
- ⬆️ Bump codecov/codecov-action from 3 to 4. PR #524 by @dependabot
- ⬆️ Bump the python-packages group with 3 updates. PR #525 by @dependabot
- ⬆️️ Upgrade configuration for Ruff v0.2.0. PR #526 by @yezz123
- ⬆️ Bump the python-packages group with 3 updates. PR #527 by @dependabot
- ⬆️️ Bump fastapi from 0.98.0 to 0.109.2. PR #529 by @dependabot
- ⬆️️ Bump cryptography from 41.0.7 to 42.0.0. PR #530 by @dependabot
- ⬆️ Bump the python-packages group with 3 updates. PR #535 by @dependabot
- ⬆️ Bump pre-commit/action from 3.0.0 to 3.0.1. PR #534 by @dependabot
- ⬆️ Bump the python-packages group with 6 updates. PR #541 by @dependabot
- ⬆️️ Update version for uv. PR [#54...
1.0.1b1
What's Changed ✨
Documentations 📝
Core 🔨
- ✨ Migrate Authx to use pydantic v2 by @yezz123 in #531
- ✨ Handle catch-all signature errors by @yezz123 in #538
- ✅ Add test case for garbage collection of old sessions by @yezz123 in #539
- 🍻 Add tests for several functions & Bump coverage by @yezz123 in #540
CI/CD 👷
- 💸 Add Support for Polar by @yezz123 in #536
- 👷 Add setup for uv and use uv for dependency installation by @yezz123 in #537
- 🔨 Update
setup-uv
and specify virtual environment path by @yezz123 in #542
Dependencies ⬆
- ⬆ Bump the python-packages group with 3 updates by @dependabot in #535
- ⬆ Bump pre-commit/action from 3.0.0 to 3.0.1 by @dependabot in #534
- ⬆ Bump the python-packages group with 6 updates by @dependabot in #541
Full Changelog: 1.0.1b0...1.0.1b1
1.0.1b0
What's Changed ✨
Documentation 📝
Dependencies 🔢
- 🔧 Group dependencies on dependabot updates by @yezz123 in #523
- ⬆ Bump ruff from 0.1.8 to 0.1.13 by @dependabot in #510
- ⬆ Bump fastapi from 0.98.0 to 0.109.0 by @dependabot in #509
- ⬆ Bump black from 23.12.0 to 23.12.1 by @dependabot in #508
- ⬆ Bump ruff from 0.1.13 to 0.1.14 by @dependabot in #515
- ⬆ Bump mkdocs-material from 9.5.3 to 9.5.4 by @dependabot in #517
- ⬆ Bump mypy from 1.7.1 to 1.8.0 by @dependabot in #516
- ⬆ Bump black from 23.12.1 to 24.1.1 by @dependabot in #519
- ⬆ Bump mkdocs-material from 9.5.4 to 9.5.6 by @dependabot in #521
- ⬆ Bump pytest-asyncio from 0.23.3 to 0.23.4 by @dependabot in #520
- ⬆ Bump codecov/codecov-action from 3 to 4 by @dependabot in #524
- ⬆ Bump the python-packages group with 3 updates by @dependabot in #525
- ⬆️ Upgrade configuration for Ruff v0.2.0 by @yezz123 in #526
- ⬆ Bump the python-packages group with 3 updates by @dependabot in #527
- ⬆️ Bump fastapi from 0.98.0 to 0.109.2 in /requirements by @dependabot in #529
- ⬆️ Bump cryptography from 41.0.7 to 42.0.0 in /requirements by @dependabot in #530
Full Changelog: 1.0.0b0...1.0.1b0
1.0.0b0
1.0.0b0 ✨
We are thrilled to announce the release of authx version 1.0.0-beta0, a significant milestone in our journey. This release brings about several important changes and enhancements, including the drop of different features we used to have. Below, we outline the key updates and improvements.
Major Changes 🚑️
- ➖ Remove Documentation Workflow by @yezz123 in #414
- ♻️ chore(revamp): AuthX Revamp - V1.0.0 by @yezz123 in #446
- 🔧 Feat: Refactor & Rebuild Functionalities in authx by @yezz123 in #454
- 🐛 fix Continuous Integration Badge by @yezz123 in #455
- ♻️ use pip-tool to autogenerate dependencies by @yezz123 in #478
- 🔧 Run tests against
py38
by @yezz123 in #480 - 📝 overrides template & Include google analytics by @yezz123 in #482
- 📝 Add Extra documentation to AuthX by @yezz123 in #483
- 🔧 Include Python 3.12 by @yezz123 in #494
- ✨ add support for ruff linter by @yezz123 in #497
- ♻️ Drop External Libraries in favour of
authx-extra
by @yezz123 in #506
Dependency Updates ⬆️
- ⬆ Update sqlalchemy requirement from <2.0.4,>=1.4.37 to >=1.4.37,<2.0.5 by @dependabot in #370
- ⬆ Bump pre-commit from 3.0.4 to 3.1.0 by @dependabot in #371
- ⬆ Bump pre-commit from 3.1.0 to 3.1.1 by @dependabot in #372
- ⬆ Bump cryptography from 39.0.1 to 39.0.2 by @dependabot in #373
- ⬆ Update sqlalchemy requirement from <2.0.5,>=1.4.37 to >=1.4.37,<2.0.6 by @dependabot in #374
- ⬆ Bump pymdown-extensions from 9.9.2 to 9.10 by @dependabot in #375
- ⬆ Bump pytest from 7.2.1 to 7.2.2 by @dependabot in #376
- ⬆ Update fastapi requirement from <0.93.0,>=0.65.2 to >=0.65.2,<0.94.0 by @dependabot in #380
- ⬆ Bump pydantic from 1.10.5 to 1.10.6 by @dependabot in #381
- ⬆ Bump uvicorn from 0.20.0 to 0.21.0 by @dependabot in #382
- ⬆ Update starlette requirement from <0.25.1,>=0.14.02 to >=0.14.02,<0.26.1 by @dependabot in #383
- ⬆ Update fastapi requirement from <0.94.0,>=0.65.2 to >=0.65.2,<0.95.0 by @dependabot in #385
- ⬆ Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.7.1 by @dependabot in #386
- ⬆ Update sqlalchemy requirement from <2.0.6,>=1.4.37 to >=1.4.37,<2.0.7 by @dependabot in #387
- ⬆ Update starlette requirement from <0.26.1,>=0.14.02 to >=0.14.02,<0.26.2 by @dependabot in #388
- ⬆ Bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.0 by @dependabot in #389
- ⬆ Bump uvicorn from 0.21.0 to 0.21.1 by @dependabot in #390
- ⬆ Update python-socketio requirement from <5.7.3,>=4.6.0 to >=4.6.0,<5.8.1 by @dependabot in #391
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.0 to 1.8.1 by @dependabot in #392
- ⬆ Bump pre-commit from 3.1.1 to 3.2.0 by @dependabot in #394
- ⬆ Bump pytest-asyncio from 0.20.3 to 0.21.0 by @dependabot in #395
- ⬆ Update fastapi requirement from <0.95.0,>=0.65.2 to >=0.65.2,<0.96.0 by @dependabot in #396
- ⬆ Update sqlalchemy requirement from <2.0.7,>=1.4.37 to >=1.4.37,<2.0.8 by @dependabot in #397
- ⬆ Update redis requirement from <4.5.2,>=4.3.3 to >=4.3.3,<4.5.3 by @dependabot in #398
- ⬆ Bump pydantic from 1.10.6 to 1.10.7 by @dependabot in #399
- ⬆ Update redis requirement from <4.5.3,>=4.3.3 to >=4.3.3,<4.5.4 by @dependabot in #400
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.1 to 1.8.3 by @dependabot in #401
- ⬆ Bump cryptography from 39.0.2 to 40.0.0 by @dependabot in #402
- ⬆ Bump cryptography from 40.0.0 to 40.0.1 by @dependabot in #404
- ⬆ Bump pre-commit from 3.2.0 to 3.2.1 by @dependabot in #405
- ⬆ Bump pytz from 2022.7.1 to 2023.2 by @dependabot in #403
- ⬆ Bump pytz from 2023.2 to 2023.3 by @dependabot in #406
- ⬆ Update redis requirement from <4.5.4,>=4.3.3 to >=4.3.3,<4.5.5 by @dependabot in #407
- ⬆ Update sqlalchemy requirement from <2.0.8,>=1.4.37 to >=1.4.37,<2.0.9 by @dependabot in #408
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.3 to 1.8.4 by @dependabot in #410
- ⬆ Bump websockets from 10.4 to 11.0 by @dependabot in #409
- ⬆ Bump pre-commit from 3.2.1 to 3.2.2 by @dependabot in #411
- ⬆ Bump motor from 3.1.1 to 3.1.2 by @dependabot in #412
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.4 to 1.8.5 by @dependabot in #413
- ⬆ Update sqlalchemy requirement from <2.0.9,>=1.4.37 to >=1.4.37,<2.0.10 by @dependabot in #415
- ⬆ Bump websockets from 11.0 to 11.0.1 by @dependabot in #416
- ⬆ Bump pytest from 7.2.2 to 7.3.0 by @dependabot in #417
- ⬆ Bump pymdown-extensions from 9.10 to 9.11 by @dependabot in #418
- ⬆ Bump httpx from 0.23.3 to 0.24.0 by @dependabot in #419
- ⬆ Update email-validator requirement from <1.3.2,>=1.1.0 to >=1.1.0,<2.0.1 by @dependabot in #420
- ⬆ Bump pytest from 7.3.0 to 7.3.1 by @dependabot in #421
- ⬆ Bump websockets from 11.0.1 to 11.0.2 by @dependabot in #424
- ⬆ Bump cryptography from 40.0.1 to 40.0.2 by @dependabot in #422
- ⬆ Update sqlalchemy requirement from <2.0.10,>=1.4.37 to >=1.4.37,<2.0.11 by @dependabot in #425
- ⬆ Update sqlalchemy requirement from <2.0.11,>=1.4.37 to >=1.4.37,<2.0.12 by @dependabot in #426
- ⬆ Bump requests from 2.28.2 to 2.29.0 by @dependabot in #427
- ⬆ Bump uvicorn from 0.21.1 to 0.22.0 by @dependabot in #428
- ⬆ Update sqlalchemy requirement from <2.0.12,>=1.4.37 to >=1.4.37,<2.0.13 by @dependabot in #429
- ⬆ Bump pre-commit from 3.2.2 to 3.3.0 by @dependabot in #430
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 by @dependabot in #432
- ⬆ Bump pre-commit from 3.3.0 to 3.3.1 by @dependabot in #431
- ⬆ Bump requests from 2.29.0 to 2.30.0 by @dependabot in #433
- ⬆ Update redis requirement from <4.5.5,>=4.3.3 to >=4.3.3,<4.5.6 by @dependabot in #435
- ⬆ Bump websockets from 11.0.2 to 11.0.3 by @dependabot in #434
- ⬆ Bump pyjwt from 2.6.0 to 2.7.0 by @dependabot in #436
- ⬆ Update sqlalchemy requirement from <2.0.13,>=1.4.37 to >=1.4.37,<2.0.14 by @dependabot in #437
- ⬆ Bump pymdown-extensions from 9.11 to 10.0 by @dependabot in #438
- ⬆ Bump starlette from 0.25.0 to 0.27.0 in /tests/middleware/example by @dependabot in #439
- ⬆ Bump pymdown-extensions from 10.0 to 10.0.1 by @dependabot in #440
- ⬆ Update starlette requirement from <0.26.2,>=0.14.02 to >=0.14.02,<0.27.1 by @dependabot in #441
- ⬆ Bump pre-commit from 3.3.1 to 3.3.2 by @dependabot in #442
- ⬆ Update sqlalchemy requirement from <2.0.14,>=1.4.37 to >=1.4.37,<2.0.15 by @dependabot in #444
- ⬆ Bump httpx from 0.24.0 to 0.24.1 by @dependabot in #443
- ⬆ Update sqlalchemy requirement from <2.0.15,>=1.4.37 to >=1.4.37,<2.0.16 by @dependabot in #445
- ⬆ Bump requests from 2.30.0 to 2.31.0 by @dependabot in #450
- ⬆ Bump pytest-cov from 4.0.0 to 4.1.0 by @dependabot in #452
- ⬆ Bump cryptography from 40.0.2 to 41.0.0 by @dependabot in #453
- ⬆ Update typing-extensions requirement from <4.6.0,>=3.7.4 to >=3.7.4,<4.7.0 by @dependabot in #458
- ⬆ Bump itsdangerous from 2.0.1 to 2.1.2 by @dependabot in #457
- ⬆ Bump sqlalchemy from 1.4.37 to 2.0.15 by @depen...
0.9.1
🟥 LAST RELEASE FOR AUTHX - 0.x.x
As you may observe, my primary shift has been towards concentrating on the development of the new release, with a strong emphasis on incorporating features that users would appreciate to enhance authentication capabilities.
In doing so, I have intentionally omitted several functions. This is why I strongly believe that having two distinct versions is truly beneficial.
0.x.x
The primary focus will be on addressing bug fixes and improving documentation in the previous version. It appears that the excessive use of dependencies may have been a factor that many people did not appreciate.
You can open a pull request in case you want to fix something related to it 🙌🏻
1.x.x
You can read here what is new until now:
AuthX Revamp - V 1.0.0 will be our authentication system New design. This version comes with several new features and enhancements to improve security, usability, and performance.
Core Functionality:
- JWT encoding/decoding for application authentication
- Automatic detection of JWTs in requests:
- JWTs in headers
- JWTs in cookies
- JWTs in query strings
- JWTs in JSON bodies
- Implicit/explicit token refresh mechanism
- Tracking the freshness state of tokens
- Route protection:
- Protection based on token type (access/refresh)
- Protection based on token freshness
- Partial route protection
- Handling custom user logic for revoked token validation
- Handling custom logic for token recipient retrieval (ORM, pydantic serialization...)
- Providing FastAPI-compliant dependency injection API
- Automatic error handling
External Support:
- Keeping profiler
- Keeping Redis
- Keeping Instrument
- Keeping Metrics
- Providing OAuth2 support
Fixes 🐛
Dependencies 📦
- ⬆ Update sqlalchemy requirement from <2.0.4,>=1.4.37 to >=1.4.37,<2.0.5 by @dependabot in #370
- ⬆ Bump pre-commit from 3.0.4 to 3.1.0 by @dependabot in #371
- ⬆ Bump pre-commit from 3.1.0 to 3.1.1 by @dependabot in #372
- ⬆ Bump cryptography from 39.0.1 to 39.0.2 by @dependabot in #373
- ⬆ Update sqlalchemy requirement from <2.0.5,>=1.4.37 to >=1.4.37,<2.0.6 by @dependabot in #374
- ⬆ Bump pymdown-extensions from 9.9.2 to 9.10 by @dependabot in #375
- ⬆ Bump pytest from 7.2.1 to 7.2.2 by @dependabot in #376
- ⬆ Update fastapi requirement from <0.93.0,>=0.65.2 to >=0.65.2,<0.94.0 by @dependabot in #380
- ⬆ Bump pydantic from 1.10.5 to 1.10.6 by @dependabot in #381
- ⬆ Bump uvicorn from 0.20.0 to 0.21.0 by @dependabot in #382
- ⬆ Update starlette requirement from <0.25.1,>=0.14.02 to >=0.14.02,<0.26.1 by @dependabot in #383
- ⬆ Update fastapi requirement from <0.94.0,>=0.65.2 to >=0.65.2,<0.95.0 by @dependabot in #385
- ⬆ Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.7.1 by @dependabot in #386
- ⬆ Update sqlalchemy requirement from <2.0.6,>=1.4.37 to >=1.4.37,<2.0.7 by @dependabot in #387
- ⬆ Update starlette requirement from <0.26.1,>=0.14.02 to >=0.14.02,<0.26.2 by @dependabot in #388
- ⬆ Bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.0 by @dependabot in #389
- ⬆ Bump uvicorn from 0.21.0 to 0.21.1 by @dependabot in #390
- ⬆ Update python-socketio requirement from <5.7.3,>=4.6.0 to >=4.6.0,<5.8.1 by @dependabot in #391
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.0 to 1.8.1 by @dependabot in #392
- ⬆ Bump pre-commit from 3.1.1 to 3.2.0 by @dependabot in #394
- ⬆ Bump pytest-asyncio from 0.20.3 to 0.21.0 by @dependabot in #395
- ⬆ Update fastapi requirement from <0.95.0,>=0.65.2 to >=0.65.2,<0.96.0 by @dependabot in #396
- ⬆ Update sqlalchemy requirement from <2.0.7,>=1.4.37 to >=1.4.37,<2.0.8 by @dependabot in #397
- ⬆ Update redis requirement from <4.5.2,>=4.3.3 to >=4.3.3,<4.5.3 by @dependabot in #398
- ⬆ Bump pydantic from 1.10.6 to 1.10.7 by @dependabot in #399
- ⬆ Update redis requirement from <4.5.3,>=4.3.3 to >=4.3.3,<4.5.4 by @dependabot in #400
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.1 to 1.8.3 by @dependabot in #401
- ⬆ Bump cryptography from 39.0.2 to 40.0.0 by @dependabot in #402
- ⬆ Bump cryptography from 40.0.0 to 40.0.1 by @dependabot in #404
- ⬆ Bump pre-commit from 3.2.0 to 3.2.1 by @dependabot in #405
- ⬆ Bump pytz from 2022.7.1 to 2023.2 by @dependabot in #403
- ⬆ Bump pytz from 2023.2 to 2023.3 by @dependabot in #406
- ⬆ Update redis requirement from <4.5.4,>=4.3.3 to >=4.3.3,<4.5.5 by @dependabot in #407
- ⬆ Update sqlalchemy requirement from <2.0.8,>=1.4.37 to >=1.4.37,<2.0.9 by @dependabot in #408
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.3 to 1.8.4 by @dependabot in #410
- ⬆ Bump websockets from 10.4 to 11.0 by @dependabot in #409
- ⬆ Bump pre-commit from 3.2.1 to 3.2.2 by @dependabot in #411
- ⬆ Bump motor from 3.1.1 to 3.1.2 by @dependabot in #412
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.4 to 1.8.5 by @dependabot in #413
- ⬆ Update sqlalchemy requirement from <2.0.9,>=1.4.37 to >=1.4.37,<2.0.10 by @dependabot in #415
- ⬆ Bump websockets from 11.0 to 11.0.1 by @dependabot in #416
- ⬆ Bump pytest from 7.2.2 to 7.3.0 by @dependabot in #417
- ⬆ Bump pymdown-extensions from 9.10 to 9.11 by @dependabot in #418
- ⬆ Bump httpx from 0.23.3 to 0.24.0 by @dependabot in #419
- ⬆ Update email-validator requirement from <1.3.2,>=1.1.0 to >=1.1.0,<2.0.1 by @dependabot in #420
- ⬆ Bump pytest from 7.3.0 to 7.3.1 by @dependabot in #421
- ⬆ Bump websockets from 11.0.1 to 11.0.2 by @dependabot in #424
- ⬆ Bump cryptography from 40.0.1 to 40.0.2 by @dependabot in #422
- ⬆ Update sqlalchemy requirement from <2.0.10,>=1.4.37 to >=1.4.37,<2.0.11 by @dependabot in #425
- ⬆ Update sqlalchemy requirement from <2.0.11,>=1.4.37 to >=1.4.37,<2.0.12 by @dependabot in #426
- ⬆ Bump requests from 2.28.2 to 2.29.0 by @dependabot in #427
- ⬆ Bump uvicorn from 0.21.1 to 0.22.0 by @dependabot in #428
- ⬆ Update sqlalchemy requirement from <2.0.12,>=1.4.37 to >=1.4.37,<2.0.13 by @dependabot in #429
- ⬆ Bump pre-commit from 3.2.2 to 3.3.0 by @dependabot in #430
- ⬆ Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 by @dependabot in #432
- ⬆ Bump pre-commit from 3.3.0 to 3.3.1 by @dependabot in #431
- ⬆ Bump requests from 2.29.0 to 2.30.0 by @dependabot in #433
- ⬆ Update redis requirement from <4.5.5,>=4.3.3 to >=4.3.3,<4.5.6 by @dependabot in #435
- ⬆ Bump websockets from 11.0.2 to 11.0.3 by @dependabot in #434
- ⬆ Bump pyjwt from 2.6.0 to 2.7.0 by @dependabot in #436
- ⬆ Update sqlalchemy requirement from <2.0.13,>=1.4.37 to >=1.4.37,<2.0.14 by @dependabot in #437
- ⬆ Bump pymdown-extensions from 9.11 to 10.0 by @dependabot in #438
- ⬆️ Bump starlette from 0.25.0 to 0.27.0 in /tests/middleware/example by @dependabot in #439
- ⬆ Bump pymdown-extensions from 10.0 to 10.0.1 by @dependabot in #440
- ⬆ Update starlette requirement from <0.26.2,>=0.14.02 to >=0.14.02,<0.27.1 by @dependabot in #441
- ⬆ Bump pre-commit from 3.3.1 to 3.3.2 by @dependabot in #442
- ⬆ Update sqlalchemy requirement from <2.0.14,>=1.4.37 to >=1.4.37,<2.0.15 by @dependabot in #444
- ⬆ Bump httpx from 0.24.0 to 0.24.1 by @dependabot in #443
- ⬆ Update sqlalchemy requirement from <2.0.15,>=1.4.37 to >=1.4.37,<2.0.16 by @dependabot in #445
- ⬆ Bump requests from 2.30.0 to 2.31.0 by @dependabot in #450
- ⬆ Bump pytest-cov fr...
0.9.0
Fixes 🐛
Dependencies 🔨
- ⬆ Update email-validator requirement from <1.3.1,>=1.1.0 to >=1.1.0,<1.3.2 by @dependabot in #347
- ⬆ Bump pymdown-extensions from 9.9.1 to 9.9.2 by @dependabot in #346
- ⬆ Bump pre-commit from 2.21.0 to 3.0.0 by @dependabot in #348
- ⬆ Update sqlalchemy requirement from <1.4.47,>=1.4.37 to >=1.4.37,<2.0.1 by @dependabot in #350
- ⬆ Bump pre-commit from 3.0.0 to 3.0.1 by @dependabot in #349
- ⬆ Bump pre-commit from 3.0.1 to 3.0.4 by @dependabot in #354
- ⬆ Update sqlalchemy requirement from <2.0.1,>=1.4.37 to >=1.4.37,<2.0.2 by @dependabot in #353
- ⬆ Update starlette requirement from <0.23.2,>=0.14.02 to >=0.14.02,<0.24.1 by @dependabot in #356
- ⬆ Update sqlalchemy requirement from <2.0.2,>=1.4.37 to >=1.4.37,<2.0.3 by @dependabot in #357
- ⬆ Bump cryptography from 39.0.0 to 39.0.1 by @dependabot in #358
- ⬆ Update redis requirement from <4.4.3,>=4.3.3 to >=4.3.3,<4.5.1 by @dependabot in #359
- ⬆ Bump markdown-include from 0.8.0 to 0.8.1 by @dependabot in #360
- ⬆ Update fastapi requirement from <0.90.0,>=0.65.2 to >=0.65.2,<0.91.0 by @dependabot in #361
- ⬆ Update redis requirement from <4.5.1,>=4.3.3 to >=4.3.3,<4.5.2 by @dependabot in #362
- ⬆ Update sqlalchemy requirement from <2.0.3,>=1.4.37 to >=1.4.37,<2.0.4 by @dependabot in #363
- ⬆ Update fastapi requirement from <0.91.0,>=0.65.2 to >=0.65.2,<0.92.0 by @dependabot in #364
- ⬆ Update starlette requirement from <0.24.1,>=0.14.02 to >=0.14.02,<0.25.1 by @dependabot in #366
- ⬆ Update fastapi requirement from <0.92.0,>=0.65.2 to >=0.65.2,<0.93.0 by @dependabot in #367
- ⬆ Bump pydantic from 1.10.4 to 1.10.5 by @dependabot in #368
- ⬆ Bump starlette from 0.17.1 to 0.25.0 in /tests/middleware/example by @dependabot in #365
Full Changelog: 0.8.3...0.9.0
🎨 0.8.3 - Support Ruff for Linting
Fixes 🐛
- Fixes a few imports in the documentation by @alobbs in #343
- ✨ Use Ruff for linting by @yezz123 in #344
Docs 📝
- docs: add @alobbs as a contributor for doc by @allcontributors in #345
Dependencies 🔨
- ⬆ Bump pymdown-extensions from 9.9 to 9.9.1 by @dependabot in #338
- ⬆ Update redis requirement from <4.4.2,>=4.3.3 to >=4.3.3,<4.4.3 by @dependabot in #337
- ⬆ Bump requests from 2.28.1 to 2.28.2 by @dependabot in #339
- ⬆ Bump pytz from 2022.7 to 2022.7.1 by @dependabot in #340
- ⬆ Bump pytest from 7.2.0 to 7.2.1 by @dependabot in #341
New Contributors
Full Changelog: 0.8.2...0.8.3
🔖 release 0.8.2
What's Changed
- ⬆ Bump jinja2 from 3.0.3 to 3.1.2 by @dependabot in #268
- ⬆ Bump databases from 0.6.0 to 0.6.1 by @dependabot in #270
- ⬆ Update email-validator requirement from <1.2.1,>=1.1.0 to >=1.1.0,<1.3.1 by @dependabot in #271
- ⬆ Bump pytz from 2022.1 to 2022.6 by @dependabot in #273
- ⬆ Update pyinstrument requirement from <4.2.0,>=4.1.1 to >=4.1.1,<4.4.0 by @dependabot in #274
- ⬆ Bump pymdown-extensions from 9.5 to 9.7 by @dependabot in #275
- ⬆ Bump pytest-cov from 3.0.0 to 4.0.0 by @dependabot in #276
- ⬆ Update redis requirement from <4.3.4,>=4.3.3 to >=4.3.3,<4.3.5 by @dependabot in #277
- ⬆ Bump pytest from 7.1.3 to 7.2.0 by @dependabot in #278
- ⬆ Update fastapi requirement from <=0.81.0,>=0.65.2 to >=0.65.2,<0.87.0 by @dependabot in #279
- ⬆ Bump bcrypt from 3.2.2 to 4.0.1 by @dependabot in #281
- ⬆ Bump pytest-asyncio from 0.19.0 to 0.20.1 by @dependabot in #280
- ⬆ Bump pydantic from 1.9.1 to 1.10.2 by @dependabot in #282
- ⬆ Update sqlalchemy requirement from <=1.4.40,>=1.4.37 to >=1.4.37,<1.4.43 by @dependabot in #283
- ⬆ Bump aiosmtplib from 1.1.6 to 2.0.0 by @dependabot in #285
- ⬆ Update pyinstrument requirement from <4.4.0,>=4.1.1 to >=4.1.1,<4.5.0 by @dependabot in #286
- ⬆ Bump pymdown-extensions from 9.7 to 9.8 by @dependabot in #287
- ⬆ Update python-socketio requirement from <5.7.1,>=4.6.0 to >=4.6.0,<5.7.3 by @dependabot in #288
- ⬆ Bump databases from 0.6.1 to 0.6.2 by @dependabot in #289
- ⬆ Update starlette requirement from <0.20.4,>=0.14.02 to >=0.14.02,<0.21.1 by @dependabot in #290
- ⬆ Update sqlalchemy requirement from <1.4.43,>=1.4.37 to >=1.4.37,<1.4.44 by @dependabot in #291
- ⬆ Bump cryptography from 37.0.4 to 38.0.3 by @dependabot in #292
- ⬆ Bump uvloop from 0.16.0 to 0.17.0 by @dependabot in #293
- ⬆ Bump websockets from 10.3 to 10.4 by @dependabot in #294
- ⬆ Bump pyjwt from 2.4.0 to 2.6.0 by @dependabot in #296
- ⬆ Bump motor from 3.0.0 to 3.1.1 by @dependabot in #297
- ⬆ Bump pytest-asyncio from 0.20.1 to 0.20.2 by @dependabot in #300
- ⬆ Update sqlalchemy requirement from <1.4.44,>=1.4.37 to >=1.4.37,<1.4.45 by @dependabot in #298
- ⬆ Update starlette requirement from <0.21.1,>=0.14.02 to >=0.14.02,<0.22.1 by @dependabot in #301
- ⬆ Bump httpx from 0.23.0 to 0.23.1 by @dependabot in #303
- ⬆ Bump uvicorn from 0.18.3 to 0.20.0 by @dependabot in #302
- ⬆ Update redis requirement from <4.3.5,>=4.3.3 to >=4.3.3,<4.3.6 by @dependabot in #304
- ⬆ Bump pymdown-extensions from 9.8 to 9.9 by @dependabot in #305
- ⬆ Bump markdown-include from 0.7.0 to 0.8.0 by @dependabot in #306
- ⬆ Bump cryptography from 38.0.3 to 38.0.4 by @dependabot in #307
- ⬆ Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.6.1 by @dependabot in #312
- ⬆ Bump jsmrcaga/action-netlify-deploy from 1.1.0 to 1.8.1 by @dependabot in #309
- Revert "⬆ Bump jsmrcaga/action-netlify-deploy from 1.1.0 to 1.8.1" by @yezz123 in #314
- ⬆ Update redis requirement from <4.3.6,>=4.3.3 to >=4.3.3,<4.4.1 by @dependabot in #311
- ⬆ Update starlette requirement from <0.22.1,>=0.14.02 to >=0.14.02,<0.23.1 by @dependabot in #315
- ⬆ Bump pypa/gh-action-pypi-publish from 1.6.1 to 1.6.4 by @dependabot in #318
- ⬆ Bump pytest-asyncio from 0.20.2 to 0.20.3 by @dependabot in #319
- ⬆ Update sqlalchemy requirement from <1.4.45,>=1.4.37 to >=1.4.37,<1.4.46 by @dependabot in #320
- ⬆ Update starlette requirement from <0.23.1,>=0.14.02 to >=0.14.02,<0.23.2 by @dependabot in #321
- ⬆ Bump databases from 0.6.2 to 0.7.0 by @dependabot in #324
- ⬆ Bump pytz from 2022.6 to 2022.7 by @dependabot in #323
- ⬆ Bump pre-commit from 2.20.0 to 2.21.0 by @dependabot in #325
- ⬆ Bump pydantic from 1.10.2 to 1.10.3 by @dependabot in #326
- ⬆ Bump cryptography from 38.0.4 to 39.0.0 by @dependabot in #328
- ⬆ Bump pydantic from 1.10.3 to 1.10.4 by @dependabot in #327
- ⬆ Update mkdocs-material requirement from <9.0.0,>=8.1.4 to >=8.1.4,<10.0.0 by @dependabot in #330
- ⬆ Bump httpx from 0.23.1 to 0.23.2 by @dependabot in #329
- ⬆ Update sqlalchemy requirement from <1.4.46,>=1.4.37 to >=1.4.37,<1.4.47 by @dependabot in #331
- ⬆ Update fastapi requirement from <0.87.0,>=0.65.2 to >=0.65.2,<0.89.0 by @dependabot in #308
- ⬆ Bump httpx from 0.23.2 to 0.23.3 by @dependabot in #332
- ⬆ Bump aiosmtplib from 2.0.0 to 2.0.1 by @dependabot in #334
- ⬆ Update redis requirement from <4.4.1,>=4.3.3 to >=4.3.3,<4.4.2 by @dependabot in #335
- ⬆ Update fastapi requirement from <0.87.0,>=0.65.2 to >=0.65.2,<0.90.0 by @dependabot in #336
Full Changelog: 0.8.1...0.8.2
🔖 release 0.8.1
What's Changed
- increment postfix to find the possible username to use by @iftenet in #266
- docs: add iftenet as a contributor for bug by @allcontributors in #267
New Contributors
- @iftenet made their first contribution in #266
Full Changelog: 0.8.0...0.8.1
🔖 release 0.8.0
🔖 Release 0.8.0
Implementation in FastAPI applications
That's Work by adding a Middleware to your FastAPI application, working on collecting Prometheus metrics for each request, and then to handle that we need a function get_metrics
to work on handling exposing the Prometheus metrics into the /metrics
endpoint.
from fastapi import FastAPI
from authx.middleware import MetricsMiddleware, get_metrics
app = FastAPI()
app.add_middleware(MetricsMiddleware)
app.add_route("/metrics", get_metrics)
What's Changed
Full Changelog: 0.7.0...0.8.0