Releases: bas-amop/PolarRoute-server
Releases · bas-amop/PolarRoute-server
v0.2.7
0.2.7 - 2025-12-22
Added
- Added all ports on localhost, 127.0.0.1 and 0.0.0.0 to CORS allowed origins.
Changed
- Altered the
/api/recent_routesendpoint to return routes from the last 24 hours. Previously it returned routes from the current calendar day. - Renamed and repositioned "Falklands" location to "Mare Harbour".
v0.2.6
v0.2.5
0.2.5 - 2025-12-15
Added
- added ensure_adminuser command to add subtly more sophisticated behaviour to Django's createsuperuser - i.e. don't raise non-zero exit code if superuser already exists, add more useful output.
- Empty arrays to empty responses for a consistent response structure.
- Adding a "tags" field to the Route model. As an optional parameter, tags can be assigned to routes using a POST api/route request. This is implemented using django-taggit.
- Added environment variables for controlling logging behaviour: POLARROUTE_LOG_FILE_NAME, CELERY_LOG_DIR, CELERY_LOG_FILE_NAME (in addition to existing: POLARROUTE_LOG_DIR).
- Added rotating logging handler.
Improved
- Improved speed of route changelist admin page.
- Write logs with group-write permissions.
- Use uv in the docker image.
Changed
- Inappropriate use of 204 code: RecentRoutesView changed from 204 to 200 OK with an empty array and the original message ("No recent routes found for today.").
- Inappropriate use of 204 code: VehicleTypeListView changed from 204 to 200 OK with and empty array and the original message.
- MeshView - Changed from 204 to 404 Not Found when mesh doesn't exist.
- Updated tests to reflect corrected HTTP status codes.
- Remove one layer of error response nesting in failed job response.
- Made route admin panel more read-only and faster; hide full view of JSON fields.
Fixed
- Corrected mesh data source checking and improved warning message to reduce confusion for missing current data.
- Add erroneously missing
rest_frameworkintoINSTALLED_APPS. - Remove unique constraint and add id field to locations fixture to prevent duplication.
- Corrected mesh metadata filename pattern.
- Corrected mesh id type in api schema.
- Catch more errors in route evaluation, return a better error message from evaluate route endpoint.
v0.2.4
v0.2.3
0.2.3 - 2025-11-10
Added
- This changelog!
Changed
- Restricted upper limit of Django support to version 5.2
- Name of maintainer from David Wilby to David Wyld.
- Moved the docker volume for the
dbservice to a managed volume instead of a bind-mount.
request_route
- utility move to its own module.
Fixed
request_routeutility now does not wait for the delay period before the first status request, only after receipt of a 'PENDING' job status.
Removed
- Support for python 3.9
- Support for Django < 5.2