Closed GHBLoos closed 2 years ago
Also outside\humidity
should be outside\relativeHumidity
The problem with renaming paths is that it is essentially a breaking change: anything already using that path is rendered invalid per the schema and will lose the connection to the metadata in the schema, including the unit.
Per semantic versioning this would mean a new major version. I am not very keen to do that for something this small.
But we have also other lighter options: (a) don't change the path, just the description (b) add the new path, keep the old one (c) add the new path, keep the old one, mark it DEPRECATED
I don't think we have a proper way to mark a path deprecated, but adding a text like DEPRECATED, replaced by xx is a cheap way to make this visible in the paths reference.
Yeah, I understand that changing the path without informing is not the right way. I am not sure it will give any troubles, because a path can still be used. But it's good to have a protocol how changes in paths are implemented. So we should agree on that protocol. Maybe like this Minor versions -> don't delete the old path, add a new path (or any of the other options a, b or c) Major versions -> delete the old path
Re schema versioning: did you read first the documentation at first https://signalk.org/specification/1.5.0/doc/versioning.html?
not sure it will give any troubles
I already said that any existing use of this path will lose unit metadata with this change, so as it is this PR is not mergeable in my opinion.
What do you want to do next?
Sorry, I should have RTFM first. I will do that, but that probably won't be one of the next days. I think it's very impressive what you guys have already done and described. I am just not at the right level at the moment. That will take some time.
Created #625 that deprecates the wrong versions and adds the correct ones.
I think this should be
dewPointTemperature
instead of justdewPoint