- cross-posted to:
- main@feddit.de
- cross-posted to:
- main@feddit.de
Since our last release in April, we’ve had ~80 commits to Lemmy.
Lemmy Server
Major Changes
Note: Issue links are below.
- @nutomic did a major rewrite of the federation code. It is much simpler now, and reduced from 8000 lines of code to 6400. Functionality is mostly the same, but future changes will be much easier.
- You can now block users and communities, and their posts / comments won’t show up in your feed.
- Removed IFramely: Lemmy can now fetch site metadata on its own.
- New API docs at: https://join-lemmy.org/api
General
- Fix prod deploy script and clippy (#1724)
- Fix image uploads. Fixes #1725 (#1734)
- Adding more site setup vars. Fixes #678 (#1718)
- Dont append ? to url when cleaning it (#1716)
- User / community blocking. Fixes #426 (#1604)
- Swap out iframely (#1706)
- Adding ModTransferCommunity to modlog in API. Fixes #1437
- Make sure bots aren’t included in aggregate counts (#1705)
- Don’t allow deleted users to do actions. Fixes #1656 (#1704)
- When banning a user, remove communities they’ve created (#1700)
- Distribute Lemmy via crates.io
- Simplify config using macros (#1686)
- Simplify lemmy_context() function (dont return errors)
- Blank out extra info for deleted or removed content. Fixes #1679 (#1680)
- Add show_new_posts_notifs setting. Fixes #1664 (#1665)
- Adding shortname fetching for users and communities. Fixes #1662 (#1663)
- Upgrading deps, running clippy fix on nightly 1.55.0 (#1638)
- Running clippy --fix (#1647)
- Make captcha case-insensitive
- Remove tracking params from post url (fixes #768)
- Fix IPv6 port setup for Nginx (#1636)
- Fix --cert-name for certbot. (#1631)
- Change join.lemmy.ml to join-lemmy.org (#1628)
- Upgrade pictrs. Fixes #1599 (#1600)
- Invalidate current logins on account deletion. Fixes #1602 (#1603)
- Upgrading api test deps (#1608)
- Fix nsfw posts showing for non-logged in users. Fixes #1614 (#1615)
- Add additional slurs configuration option. Closes #1464. (#1612)
- Updating to rust 1.51.0 (#1598)
- Remove brotli, zstd dependencies for faster compilation
API
- A full list of the API changes can be seen on this diff of lemmy-js-client: 0.11.0 -> 0.12.0 .
Federation
- Move resolving of activitypub objects to separate api endpoint (fixes #1584)
- Rewrite remaining activities (#1712)
- Migrate comment inReplyTo field to single value (ref #1454)
- Fix issue with protocol string in actor id generation (#1668)
Lemmy UI
- Integrating resolve_user into search. (#377)
- Add lazy loading of images. Fixes #329 (#379)
- Adding vi, sk, mnc, and cy languages. (#378)
- Feature/user community block (#362)
- Swapping out iframely. (#374)
- Adding mod transfer community (#373)
- Remove content more (#372)
- Scroll to comments on post’s x comments button (#312)
- Remove websocket connection messages. Fixes #355
- Center spinner, make smaller. Fixes #203
- Fix font issues. Fixes #354
- Have setting to disable notifs for new posts. Fixes #132 (#345)
- Remove max length constraints on actors. Fixes #350 (#351)
- Fix captcha replay bug. Fixes #348 (#349)
- Removing community and user routes in favor of shortnames. Fixes #317 (#343)
- Don’t use default subscribed for communities page.
- Adding Listing type to communities page, default local. #190 (#342)
- Fix language bug on mobile browsers
- Collapse sidebar on mobile. Fixes #335 (#340)
- Re-organized components folder. (#339)
- Fixing too many large spinners (#337)
- Moving comment link to top bar. Fixes #307 (#336)
- Fix/ws error messages (#334)
- Make spinner bigger. Fixes #203
- Fix preview description html. Fixes #110
- Always show previous paginator, extract paginator component.
- Use better comment collapse icon, and add text. Fixes #318
- Fix symbols issue. Fixes #319
- Don’t restore scroll position on page refresh. Fixes #186
- Insert triple backticks for ‘code’ button when multiple lines are selected. (#311)
- Change join.lemmy-ui.ml to join-lemmy-ui.org
- Adding a comment here placeholder. Fixes #301
- Fix non-local community and person links. Fixes #290
- Fix navbar bug. Fixes #289
- Hide names of mods / admins without priveleges. Fixes #285
- Adding URL search type. Fixes #286
- Add a link to joinlemmy-ui on lemmy-ui.ml signup. Fixes #235
- Fix duped site description. Fixes #281
Upgrade notes
Servers
You may need to add this to your lemmy.hjson
:
pictrs_url: "http://pictrs:8080"
If you’d like to make a DB backup before upgrading, follow this guide.
To upgrade your instance to v0.12.0
, simply follow the instructions in the documentation:
Clients / Apps
- A full list of the API changes can be seen on this diff of lemmy-js-client: 0.11.0 -> 0.12.0 .
“reduced from 8000 lines of code to 6400.” FeelsGoodMan
Also, for any Portuguese users out there, Lemmy has been fully translated :D
As a portuguese speaking user, I appreciate that a lot
É nóis Mano!
Welcome to Brazil i’m Carlos João Filho from Bairro do Limoeiro land of the heinous gangbangers and cold heat, in São Paulo ***** get no sleep beefing with anybody, competing even with the police.
Lots of new features and fixes. Updating worked all fine with no problems. Good good good!
Everyone I apologize for these few front end bugs that snuck in, I’ll work on getting them fixed in the next few days.
Thank you a lot for this!
I especially like the blocking feature. I love the dedication to the software you guys show time and time again.
♥
reduced from 8000 lines of code to 6400
Refactoring at wild!
Glad to see the blocking feature. I immediately went back to an old discussion and blocked a user that I wanted to block months ago.
Thanks for improving Lemmy @dessalines@lemmy.ml @nutomic@lemmy.ml! I spend more and more time here than on other social networks and I couldn’t be happier with the community :)
Keep it up comrades ✊
Thanks!
Yipee🎉 Congrats
awesome! i really like that settings are now separate from profile. also blocking will def come in handy :P
Ya that was a long time coming, we should have been faster about adding blocks. Next up is reporting.
deleted by creator
Hrm… I’m noticing this too, randomly. I’ll open up an issue in lemmy UI, and try to replicate it locally. Not sure why this didn’t show up in testing :(
I apologize for this one, fairly critical bug, that slipped past because nearly all our testing is with the HTTP API, not websockets.
deleted by creator
Hrm no, the only thing that should mark a comment as read, is when you either click the
mark as read
link, or you go to that specific linked comment: IE https://lemmy.ml/post/79510/comment/75942deleted by creator
Okay these bugs should be fixed now in
v0.12.1
Huh, I’ll add a bug for this.
deleted by creator
A shortcut for user block is behind the 3 dot menu for every user, the far right one:
I couldn’t think of a quick shortcut place for communities, so that’s just in your new settings page.
I think blocking should be available directly from the user/community profile.
I’ll add an issue for that.
deleted by creator
Amazing work!
Thanks!
I didn’t back up my DB. Looks like I lost some pictures. Luckily there aren’t many of them.
Probably not, read the upgrade instructions for pictrs, we added a config line.
Actually, I didn’t lose anything, but there are no thumbnails for some pictures uploaded yesterday.
Edit: for anyone else that is having that issue, you need to do a rebuild of the code after editing the lemmy.hjson file, so
docker-compose down
first, thendocker-compose up -d
. That fixed it.