[openstreetmap/openstreetmap-website] Supporting multiple API versions (#2353)

mmd notifications at github.com
Fri Oct 25 16:34:54 UTC 2019


> But these are, and always have been, the same number. The number in the response is the API version number, full stop. There's no such thing as an "OSM XML header version number" as an independent concept as you are describing,

Claiming that both numbers have been the same in the past is technically not incorrect, but to a large extent ignores the reasons why this is so: the last two API changes (0.4 ⟶ 0.5 and 0.5 ⟶ 0.6) involved both API changes and incompatible changes to the OSM XML format. In both cases it was inevitable that the OSM XML header version number had to change along with the API version number change. I don't want to go looking into 0.3 or earlier versions, as they're probably even less relevant for the discussion at hand.

However, based on previous experience, you cannot draw the conclusion that an API change from 0.6 ⟶ 0.7 should be reflected in an otherwise unchanged OSM XML format. We simply didn't have that situation in the past.




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2353#issuecomment-546424032
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191025/a524de04/attachment.html>


More information about the rails-dev mailing list