Skip to content

Releases: bas-amop/PolarRoute-server

v0.2.7

22 Dec 14:19
95f3068

Choose a tag to compare

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_routes endpoint 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

17 Dec 16:18
fd224e6

Choose a tag to compare

Merge pull request #179 from bas-amop/release_v0.2.6

release v0.2.6

v0.2.5

15 Dec 16:01
88c3c11

Choose a tag to compare

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_framework into INSTALLED_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

11 Nov 17:04
205b6dc

Choose a tag to compare

0.2.4 - 2025-11-11

Fixed

  • Included migration for changes to location model.
  • Inclusion of fixtures in source code distribution by using MANIFEST.in in place of package_data in pyproject.toml.

v0.2.3

10 Nov 16:11
ce1c3a8

Choose a tag to compare

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 db service to a managed volume instead of a bind-mount.

request_route

  • utility move to its own module.

Fixed

  • request_route utility 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