Skip to content

Commit 88c3c11

Browse files
authored
Merge pull request #176 from bas-amop/release_v0.2.5
Release v0.2.5
2 parents e7acbb2 + 9632c0a commit 88c3c11

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
10+
## 0.2.5 - 2025-12-15
911

1012

1113
### Added
1214
- 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.
13-
- Use uv in the docker image.
1415
- Empty arrays to empty responses for a consistent response structure.
1516
- 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](https://django-taggit.readthedocs.io/en/latest).
17+
- 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).
18+
- Added rotating logging handler.
19+
20+
### Improved
21+
- Improved speed of route changelist admin page.
22+
- Write logs with group-write permissions.
23+
- Use uv in the docker image.
1624

1725
### Changed
1826
- 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.").
1927
- Inappropriate use of 204 code: VehicleTypeListView changed from 204 to 200 OK with and empty array and the original message.
2028
- MeshView - Changed from 204 to 404 Not Found when mesh doesn't exist.
2129
- Updated tests to reflect corrected HTTP status codes.
30+
- Remove one layer of error response nesting in failed job response.
31+
- Made route admin panel more read-only and faster; hide full view of JSON fields.
2232

2333
### Fixed
2434
- Corrected mesh data source checking and improved warning message to reduce confusion for missing current data.
2535
- Add erroneously missing `rest_framework` into `INSTALLED_APPS`.
2636
- Remove unique constraint and add id field to locations fixture to prevent duplication.
27-
37+
- Corrected mesh metadata filename pattern.
38+
- Corrected mesh id type in api schema.
39+
- Catch more errors in route evaluation, return a better error message from evaluate route endpoint.
2840

2941

3042

docs/apischema.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.3
22
info:
33
title: PolarRoute-Server
4-
version: 0.2.4
4+
version: 0.2.5
55
description: Backend server for serving PolarRoute and MeshiPhi assets
66
paths:
77
/api/evaluate_route:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors = [
1111
description = "Backend server for serving PolarRoute and MeshiPhi assets and managing their calcuation using Django & Celery."
1212
readme = "README.md"
1313
license = {file = "LICENSE"}
14-
version = "0.2.4"
14+
version = "0.2.5"
1515
requires-python = ">= 3.10"
1616
dependencies = [
1717
"celery",

0 commit comments

Comments
 (0)