Versioning in JSON Schema #78
Replies: 2 comments
-
From an implementer standpoint, having the description of each spec in a dedicated markdown file is very helpful; I've often used this for reference of the tilejson-spec. Hower, that can serve more the role of a visible archive than having to preserve all the associated assets, so a combination of tagging and adding to a previous versions folder is helpful. Tags for managing all the assets that should change on each version, then each time a version is rolled out, moving the previous Then once 1.x is available, maybe move This keeps the spec itself very visible, but if someone needs the validator for a given version, they can easily use git tags to get it. |
Beta Was this translation helpful? Give feedback.
-
I'm in favor of fixed |
Beta Was this translation helpful? Give feedback.
-
In GeoParquet, the geo metadata contains a field
version
which is the version of the spec. We are following the semantic versioning style. This is the JSON Schema currently implemented to validate the version:The purpose of using a regular expression was to be flexible regarding patch releases until 1.X. Should we keep regex or should we use fixed value instead? Should we wait for fixed values after 1.X?
Another thing to discuss is how to keep previous versions. We can use GitHub tags, or we can store all the versions in folders (like in tilejson-spec). Using GitHub tags seems to be the proper/modern way of versioning, however, using folders has advantages too, for example, easy checking between versions.
Beta Was this translation helpful? Give feedback.
All reactions