Skip to content

Commit 210b0b6

Browse files
committed
Merge branch 'master' of github.com:fastapi/full-stack-fastapi-template
2 parents f0c4cc8 + 45d94ee commit 210b0b6

File tree

7 files changed

+63
-56
lines changed

7 files changed

+63
-56
lines changed

.github/workflows/issue-manager.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ jobs:
3838
},
3939
"waiting": {
4040
"delay": 2628000,
41-
"message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR."
41+
"message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.",
42+
"reminder": {
43+
"before": "P3D",
44+
"message": "Heads-up: this will be closed in 3 days unless there’s new activity."
4245
},
4346
"invalid": {
4447
"delay": 0,

backend/app/models.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ class UserBase(SQLModel):
1414

1515
# Properties to receive via API on creation
1616
class UserCreate(UserBase):
17-
password: str = Field(min_length=8, max_length=40)
17+
password: str = Field(min_length=8, max_length=128)
1818

1919

2020
class UserRegister(SQLModel):
2121
email: EmailStr = Field(max_length=255)
22-
password: str = Field(min_length=8, max_length=40)
22+
password: str = Field(min_length=8, max_length=128)
2323
full_name: str | None = Field(default=None, max_length=255)
2424

2525

2626
# Properties to receive via API on update, all are optional
2727
class UserUpdate(UserBase):
2828
email: EmailStr | None = Field(default=None, max_length=255) # type: ignore
29-
password: str | None = Field(default=None, min_length=8, max_length=40)
29+
password: str | None = Field(default=None, min_length=8, max_length=128)
3030

3131

3232
class UserUpdateMe(SQLModel):
@@ -35,8 +35,8 @@ class UserUpdateMe(SQLModel):
3535

3636

3737
class UpdatePassword(SQLModel):
38-
current_password: str = Field(min_length=8, max_length=40)
39-
new_password: str = Field(min_length=8, max_length=40)
38+
current_password: str = Field(min_length=8, max_length=128)
39+
new_password: str = Field(min_length=8, max_length=128)
4040

4141

4242
# Database model, database table inferred from class name
@@ -110,4 +110,4 @@ class TokenPayload(SQLModel):
110110

111111
class NewPassword(SQLModel):
112112
token: str
113-
new_password: str = Field(min_length=8, max_length=40)
113+
new_password: str = Field(min_length=8, max_length=128)

frontend/Dockerfile.playwright

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/playwright:v1.55.0-noble
1+
FROM mcr.microsoft.com/playwright:v1.56.1-noble
22

33
WORKDIR /app
44

frontend/package-lock.json

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
"devDependencies": {
2929
"@biomejs/biome": "^2.2.4",
3030
"@hey-api/openapi-ts": "0.73.0",
31-
"@playwright/test": "^1.55.0",
31+
"@playwright/test": "1.56.1",
3232
"@tanstack/router-devtools": "^1.131.42",
3333
"@tanstack/router-plugin": "^1.133.15",
3434
"@types/node": "^24.5.2",
3535
"@types/react": "^19.1.16",
3636
"@types/react-dom": "^19.2.1",
37-
"@vitejs/plugin-react-swc": "^4.0.1",
37+
"@vitejs/plugin-react-swc": "^4.1.0",
3838
"dotenv": "^17.2.2",
3939
"typescript": "^5.2.2",
4040
"vite": "^7.1.11"

frontend/src/client/schemas.gen.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export const NewPasswordSchema = {
202202
},
203203
new_password: {
204204
type: 'string',
205-
maxLength: 40,
205+
maxLength: 128,
206206
minLength: 8,
207207
title: 'New Password'
208208
}
@@ -258,13 +258,13 @@ export const UpdatePasswordSchema = {
258258
properties: {
259259
current_password: {
260260
type: 'string',
261-
maxLength: 40,
261+
maxLength: 128,
262262
minLength: 8,
263263
title: 'Current Password'
264264
},
265265
new_password: {
266266
type: 'string',
267-
maxLength: 40,
267+
maxLength: 128,
268268
minLength: 8,
269269
title: 'New Password'
270270
}
@@ -306,7 +306,7 @@ export const UserCreateSchema = {
306306
},
307307
password: {
308308
type: 'string',
309-
maxLength: 40,
309+
maxLength: 128,
310310
minLength: 8,
311311
title: 'Password'
312312
}
@@ -367,7 +367,7 @@ export const UserRegisterSchema = {
367367
},
368368
password: {
369369
type: 'string',
370-
maxLength: 40,
370+
maxLength: 128,
371371
minLength: 8,
372372
title: 'Password'
373373
},
@@ -430,7 +430,7 @@ export const UserUpdateSchema = {
430430
anyOf: [
431431
{
432432
type: 'string',
433-
maxLength: 40,
433+
maxLength: 128,
434434
minLength: 8
435435
},
436436
{

release-notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
### Refactors
1212

13+
* ♻️ Update password max length. PR [#1447](https://github.com/fastapi/full-stack-fastapi-template/pull/1447) by [@michaelAlvarino](https://github.com/michaelAlvarino).
1314
* 🚚 Move backend tests outside the `app` directory. PR [#1862](https://github.com/fastapi/full-stack-fastapi-template/pull/1862) by [@YuriiMotov](https://github.com/YuriiMotov).
1415
* ✨ Add ImportMetaEnv and ImportMeta interfaces for Vite environment variables. PR [#1860](https://github.com/fastapi/full-stack-fastapi-template/pull/1860) by [@alejsdev](https://github.com/alejsdev).
1516
* 🔧 Update `tsconfig.json` and fix errors. PR [#1859](https://github.com/fastapi/full-stack-fastapi-template/pull/1859) by [@alejsdev](https://github.com/alejsdev).
@@ -52,6 +53,9 @@
5253

5354
### Internal
5455

56+
* ⬆ Bump @vitejs/plugin-react-swc from 4.0.1 to 4.1.0 in /frontend. PR [#1897](https://github.com/fastapi/full-stack-fastapi-template/pull/1897) by [@dependabot[bot]](https://github.com/apps/dependabot).
57+
* ⬆ Bump playwright from v1.55.0-noble to v1.56.1-noble in /frontend. PR [#1943](https://github.com/fastapi/full-stack-fastapi-template/pull/1943) by [@dependabot[bot]](https://github.com/apps/dependabot).
58+
* 🔧 Configure reminder for `waiting` label in `issue-manager`. PR [#1939](https://github.com/fastapi/full-stack-fastapi-template/pull/1939) by [@YuriiMotov](https://github.com/YuriiMotov).
5559
* ⬆ Bump vite from 7.1.9 to 7.1.11 in /frontend. PR [#1949](https://github.com/fastapi/full-stack-fastapi-template/pull/1949) by [@dependabot[bot]](https://github.com/apps/dependabot).
5660
* ⬆ Bump pydantic from 2.11.10 to 2.12.3 in /backend. PR [#1947](https://github.com/fastapi/full-stack-fastapi-template/pull/1947) by [@dependabot[bot]](https://github.com/apps/dependabot).
5761
* ⬆ Bump react-dom and @types/react-dom in /frontend. PR [#1934](https://github.com/fastapi/full-stack-fastapi-template/pull/1934) by [@dependabot[bot]](https://github.com/apps/dependabot).

0 commit comments

Comments
 (0)