Skip to content

Commit 51295d0

Browse files
⬆️ Upgrade Sentry and FastAPI (#2181)
* ⬆️ Update Sentry and FastAPI * 🎨 Auto format and update with pre-commit --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent db45326 commit 51295d0

File tree

4 files changed

+316
-11
lines changed

4 files changed

+316
-11
lines changed

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies = [
1616
"psycopg[binary]<4.0.0,>=3.1.13",
1717
"sqlmodel<1.0.0,>=0.0.21",
1818
"pydantic-settings<3.0.0,>=2.2.1",
19-
"sentry-sdk[fastapi]<2.0.0,>=1.40.6",
19+
"sentry-sdk[fastapi]>=2.0.0,<3.0.0",
2020
"pyjwt<3.0.0,>=2.8.0",
2121
"pwdlib[argon2,bcrypt]>=0.3.0",
2222
]

frontend/src/client/schemas.gen.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,13 @@ export const ValidationErrorSchema = {
544544
type: {
545545
type: 'string',
546546
title: 'Error Type'
547+
},
548+
input: {
549+
title: 'Input'
550+
},
551+
ctx: {
552+
type: 'object',
553+
title: 'Context'
547554
}
548555
},
549556
type: 'object',

frontend/src/client/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ export type ValidationError = {
107107
loc: Array<(string | number)>;
108108
msg: string;
109109
type: string;
110+
input?: unknown;
111+
ctx?: {
112+
[key: string]: unknown;
113+
};
110114
};
111115

112116
export type ItemsReadItemsData = {

0 commit comments

Comments
 (0)