191
submitted 2 years ago by nutomic@lemmy.ml to c/announcements@lemmy.ml
top 50 comments
sorted by: hot top new old
[-] db0@lemmy.dbzer0.com 62 points 2 years ago

Oof, lots of work to do for everyone.

If anyone can figure out all the non-mentioned API changes and write them here it would be useful for people like me to avoid having to reverse engineer things

[-] Binette@lemmy.ml 45 points 2 years ago

I can say I was there when Lemmy 1.0 released!

[-] flamingos@feddit.uk 26 points 2 years ago

Does this mean Lemmy 0.20 is now 1.0? What prompted the change?

[-] dessalines@lemmy.ml 64 points 2 years ago

Lots of things, but mainly that lemmy is pretty stable, and its been a year since the last breaking changes release.

I was also kind of opposed to a v1.0, and wanted lemmy to be considered alpha/beta level software, because I know when we release a v.1.0, people are going to expect the same enterprise-level and bug-free software from a ~4 person dev team as they do from a multi-million dollar company. Also it gives us less freedom to make breaking changes, which can be restrictive for back-end devs.

But now we can just adopt proper semver, and the next breaking changes releases can upgrade the MAJOR version.

[-] nutomic@lemmy.ml 20 points 2 years ago

On the other hand it gives an indication to client developers that such big breaking changes wont be a regular occurence. So they have a reason to upgrade and then keep using 1.0 long-term. I believe that practically all the needed breaking changes are already implemented, and remaining issues are mostly new feature requests which can be added as new api endpoints or parameters.

[-] Blisterexe@lemmy.zip 2 points 2 years ago

are you at a liberty to say what the feature requests you're looking at are?

[-] nutomic@lemmy.ml 2 points 2 years ago* (last edited 2 years ago)

What feature requests will be implemented after 1.0? Everything that's open on the issue tracker really, as soon as someone works on it.

[-] lnxtx@feddit.nl 19 points 2 years ago

Maturity I think. New Lemmy is good enough to make the change.

And here I was thinking it would go all the way to 0.99 before getting to 1.0...

[-] davel@lemmy.ml 21 points 2 years ago

A lot of these should not be called breaking changes. A new API is not a breaking change if the old API remains.

[-] nickhammes@lemmy.world 4 points 2 years ago

Yeah but those changes break clients as soon as they turn down the old API.

[-] davel@lemmy.ml 16 points 2 years ago

Indeed, dropping the old API would be the breaking change.

Rich Hickey did a fantastic talk on versioning, breaking changes, and dependencies.

[-] Kichae@lemmy.ca 20 points 2 years ago

Holy shit, it's going gold!

[-] Binette@lemmy.ml 15 points 2 years ago

Will the new lemmy ui be ready for 1.0?

[-] dessalines@lemmy.ml 21 points 2 years ago

Can't give an ETA yet. I've got a few more back-end things to finish up, then @sleeplessone1917 and I will work on lemmy-ui.

Then I also gotta work on getting jerboa updated also. So much work and so few developers.

[-] nutomic@lemmy.ml 12 points 2 years ago

Yes we always release backend and frontend versions together.

[-] sabreW4K3@lazysoci.al 13 points 2 years ago

This is epic. I really hope Laurence can find some time to make Sync for Lemmy support it.

[-] m_f@discuss.online 12 points 2 years ago

Excited to see the idempotency feature. That will help a lot with double posts from using https://github.com/RikudouSage/LemmySchedule

[-] Martineski@lemmy.dbzer0.com 3 points 2 years ago

Idk if it will be useful to more active people like you because you will be able to schedule only up to 10 posts at once: https://github.com/N4Y-docker/lemmy-nightly/commit/9eee61dd06220176fbb97ccbba4a594ea21bb5c6

[-] m_f@discuss.online 3 points 2 years ago

Good callout. I'm actually admin on this instance so it wouldn't apply to me by my reading of the code. Lemmy schedule also doesn't currently use the scheduled posts Lemmy feature, it tracks it separately. Still good to know though, thanks.

[-] Martineski@lemmy.dbzer0.com 3 points 2 years ago

