Changelog
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.
[Unreleased]
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
0.2.2 - 2025-10-14
Added
- Optimisation metrics exposure (time, fuel, distance) in route responses.
- Job ID inclusion in
recent_routesresponse for better tracking. - Recent routes output validation tests.
Changed
- Breaking: Route response structure now consistent regardless of optimisation types available.
- Improved
recent_routesendpoint performance by removing repeated job status calls and heavy JSON processing. - Route calculated timestamp only applied when both route optimisations are complete.
- Re-coupled
recent_routesstatus to Celery state using database instead of broker for better reliability/performance. - Removed top-level metadata duplication in route responses.
Fixed
- Performance issues with
recent_routesendpoint loading unnecessary data.
0.2.1 - 2025-09-18
Added
- Response refactor for improved error code consistency.
- New
responses.pymodule for centralized response handling. - Response validation tests (
test_responses.py). - Location management functionality.
- Job status schema with all possible Celery states.
- Vehicle management with CRUD operations.
- Vehicle configuration validation using PolarRoute validator.
- Location fixtures for standard locations (Bird Island, Falklands, Halley, Rothera, etc.).
- Swagger UI served alongside the application.
Changed
- Breaking: Separated job and route endpoints - routes now accessed via job workflow.
- Breaking: Route cancellation moved from route endpoint to job endpoint.
- Unified error responses across all endpoints for consistency.
- Route model now cascades deletion when job is deleted.
- Vehicle model expanded with additional SDA properties (
beam,hull_type,force_limit). - LocationView refactored to
LocationViewSet.
Fixed
- Route schema missing from API documentation after merge conflicts.
- Inconsistent error response formats across endpoints.
- Route cancellation bug where deletion didn't work properly.
Removed
- Redundant "no mesh available" response variations - now unified.
- Separate route cancellation endpoint (moved to job endpoint).