From: Dessalines Date: Mon, 25 Jan 2021 03:40:39 +0000 (-0500) Subject: Adding 0.9.0 Release notes. X-Git-Url: http://these/git/%7B%60/feeds/front/static/README.zh.hant.md?a=commitdiff_plain;h=ac969dc737bf4d998e94539cc965ac4852b9bd7d;p=lemmy.git Adding 0.9.0 Release notes. --- diff --git a/RELEASES.md b/RELEASES.md index b362d7f1..20e15d8b 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,65 @@ +# Lemmy v0.9.0 Release (2021-01-25) + +## Changes + +Since our last release in October of last year, and we've had [~450](https://github.com/LemmyNet/lemmy/compare/v0.8.0...main) commits. + +The biggest changes, as we'll outline below, are a re-work of Lemmy's database structure, a `v2` of Lemmy's API, and activitypub compliance fixes. The new re-worked DB is much faster, easier to maintain, and [now supports hierarchical rather than flat objects in the new API](https://github.com/LemmyNet/lemmy/issues/1275). + +We've also seen the first release of [Lemmur](https://github.com/krawieck/lemmur/releases/tag/v0.1.1), an android / iOS (soon) / windows / linux client, as well as [Lemmer](https://github.com/uuttff8/Lemmy-iOS), a native iOS client. Much thanks to @krawieck, @shilangyu, and @uuttff8 for making these great clients. If you can, please contribute to their [patreon](https://www.patreon.com/lemmur) to help fund lemmur development. + +## LemmyNet projects + +### Lemmy Server + +- [Moved views from SQL to Diesel](https://github.com/LemmyNet/lemmy/issues/1275). This was a spinal replacement for much of lemmy. + - Removed all the old fast_tables and triggers, and created new aggregates tables. +- Added a `v2` of the API to support the hierarchical objects created from the above changes. +- Moved continuous integration to [drone](https://cloud.drone.io/LemmyNet/lemmy/), now includes formatting, clippy, and cargo build checks, unit testing, and federation testing. [Drone also deploys both amd64 and arm64 images to dockerhub.](https://hub.docker.com/r/dessalines/lemmy) +- Split out documentation into git submodule. +- Shortened slur filter to avoid false positives. +- Added query performance testing and comparisons. Added indexes to make sure every query is `< 30 ms`. +- Added compilation time testing. + + +### Lemmy javascript / typescript client + +- Updated the [lemmy-js-client](https://github.com/LemmyNet/lemmy-js-client) to use the new `v2` API. Our API docs now reference this project's files, to show what the http / websocket forms and responses should look like. +- Drone now handles publishing its [npm packages.](https://www.npmjs.com/package/lemmy-js-client) + +### Lemmy-UI + +- Updated it to use the `v2` API via `lemmy-js-client`, required changing nearly every component. +- Added a live comment count. +- Added drone deploying, and builds for ARM. +- Fixed community link wrapping. +- Various other bug fixes. + + +### Lemmy Docs + +- We moved documentation into a separate git repository, and support translation for the docs now! +- Moved our code of conduct into the documentation. + +### Federation + +This release includes some bug fixes for federation, and some changes to get us closer to compliance with the ActivityPub standard. + +- fixed: [Community bans not federating](https://github.com/LemmyNet/lemmy/issues/1287) +- fixed: [Local posts sometimes got marked as remote](https://github.com/LemmyNet/lemmy/issues/1302) +- fixed: [Creator of post/comment is not notified about new child comments](https://github.com/LemmyNet/lemmy/issues/1325) +- fixed: [Community deletion not federated](https://github.com/LemmyNet/lemmy/issues/1256) + +None of these are breaking changes, so federation between 0.9.0 and 0.8.11 will work without problems. + + +## Upgrading + +If you'd like to make a DB backup before upgrading, follow [this guide](https://lemmy.ml/docs/en/administration_backup_and_restore.html). + +- [Upgrade with manual Docker installation](https://lemmy.ml/docs/en/administration_install_docker.html#updating) +- [Upgrade with Ansible installation](https://lemmy.ml/docs/en/administration_install_ansible.html) + # Lemmy v0.8.0 Release (2020-10-16) ## Changes