this post was submitted on 07 Jun 2024
300 points (99.7% liked)

Announcements

23277 readers
18 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
top 50 comments
sorted by: hot top controversial new old
[–] TrippyFocus@lemmy.ml 48 points 5 months ago (1 children)

Thank you for all the hard work!

[–] dessalines@lemmy.ml 27 points 5 months ago
[–] sunaurus@lemm.ee 43 points 5 months ago

Big thanks to all maintainers and contributors!

[–] iso@lemy.lol 34 points 5 months ago* (last edited 5 months ago) (1 children)

Good to hear it’s out 🎉 I’m so hyped for the image proxy. Storing images permanently was costly.

[–] dessalines@lemmy.ml 22 points 5 months ago

Yep, major thanks to @asonix for adding this to pict-rs.

[–] yogthos@lemmy.ml 31 points 5 months ago (1 children)

Congratulations on yet another release filled with enhancements that improve user experience. 🎉

[–] dessalines@lemmy.ml 18 points 5 months ago
[–] db0@lemmy.dbzer0.com 25 points 5 months ago (1 children)

Great stuff peeps! Looks like my future is very busy with having to do a complex pictrs upgrade and then a postgres and finally lemmy. Oof! 😅

[–] dessalines@lemmy.ml 13 points 5 months ago (1 children)

Thx! Let me know if the postgres upgrade helper script I provided has any issues.

[–] db0@lemmy.dbzer0.com 9 points 5 months ago (2 children)

My postgres is on bare metal, so I don't think the script is setup for that,is it?

[–] aeharding@vger.social 4 points 5 months ago

The script is pretty easy to read and follow along manually if you need to.

[–] ticoombs@reddthat.com 4 points 5 months ago (1 children)

The script will be useless to you, besides for referencing what to do.

Export, remove pg15, install pg16, import. I think you can streamline with both installed at once as they correctly version. You could also use the in place upgrade. Aptly named: pg_upgradeclusters

But updating to 0.19.4, you do not need to go to pg16... but... you should, because of the benefits!

[–] db0@lemmy.dbzer0.com 2 points 5 months ago (1 children)

What benefits do you mean?

[–] ticoombs@reddthat.com 3 points 5 months ago* (last edited 5 months ago)

A faster db. Just the regular performance benefits, https://www.postgresql.org/about/news/postgresql-16-released-2715/

Also, Lemmy is built against v16 (now) so at some point it will eventually no longer JustWork

[–] Die4Ever@programming.dev 21 points 5 months ago* (last edited 5 months ago) (1 children)

In order to improve interoperability with Mastodon and other microblogging platforms, Lemmy now automatically includes a hashtag with new posts. The hashtag is based on the community name, so posts to /c/lemmy will automatically have the hashtag #lemmy. This makes Lemmy posts much easier to discover.

this should be interesting

for reference, this is what it looks like on Mastodon, the post to !announcements@lemmy.ml it gets the hashtag for announcements

https://mastodon.social/@dessalines@lemmy.ml/112576601493225058

it's not really part of the message text, it's separate

image proxying also sounds good

[–] Microw@lemm.ee 6 points 5 months ago

I'm pretty sure thats due to how mastodon renders hashtags at the end of a post. Not due to how Lemmy sends it.

[–] benjhm@sopuli.xyz 17 points 5 months ago

That's great progress, thanks for all the work!
Glad to see enhanced federation with rest of fediverse - a small detail : the link for 'Automatically includes a hashtag with new posts' should point to pull #4533 (not #4398 ) - should help discoverability from mastodon, especially if community tags become customisable.

[–] ademir@lemmy.eco.br 15 points 5 months ago

Awesome! Thank you!

[–] thelastaxolotl@hexbear.net 14 points 5 months ago

che-poggers

Thanks for all the hard work

[–] mp3@lemmy.ca 13 points 5 months ago

That's an impressive list of QoL updates, thanks :)

[–] plinky@hexbear.net 12 points 5 months ago
[–] jjjalljs@ttrpg.network 12 points 5 months ago (2 children)

I know pre 1.x.x is kind of a wild west for versioning but uh is there any logic to the version numbers here? I'd think a new feature would be a minor version bump, not patch

[–] SorteKanin@feddit.dk 26 points 5 months ago (2 children)

The convention in many Rust projects is usually that before 1.0, the patch version behaves like the minor version and the minor version behaves like a major version. So once there are breaking changes, they go to 0.20.0.

[–] dessalines@lemmy.ml 13 points 5 months ago

This is correct, and we've been following this for lemmy too.

[–] dan@upvote.au 7 points 5 months ago* (last edited 5 months ago)

This is the case with a lot of apps that follow SemVer, even though it's not an official part of the spec. It's not specific to Rust.

The other common thing I see is that if it's been at 0.x for a long time, the minor version number eventually gets "promoted" to a major version number once the app is stable. For example, React went from 0.14.x to 15.0.0.

[–] dessalines@lemmy.ml 15 points 5 months ago (1 children)

That's my bad really. Currently we're using the patch semver to denote non-breaking changes, and the minor for breaking.

We're holding off on a major release until the API reaches stable, which like all open source projects we're reticent to do because then it puts a lot of pressure on us to match the standard of enterprise-level software developed by a large corporation.

Even though lemmy has many thousands of monthly active users, we're still really an beta-level software developed by a handful of people.

