782 Commits

Author SHA1 Message Date
ae5ff025ef Update GitHub config 2025-10-25 08:12:33 +02:00
04e7b4125b Bump version 14.0.1 → 14.0.2
Announcements
-------------

* This is the last release to support Python 3.9 and Pydantic v1.
* FastAPI Users is now in maintenance mode.** While we'll continue to provide security updates and dependency maintenance, no new features will be added. We encourage you to explore the project and use it as-is, knowing it will remain stable and secure.

Bug fixes and improvements
--------------------------

* Bump dependencies:
    * `email-validator >=1.1.0,<2.4`
    * `redis >=4.3.3,<8.0.0`
v14.0.2
2025-10-25 08:00:45 +02:00
5a000d114b Update README 2025-10-24 18:14:51 +02:00
1d91040207 Fix depreciation warning 2025-10-24 18:06:39 +02:00
df930dc20b Fix linting 2025-10-24 18:03:28 +02:00
2b64cb304b Update HTTPX OAuth link oauth.md
The old link was opening some broken/incomplete website.

Updated the link to point to https://frankie567.github.io/httpx-oauth/usage/
2025-10-24 17:30:52 +02:00
68afb3bc6f Update email-validator requirement from <2.3,>=1.1.0 to >=1.1.0,<2.4
Updates the requirements on [email-validator](https://github.com/JoshData/python-email-validator) to permit the latest version.
- [Release notes](https://github.com/JoshData/python-email-validator/releases)
- [Changelog](https://github.com/JoshData/python-email-validator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/JoshData/python-email-validator/compare/v1.1.0...v2.3.0)

---
updated-dependencies:
- dependency-name: email-validator
  dependency-version: 2.3.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-24 17:30:17 +02:00
c3729da0cf fix typo
duplicate text: "call the"
2025-10-24 17:27:34 +02:00
76d7f5a2ec Fix :param verified in current_user and current_user_token docstring 2025-10-24 17:27:11 +02:00
899ec22c3e Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-24 17:26:58 +02:00
73e5c22350 Update redis requirement from <6.0.0,>=4.3.3 to >=4.3.3,<8.0.0
Updates the requirements on [redis](https://github.com/redis/redis-py) to permit the latest version.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v4.3.3...v7.0.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 7.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-24 17:26:48 +02:00
34f662d137 Bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-24 17:26:12 +02:00
7f80895ff1 Bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-24 17:26:03 +02:00
9d78b2a35d Bump version 14.0.0 → 14.0.1
Improvements
------------

* Bump dependencies
    * `pyjwt[crypto] ==2.10.1`
    * `python-multipart ==0.0.20`
v14.0.1
2025-01-04 14:16:19 +01:00
8ea78fd49b Bump dependencies 2025-01-04 14:13:38 +01:00
d1b52a2b86 Bump python-multipart from 0.0.17 to 0.0.20
Bumps [python-multipart](https://github.com/Kludex/python-multipart) from 0.0.17 to 0.0.20.
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Kludex/python-multipart/compare/0.0.17...0.0.20)

---
updated-dependencies:
- dependency-name: python-multipart
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-04 13:32:37 +01:00
005dbefa20 Bump codecov/codecov-action from 4 to 5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 12:51:39 +01:00
9c24c684e6 config: update repo name in mkdocs.yml 2024-11-13 15:11:40 +01:00
a881996f92 docs: update .all-contributorsrc [skip ci] 2024-11-07 15:53:46 +01:00
d82e35bcd5 docs: update README.md [skip ci] 2024-11-07 15:53:46 +01:00
514e5bab40 Fix database URL examples in docs 2024-11-07 15:53:37 +01:00
38fe6cd530 Bump version 13.0.0 → 14.0.0
Breaking changes
----------------

* Drop Python 3.8 support

Improvements
------------

* Bump dependencies:
    * `python-multipart ==0.0.17`
    * `pwdlib[argon2,bcrypt] ==0.2.1`
    * `pyjwt[crypto] ==2.9.0`
v14.0.0
2024-11-03 13:16:05 +00:00
9f4a1ea15b Bump python-multipart from 0.0.16 to 0.0.17
Bumps [python-multipart](https://github.com/Kludex/python-multipart) from 0.0.16 to 0.0.17.
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Kludex/python-multipart/compare/0.0.16...0.0.17)

---
updated-dependencies:
- dependency-name: python-multipart
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-03 14:12:48 +01:00
55285d1e08 Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-03 14:06:12 +01:00
d9cbeeb43c Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-03 14:06:00 +01:00
21a2804c73 Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-03 14:05:50 +01:00
55adea47bc Add Dependabot for GitHub Actions 2024-11-03 13:04:09 +00:00
0b1d740f00 Bump dependencies 2024-11-03 13:01:33 +00:00
ad99e4d66a Fix depreciation warnings 2024-11-03 12:56:54 +00:00
1e163804e2 Enable Python 3.13 support 2024-11-03 12:52:25 +00:00
caa17889e1 Drop Python 3.8 support 2024-11-03 12:51:32 +00:00
7f92a82e07 Fix linting 2024-11-03 12:46:46 +00:00
f37a48f97d Update README.md 2024-10-19 15:16:40 +02:00
42ddc241b9 Fix typo in auth docs stategies/database.md (#1437) 2024-09-13 17:46:25 +02:00
c0c4da9a6c Update email-validator requirement from <2.2,>=1.1.0 to >=1.1.0,<2.3 (#1399)
Updates the requirements on [email-validator](https://github.com/JoshData/python-email-validator) to permit the latest version.
- [Release notes](https://github.com/JoshData/python-email-validator/releases)
- [Changelog](https://github.com/JoshData/python-email-validator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/JoshData/python-email-validator/compare/v1.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: email-validator
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-14 15:25:34 +02:00
5cc57fac07 docs: add sashkent3 as a contributor for code (#1411)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-07-14 15:04:34 +02:00
abfa9a1c47 Improve type hints (#1401)
* Add type parameters to `AuthenticationBackend`

* add more type-hints
2024-07-14 15:04:13 +02:00
6ac64ad293 Enable UV installer in Hatch config 2024-05-02 16:46:44 +02:00
61dba2694c Bump version 12.1.3 → 13.0.0
Breaking change
---------------

The underlying password hashing library has been changed from `passlib` to `pwdlib`. This change is breaking only if you were using a custom `CryptContext`. Otherwise, you can upgrade without any changes.

Improvements
------------

* Python 3.12 support
* Password are now hashed using the Argon2 algorithm by default. Passwords created with the previous default algorithm (bcrypt) will still be verified correctly and upgraded to Argon2 when the user logs in.
* Bump dependencies
  * `python-multipart ==0.0.9`
v13.0.0
2024-03-11 14:16:20 +01:00
ac09bc1907 Bump python-multipart 2024-03-11 14:10:45 +01:00
352b22f01a Upgrade pytest-asyncio usage 2024-03-11 14:09:55 +01:00
48d4484cad Enable 3.12 support 2024-03-11 14:05:25 +01:00
f7a31c579d Replace passlib in favor of pwdlib 2024-03-11 14:04:50 +01:00
e7972561c0 Upgrade and apply Ruff linting 2024-03-11 13:51:43 +01:00
e4d6923145 docs: add MatthewScholefield as a contributor for code (#1370)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-11 13:25:46 +01:00
a4287b8586 Fix utcnow deprecation warning (#1369) 2024-03-11 13:25:36 +01:00
bb1b0d759e docs: add BrandonGoding as a contributor for doc (#1364)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-05 09:10:13 +01:00
2ffb7006ff [Issue #1312]: full examples use lifespan instead of on_startup (#1363)
* docs(examples): full examples use lifespan instead of on_startup for database initialization

* Update beanie.md

Replaced the annotations on the notes that I missed
2024-03-05 09:09:49 +01:00
0df82afb32 docs: add mdonnellyli as a contributor for doc (#1358)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-02-20 08:42:46 +01:00
d6e337a2e5 Create a user programmatically documentation - change example to return things. (#1356)
* Changed method to return user or raise an exception

* Re-raise UserAlreadyExists exception instead of creating a new one.
2024-02-20 08:42:23 +01:00