this post was submitted on 23 Jun 2023
794 points (99.3% liked)

Announcements

23360 readers
6 users here now

Official announcements from the Lemmy project. Subscribe to this community or add it to your RSS reader in order to be notified about new releases and important updates.

You can also find major news on join-lemmy.org

founded 5 years ago
MODERATORS
794
Lemmy v0.18.0 Release (join-lemmy.org)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

What is Lemmy?

Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Major Changes

HTTP API instead of Websocket

Until now Lemmy-UI used websocket for all API requests. This has many disadvantages, like making the code harder to maintain, and causing live updates to the site which many users dislike. Most importantly, it requires keeping a connection open between server and client at all times, which causes increased load and makes scaling difficult. That's why we decided to rip out websocket entirely, and switch to HTTP instead. This change was made much more urgent by the sudden influx of new users. @CannotSleep420 and @dessalines have been working hard for the past weeks to implement this change in lemmy-ui.

HTTP on its own is already more lightweight than websocket. Additionally it also allows for caching of server responses which can decrease load on the database. Here is an experimental nginx config which enables response caching. Note that Lemmy doesn't send any cache-control headers yet, so there is a chance that private data gets cached and served to other users. Test carefully and use at your own risk.

Two-Factor Authentication

New support for two-factor authentication. Use an app like andOTP or Authenticator Pro to store a secret for your account. This secret needs to be entered every time you login. It ensures that an attacker can't access your account with the password alone.

Custom Emojis

Instance admins can add different images as emojis which can be referenced by users when posting.

Other changes

Progressive Web App

Lemmy's web client can now be installed on browsers that support PWAs, both on desktop and mobile. It will use an instance's icon and name for the app if they are set, making it look like a given instance is an app.

Note for desktop Firefox users: the desktop version of Firefox does not have built in support for PWAs. If you would like to use a Lemmy instance as a PWA, use use this extension.

Error Pages

Lemmy's web client now has error pages that include resources to use if the problem persists. This should be much less jarring for users than displaying a white screen with the text "404 error message here".

Route Changes

Pages that took arguments in the route now take query parameters instead. For example, a link to lemmy.ml's home page with a few options used to look like this:

https://lemmy.ml/home/data_type/Post/listing_type/All/sort/Active/page/1

The new route would look like this:

https://lemmy.ml?listingType=All

Note that you now only have to specify parameters you want instead of all of them.

Searchable select redesign

The searchable selects, such as those used on the search page, have a new look and feel. No more inexplicable green selects when using the lightly themes!

Share button

Posts on the web client now have a share button on supported browsers. This can be used to share posts to other applications quickly and easily.

Lemmy-UI Overall look and feel

lemmy-ui is now upgraded to bootstrap 5, and every component is now much cleaner.

Special thanks to sleepless, alectrocute, jsit, and many others for their great work on improving and re-organizing lemmy-ui.

Database optimizations

Special thanks to johanndt, for suggesting improvements to Lemmy's database queries. Some of these suggestions have already been implemented, and more are on the way.

Query speed is Lemmy's main performance bottleneck, so we really appreciate any help database experts can provide.

Captchas

Captchas are not available in this version, as they need to be reimplemented in a different way. They will be back in 0.18.1, so wait with upgrading if you rely on them.

Upgrade instructions

Follow the upgrade instructions for ansible or docker.

If you need help with the upgrade, you can ask in our support forum or on the Matrix Chat.

Support development

We (@dessalines and @nutomic) have been working full-time on Lemmy for almost three years. This is largely thanks to support from NLnet foundation.

If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider donating to support its development. No one likes recurring donations, but they've proven to be the only way that open-source software like Lemmy can stay independent and alive.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 2 years ago (6 children)

Wuhuu! Thank you and congratulations!!

load more comments (6 replies)
[–] [email protected] 7 points 2 years ago* (last edited 2 years ago) (2 children)

Has anyone gotten 2FA to work? I tried it, made a qr code locally, scanned it in authy, and wasn't able to get my instance to accept the code. It would say 'incorrect_totp token'. .. Also can the webui generate the totp qr code in the future?

load more comments (1 replies)
[–] [email protected] 7 points 2 years ago (1 children)

