Upgrade dependencies and patch known vulnerabilities
Bump fastapi (starlette 1.8.0), uvicorn, python-multipart, pydantic-settings, pytz, email-validator, and slowapi. Move nginx and mysql image pins to current digests. Rename deprecated HTTP_422 status constant. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
5b7d689453
commit
c9833eb810
3 files changed
+10
-10
No files matched your search
@@ -55,7 +55,7 @@ async def create_entry(
|
||||
current_user: User = Depends(get_current_user),
|
||||
):
|
||||
if body.entry_type == EntryType.add and not body.bourbon_name:
|
||||
raise HTTPException(status_code=status.HTTP_422_UNPROCESSABLE_ENTITY, detail="bourbon_name is required for add entries")
|
||||
raise HTTPException(status_code=status.HTTP_422_UNPROCESSABLE_CONTENT, detail="bourbon_name is required for add entries")
|
||||
|
||||
entry = Entry(
|
||||
user_id=current_user.id,
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
fastapi==0.115.6
|
||||
uvicorn[standard]==0.32.1
|
||||
fastapi==0.143.3
|
||||
uvicorn[standard]==0.54.0
|
||||
sqlalchemy[asyncio]==2.0.50
|
||||
aiomysql==0.3.2
|
||||
pydantic-settings==2.7.0
|
||||
pydantic-settings==2.16.0
|
||||
python-jose[cryptography]==3.5.0
|
||||
passlib[bcrypt]==1.7.4
|
||||
bcrypt==4.0.1
|
||||
python-multipart==0.0.29
|
||||
pytz==2024.2
|
||||
email-validator==2.2.0
|
||||
slowapi==0.1.9
|
||||
python-multipart==0.0.32
|
||||
pytz==2026.5
|
||||
email-validator==2.3.0
|
||||
slowapi==0.1.10
|
||||
httpx==0.28.1
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:alpine@sha256:4001b8091adb507866f42c251759b40290995629415d46684a32d3ede850c976
|
||||
image: nginx:alpine@sha256:892bb2152464f0c5d8972593a5f5afaf8054552580b699d95f8ff4af08c2d33d
|
||||
ports:
|
||||
- "8057:80"
|
||||
volumes:
|
||||
@@ -37,7 +37,7 @@ services:
|
||||
start_period: 30s
|
||||
|
||||
db:
|
||||
image: mysql:8@sha256:c36050afdca850f23cef85703f84c7531a5ae155a11b5ee1c60acb09937c4084
|
||||
image: mysql:8@sha256:24989179f58856db763f418010c1169fecc944e3ec1ea7e921572d83eb070f70
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
|
||||
Reference in new issue
Block a user