Skip to content

Commit

Permalink
🔖(api:minor) bump release to 0.17.0
Browse files Browse the repository at this point in the history
Added:

- Activate and configure Sentry profiling by setting the
  `SENTRY_PROFILES_SAMPLE_RATE` configuration
- Set request's user (`username`) in Sentry's context
- Add `Localisation.coordonneesXY` unique contraint [BC] 💥
- Implement `Statique` materialized view

Changed:

- Prefetch user-related groups and operational units in `get_user` dependency
- Improve bulk endpoints permissions checking
- Cache logged user object for `API_GET_USER_CACHE_TTL` seconds to decrease the
  number of database queries
- CLI: sort groups and operational units alphabetically in the `list-groups`
  command
- Decrease the number of database queries for dynamic endpoints
- Cache the "get PointDeCharge id from its `id_pdc_itinerance`" database query
- Improve JSON string parsing using pyarrow engine
- Add default values for optional Statique model fields
- Migrate database enum types from names to values
- Improve API performance by integrating the `Statique` materialized view
- Upgrade alembic to `1.14.1`
- Upgrade geoalchemy2 to `0.17.0`
- Upgrade psycopg to `3.2.4`
- Upgrade pyarrow to `19.0.0`
- Upgrade pydantic to `2.10.5`
- Upgrade pydantic-extra-types to `2.10.2`
- Upgrade pydantic-settings to `2.7.1`
- Upgrade python-multipart to `0.0.20`
- Upgrade questionary to `2.1.0`
- Upgrade sentry-sdk to `2.20.0`

Fixed:

- Rename database `raccordementemum` to `raccordementenum`
- Run database migrations in a post-deploy hook

Removed:

- Remove `Localisation.adresse_station` unique constraint
  • Loading branch information
jmaupetit committed Jan 29, 2025
1 parent 2c60b69 commit 6dbcda6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to

## [Unreleased]

## [0.17.0] - 2025-01-29

### Added

- Activate and configure Sentry profiling by setting the
Expand Down Expand Up @@ -300,7 +302,8 @@ and this project adheres to

- Implement base FastAPI app

[unreleased]: https://github.com/MTES-MCT/qualicharge/compare/v0.16.0...main
[unreleased]: https://github.com/MTES-MCT/qualicharge/compare/v0.17.0...main
[0.17.0]: https://github.com/MTES-MCT/qualicharge/compare/v0.16.0...v0.17.0
[0.16.0]: https://github.com/MTES-MCT/qualicharge/compare/v0.15.0...v0.16.0
[0.15.0]: https://github.com/MTES-MCT/qualicharge/compare/v0.14.0...v0.15.0
[0.14.0]: https://github.com/MTES-MCT/qualicharge/compare/v0.13.0...v0.14.0
Expand Down
2 changes: 1 addition & 1 deletion src/api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
[project]
name = "qualicharge"
version = "0.16.0"
version = "0.17.0"

# Third party packages configuration
[tool.coverage.run]
Expand Down
2 changes: 1 addition & 1 deletion src/api/qualicharge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""QualiCharge package root."""

__version__ = "0.16.0"
__version__ = "0.17.0"

0 comments on commit 6dbcda6

Please sign in to comment.