]> Untitled Git - lemmy.git/blob - RELEASES.md
Updating releases.md
[lemmy.git] / RELEASES.md
1 # Lemmy v0.9.0 Release (2021-01-25)
2
3 ## Changes
4
5 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.
6
7 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).
8
9 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.
10
11 ## LemmyNet projects
12
13 ### Lemmy Server
14
15 - [Moved views from SQL to Diesel](https://github.com/LemmyNet/lemmy/issues/1275). This was a spinal replacement for much of lemmy.
16   - Removed all the old fast_tables and triggers, and created new aggregates tables.
17 - Added a `v2` of the API to support the hierarchical objects created from the above changes.
18 - 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)
19 - Split out documentation into git submodule.
20 - Shortened slur filter to avoid false positives.
21 - Added query performance testing and comparisons. Added indexes to make sure every query is `< 30 ms`.
22 - Added compilation time testing.
23
24 ### Federation
25
26 This release includes some bug fixes for federation, and some changes to get us closer to compliance with the ActivityPub standard.
27
28 - [Community bans now federating](https://github.com/LemmyNet/lemmy/issues/1287).
29 - [Local posts sometimes got marked as remote](https://github.com/LemmyNet/lemmy/issues/1302).
30 - [Creator of post/comment was not notified about new child comments](https://github.com/LemmyNet/lemmy/issues/1325).
31 - [Community deletion now federated](https://github.com/LemmyNet/lemmy/issues/1256).
32
33 None of these are breaking changes, so federation between 0.9.0 and 0.8.11 will work without problems.
34
35 ### Lemmy javascript / typescript client
36
37 - 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.
38 - Drone now handles publishing its [npm packages.](https://www.npmjs.com/package/lemmy-js-client)
39
40 ### Lemmy-UI
41
42 - Updated it to use the `v2` API via `lemmy-js-client`, required changing nearly every component.
43 - Added a live comment count.
44 - Added drone deploying, and builds for ARM.
45 - Fixed community link wrapping.
46 - Various other bug fixes.
47
48
49 ### Lemmy Docs
50
51 - We moved documentation into a separate git repository, and support translation for the docs now!
52 - Moved our code of conduct into the documentation.
53
54 ## Upgrading
55
56 If you'd like to make a DB backup before upgrading, follow [this guide](https://lemmy.ml/docs/en/administration/backup_and_restore.html).
57
58 - [Upgrade with manual Docker installation](https://lemmy.ml/docs/en/administration/install_docker.html#updating)
59 - [Upgrade with Ansible installation](https://lemmy.ml/docs/en/administration/install_ansible.html)
60
61 # Lemmy v0.8.0 Release (2020-10-16)
62
63 ## Changes
64
65 We've been working at warp speed since our `v0.7.0` release in June, adding over [870 commits](https://github.com/LemmyNet/lemmy/compare/v0.7.0...main) since then. :sweat: 
66
67 Here are some of the bigger changes:
68
69 ### LemmyNet projects
70
71 - Created [LemmyNet](https://github.com/LemmyNet), where all lemmy-related projects live.
72 - Split out the frontend into a separete repository, [lemmy-ui](https://github.com/LemmyNet/lemmy-ui)
73 - Created a [lemmy-js-client](https://github.com/LemmyNet/lemmy-js-client), for any js / typescript developers.
74 - Split out i18n [lemmy-translations](https://github.com/LemmyNet/lemmy-translations), that any app or site developers can import and use. Lemmy currently supports [~30 languages!](https://weblate.yerbamate.ml/projects/lemmy/lemmy/)
75
76 ### Lemmy Server
77
78 #### Federation
79
80 - The first **federation public beta release**, woohoo :fireworks: 
81 - All Lemmy functionality now works over ActivityPub (except turning remote users into mods/admins)
82 - Instance allowlist and blocklist
83 - Documentation for [admins](https://lemmy.ml/docs/administration_federation.html) and [devs](https://lemmy.ml/docs/contributing_federation_overview.html) on how federation works
84 - Upgraded to newest versions of @asonix activitypub libraries
85 - Full local federation setup for manual testing
86 - Automated testing for nearly every federation action
87 - Many additional security checks
88 - Lots and lots of refactoring
89 - Asynchronous sending of outgoing activities
90
91 ### User Interface
92
93 - Separated the UI from the server code, in [lemmy-ui](https://github.com/LemmyNet/lemmy-ui).
94 - The UI can now read with javascript disabled! 
95 - It's now a fully isomorphic application using [inferno-isomorphic](https://infernojs.org/docs/guides/isomorphic). This means that page loads are now much faster, as the server does the work.
96 - The UI now also supports open-graph and twitter cards! Linking to lemmy posts (from whatever platform you use) looks pretty now: ![](https://i.imgur.com/6TZ2v7s.png)
97 - Improved the search page ( more features incoming ).
98 - The default view is now `Local`, instead of `All`, since all would show all federated posts.
99 - User settings are now shared across browsers ( a page refresh will pick up changes ).
100 - A much leaner mobile view.
101
102 #### Backend
103
104 - Re-organized the rust codebase into separate workspaces for backend and frontend.
105 - Removed materialized views, making the database **a lot faster**.
106 - New post sorts `Active` (previously called hot), and `Hot`. Active shows posts with recent comments, hot shows highly ranked posts.
107 - New sort for `Local` ( meaning from local communities).
108 - Customizeable site, user, and community icons and banners.
109 - Added user preferred names / display names, bios, and cakedays.
110 - Visual / Audio captchas through the lemmy API.
111 - Lots of API field verifications.
112 - Upgraded to pictrs-v2 ( thanks to @asonix )
113 - Wayyy too many bugfixes to count.
114
115 ## Contributors
116
117 We'd also like to thank both the [NLnet foundation](https://nlnet.nl/) for their support in allowing us to work full-time on Lemmy ( as well as their support for [other important open-source projects](https://nlnet.nl/project/current.html) ), [those who sponsor us](https://lemmy.ml/sponsors), and those who [help translate Lemmy](https://weblate.yerbamate.ml/projects/lemmy/). Every little bit does help. We remain committed to never allowing advertisements, monetizing, or venture-capital in Lemmy; software should be communal, and should benefit humanity, not a small group of company owners. 
118
119 ## Upgrading
120
121 - [with manual Docker installation](https://lemmy.ml/docs/administration_install_docker.html#updating)
122 - [with Ansible installation](https://lemmy.ml/docs/administration_install_ansible.html)
123
124 ## Testing Federation
125
126 Federation is finally ready in Lemmy, pending possible bugs or other issues. So for now we suggest to enable federation only on test servers, or try it on our own test servers ( [enterprise](https://enterprise.lemmy.ml/), [ds9](https://ds9.lemmy.ml/), [voyager](https://voyager.lemmy.ml/) ).
127
128 If everything goes well, after a few weeks we will enable federation on lemmy.ml, at first with a limited number of trusted instances. We will also likely change the domain to https://lemmy.ml . Keep in mind that changing domains after turning on federation will break things.
129
130 To enable on your instance, edit your [lemmy.hjson](https://github.com/LemmyNet/lemmy/blob/main/config/defaults.hjson#L60) federation section to `enabled: true`, and restart.
131
132 ### Connecting to another server
133
134 The server https://ds9.lemmy.ml has open federation, so after either adding it to the `allowed_instances` list in your `config.hjson`, or if you have open federation, you don't need to add it explicitly.
135
136 To federate / connect with a server, type in `!community_name@server.tld`, in your server's search box [like so](https://voyager.lemmy.ml/search/q/!main%40ds9.lemmy.ml/type/All/sort/TopAll/page/1).
137
138 To connect with the `main` community on ds9, the search is `!main@ds9.lemmy.ml`.
139
140 You can then click the community, and you will see a local version of the community, which you can subscribe to. New posts and comments from `!main@ds9.lemmy.ml` will now show up on your front page, or `/c/All`
141
142 # Lemmy v0.7.40 Pre-Release (2020-08-05)
143
144 We've [added a lot](https://github.com/LemmyNet/lemmy/compare/v0.7.40...v0.7.0) in this pre-release:
145
146 - New post sorts `Active` (previously called hot), and `Hot`. Active shows posts with recent comments, hot shows highly ranked posts.
147 - Customizeable site icon and banner, user icon and banner, and community icon and banner.
148 - Added user preferred names / display names, bios, and cakedays.
149 - User settings are now shared across browsers (a page refresh will pick up changes).
150 - Visual / Audio captchas through the lemmy API.
151 - Lots of UI prettiness.
152 - Lots of bug fixes.
153 - Lots of additional translations.
154 - Lots of federation prepping / additions / refactors.
155
156 This release removes the need for you to have a pictrs nginx route (the requests are now routed through lemmy directly). Follow the upgrade instructions below to replace your nginx with the new one.
157
158 ## Upgrading
159
160 **With Ansible:**
161
162 ```
163 # run these commands locally
164 git pull
165 cd ansible
166 ansible-playbook lemmy.yml
167 ```
168
169 **With manual Docker installation:**
170 ```
171 # run these commands on your server
172 cd /lemmy
173 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/ansible/templates/nginx.conf
174 # Replace the {{ vars }}
175 sudo mv nginx.conf /etc/nginx/sites-enabled/lemmy.conf
176 sudo nginx -s reload
177 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/docker-compose.yml
178 sudo docker-compose up -d
179 ```
180
181
182 # Lemmy v0.7.0 Release (2020-06-23)
183
184 This release replaces [pictshare](https://github.com/HaschekSolutions/pictshare)
185 with [pict-rs](https://git.asonix.dog/asonix/pict-rs), which improves performance
186 and security.
187
188 Overall, since our last major release in January (v0.6.0), we have closed over
189 [100 issues!](https://github.com/LemmyNet/lemmy/milestone/16?closed=1)
190
191 - Site-wide list of recent comments
192 - Reconnecting websockets
193 - Many more themes, including a default light one.
194 - Expandable embeds for post links (and thumbnails), from
195 [iframely](https://github.com/itteco/iframely)
196 - Better icons
197 - Emoji autocomplete to post and message bodies, and an Emoji Picker
198 - Post body now searchable
199 - Community title and description is now searchable
200 - Simplified cross-posts
201 - Better documentation
202 - LOTS more languages
203 - Lots of bugs squashed
204 - And more ...
205
206 ## Upgrading
207
208 Before starting the upgrade, make sure that you have a working backup of your
209 database and image files. See our
210 [documentation](https://lemmy.ml/docs/administration_backup_and_restore.html)
211 for backup instructions.
212
213 **With Ansible:**
214
215 ```
216 # deploy with ansible from your local lemmy git repo
217 git pull
218 cd ansible
219 ansible-playbook lemmy.yml
220 # connect via ssh to run the migration script
221 ssh your-server
222 cd /lemmy/
223 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/migrate-pictshare-to-pictrs.bash
224 chmod +x migrate-pictshare-to-pictrs.bash
225 sudo ./migrate-pictshare-to-pictrs.bash
226 ```
227
228 **With manual Docker installation:**
229 ```
230 # run these commands on your server
231 cd /lemmy
232 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/ansible/templates/nginx.conf
233 # Replace the {{ vars }}
234 sudo mv nginx.conf /etc/nginx/sites-enabled/lemmy.conf
235 sudo nginx -s reload
236 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/docker-compose.yml
237 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/migrate-pictshare-to-pictrs.bash
238 chmod +x migrate-pictshare-to-pictrs.bash
239 sudo bash migrate-pictshare-to-pictrs.bash
240 ```
241
242 **Note:** After upgrading, all users need to reload the page, then logout and
243 login again, so that images are loaded correctly.
244
245 # Lemmy v0.6.0 Release (2020-01-16)
246
247 `v0.6.0` is here, and we've closed [41 issues!](https://github.com/LemmyNet/lemmy/milestone/15?closed=1) 
248
249 This is the biggest release by far:
250
251 - Avatars!
252 - Optional Email notifications for username mentions, post and comment replies.
253 - Ability to change your password and email address.
254 - Can set a custom language.
255 - Lemmy-wide settings to disable downvotes, and close registration.
256 - A better documentation system, hosted in lemmy itself.
257 - [Huge DB performance gains](https://github.com/LemmyNet/lemmy/issues/411) (everthing down to < `30ms`) by using materialized views. 
258 - Fixed major issue with similar post URL and title searching.
259 - Upgraded to Actix `2.0`
260 - Faster comment / post voting.
261 - Better small screen support.
262 - Lots of bug fixes, refactoring of back end code.
263
264 Another major announcement is that Lemmy now has another lead developer besides me, [@felix@radical.town](https://radical.town/@felix). Theyve created a better documentation system, implemented RSS feeds, simplified docker and project configs, upgraded actix, working on federation, a whole lot else.
265
266 https://lemmy.ml