Oh, didn't realise that you were an admin there. haha

[-] jax@lemmy.cloudhub.social 11 points 2 years ago

Really looking forward to SSO support!

[-] meldrik@lemmy.wtf 11 points 2 years ago
[-] Blaze@lemmy.dbzer0.com 10 points 2 years ago
[-] db0@lemmy.dbzer0.com 9 points 2 years ago

Does this mean you renamed just the DB columns, but not the API keys?

[-] dessalines@lemmy.ml 7 points 2 years ago

They're all renamed, that PR just hasn't been deployed to voyager.lemmy.ml yet.

[-] db0@lemmy.dbzer0.com 5 points 2 years ago

Ah, good to know before I start developing. Can you let me know when we can start the development as I don't want to use the API and then discover it's missing more PRs?

[-] dessalines@lemmy.ml 1 points 2 years ago

I can't say yet, as we're still adding things. If you're not using lemmy-js-client, then as long as your types are generated from it's main branch directly, then you should be fine.

[-] db0@lemmy.dbzer0.com 3 points 2 years ago* (last edited 2 years ago)

I'm not using the js-client. I'm updating pythorhead so I need to make sure the API is at the final version before I can match it. And to match it I need the patches to be in so I can read the doc, and/or import the swagger.

I will do what I can in advance, but to do the pre-development you asked for, we do need the final version up somewhere.

[-] dessalines@lemmy.ml 4 points 2 years ago* (last edited 2 years ago)

The updated spec should be at https://join-lemmy.org/api/main , and it gives you an option to download the .json file

Or you can use the lemmy-js-client main branch, and run pnpm tsoa to generate a swagger.json file.

[-] nutomic@lemmy.ml 4 points 2 years ago

The final api version would probably be in 1.0-beta.0, which will still take a few months. But at this time you can already start to adapt for the major changes like combined endpoints, and give feedback if anything else in the api needs changing.

[-] ludrol@bookwormstory.social 8 points 2 years ago

Quick question mostly for @phiresky:
Are you targeting post tags for 1.0 or for later?

Thx for the work.

[-] ademir@lemmy.eco.br 6 points 2 years ago

wow! Huge, just when I am back to the saddle

[-] aeharding@vger.social 4 points 2 years ago

CORS is broken on voyager.lemmy.ml. Can you please fix it?

[-] dessalines@lemmy.ml 8 points 2 years ago

K I think it should be fixed now.

[-] aeharding@vger.social 7 points 2 years ago

Awesome works!

Only thing I’ve noticed so far is the old v3 profile API response doesn’t have posts/comments attached

[-] dessalines@lemmy.ml 5 points 2 years ago

Yep I think we note that in the breaking changes post. We only serve the combined responses now.

[-] Martineski@lemmy.dbzer0.com 3 points 2 years ago
[-] asudox@lemmy.asudox.dev 3 points 2 years ago

Congratulations. By the way, was this version 0.20.0 previously?

[-] nutomic@lemmy.ml 4 points 2 years ago

Yes we renamed it.

[-] toastal@lemmy.ml 2 points 2 years ago

1.0 would be the perfect time to have the code, bug tracker, etc. migrated off of Microsoft GitHub

[-] OsrsNeedsF2P@lemmy.ml 2 points 2 years ago

Would lose a lot of visibility. Gotta pick your battles

load more comments (2 replies)
load more comments (2 replies)
[-] OsrsNeedsF2P@lemmy.ml 2 points 2 years ago

Really excited for these changes; scheduled posts, donations, SSO, let's goo

[-] fmstrat@lemmy.nowsci.com 1 points 2 years ago

Will there be an overlap period where both APIs function?

[-] nutomic@lemmy.ml 3 points 2 years ago

Yes the current api v3 is also available in 1.0 alpha

[-] fmstrat@lemmy.nowsci.com 1 points 2 years ago

Perfect, thank you.

load more comments
view more: next ›
this post was submitted on 06 Feb 2025
191 points (100.0% liked)

Announcements

26266 readers
1 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 7 years ago
MODERATORS