• DessalinesOPA
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    The lemmy API still hasn’t hit a version 1.0, and should very much be considered beta, with a lot of active and breaking changes. When we do stabilize it, then we can start to make these breaking API changes more solid. The v3 should probably just go away at this point, because we have too much active development and API changes to justify it.

    What we do on lemmy-js-client, which has its types auto-generated from rust, is use tags that match our lemmy release semver version.

    I’m not sure how you built lemmy-swift-client ( I hope its auto-generated from either the rust or lemmy-js-client types), but you could do the same thing: use tags to version it, then applications could use those tagged versions.

    • Charlie Fish@eventfrontier.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Got it. That is super helpful. Really appreciate it. Sadly, I’m not doing auto-generated (yet). But it’s on my horizon for sure. I’ll work on making that a higher priority. Thanks again.