[–] mke@lemmy.world 8 points 5 months ago* (last edited 5 months ago)

Honestly, that strategy feels like the most sensible one, since the real world often does not (or can not afford to) care to wait for v1.0.0 before using software. It's no wonder so many programming ecosystems have adopted it.

I find it a bit of a shame it's not part of the semver specification itself, which only states:

  1. (paraphrased) do whatever you want haha

My point is, I don't think that's "your bad." It's just how it is, and the best there currently is. Unless you think there's something that could've been done better, in which case I'm curious as to what, if you're willing to share.

[–] davel@lemmy.ml 12 points 5 months ago

Mr. Dessalines and Principal Nutomic were in the closet making 19.4 and I used one of the pre-releases and the pre-release gave me Havana Syndrome and made me into a Manchurian Candidate!

[–] imaqtpie@sh.itjust.works 11 points 5 months ago

Amazing! So many features that people have been requesting. Really impressive release 🫡

[–] aeharding@vger.social 10 points 5 months ago
[–] Psych@lemmy.sdf.org 8 points 5 months ago* (last edited 5 months ago)

Well that settles it, I had my doubts if I should create an account and commit yo this platform as I wasn't sure if it was here to stay or not and if something like sublinks or piefed will come out on top but yeah its this update that answered it for me and I have made a permanent account lol.

[–] Skelectus@suppo.fi 7 points 5 months ago

That's some good improvements you have there. Great work, and thank you.

[–] andrew_s@piefed.social 7 points 5 months ago

lemm.ee have upp'd to 0.19.4, and presumably turned on the Image Proxying thing - this is what I get for: https://lemm.ee/post/34040618

{"error":"unknown","message":"Request error: error sending request for url ([http://127.0.0.1:8080/image/original?proxy=https://ichef.bbci.co.uk/news/1024/branded_news/be3c/live/2a45fdb0-20ee-11ef-a3ab-e73c00cc3104.jpg)](http://127.0.0.1:8080/image/original?proxy=https://ichef.bbci.co.uk/news/1024/branded_news/be3c/live/2a45fdb0-20ee-11ef-a3ab-e73c00cc3104.jpg)): operation timed out"}

[–] tmpod@lemmy.pt 6 points 5 months ago

Incredible update, well worth the wait!

Congrats to everyone involved :D

[–] dan@upvote.au 5 points 5 months ago

The "automatically includes a hashtag with new posts" link goes to the wrong PR.

[–] russjr08@bitforged.space 5 points 5 months ago

This looks like a fantastic update! Huge thanks to everyone involved!

[–] MichaelTen@lemmy.world 3 points 5 months ago (2 children)

Any plans to enable server plugins/ extensions?

Or are those already possible?

Thanks

[–] nutomic@lemmy.ml 6 points 5 months ago

No that's not merged yet, still needs more feedback from plugin devs.

[–] Die4Ever@programming.dev 5 points 5 months ago

there is an in-progress proof of concept here https://github.com/LemmyNet/lemmy/pull/4695

if you have a Github account you can "subscribe" to that to get email updates about it

[–] Die4Ever@programming.dev 3 points 4 months ago

something that didn't get mentioned but I think is nice, the Chat view has been fixed!

https://github.com/LemmyNet/lemmy-ui/issues/1639#issuecomment-2172090390

I believe it was fixed here https://github.com/LemmyNet/lemmy-ui/pull/2480

it even allows sorting in either direction, you can do Chat view with New or Old sort!

[–] walden@sub.wetshaving.social 3 points 5 months ago* (last edited 5 months ago)

The upgrade went smoothly for me. Be smart with your backups with this one!

Upgrading to postgres 16 was the hardest part. You need to pg_dump the lemmy database, upgrade to postgres 16 (which will complain in the logs that the current data isn't compatible), delete the database folder (don't delete the backup file from pg_dump!), then import the backup file into postgres 16.

I had already upgraded pict-rs to version 0.5+ so that was easy.

Then I compared the new lemmy.hjson with what I already had to get the new pict-rs setting for proxied images (turned off for now).

Overall a lot more complex than previous upgrades.

Be smart with your backups with this one!

One more thing to consider if you're using Debian 12 is it comes with postgres 15, so if you you're using the bare metal to make backups, you'll need to install postgres 16 using the instructions here.

[–] wiki_me@lemmy.ml 2 points 5 months ago (1 children)

It's good to see enhancement in moderations tools , there was a lot of feedback on that so i am happy this is being worked on.

With that said donations seem at a all time low (3,524), lower then when the new website started reporting donations ($3,962). on june 2 it was €4,010 , could the lemmy.ml censorship drama be related to this? maybe there is a way to mitigate this event?

[–] aeharding@vger.social 3 points 5 months ago (1 children)

could the lemmy.ml censorship drama be related to this?

I think it’s just cooling down from Reddit migration. Same thing with Voyager donations (albeit smaller scale).

load more comments (1 replies)
[–] Sal@mander.xyz 2 points 4 months ago

Amazing work! Thanks a lot!! Took me a few days to get to it but I have upgraded now and it looks great 😄

[–] ademir@lemmy.eco.br 2 points 4 months ago* (last edited 4 months ago)

https://pfefferle.org/hello-lemmy-part2/ this is offline. Is there other example?

https://pfefferle.org/openweb-icons/ this other post is working

load more comments
view more: next ›