Changelogs » Django-mds

Django-mds

0.5.34

-------------------

- Nothing changed yet.

0.5.33

-------------------

- Resort to setting saved_at from the Python side.

0.5.32

-------------------

- Add saved_at column on devices.

0.5.31

-------------------

- Read-only event records endpoint.

0.5.30

-------------------

- Forgot to filter operator providers in the endpoint.
- Fix migrating the initial operator value

0.5.29

-------------------

- Fix new operator field unnecessarily required in serializer

0.5.28

-------------------

- Reorder migrations to fix deployment.
- Filter providers by operator status in admin

0.5.27

-------------------

- Lower the level of poller logs.
- New flag (device) "operator" on providers
- Support custom time field on polling

0.5.26

-------------------

- Added "first_recorded" field for event aggregators.
- Fixes on (multi)polygons.

0.5.25

-------------------

- Someone didn't fill this changelog...

0.5.24

-------------------

- Support recorded & start_recorded
- Add Multipolygon support

0.5.23

-------------------

- Fix compiled locales not shipped in the wheel.
- Remove device_category after deprecation.
- Fix private API optional trailing slash

0.5.22

-------------------

- Fix migrations by reordering them.

0.5.21

-------------------

- Deprecating Provider.device_category, will be removed in a future version.
- Added new field colors in provider model and serializer.

0.5.20

-------------------

- Fix wheel packaging including tests but forgetting compiled locales.
- Push & pull are now labeled as "Agency API" and "Provider API".

0.5.19

-------------------

- Fix upserting provider non-null fields.

0.5.18

-------------------

- Fix stupid mistake in provider upsert.

0.5.17

-------------------

- Make trailing slash optional for private API urls.
- Limit initial provider polling to a customizable number of days.

0.5.16

-------------------

- Fix regression in the poller extracted from the management command.

0.5.15

-------------------

- Add an aggregated "provider poll" endpoint (private and MDS 0.3.0 compliant).
- Fix admin on optional fields that were deemed required.
- Refactoring the poller for concurrent runs.
- Multiples fixes for the poller: persistent token and spec deviation robustness.

0.5.14

-------------------

- Delete creation_date and deletion_date fields on Area and Polygon
- Fix slowness when listing vehicles on django admin
- Save a register event on device create.

0.5.13

-------------------

- Add token authentication by specifying token in browser url
- Fix compiled translations not embedding in releases
- Events pushed by providers now take precedence over pulled ones.

0.5.12

-------------------

- Move to an "upsert" pattern to write event pushing
- Embed compiled translations in releases
- Added new functionalities when listing on django admin site

0.5.11

-------------------

- Fix device name bike -> bicycle for MDS compliancy

0.5.10

-------------------

- Fix the slowness when retrieving a device via private vehicle API
- Fix with_latest_events query that is taking too much time, used in Agency API
- Fix saving in base with the wrong name for the battery field in device Telemetry
- Change wrong naming of device category, not consistent with MDS specs

0.5.9

------------------

- Fix polling when the batch does not contain any valid data.

0.5.8

------------------

- Invalid status changes no longer fail the whole polling.
- Work around coordinates swapping at a lower level and validate them.

0.5.7

------------------

- Help providers to fix longitude and latitude.

0.5.6

------------------

- Create separate RetrieveDeviceSerializer with areas methodField.

0.5.5

------------------

- Postponed another incompatible serializer change.

0.5.4

------------------

- Postponed RetrieveDeviceSerializer to the next release.

0.5.3

------------------

- Gracefully handle absence of status changes in ``poll_providers`` command.
- Fix conversion of datetime objects to MDS timestamps in the APIs.
- Add provider_logo in RetrieveDeviceSerializer.
- Workaround for providers mistakenly swapping longitude and latitude in points.
- Don't fail should a provider send a 3D point.

0.5.2

------------------

- Almost rewritten the provider poller with support for MDS 0.3.

0.5.1

------------------

- Fix conversion of datetime objects to MDS timestamps in the APIs.
- Also take into account "battery_charged" event type from providers.

0.5.0

------------------

- Added indexes to polygon and area models, also added alphabetical ordering for polygon and area lists
- Update agency_api to MDS 0.3.0 specs.

0.4.15

-------------------

- Move schema utils to their own module to avoid a circular import.

0.4.14

-------------------

- Fix schema auto-generation for range filters
- Added denormalization of battery percentage in device.

0.4.13

-------------------

- Rename provider to provider_name, add provider_id in prv_api/devices serializer

0.4.12

-------------------

- Refactor scopes

0.4.11

-------------------

- Ignore area creation date by setting it in the past.

0.4.10

-------------------

- Add device_category field on serializer.

0.4.9

------------------

- Prototype of a "battery_ok" event type.

0.4.8

------------------

- Add battery in prv_api/devices

0.4.7

------------------

- Fix translating provider events to agency events.

0.4.6

------------------

- Add Agency authentication field on Provider

0.4.5

------------------

- prv_api: Fix filters on vehicle list
- Management command to poll provider status changes.

0.4.4

------------------

- Add ``device_category`` to the ``Provider`` model

0.4.3

------------------

- Improve /service_areas endpoint
- Adjust EventRecord model

0.4.2

------------------

- Fix /prv/vehicles/ pagination

0.4.1

------------------

- Replace GeometryField by self documenting serializer.

0.4.0

------------------

- Add oauth2 endpoints.
- Add endpoint to generate long lived tokens.

0.3.0

------------------

- Use Python3 Enum for enums.

0.2.2

------------------

- Improve serializer for frontend.

0.2.1

------------------

- Bugfix: genfixture command now only imports factory when used as package is an extra.

0.2

----------------

- Adapt API to latest version of LADOT spec
- Split API into /mds and /prv
- Add schema auto-generation

0.1.3

------------------

- Store logo for providers.
- Refactoring Device queryset.

0.1.2

------------------

- Support JWT auth
- Add Provider Django model
- Add queryset filters on Device ID, type, provider, status and registration date
- Pagination on Device view

0.1.1

------------------

- Update Area model.
- Add Polygon Django model

0.1.0

------------------

- MDS agency API
- Swagger-style doc
- Area, Device and Telemetry Django models