Lemmy v0.9.0 Release (2021-01-25)

Changes

Since our last release in October of last year, and we’ve had ~450 commits.

The biggest changes, as we’ll outline below, are a re-work of Lemmy’s database structure, a v2 of Lemmy’s API, and activitypub compliance fixes. The new re-worked DB is much faster, easier to maintain, and now supports hierarchical rather than flat objects in the new API.

We’ve also seen the first release of Lemmur, an android / iOS (soon) / windows / linux client, as well as Lemmer, a native iOS client. Much thanks to @krawieck, @shilangyu, and @uuttff8 for making these great clients. If you can, please contribute to their patreon to help fund lemmur development.

LemmyNet projects

Lemmy Server

  • Moved views from SQL to Diesel. This was a spinal replacement for much of lemmy.
    • Removed all the old fast_tables and triggers, and created new aggregates tables.
  • Added a v2 of the API to support the hierarchical objects created from the above changes.
  • Moved continuous integration to drone, now includes formatting, clippy, and cargo build checks, unit testing, and federation testing. Drone also deploys both amd64 and arm64 images to dockerhub.
  • Split out documentation into git submodule.
  • Shortened slur filter to avoid false positives.
  • Added query performance testing and comparisons. Added indexes to make sure every query is < 30 ms.
  • Added compilation time testing.

Federation

This release includes some bug fixes for federation, and some changes to get us closer to compliance with the ActivityPub standard.

None of these are breaking changes, so federation between 0.9.0 and 0.8.11 will work without problems.

Lemmy javascript / typescript client

  • Updated the lemmy-js-client to use the new v2 API. Our API docs now reference this project’s files, to show what the http / websocket forms and responses should look like.
  • Drone now handles publishing its npm packages.

Lemmy-UI

  • Updated it to use the v2 API via lemmy-js-client, required changing nearly every component.
  • Added a live comment count.
  • Added drone deploying, and builds for ARM.
  • Fixed community link wrapping.
  • Community Titles are now used instead of names.
  • Various other bug fixes.

Lemmy Docs

  • We moved documentation into a separate git repository, and support translation for the docs now!
  • Moved our code of conduct into the documentation.

Upgrading

If you’d like to make a DB backup before upgrading, follow this guide.

Known issues

Some older self-comments are being marked as unread in your inbox, click Mark all as read to resolve this.

    • k_o_t
      link
      fedilink
      arrow-up
      5
      ·
      4 years ago

      yup, also the account creation day has the edit mark next to it, plus it’s a little incorrect, prettt minor, but still

  • mtumishi@baraza.africa
    link
    fedilink
    arrow-up
    8
    ·
    4 years ago

    Upgraded Baraza. All feels much faster.

    Just noted that if someone posts while you are entering text in the comment box, your draft comment disappears. I do not know if this is on other instances but I’ll monitor it today and file an issue.

    • DessalinesOPMA
      link
      fedilink
      arrow-up
      2
      ·
      4 years ago

      Could you help me replicate, I’ve tried to reproduce this a few times locally, but can’t seem to. Try messing around with multiple tabs and firefox containers on one of our test servers like enterprise.lemmy.ml

      • mtumishi@baraza.africa
        link
        fedilink
        arrow-up
        3
        ·
        4 years ago

        I tried replicating it on enterprise but also can’t seem to. It had happened to me twice on lemmy.ml so I will keep an eye on it. It could be my firefox browser or automated post updates clashing with javascript blockers.

    • nutomicMA
      link
      fedilink
      arrow-up
      7
      ·
      4 years ago

      I dont think so, its more likely that we do 0.10.0 and further versions first.

        • nutomicMA
          link
          fedilink
          arrow-up
          11
          ·
          4 years ago

          1.0 implies a stable API, and we are certainly not there yet.

  • xe8
    link
    fedilink
    arrow-up
    6
    ·
    4 years ago

    Amazing work! And I knew about Lemmur, but not the native iOS client Lemmer. I just installed it and it’s working well. Great work @uuttff8

  • R...
    link
    fedilink
    arrow-up
    5
    ·
    4 years ago

    Wondering, is there a roadmap available somewhere?

    • DessalinesOPMA
      link
      fedilink
      arrow-up
      3
      ·
      4 years ago

      We have a few bigger issues / milestones to tackle, but they’re all just github issues right now.

  • NotSpez
    link
    fedilink
    arrow-up
    4
    ·
    4 years ago

    It’s been awesome following this website. It improves every time I visit. As far as lemmur, has anyone tried it on android? I downloaded the arm64 version and nothing seems to load in it.

    • DessalinesOPMA
      link
      fedilink
      arrow-up
      6
      ·
      4 years ago

      They’re in the process of upgrading to use v2 of the API, once that’s done it’ll work again.

    • shilangyu (lemmur)
      link
      fedilink
      arrow-up
      4
      ·
      4 years ago

      API v2 migration is done, I just need to review the changes and merge them. Everything should be back to normal then

  • dengismceo
    link
    fedilink
    arrow-up
    4
    ·
    4 years ago

    you all are incredible! great work. thank you for everything you do :two hearts:

  • k_o_t
    link
    fedilink
    arrow-up
    4
    ·
    4 years ago

    nice, so much new/fixed stuff, a lot of work 🤗

  • GadgeteerZA
    link
    fedilink
    arrow-up
    4
    ·
    4 years ago

    Great news and we can see a lot of work having been put in. Also good news about ongoing work on the ActivityPub compliance.

  • Serge Tarkovski
    link
    fedilink
    arrow-up
    2
    ·
    4 years ago

    Whoa, amazing! I see now community names are shown instead of community slugs, maybe worth mentioning?

      • Serge Tarkovski
        link
        fedilink
        arrow-up
        2
        ·
        4 years ago

        Thanks! I think now it appears a lot of communities have in their display names what is better to be in descriptions.

        • DessalinesOPMA
          link
          fedilink
          arrow-up
          3
          ·
          4 years ago

          Yep, hopefully these coms will see that and change them to shorter titles. It does make sense to use titles for most things, so !age_of_empires@lemmy.ml for example when on the front page will be Age Of Empires@lemmy.ml