diff --git a/.all-contributorsrc b/.all-contributorsrc index 4066cf1a..920228b3 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -750,6 +750,15 @@ "contributions": [ "code" ] + }, + { + "login": "nimaxin", + "name": "nimaxin", + "avatar_url": "https://avatars.githubusercontent.com/u/97331299?v=4", + "profile": "https://github.com/nimaxin", + "contributions": [ + "doc" + ] } ], "contributorsPerLine": 7, diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 295b42e8..b660cfd4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: - name: Test run: | hatch run test:test-cov-xml - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true diff --git a/README.md b/README.md index 85bc3338..f1608701 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ [![PyPI version](https://badge.fury.io/py/fastapi-users.svg)](https://badge.fury.io/py/fastapi-users) [![Downloads](https://pepy.tech/badge/fastapi-users)](https://pepy.tech/project/fastapi-users) -[![All Contributors](https://img.shields.io/badge/all_contributors-80-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-81-orange.svg?style=flat-square)](#contributors-)

@@ -183,6 +183,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d raindata5
raindata5

📖 Mark Donnelly
Mark Donnelly

📖 Alexander Zinov
Alexander Zinov

💻 + nimaxin
nimaxin

📖 diff --git a/docs/configuration/databases/sqlalchemy.md b/docs/configuration/databases/sqlalchemy.md index 77cd0dad..14e4bc7c 100644 --- a/docs/configuration/databases/sqlalchemy.md +++ b/docs/configuration/databases/sqlalchemy.md @@ -11,8 +11,8 @@ To work with your DBMS, you'll need to install the corresponding asyncio driver. Examples of `DB_URL`s are: -* PostgreSQL: `engine = create_engine('postgresql+asyncpg://user:password@host:port/name')` -* SQLite: `engine = create_engine('sqlite+aiosqlite:///name.db')` +* PostgreSQL: `postgresql+asyncpg://user:password@host:port/name` +* SQLite: `sqlite+aiosqlite:///name.db` For the sake of this tutorial from now on, we'll use a simple SQLite database. diff --git a/fastapi_users/__init__.py b/fastapi_users/__init__.py index f603a179..0c213994 100644 --- a/fastapi_users/__init__.py +++ b/fastapi_users/__init__.py @@ -1,6 +1,6 @@ """Ready-to-use and customizable users management for FastAPI.""" -__version__ = "14.0.0" +__version__ = "14.0.1" from fastapi_users import models, schemas # noqa: F401 from fastapi_users.exceptions import InvalidID, InvalidPasswordException diff --git a/mkdocs.yml b/mkdocs.yml index 56344532..9e61c6d4 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -28,7 +28,7 @@ theme: - search.highlight - content.code.annotate -repo_name: frankie567/fastapi-users +repo_name: fastapi-users/fastapi-users repo_url: https://github.com/fastapi-users/fastapi-users edit_uri: "" diff --git a/pyproject.toml b/pyproject.toml index 31822c53..d346869f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -146,17 +146,17 @@ dependencies = [ "fastapi >=0.65.2", "pwdlib[argon2,bcrypt] ==0.2.1", "email-validator >=1.1.0,<2.3", - "pyjwt[crypto] ==2.9.0", - "python-multipart ==0.0.17", + "pyjwt[crypto] ==2.10.1", + "python-multipart ==0.0.20", "makefun >=1.11.2,<2.0.0", ] [project.optional-dependencies] sqlalchemy = [ - "fastapi-users-db-sqlalchemy >=6.0.0", + "fastapi-users-db-sqlalchemy >=7.0.0", ] beanie = [ - "fastapi-users-db-beanie >=3.0.0", + "fastapi-users-db-beanie >=4.0.0", ] oauth = [ "httpx-oauth >=0.13"