lecoffre-back-mini/CHANGELOG.md
dev4 bd042533b2
All checks were successful
build-and-push-ext / build_push (push) Successful in 24s
ci: docker_tag=ext fix(back): map JSON parse errors to 400; bump 1.0.2; docs/tests updated
2025-09-18 21:55:24 +00:00

17 lines
782 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## v1.0.1
- IdNot: lendpoint dauthentification accepte désormais le code en POST `/api/v1/idnot/auth` avec `{ code }` dans le corps.
- Handler compatible params/body, recommandation: body JSON.
- Rappel déploiement: image Docker consommée par `lecoffre_node` via tag `ext`.
## v1.0.2
- Erreurs de parsing JSON (body-parser) désormais mappées en 400 au lieu de 500 via `error-handler`.
- Clarification des statuts attendus:
- 400: JSON invalide ou code d'auth invalide
- 401: non autorisé (ex: email manquant)
- 403: utilisateur non rattaché à une étude
- 5xx: erreurs internes ou partenaires (non applicatives)
- Documentation et tests mis à jour pour couvrir “JSON invalide -> 400”.
- CI: utiliser `ci: docker_tag=ext` pour builder/pusher limage.