Skip to content

Releases: MTES-MCT/qualicharge

0.9.0

11 Jun 07:59
Compare
Choose a tag to compare

Added

  • Document API authentication flow
  • Document API data schemas

Changed

  • Upgrade pydantic-extra-types to 2.8.0
  • Upgrade pydantic-settings to 2.3.1
  • Upgrade sentry-sdk to 2.5.1
  • Upgrade sqlmodel to 0.0.19

Fixed

  • Improve database transactions in statique endpoints
  • Allow to update all statique-related model fields

0.8.0

31 May 12:56
Compare
Choose a tag to compare

Added

  • Track user last login date time

Changed

  • CLI: remove the scopes column from the list-users command
  • CLI: the username parameter is now required for the create-user command
  • CLI: add the read-user command

Fixed

  • CLI: fix create-user command failure when no group exists (#70)

0.7.0

30 May 19:49
Compare
Choose a tag to compare

Added

  • Integrate Sentry
  • Manage users and groups using a new CLI

Security

  • Switch from python-jose to PyJWT as the CVE-2022-29217 does not seem to be fixed

0.6.0

28 May 15:56
Compare
Choose a tag to compare

Added

  • Implement OperationalUnit schema
  • Link OperationalUnit to Station using AFIREV prefixes
  • Implement User and Group 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

15 May 09:53
Compare
Choose a tag to compare

Added

  • Implement statique router endpoints
  • Draft dynamique database schemas
  • Implement dynamique router endpoints

Changed

  • Switch to TimescaleDB
  • Upgrade FastAPI to 0.111.0

0.4.0

23 Apr 16:37
Compare
Choose a tag to compare

Added

  • Implement static data database schemas

Fixed

  • Mark Static.id_pdc_itinerance field as required

0.3.0

11 Apr 18:45
Compare
Choose a tag to compare

Added

  • Define /dynamique endpoints
  • Define dynamic status and session models
  • Define /statique endpoints and models

Changed

  • Move the /whoami endpoint to the /auth router

0.2.1

08 Apr 10:21
Compare
Choose a tag to compare

Fixed

  • Add a custom exception handler for authentication failures

0.2.0

05 Apr 12:50
Compare
Choose a tag to compare

Added

  • Integrate OIDC support
  • Integrate PostgreSQL database persistency in an asynchronous context

0.1.0

26 Mar 17:40
Compare
Choose a tag to compare

Added

  • Implement base FastAPI app