From 514e5bab401f968baca988e09c4995e98da6c7da Mon Sep 17 00:00:00 2001 From: Nima Xin Date: Thu, 7 Nov 2024 16:49:31 +0330 Subject: [PATCH 1/8] Fix database URL examples in docs --- docs/configuration/databases/sqlalchemy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. From d82e35bcd5f3094096a79ae724225104c17bfde8 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:53:30 +0000 Subject: [PATCH 2/8] docs: update README.md [skip ci] --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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

📖 From a881996f927cb3d424a21d2eeef5f1361a21131d Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:53:31 +0000 Subject: [PATCH 3/8] docs: update .all-contributorsrc [skip ci] --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) 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, From 9c24c684e6daa280ca74cf440b948416c8a94f8d Mon Sep 17 00:00:00 2001 From: cyberksh <125770189+cyberksh@users.noreply.github.com> Date: Sat, 9 Nov 2024 22:34:53 +0530 Subject: [PATCH 4/8] config: update repo name in mkdocs.yml --- mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: "" From 005dbefa20829b754d2ce4180a6a655f9c2ffdcd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 11:23:50 +0000 Subject: [PATCH 5/8] 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] --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From d1b52a2b866b461b100fa152c77834ff337f05c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 04:25:51 +0000 Subject: [PATCH 6/8] 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] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 31822c53..48774318 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -147,7 +147,7 @@ dependencies = [ "pwdlib[argon2,bcrypt] ==0.2.1", "email-validator >=1.1.0,<2.3", "pyjwt[crypto] ==2.9.0", - "python-multipart ==0.0.17", + "python-multipart ==0.0.20", "makefun >=1.11.2,<2.0.0", ] From 8ea78fd49b8be36f42675c425bbb8e61dd2707e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Voron?= Date: Sat, 4 Jan 2025 14:13:38 +0100 Subject: [PATCH 7/8] Bump dependencies --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 48774318..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", + "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" From 9d78b2a35dc7f35c2ffca67232c11f4d27a5db00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Voron?= Date: Sat, 4 Jan 2025 14:16:19 +0100 Subject: [PATCH 8/8] =?UTF-8?q?Bump=20version=2014.0.0=20=E2=86=92=2014.0.?= =?UTF-8?q?1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improvements ------------ * Bump dependencies * `pyjwt[crypto] ==2.10.1` * `python-multipart ==0.0.20` --- fastapi_users/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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