Files
romm/backend/tests/handler/auth
renovate[bot] 77757301ba chore(deps): update backend dependencies (#5449)
* chore(deps): update backend dependencies

* fix: keep empty form values cleared under FastAPI 0.162

FastAPI 0.149 started parsing an empty form string as a missing field, so
the field's default (None) applied. Clients clear a user's email, a
collection's description or remote cover, and ROM fields by sending them
empty, and those updates were silently ignored. keep_empty_string restores
the submitted "" from the raw form.

The CSRF and session tampering tests set a cookie next to the one the
TestClient jar already held for the response domain; the client now sends
both and the original wins. Clear the jar first, as a browser would replace it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): hold fastapi below 0.149

FastAPI 0.149 parses an empty value in a form model as a missing field, so
PUT /api/users/{id} with email="" kept the old address. Stay on 0.148 and
stop Renovate from proposing 0.149+ until the update endpoints can tell an
absent field from an empty one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): hold fastapi at 0.146

FastAPI 0.147 started reading a missing bool field in a form model as
false, so PUT /api/users/{id} with only a role also disabled the account.
Keep the version master runs and cap Renovate below 0.147 until the update
endpoints tell absent, empty and false apart themselves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:29:49 -05:00
..