All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Document API authentication flow
- Document API data schemas
0.8.0 - 2024-05-31
- Track user last login date time
- CLI: remove the scopes column from the
list-users
command - CLI: the
username
parameter is now required for thecreate-user
command - CLI: add the
read-user
command
- CLI: fix
create-user
command failure when no group exists (#70)
0.7.0 - 2024-05-30
- Integrate Sentry
- Manage users and groups using a new CLI
- Switch from
python-jose
toPyJWT
as the CVE-2022-29217 does not seem to be fixed
0.6.0 - 2024-05-28
- Implement
OperationalUnit
schema - Link
OperationalUnit
toStation
using AFIREV prefixes - Implement
User
andGroup
schemas - Implement
User
scopes (fine-tuned permissions) - Implement row permissions on API endpoints (given assigned operational units)
- Integrate OAuth2 password flow authentication fallback when OIDC is not enabled
0.5.0 - 2024-05-15
- Implement statique router endpoints
- Draft dynamique database schemas
- Implement dynamique router endpoints
- Switch to TimescaleDB
- Upgrade FastAPI to 0.111.0
0.4.0 - 2024-04-23
- Implement static data database schemas
- Mark Static.id_pdc_itinerance field as required
0.3.0 - 2024-04-11
- Define
/dynamique
endpoints - Define dynamic status and session models
- Define
/statique
endpoints and models
- Move the
/whoami
endpoint to the/auth
router
0.2.1 - 2024-04-08
- Add a custom exception handler for authentication failures
0.2.0 - 2024-04-05
- Integrate OIDC support
- Integrate PostgreSQL database persistency in an asynchronous context
0.1.0 - 2024-03-26
- Implement base FastAPI app