vatis-project / vatis-archive

Virtual Automated ATIS Generator for VATSIM
https://docs.vatis.clowd.io
GNU General Public License v3.0
38 stars 21 forks source link

[Feature/Suggestion] Add version number to JSON block sent to IDS #20

Closed mgg4 closed 2 years ago

mgg4 commented 2 years ago

I haven't fully researched the "Breaking Change" to the IDS POST format, but wonder if it could it be somewhat mitigated by adding a version field to the new POST JSON format? This would allow the code on the IDS page to parse the JSON and then handle the v4 format differently than the prior format based on the presence and value of the Version object.

This would enable a smoother transition for the IDS code from v3 to v4.

image

justinshannon commented 2 years ago

A Version property (with a value of 4.0.0) will be added to the next version.