I’ve been working on (yet another) Lemmy app for the fun of it but I had a question come to mind with the new v0.18.0 announcement.

Since it is up to the instance admins to update the server, how should Client developers handle instances across Lemmy having different API version numbers with potential incompatibilities?

There are a few existing libraries but it seems the change from v0.17.4 to v0.18.0 is proving cumbersome for at least one library and most likely others as well.

Any thoughts?

  • fmstratA
    link
    English
    11 year ago

    Check the version via API? IMO breaking changes should change the versioned API URL (which I think they do), but developers will need to adjust for each instance by determining it’s version first.

    Hopefully as things mature this won’t be as much of a problem.