Thank you for your hard work! I'm a big fan of both systems. What's the alternative for systems relying on captchas keeping out bots though?

[–] [email protected] 3 points 2 years ago

Maybe wait for v0.18,1?

[–] [email protected] 7 points 2 years ago (2 children)

am I missing something? 0.18 seems to not have been released yet on GH: https://github.com/LemmyNet/lemmy/releases

[–] [email protected] 5 points 2 years ago* (last edited 2 years ago)

There is a tagged release and I assume an official release is soon to come

load more comments (1 replies)
[–] [email protected] 6 points 2 years ago

Amazing work to all!!

[–] [email protected] 6 points 2 years ago* (last edited 2 years ago)

Painless upgrade for docker setup, congrats on the huge release! After using for a while its definitely faster!

[–] [email protected] 6 points 2 years ago

Hello Devs. I'm now sure if you've noticed but some times the are discrepencies between different instances, for example, updated Display Names doesn't federate, profile descriptioms, edited post/comments, deleted post/comments are not reflected in some instances. Does this update fix these issues? If not, when will these problems be fixed? And will the fix also retroactively sync changed that were made before the update has been applied?

[–] [email protected] 5 points 2 years ago (1 children)

Great release! Thanks for your hard work

[–] [email protected] 3 points 2 years ago
[–] [email protected] 5 points 2 years ago (1 children)

Will there be an ARM docker? I was hoping to start an instance on my RPi that’s laying around.

Thank you

[–] [email protected] 4 points 2 years ago

There's a PR in draft to add these, but they still need some work.

[–] [email protected] 5 points 2 years ago

Nice job everyone!

[–] [email protected] 4 points 2 years ago

Awesome update.

On iOS, after adding lemmy.ml to the homescreen as a PWA from Safari, I can't log in because the keyboard doesn't pop up when tapping the username or password fields.

[–] [email protected] 4 points 2 years ago

Excellent work!

[–] [email protected] 4 points 2 years ago

PWA installs - nice!

[–] [email protected] 4 points 2 years ago

WOOO!!!

Sounds like a great collection of needed changes, and a few QoL thrown in for good measure.

Thank you devs! ❤️❤️❤️

[–] [email protected] 4 points 2 years ago

nice, I really like the new UI changes!

[–] [email protected] 3 points 2 years ago

v18 has been amazing! Just started donating to show support. :)

[–] [email protected] 3 points 2 years ago (1 children)

Did the testing go smoothly?

[–] [email protected] 6 points 2 years ago

Found lots of bugs in the process that were fixed, yep.

[–] [email protected] 3 points 2 years ago

Thanks for the hard work!!

[–] [email protected] 3 points 2 years ago* (last edited 2 years ago) (1 children)

Regarding

Note that you now only have to specify parameters you want instead of all of them.

That doesn't seem to apply to the search page. For example, putting https://lemmy.ml/search?q=test&sort=New will lead to The server returned this error: couldnt_find_object. This may be useful for admins and developers to diagnose and fix the error

Copying the URL of a search (without stripping parameters) and opening it in a new tab so that it doesn't contains any referers also returns the same error.

Also great work and congrats on the release 🙂

[–] [email protected] 3 points 2 years ago

The server returned this error: couldnt_find_object

I opened an issue on Github, I guess they didn't see the comments I made about the problem in 0.18rc6 announcement posting.

https://github.com/LemmyNet/lemmy/issues/3296

[–] [email protected] 3 points 2 years ago (1 children)

Thank you for your work, the collapse comment icon was reallyimportant for me. I hope you can fix the issue bringing back to the top when upvoting a comment the same thing when scrolling through top and when there is a new post bringing back to the top. That's the most annoying thing I've ever encounter on lemmy.

load more comments (1 replies)
[–] [email protected] 3 points 2 years ago
[–] [email protected] 3 points 2 years ago

So I'm trying to get a local instance of Lemmy 0.18 running on my LAN with docker. I don't have a domain name (yet) and would not be able host lemmy as a Proxmox Container primarily to get acquainted with hosting and administering an instance before eventually hosting an instance on a VPS. Has anyone successful hosted lemmy on their LAN? How did you go about setting it up?

load more comments
view more: ‹ prev next ›