this post was submitted on 14 Jan 2024
5 points (100.0% liked)

eviltoast.org

91 readers
9 users here now

Official community of eviltoast.org

founded 1 year ago
MODERATORS
 

Hello all,

eviltoast.org has been upgraded to the latest lemmy and lemmy-ui releases (0.19.2).

We held off on the 0.19.0 and 0.19.1 releases due to some federation issues they had. These appear to be resolved with 0.19.2.

Release notes are below, but please reach out if you run into any issues!

Important note: There were changes to how auth works in lemmy. Some mobile clients (like liftoff) may no longer work. And on the browser, you may have to clear your cookies for eviltoast.org if you aren't able to log in.

Thanks!

2024-01-10 - Lemmy Release v0.19.2 - More Federation Fixes

Major Changes

  • Outgoing federation bug fixes.
  • Lemmy can now receive reports sent from Mastodon and Kbin.
  • Added the ability for admins to view votes, to prevent downvote trolling. Demo. #4088
  • Various bug fixes and minor enhancements.

2023-12-20 - Lemmy Release v0.19.1 - Outgoing Federation fix

Major Changes

0.19.0 has a critical bug where sending outgoing activities can stop working. The bug is fixed in this version. It also fixes the “hide read posts” user setting, fixes a problem with invalid comment paths, and another fix for private message reports.

2023-12-15 - Lemmy Release v0.19.0 - Instance blocking, Scaled sort, and Federation Queue

Major Changes

This release is very large with almost 400 commits since 0.18.5. As such we can only give a general overview of the major changes in this post, and without going into detail. For more information, read the full changelog and linked issues at the bottom of this post.

Improved Post Ranking

There is a new scaled sort which takes into account the number of active users in a community, and boosts posts from less-active communities to the top. Additionally there is a new controversial sort which brings posts and comments to the top that have similar amounts of upvotes and downvotes. Lemmy’s sorts are detailed here.

Instance Blocks for Users

Users can now block instances. Similar to community blocks, it means that any posts from communities which are hosted on that instance are hidden. However the block doesn’t affect users from the blocked instance, their posts and comments can still be seen normally in other communities.

Two-Factor-Auth Rework

Previously 2FA was enabled in a single step which made it easy to lock yourself out. This is now fixed by using a two-step process, where the secret is generated first, and then 2FA is enabled by entering a valid 2FA token. It also fixes the problem where 2FA can be disabled without passing any 2FA token. As part of this change, 2FA is disabled for all users. This allows users who are locked out to get into their account again.

New Federation Queue

Outgoing federation actions are processed through a new persistent queue. This means that actions don’t get lost if Lemmy is restarted. It is also much more performant, with separate senders for each target instance. This avoids problems when instances are unreachable. Additionally it supports horizontal scaling across different servers. The endpoint /api/v3/federated_instances contains details about federation state of each remote instance.

Remote Follow

Another new feature is support for remote follow. When browsing another instance where you don’t have an account, you can click the subscribe button and enter the domain of your home instance in the popup dialog. It will automatically redirect you to your home instance where it fetches the community and presents a subscribe button. Here is a video showing how it works.

Authentication via Header or Cookie

Previous Lemmy versions used to send authentication tokens as part of the parameters. This was a leftover from websocket, which doesn’t have any separate fields for this purpose. Now that we are using HTTP, authentication can finally be passed via jwt cookie or via header Authorization: Bearer <jwt>. The old authentication method is not supported anymore to simplify maintenance. A major benefit of this change is that Lemmy can now send cache-control headers depending on authentication state. API responses with login have cache-control: private, those without have cache-control: public, max-age=60. This means that responses can be cached in Nginx which reduces server load.

Moderation

Reports are now resolved automatically when the associated post/comment is marked as deleted. This reduces the amount of work for moderators. There is a new log for image uploads which stores uploader. For now it is used to delete all user uploads when an account is purged. Later the list can be used for other purposes and made available through the API.

Cursor based pagination

0.19 adds support for cursor based pagination on the /api/v3/post/list endpoint. This is more efficient for the database. Instead of a query parameter ?page=3, listing responses now include a field "next_page": "Pa46c" which needs to be passed as ?page_cursor=Pa46c. The existing pagination method is still supported for backwards compatibility, but will be removed in the next version.

User data export/import

Users can now export their data (community follows, blocklists, profile settings), and import it again on another instance. This can be used for account migrations and also as a form of backup. The export format is designed to remain unchanged for a long time. You can make regular exports, and if the instance becomes unavailable, register a new account and import the data. This way you can continue using Lemmy seamlessly.

Time zone handling

Lemmy didn’t have any support for timezones, which led to bugs when federating with other platforms. This is now fixed by using UTC timezone for all timestamps.

ARM64 Support

Thanks to help from @raskyld and @kroese, there are now offical Lemmy releases for ARM64 available.

Activity now includes voters

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here