Skip to content

Remove deprecated 422 status alias - #44

Merged
chriswu727 merged 1 commit into
mainfrom
agent/remove-422-deprecation
Jul 16, 2026
Merged

Remove deprecated 422 status alias#44
chriswu727 merged 1 commit into
mainfrom
agent/remove-422-deprecation

Conversation

@chriswu727

Copy link
Copy Markdown
Owner

What changed

Replace Starlette's deprecated HTTP_422_UNPROCESSABLE_ENTITY alias with
HTTP_422_UNPROCESSABLE_CONTENT in the validation error response.

Why

The full API suite exposed seven deprecation warnings on validation-error paths. The
response code and API behavior stay exactly the same, but the supported status constant
keeps the suite warning-free and avoids a future Starlette removal.

Validation

  • make check
  • 428 API tests passed with zero warnings
  • 16 web tests and 14 desktop tests passed
  • lint, formatting, TypeScript, and mypy passed

@chriswu727
chriswu727 marked this pull request as ready for review July 16, 2026 03:30
@chriswu727
chriswu727 merged commit 1a3c97f into main Jul 16, 2026
13 checks passed
@chriswu727
chriswu727 deleted the agent/remove-422-deprecation branch July 16, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant