Commit Graph

756 Commits

Author SHA1 Message Date
François Voron
55adea47bc Add Dependabot for GitHub Actions 2024-11-03 13:04:09 +00:00
François Voron
0b1d740f00 Bump dependencies 2024-11-03 13:01:33 +00:00
François Voron
ad99e4d66a Fix depreciation warnings 2024-11-03 12:56:54 +00:00
François Voron
1e163804e2 Enable Python 3.13 support 2024-11-03 12:52:25 +00:00
François Voron
caa17889e1 Drop Python 3.8 support 2024-11-03 12:51:32 +00:00
François Voron
7f92a82e07 Fix linting 2024-11-03 12:46:46 +00:00
François Voron
f37a48f97d Update README.md 2024-10-19 15:16:40 +02:00
Marios Pitsiali
42ddc241b9 Fix typo in auth docs stategies/database.md (#1437) 2024-09-13 17:46:25 +02:00
dependabot[bot]
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
allcontributors[bot]
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
Alexander Zinov
abfa9a1c47 Improve type hints (#1401)
* Add type parameters to `AuthenticationBackend`

* add more type-hints
2024-07-14 15:04:13 +02:00
François Voron
6ac64ad293 Enable UV installer in Hatch config 2024-05-02 16:46:44 +02:00
François Voron
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
François Voron
ac09bc1907 Bump python-multipart 2024-03-11 14:10:45 +01:00
François Voron
352b22f01a Upgrade pytest-asyncio usage 2024-03-11 14:09:55 +01:00
François Voron
48d4484cad Enable 3.12 support 2024-03-11 14:05:25 +01:00
François Voron
f7a31c579d Replace passlib in favor of pwdlib 2024-03-11 14:04:50 +01:00
François Voron
e7972561c0 Upgrade and apply Ruff linting 2024-03-11 13:51:43 +01:00
allcontributors[bot]
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
Matthew D. Scholefield
a4287b8586 Fix utcnow deprecation warning (#1369) 2024-03-11 13:25:36 +01:00
allcontributors[bot]
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
Brandon H. Goding
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
allcontributors[bot]
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
Mark Donnelly
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
François Voron
3e38e1154c Update README 2024-02-15 10:04:12 +01:00
allcontributors[bot]
1987d5afff docs: add raindata5 as a contributor for doc (#1354)
* 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-15 09:58:19 +01:00
raindata5
87c73e974c Update cookie.md to reflect correct status code on login (#1349)
* Update cookie.md to reflect correct status code on login

* Add complete HTTP response code

* Update HTTP response code in docs for cookie transport
2024-02-15 09:57:30 +01:00
François Voron
ad096aea13 Update Polar badge 2024-02-15 09:31:59 +01:00
François Voron
4ee11be696 Update Polar badge 2024-02-15 09:26:56 +01:00
François Voron
e3cdda521c Update FUNDING.yml 2024-02-15 09:14:42 +01:00
François Voron
a49a4ecb97 Update funding settings 2024-02-14 17:25:13 +01:00
François Voron
ae9f52474b Bump version 12.1.2 → 12.1.3
Improvements
------------

* Bump dependenciess
    * `python-multipart ==0.0.7`
v12.1.3
2024-02-05 09:51:04 +01:00
François Voron
3d42d57556 Upgrade Codecov action 2024-02-05 09:35:01 +01:00
François Voron
a49f7f49c4 Update README 2024-02-05 09:24:09 +01:00
François Voron
8ef6699ab7 Add VS Code settings 2024-02-05 09:20:45 +01:00
François Voron
9d07464be1 Upgrade linting configuration 2024-02-05 09:20:38 +01:00
dependabot[bot]
cd5eaf1d51 Bump python-multipart from 0.0.6 to 0.0.7 (#1347)
Bumps [python-multipart](https://github.com/andrew-d/python-multipart) from 0.0.6 to 0.0.7.
- [Changelog](https://github.com/andrew-d/python-multipart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/andrew-d/python-multipart/compare/0.0.6...0.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 09:10:31 +01:00
dependabot[bot]
155d161bfc Update email-validator requirement from <2.1,>=1.1.0 to >=1.1.0,<2.2 (#1311)
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.1.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>
2023-12-28 09:09:39 +01:00
allcontributors[bot]
e646721641 docs: add hgalytoby as a contributor for question (#1329)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-28 09:09:04 +01:00
allcontributors[bot]
fe5555c190 docs: add lifengmds as a contributor for financial (#1328)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-28 09:08:03 +01:00
François Voron
ff9fae631c Bump version 12.1.1 → 12.1.2
Bug fixes
---------

* Fix a bug when trying to update user with a `None` password. Thanks @fotinakis 🎉
* Fix static type checking error with `AccessTokenProtocol`. Thanks @Nerixjk 🎉

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

* Bump dependencies
    * `redis >=4.3.3,<6.0.0`
v12.1.2
2023-08-26 10:23:06 +02:00
François Voron
1c10319c20 Bump Redis dependency 2023-08-26 10:15:15 +02:00
allcontributors[bot]
fe4351457f docs: add fotinakis as a contributor for code, and bug (#1276)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-08-26 10:14:53 +02:00
Mike Fotinakis
0bf4e218f0 Fix password update None handling. (#1275) 2023-08-26 10:14:26 +02:00
Nerixjk
830898c5bf Fix #1262: Remove __init__ in models protocols to fix typing error with Pylance (#1266)
Replication of original fix for #1262 to the AccessTokenProtocol class.
2023-08-10 09:13:59 +02:00
allcontributors[bot]
381cd1a9b6 docs: add Nerixjk as a contributor for bug, and code (#1268)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-08-10 09:05:34 +02:00
François Voron
a40dc214c4 Bump version 12.1.0 → 12.1.1
Bug fixes and improvements
--------------------------

* Add missing `request` parameter to `UserManager.delete`. Thanks @hgalytoby 🎉
* Remove dummy `__init__` method from models protocols to fix Pylance typing error. Thanks @Nerixjk 🎉
* Bump dependencies:
    * `pyjwt[crypto] ==2.8.0`
v12.1.1
2023-08-08 11:47:57 +02:00
François Voron
54590167a6 Fix #1262: Remove __init__ in models protocols to fix typing error with Pylance 2023-08-08 11:40:33 +02:00
dependabot[bot]
aa4344f793 Bump pyjwt[crypto] from 2.7.0 to 2.8.0 (#1254)
Bumps [pyjwt[crypto]](https://github.com/jpadilla/pyjwt) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.7.0...2.8.0)

---
updated-dependencies:
- dependency-name: pyjwt[crypto]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 13:10:56 +02:00
allcontributors[bot]
61fad8ce38 docs: add hgalytoby as a contributor for bug (#1259)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-07-26 13:10:13 +02:00