We will migrate the enginePower
and manufactureYear
fields on the /vehicles
and /devices
endpoints to validate their values (a valid float number for enginePower
and a year between 1900 and 3000 for manufactureYear
). We will roll this out in multiple steps:
v0.11.0
- The create & update endpoints will accept both string and numeric types.
- The create & update endpoints will validate the format of the passed value.
- The read endpoints will return the value as a string type.
- Existing values that are not passing the validation will be unaffected (but show a warning in the platform).
v0.12.0
- The create & update endpoints will only accept numeric types.
- The read endpoints will return the value as a numeric type.
- Existing values that are not passing the validation will be deleted.