]> Untitled Git - lemmy.git/blob - RELEASES.md
Fix upgrade note.
[lemmy.git] / RELEASES.md
1 # Lemmy v0.12.0 Release (2021-09-03)
2
3 ## Changes
4
5 Since our last release in April, we've had [~80](https://github.com/LemmyNet/lemmy/compare/0.11.0...main) commits to Lemmy.
6
7 ### Lemmy Server
8
9 #### Major Changes
10
11 *Note: Issue links are below.*
12
13 - @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.
14 - You can now block users and communities, and their posts / comments won't show up in your feed.
15 - Removed IFramely: Lemmy can now fetch site metadata on its own.
16 - New API docs at: https://join-lemmy.org/api
17
18 #### General
19
20 - Fix prod deploy script and clippy ([#1724](https://github.com/LemmyNet/lemmy/issues/1724))
21 - Fix image uploads. Fixes [#1725](https://github.com/LemmyNet/lemmy/issues/1725) ([#1734](https://github.com/LemmyNet/lemmy/issues/1734))
22 - Adding more site setup vars. Fixes [#678](https://github.com/LemmyNet/lemmy/issues/678) ([#1718](https://github.com/LemmyNet/lemmy/issues/1718))
23 - Dont append ? to url when cleaning it ([#1716](https://github.com/LemmyNet/lemmy/issues/1716))
24 - User / community blocking. Fixes [#426](https://github.com/LemmyNet/lemmy/issues/426) ([#1604](https://github.com/LemmyNet/lemmy/issues/1604))
25 - Swap out iframely ([#1706](https://github.com/LemmyNet/lemmy/issues/1706))
26 - Adding ModTransferCommunity to modlog in API. Fixes [#1437](https://github.com/LemmyNet/lemmy/issues/1437)
27 - Make sure bots aren't included in aggregate counts ([#1705](https://github.com/LemmyNet/lemmy/issues/1705))
28 - Don't allow deleted users to do actions. Fixes [#1656](https://github.com/LemmyNet/lemmy/issues/1656) ([#1704](https://github.com/LemmyNet/lemmy/issues/1704))
29 - When banning a user, remove communities they've created ([#1700](https://github.com/LemmyNet/lemmy/issues/1700))
30 - Distribute Lemmy via crates.io
31 - Simplify config using macros ([#1686](https://github.com/LemmyNet/lemmy/issues/1686))
32 - Simplify lemmy_context() function (dont return errors)
33 - Blank out extra info for deleted or removed content. Fixes [#1679](https://github.com/LemmyNet/lemmy/issues/1679) ([#1680](https://github.com/LemmyNet/lemmy/issues/1680))
34 - Add show_new_posts_notifs setting. Fixes [#1664](https://github.com/LemmyNet/lemmy/issues/1664) ([#1665](https://github.com/LemmyNet/lemmy/issues/1665))
35 - Adding shortname fetching for users and communities. Fixes [#1662](https://github.com/LemmyNet/lemmy/issues/1662) ([#1663](https://github.com/LemmyNet/lemmy/issues/1663))
36 - Upgrading deps, running clippy fix on nightly 1.55.0 ([#1638](https://github.com/LemmyNet/lemmy/issues/1638))
37 - Running clippy --fix ([#1647](https://github.com/LemmyNet/lemmy/issues/1647))
38 - Make captcha case-insensitive
39 - Remove tracking params from post url (fixes [#768](https://github.com/LemmyNet/lemmy/issues/768))
40 - Fix IPv6 port setup for Nginx ([#1636](https://github.com/LemmyNet/lemmy/issues/1636))
41 - Fix --cert-name for certbot. ([#1631](https://github.com/LemmyNet/lemmy/issues/1631))
42 - Change join.lemmy.ml to join-lemmy.org ([#1628](https://github.com/LemmyNet/lemmy/issues/1628))
43 - Upgrade pictrs. Fixes [#1599](https://github.com/LemmyNet/lemmy/issues/1599) ([#1600](https://github.com/LemmyNet/lemmy/issues/1600))
44 - Invalidate current logins on account deletion. Fixes [#1602](https://github.com/LemmyNet/lemmy/issues/1602) ([#1603](https://github.com/LemmyNet/lemmy/issues/1603))
45 - Upgrading api test deps ([#1608](https://github.com/LemmyNet/lemmy/issues/1608))
46 - Fix nsfw posts showing for non-logged in users. Fixes [#1614](https://github.com/LemmyNet/lemmy/issues/1614) ([#1615](https://github.com/LemmyNet/lemmy/issues/1615))
47 - Add additional slurs configuration option. Closes [#1464](https://github.com/LemmyNet/lemmy/issues/1464). ([#1612](https://github.com/LemmyNet/lemmy/issues/1612))
48 - Updating to rust 1.51.0 ([#1598](https://github.com/LemmyNet/lemmy/issues/1598))
49 - Remove brotli, zstd dependencies for faster compilation
50
51 #### API
52
53 - A full list of the API changes can be seen on this diff of [lemmy-js-client: 0.11.0 -> 0.12.0](https://github.com/LemmyNet/lemmy-js-client/compare/0.11.0...0.12.0-rc.1) .
54
55 #### Federation
56
57 - Move resolving of activitypub objects to separate api endpoint (fixes #1584)
58 - Rewrite remaining activities ([#1712](https://github.com/LemmyNet/lemmy/issues/1712))
59 - Migrate comment inReplyTo field to single value (ref [#1454](https://github.com/LemmyNet/lemmy/issues/1454))
60 - Fix issue with protocol string in actor id generation ([#1668](https://github.com/LemmyNet/lemmy/issues/1668))
61
62
63 ### Lemmy UI
64
65 - Integrating resolve_user into search. ([#377](https://github.com/LemmyNet/lemmy-ui/issues/377))
66 - Add lazy loading of images. Fixes [#329](https://github.com/LemmyNet/lemmy-ui/issues/329) ([#379](https://github.com/LemmyNet/lemmy-ui/issues/379))
67 - Adding vi, sk, mnc, and cy languages. ([#378](https://github.com/LemmyNet/lemmy-ui/issues/378))
68 - Feature/user community block ([#362](https://github.com/LemmyNet/lemmy-ui/issues/362))
69 - Swapping out iframely. ([#374](https://github.com/LemmyNet/lemmy-ui/issues/374))
70 - Adding mod transfer community ([#373](https://github.com/LemmyNet/lemmy-ui/issues/373))
71 - Remove content more ([#372](https://github.com/LemmyNet/lemmy-ui/issues/372))
72 - Scroll to comments on post's x comments button ([#312](https://github.com/LemmyNet/lemmy-ui/issues/312))
73 - Remove websocket connection messages. Fixes [#355](https://github.com/LemmyNet/lemmy-ui/issues/355)
74 - Center spinner, make smaller. Fixes [#203](https://github.com/LemmyNet/lemmy-ui/issues/203)
75 - Fix font issues. Fixes [#354](https://github.com/LemmyNet/lemmy-ui/issues/354)
76 - Have setting to disable notifs for new posts. Fixes [#132](https://github.com/LemmyNet/lemmy-ui/issues/132) ([#345](https://github.com/LemmyNet/lemmy-ui/issues/345))
77 - Remove max length constraints on actors. Fixes [#350](https://github.com/LemmyNet/lemmy-ui/issues/350) ([#351](https://github.com/LemmyNet/lemmy-ui/issues/351))
78 - Fix captcha replay bug. Fixes [#348](https://github.com/LemmyNet/lemmy-ui/issues/348) ([#349](https://github.com/LemmyNet/lemmy-ui/issues/349))
79 - Removing community and user routes in favor of shortnames. Fixes [#317](https://github.com/LemmyNet/lemmy-ui/issues/317) ([#343](https://github.com/LemmyNet/lemmy-ui/issues/343))
80 - Don't use default subscribed for communities page.
81 - Adding Listing type to communities page, default local. [#190](https://github.com/LemmyNet/lemmy-ui/issues/190) ([#342](https://github.com/LemmyNet/lemmy-ui/issues/342))
82 - Fix language bug on mobile browsers
83 - Collapse sidebar on mobile. Fixes [#335](https://github.com/LemmyNet/lemmy-ui/issues/335) ([#340](https://github.com/LemmyNet/lemmy-ui/issues/340))
84 - Re-organized components folder. ([#339](https://github.com/LemmyNet/lemmy-ui/issues/339))
85 - Fixing too many large spinners ([#337](https://github.com/LemmyNet/lemmy-ui/issues/337))
86 - Moving comment link to top bar. Fixes #307 ([#336](https://github.com/LemmyNet/lemmy-ui/issues/336))
87 - Fix/ws error messages ([#334](https://github.com/LemmyNet/lemmy-ui/issues/334))
88 - Make spinner bigger. Fixes [#203](https://github.com/LemmyNet/lemmy-ui/issues/203)
89 - Fix preview description html. Fixes [#110](https://github.com/LemmyNet/lemmy-ui/issues/110)
90 - Always show previous paginator, extract paginator component.
91 - Use better comment collapse icon, and add text. Fixes [#318](https://github.com/LemmyNet/lemmy-ui/issues/318)
92 - Fix symbols issue. Fixes [#319](https://github.com/LemmyNet/lemmy-ui/issues/319)
93 - Don't restore scroll position on page refresh. Fixes [#186](https://github.com/LemmyNet/lemmy-ui/issues/186)
94 - Insert triple backticks for 'code' button when multiple lines are selected. ([#311](https://github.com/LemmyNet/lemmy-ui/issues/311))
95 - Change join.lemmy-ui.ml to join-lemmy-ui.org
96 - Adding a comment here placeholder. Fixes [#301](https://github.com/LemmyNet/lemmy-ui/issues/301)
97 - Fix non-local community and person links. Fixes [#290](https://github.com/LemmyNet/lemmy-ui/issues/290)
98 - Fix navbar bug. Fixes [#289](https://github.com/LemmyNet/lemmy-ui/issues/289)
99 - Hide names of mods / admins without priveleges. Fixes [#285](https://github.com/LemmyNet/lemmy-ui/issues/285)
100 - Adding URL search type. Fixes [#286](https://github.com/LemmyNet/lemmy-ui/issues/286)
101 - Add a link to joinlemmy-ui on lemmy-ui.ml signup. Fixes [#235](https://github.com/LemmyNet/lemmy-ui/issues/235)
102 - Fix duped site description. Fixes [#281](https://github.com/LemmyNet/lemmy-ui/issues/281)
103
104 ## Upgrade notes
105
106 ### Servers
107
108 You may need to add this to your `lemmy.hjson`:
109
110 `pictrs_url: "http://pictrs:8080"`
111
112 If you'd like to make a DB backup before upgrading, follow [this guide](https://join.lemmy.ml/docs/en/administration/backup_and_restore.html).
113
114 To upgrade your instance to `v0.12.0`, simply follow the instructions in the documentation:
115
116 - [Upgrade with manual Docker installation](https://join.lemmy.ml/docs/en/administration/install_docker.html#updating)
117 - [Upgrade with Ansible installation](https://join.lemmy.ml/docs/en/administration/install_ansible.html)
118
119 ### Clients / Apps
120
121 - A full list of the API changes can be seen on this diff of [lemmy-js-client: 0.11.0 -> 0.12.0](https://github.com/LemmyNet/lemmy-js-client/compare/0.11.0...0.12.0-rc.1) .
122
123 # Lemmy v0.11.3 Release (2021-07-30)
124
125 ## Changes
126
127 Since our last release, we've had [~30](https://github.com/LemmyNet/lemmy/compare/0.11.0...main) commits to Lemmy, and [~60](https://github.com/LemmyNet/lemmy-ui/compare/0.11.0...main) to Lemmy UI.
128
129 ### Lemmy Server
130
131 - Blank out extra info for deleted or removed content. Fixes [#1679](https://github.com/LemmyNet/Lemmy/issues/1679) 
132 - Add show_new_posts_notifs setting. Fixes [#1664](https://github.com/LemmyNet/Lemmy/issues/1664)
133 - Fix issue with protocol string in actor id generation [#1668](https://github.com/LemmyNet/Lemmy/issues/1668)
134 - Adding shortname fetching for users and communities. Fixes [#1662](https://github.com/LemmyNet/Lemmy/issues/1662)
135 - Make captcha case-insensitive.
136 - Remove tracking params from post url (fixes [#768](https://github.com/LemmyNet/Lemmy/issues/768))
137 - Upgrade pictrs. Fixes [#1599](https://github.com/LemmyNet/Lemmy/issues/1599)
138 - Invalidate current logins on account deletion. Fixes [#1602](https://github.com/LemmyNet/Lemmy/issues/1602)
139 - Fix nsfw posts showing for non-logged in users. Fixes [#1614](https://github.com/LemmyNet/Lemmy/issues/1614)
140 - Add additional slurs configuration option. Closes [#1464](https://github.com/LemmyNet/Lemmy/issues/1464).
141 - Updating to rust 1.51.0
142
143 ### Lemmy UI
144
145 - Have setting to disable notifs for new posts. Fixes [#132](https://github.com/LemmyNet/lemmy-ui/issues/132)
146 - Remove max length constraints on actors. Fixes [#350](https://github.com/LemmyNet/lemmy-ui/issues/350)
147 - Fix captcha replay bug. Fixes [#348](https://github.com/LemmyNet/lemmy-ui/issues/348)
148 - Removing community and user routes in favor of shortnames. Fixes [#317](https://github.com/LemmyNet/lemmy-ui/issues/317)
149 - Add front end helpers 1 [(#346](https://github.com/LemmyNet/lemmy-ui/issues/346))
150 - Don't use default subscribed for communities page.
151 - Adding Listing type to communities page, default local. [#190](https://github.com/LemmyNet/lemmy-ui/issues/190)
152 - Fix language bug on mobile browsers.
153 - Collapse sidebar on mobile. Fixes [#335](https://github.com/LemmyNet/lemmy-ui/issues/335)
154 - Re-organized components folder. [(#339](https://github.com/LemmyNet/lemmy-ui/issues/339))
155 - Moving comment link to top bar. Fixes [#307](https://github.com/LemmyNet/lemmy-ui/issues/307)
156 - Make spinner bigger. Fixes [#203](https://github.com/LemmyNet/lemmy-ui/issues/203)
157 - Fix preview description html. Fixes [#110](https://github.com/LemmyNet/lemmy-ui/issues/110)
158 - Update darkly, make danger darker. Fixes [#16](https://github.com/LemmyNet/lemmy-ui/issues/16)
159 - Always show previous paginator, extract paginator component.
160 - Use better comment collapse icon, and add text. Fixes [#318](https://github.com/LemmyNet/lemmy-ui/issues/318)
161 - Fix symbols issue. Fixes [#319](https://github.com/LemmyNet/lemmy-ui/issues/319)
162 - Don't restore scroll position on page refresh. Fixes [#186](https://github.com/LemmyNet/lemmy-ui/issues/186)
163 - Insert triple backticks for 'code' button when multiple lines are selected. [(#311](https://github.com/LemmyNet/lemmy-ui/issues/311))
164 - Adding a comment here placeholder. Fixes [#301](https://github.com/LemmyNet/lemmy-ui/issues/301)
165 - Fix non-local community and person links. Fixes [#290](https://github.com/LemmyNet/lemmy-ui/issues/290)
166 - Fix navbar bug. Fixes [#289](https://github.com/LemmyNet/lemmy-ui/issues/289)
167 - Hide names of mods / admins without priveleges. Fixes [#285](https://github.com/LemmyNet/lemmy-ui/issues/285)
168 - Adding URL search type. Fixes [#286](https://github.com/LemmyNet/lemmy-ui/issues/286)
169 - Add a link to joinlemmy on lemmy.ml signup. Fixes [#235](https://github.com/LemmyNet/lemmy-ui/issues/235)
170 - Fix duped site description. Fixes [#281](https://github.com/LemmyNet/lemmy-ui/issues/281)
171
172 ### API
173
174 - Added `show_new_posts_notifs` boolean to `SaveUserSettings`, and `LocalUserSettings`.
175 - A full list of the API changes can be seen on this diff of [lemmy-js-client: 0.11.0 -> 0.11.3](https://github.com/LemmyNet/lemmy-js-client/compare/0.11.0...0.11.3-rc.4) .
176
177 ### Federation
178
179 - No changes in this release, but there will be many soon.
180
181 ## Upgrade notes
182
183 To upgrade your instance to `0.11.3`, simply follow the instructions in the documentation:
184
185 - [Upgrade with manual Docker installation](https://join-lemmy.org/docs/en/administration/install_docker.html#updating)
186 - [Upgrade with Ansible installation](https://join-lemmy.org/docs/en/administration/install_ansible.html)
187
188 # Lemmy v0.11.0 Release (2021-04-27)
189
190 ## Changes
191
192 Since our last release this month, we've had [~60](https://github.com/LemmyNet/lemmy/compare/0.10.0...main) commits to Lemmy.
193
194 ### Lemmy Server
195
196 #### Major Changes
197
198 - Add option to disable strict allowlist ( [#1486](https://github.com/LemmyNet/lemmy/issues/1486)) [documentation](https://join-lemmy.org/docs/en/federation/administration.html) 
199 - Add option to limit community creation to admins only ([#1587](https://github.com/LemmyNet/lemmy/issues/1587))
200 - Many search improvements:
201   - Don't search for communities or users when the id is included.
202   - Add creator id to search.
203
204 #### General
205
206 - Adding a user setting to show / hide scores. Fixes [#1503](https://github.com/LemmyNet/lemmy/issues/1503)
207 - Add option to hide read posts. Fixes [#1561](https://github.com/LemmyNet/lemmy/issues/1561)
208 - Mark accounts as bot, and hide bot posts/comments
209 - Adding a short site description, to be used for joinlemmy instance list
210 - Adding matrix id validation. Fixes [#1520](https://github.com/LemmyNet/lemmy/issues/1520)
211 - Adding users active monthly for community sort. Fixes [#1527](https://github.com/LemmyNet/lemmy/issues/1527)
212 - Don't allow zero-space char in display name. Fixes [#1317](https://github.com/LemmyNet/lemmy/issues/1317)
213 - Adding more rust captcha features. Fixes [#1248](https://github.com/LemmyNet/lemmy/issues/1248)
214 - Fixing slur filter regex. Fixes [#1593](https://github.com/LemmyNet/lemmy/issues/1593)
215
216 #### API
217
218 - Added `ChangePassword` as a separate endpoint from `SaveUserSettings`
219 - No other breaking changes, but many fields that were previously required are now optional.
220 - A full list of the API changes can be seen on this diff of [lemmy-js-client: 0.10.0 -> 0.11.0](https://github.com/LemmyNet/lemmy-js-client/compare/0.10.0...0.11.0-rc.13) .
221
222 #### Federation
223
224 - Implement federated bans fixes [#1298](https://github.com/LemmyNet/lemmy/issues/1298)
225 - Remote mods can update/delete/undelete communities.
226
227 ### Lemmy UI
228
229 - Updating translations.
230 - Add UI version to UI via docker. Fixes [#263](https://github.com/LemmyNet/lemmy-ui/issues/263)
231 - Add Korean language
232 - Add check for unused languages in update_translations.sh
233 - Validate matrix id on the front end. Fixes [#245](https://github.com/LemmyNet/lemmy-ui/issues/245)
234 - Communities page sorts by monthly active users. Fixes [#244](https://github.com/LemmyNet/lemmy-ui/issues/244)
235 - Correctly render HTML in popup notifications
236 - Fix html notif bug. Fixes [#254](https://github.com/LemmyNet/lemmy-ui/issues/254)
237 - Fixing issue with debounce. Fixes [#236](https://github.com/LemmyNet/lemmy-ui/issues/236)
238
239 ## Upgrade notes
240
241 ### Servers
242
243 If you'd like to make a DB backup before upgrading, follow [this guide](https://join-lemmy.org/docs/en/administration/backup_and_restore.html).
244
245 To upgrade your instance to `v0.10.0`, simply follow the instructions in the documentation:
246
247 - [Upgrade with manual Docker installation](https://join-lemmy.org/docs/en/administration/install_docker.html#updating)
248 - [Upgrade with Ansible installation](https://join-lemmy.org/docs/en/administration/install_ansible.html)
249
250 ### Clients / Apps
251
252 - A full list of the API changes can be seen on this diff of [lemmy-js-client: 0.10.0 -> 0.11.0](https://github.com/LemmyNet/lemmy-js-client/compare/0.10.0...0.11.0-rc.13) .
253
254 # Lemmy v0.10.3 Release (2021-04-07)
255
256 - Fixing instances page.
257 - Fixed unban not working.
258 - Fixed post title fetching and cross-post search.
259 - Fixed navigating to a user page.
260
261 # Lemmy v0.10.2 Release (2021-04-05)
262
263 - Forcing a crash if config.hjson fails to load. Should show errors easier.
264
265 # Lemmy v0.10.0 Release (2021-04-05)
266
267 ## Changes
268
269 Since our last release in February, we've had [~150](https://github.com/LemmyNet/lemmy/compare/0.9.9...main) commits to Lemmy. The biggest changes, as we'll outline below, are a split of Lemmy's user tables into federated and local tables, necessitating a `v3` of Lemmy's API, federated moderation, i18n support in join-lemmy.org, and lots of back-end cleanup.
270
271 ### Lemmy Server
272
273 #### General
274
275 - Rewrote config implementation, finally allowing us to use newer Rust versions.
276 - Removed categories. 
277 - Various refactors.
278
279 #### API
280
281 - A full list of the API changes can be seen on this diff of [lemmy-js-client: 0.9.9 -> 0.10.0](https://github.com/LemmyNet/lemmy-js-client/compare/0.9.9...0.10.0-rc.13) .
282 - Login invalidation on password change, thanks to @Mart-Bogdan
283
284 #### Federation
285
286 - It is now possible to add users from other instances as community mods.
287 - Federating Matrix ID.
288 - Many changes for better compatibility with ActivityPub standard.
289
290 #### Database 
291
292 - Split the `user_` into `person` and `local_user` tables.
293 - Strictly typed commonly used ID columns, to prevent DB errors using `i32` as ids.
294 - Strictly typed URL fields, thanks to ajyoon.
295 - Created default DB forms, now used in all the unit tests.
296
297 ### Lemmy UI
298
299 - Now using utf-8 emojis.
300 - Support for all the above changes to Lemmy.
301 - Typescript-safe i18n strings, thanks to @shilangyu.
302 - Added expandable post text (click on open book icon).
303 - Prettier cross-posting, which does smart quoting.
304 - Bugfixes for restoring scroll position on post page, custom site favicons, and autocomplete for login fields.
305
306 ### Lemmy Docs
307
308 - Gazconroy built an [Async API spec for Lemmy](https://join-lemmy.org/api/index.html), that now serves as our main API docs.
309
310 ### join-lemmy.org
311
312 - Rewrote in inferno isomorphic, added i18n support via [weblate](https://weblate.yerbamate.ml/projects/lemmy/joinlemmy/).
313 - Added a section on the support page thanking contributors.
314 - Changed some page urls / titles
315
316 ## Upgrade notes
317
318 **Important**: there are multiple breaking changes:
319
320 - Configuration via environment variables is not supported anymore, you must have all your config in the [lemmy.hjson](https://github.com/LemmyNet/lemmy/blob/main/ansible/templates/config.hjson) file ( except for `LEMMY_CONFIG_LOCATION` ).
321 - The config format for `allowed_instances` and `blocked_instances` has changed, and you need to adjust your config file manually:
322     - before: `allowed_instances: ds9.lemmy.ml,enterprise.lemmy.ml`
323     - now: `allowed_instances: ["ds9.lemmy.ml", "enterprise.lemmy.ml"]` , and only one of the `allowed_instances` or `blocked_instances` blocks can be set.
324 - The API has been upgraded from `v2` to `v3`, so all clients need to be updated: [lemmy-js-client: 0.9.9 -> 0.10.0](https://github.com/LemmyNet/lemmy-js-client/compare/0.9.9...0.10.0-rc.13) .
325
326 If you'd like to make a DB backup before upgrading, follow [this guide](https://join-lemmy.org/docs/en/administration/backup_and_restore.html).
327
328 To upgrade your instance to `v0.10.0`, simply follow the instructions in the documentation:
329
330 - [Upgrade with manual Docker installation](https://join-lemmy.org/docs/en/administration/install_docker.html#updating)
331 - [Upgrade with Ansible installation](https://join-lemmy.org/docs/en/administration/install_ansible.html)
332
333
334 ## Compilation time
335
336 || v0.9.0 (Rust 1.47) | v0.10.0 (Rust 1.47) | v0.10.0 (Rust 1.51) |
337 |-| -------- | -------- | -------- |
338 |Clean | 140s     | 146s     | 119s     |
339 | Incremental | 28s | 22s | 19s |
340
341 Despite ongoing efforts to speed up compilation, it has actually gotten slower when comparing with the same Rust version. Only thanks to improvements in newer Rust versions has our build process gotten faster. This could be simply because we added more code, while Lemmy v0.9.0 had 22.4k lines of Rust, v0.10.0 has 23.8k (an increase of 6%).
342
343 v0.9.0 build graph:
344 ![](https://lemmy.ml/pictrs/image/GVBqFnrLqG.jpg)
345
346 v0.10.0 build graph:
347 ![](https://lemmy.ml/pictrs/image/NllzjVEyNK.jpg)
348
349 We extracted the crates `lemmy_api_crud` and `lemmy_apub_receive` from `lemmy_api` and `lemmy_apub`, respectively, and renamed `lemmy_structs` to `lemmy_api_common`. In the second graph you can see how parts of the api and apub crates are now built nicely in parallel, speeding up builds on multi-core systems.
350
351 On the other hand, some crates have gotten much slower to compile, in particular `lemmy_db_queries` (6.5s slower), `lemmy_apub` (6.5s slower if we include `lemmy_apub_receive`). And `lemmy_db_views` is quite slow, just as before.
352
353 # Lemmy v0.9.9 Release (2021-02-19)
354
355 ## Changes
356
357 ### Lemmy backend
358 - Added an federated activity query sorting order.
359 - Explicitly marking posts and comments as public.
360 - Added a `NewComment` / forum sort for posts.
361 - Fixed an issue with not setting correct published time for fetched posts.
362 - Fixed an issue with an open docker port on lemmy-ui.
363 - Using lemmy post link for RSS link.
364 - Fixed reason and display name lengths to use char counts instead.
365
366 ### Lemmy-ui
367
368 - Updated translations.
369 - Made websocket host configurable.
370 - Added some accessibility features.
371 - Always showing password reset link.
372
373 # Lemmy v0.9.7 Release (2021-02-08)
374
375 ## Changes
376
377 - Posts and comments are no longer live-sorted (meaning most content should stay in place).
378 - Fixed an issue with the create post title field not expanding when copied from iframely suggestion.
379 - Fixed broken federated community paging / sorting.
380 - Added aria attributes for accessibility, thx to @Mitch Lillie.
381 - Updated translations and added croatian.
382 - No changes to lemmy back-end.
383
384 # Lemmy v0.9.6 Release (2021-02-05)
385
386 ## Changes
387
388 - Fixed inbox_urls not being correctly set, which broke federation in `v0.9.5`. Added some logging to catch these.
389 - Fixing community search not using auth.
390 - Moved docs to https://join-lemmy.org
391 - Fixed an issue w/ lemmy-ui with forms being cleared out.
392
393 # Lemmy v0.9.4 Pre-Release (2021-02-02)
394
395 ## Changes
396
397 ### Lemmy
398
399 - Fixed a critical bug with votes and comment unlike responses not being `0` for your user.
400 - Fixed a critical bug with comment creation not checking if its parent comment is in the post.
401 - Serving proper activities for community outbox.
402 - Added some active user counts, including `users_active_day`, `users_active_week`, `users_active_month`, `users_active_half_year` to `SiteAggregates` and `CommunityAggregates`. (Also added to lemmy-ui)
403 - Made sure banned users can't follow.
404 - Added `FederatedInstances` to `SiteResponse`, to show allowed and blocked instances. (Also added to lemmy-ui)
405 - Added a `MostComments` sort for posts. (Also added to lemmy-ui)
406
407 ### Lemmy-UI
408
409 - Added a scroll position restore to lemmy-ui.
410 - Reworked the combined inbox so incoming comments don't wipe out your current form.
411 - Fixed an updated bug on the user page.
412 - Fixed cross-post titles and body getting clipped.
413 - Fixing the post creation title height.
414 - Squashed some other smaller bugs.
415
416 # Lemmy v0.9.0 Release (2021-01-25)
417
418 ## Changes
419
420 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.
421
422 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).
423
424 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.
425
426 ## LemmyNet projects
427
428 ### Lemmy Server
429
430 - [Moved views from SQL to Diesel](https://github.com/LemmyNet/lemmy/issues/1275). This was a spinal replacement for much of lemmy.
431   - Removed all the old fast_tables and triggers, and created new aggregates tables.
432 - Added a `v2` of the API to support the hierarchical objects created from the above changes.
433 - 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)
434 - Split out documentation into git submodule.
435 - Shortened slur filter to avoid false positives.
436 - Added query performance testing and comparisons. Added indexes to make sure every query is `< 30 ms`.
437 - Added compilation time testing.
438
439 ### Federation
440
441 This release includes some bug fixes for federation, and some changes to get us closer to compliance with the ActivityPub standard.
442
443 - [Community bans now federating](https://github.com/LemmyNet/lemmy/issues/1287).
444 - [Local posts sometimes got marked as remote](https://github.com/LemmyNet/lemmy/issues/1302).
445 - [Creator of post/comment was not notified about new child comments](https://github.com/LemmyNet/lemmy/issues/1325).
446 - [Community deletion now federated](https://github.com/LemmyNet/lemmy/issues/1256).
447
448 None of these are breaking changes, so federation between 0.9.0 and 0.8.11 will work without problems.
449
450 ### Lemmy javascript / typescript client
451
452 - 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.
453 - Drone now handles publishing its [npm packages.](https://www.npmjs.com/package/lemmy-js-client)
454
455 ### Lemmy-UI
456
457 - Updated it to use the `v2` API via `lemmy-js-client`, required changing nearly every component.
458 - Added a live comment count.
459 - Added drone deploying, and builds for ARM.
460 - Fixed community link wrapping.
461 - Various other bug fixes.
462
463
464 ### Lemmy Docs
465
466 - We moved documentation into a separate git repository, and support translation for the docs now!
467 - Moved our code of conduct into the documentation.
468
469 ## Upgrading
470
471 If you'd like to make a DB backup before upgrading, follow [this guide](https://join-lemmy.org/docs/en/administration/backup_and_restore.html).
472
473 - [Upgrade with manual Docker installation](https://join-lemmy.org/docs/en/administration/install_docker.html#updating)
474 - [Upgrade with Ansible installation](https://join-lemmy.org/docs/en/administration/install_ansible.html)
475
476 # Lemmy v0.8.0 Release (2020-10-16)
477
478 ## Changes
479
480 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: 
481
482 Here are some of the bigger changes:
483
484 ### LemmyNet projects
485
486 - Created [LemmyNet](https://github.com/LemmyNet), where all lemmy-related projects live.
487 - Split out the frontend into a separete repository, [lemmy-ui](https://github.com/LemmyNet/lemmy-ui)
488 - Created a [lemmy-js-client](https://github.com/LemmyNet/lemmy-js-client), for any js / typescript developers.
489 - 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/)
490
491 ### Lemmy Server
492
493 #### Federation
494
495 - The first **federation public beta release**, woohoo :fireworks: 
496 - All Lemmy functionality now works over ActivityPub (except turning remote users into mods/admins)
497 - Instance allowlist and blocklist
498 - Documentation for [admins](https://join-lemmy.org/docs/administration_federation.html) and [devs](https://join-lemmy.org/docs/contributing_federation_overview.html) on how federation works
499 - Upgraded to newest versions of @asonix activitypub libraries
500 - Full local federation setup for manual testing
501 - Automated testing for nearly every federation action
502 - Many additional security checks
503 - Lots and lots of refactoring
504 - Asynchronous sending of outgoing activities
505
506 ### User Interface
507
508 - Separated the UI from the server code, in [lemmy-ui](https://github.com/LemmyNet/lemmy-ui).
509 - The UI can now read with javascript disabled! 
510 - 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.
511 - 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)
512 - Improved the search page ( more features incoming ).
513 - The default view is now `Local`, instead of `All`, since all would show all federated posts.
514 - User settings are now shared across browsers ( a page refresh will pick up changes ).
515 - A much leaner mobile view.
516
517 #### Backend
518
519 - Re-organized the rust codebase into separate workspaces for backend and frontend.
520 - Removed materialized views, making the database **a lot faster**.
521 - New post sorts `Active` (previously called hot), and `Hot`. Active shows posts with recent comments, hot shows highly ranked posts.
522 - New sort for `Local` ( meaning from local communities).
523 - Customizeable site, user, and community icons and banners.
524 - Added user preferred names / display names, bios, and cakedays.
525 - Visual / Audio captchas through the lemmy API.
526 - Lots of API field verifications.
527 - Upgraded to pictrs-v2 ( thanks to @asonix )
528 - Wayyy too many bugfixes to count.
529
530 ## Contributors
531
532 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. 
533
534 ## Upgrading
535
536 - [with manual Docker installation](https://join-lemmy.org/docs/administration_install_docker.html#updating)
537 - [with Ansible installation](https://join-lemmy.org/docs/administration_install_ansible.html)
538
539 ## Testing Federation
540
541 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/) ).
542
543 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.
544
545 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.
546
547 ### Connecting to another server
548
549 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.
550
551 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).
552
553 To connect with the `main` community on ds9, the search is `!main@ds9.lemmy.ml`.
554
555 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`
556
557 # Lemmy v0.7.40 Pre-Release (2020-08-05)
558
559 We've [added a lot](https://github.com/LemmyNet/lemmy/compare/v0.7.40...v0.7.0) in this pre-release:
560
561 - New post sorts `Active` (previously called hot), and `Hot`. Active shows posts with recent comments, hot shows highly ranked posts.
562 - Customizeable site icon and banner, user icon and banner, and community icon and banner.
563 - Added user preferred names / display names, bios, and cakedays.
564 - User settings are now shared across browsers (a page refresh will pick up changes).
565 - Visual / Audio captchas through the lemmy API.
566 - Lots of UI prettiness.
567 - Lots of bug fixes.
568 - Lots of additional translations.
569 - Lots of federation prepping / additions / refactors.
570
571 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.
572
573 ## Upgrading
574
575 **With Ansible:**
576
577 ```
578 # run these commands locally
579 git pull
580 cd ansible
581 ansible-playbook lemmy.yml
582 ```
583
584 **With manual Docker installation:**
585 ```
586 # run these commands on your server
587 cd /lemmy
588 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/ansible/templates/nginx.conf
589 # Replace the {{ vars }}
590 sudo mv nginx.conf /etc/nginx/sites-enabled/lemmy.conf
591 sudo nginx -s reload
592 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/docker-compose.yml
593 sudo docker-compose up -d
594 ```
595
596
597 # Lemmy v0.7.0 Release (2020-06-23)
598
599 This release replaces [pictshare](https://github.com/HaschekSolutions/pictshare)
600 with [pict-rs](https://git.asonix.dog/asonix/pict-rs), which improves performance
601 and security.
602
603 Overall, since our last major release in January (v0.6.0), we have closed over
604 [100 issues!](https://github.com/LemmyNet/lemmy/milestone/16?closed=1)
605
606 - Site-wide list of recent comments
607 - Reconnecting websockets
608 - Many more themes, including a default light one.
609 - Expandable embeds for post links (and thumbnails), from
610 [iframely](https://github.com/itteco/iframely)
611 - Better icons
612 - Emoji autocomplete to post and message bodies, and an Emoji Picker
613 - Post body now searchable
614 - Community title and description is now searchable
615 - Simplified cross-posts
616 - Better documentation
617 - LOTS more languages
618 - Lots of bugs squashed
619 - And more ...
620
621 ## Upgrading
622
623 Before starting the upgrade, make sure that you have a working backup of your
624 database and image files. See our
625 [documentation](https://join-lemmy.org/docs/administration_backup_and_restore.html)
626 for backup instructions.
627
628 **With Ansible:**
629
630 ```
631 # deploy with ansible from your local lemmy git repo
632 git pull
633 cd ansible
634 ansible-playbook lemmy.yml
635 # connect via ssh to run the migration script
636 ssh your-server
637 cd /lemmy/
638 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/migrate-pictshare-to-pictrs.bash
639 chmod +x migrate-pictshare-to-pictrs.bash
640 sudo ./migrate-pictshare-to-pictrs.bash
641 ```
642
643 **With manual Docker installation:**
644 ```
645 # run these commands on your server
646 cd /lemmy
647 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/ansible/templates/nginx.conf
648 # Replace the {{ vars }}
649 sudo mv nginx.conf /etc/nginx/sites-enabled/lemmy.conf
650 sudo nginx -s reload
651 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/docker-compose.yml
652 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/migrate-pictshare-to-pictrs.bash
653 chmod +x migrate-pictshare-to-pictrs.bash
654 sudo bash migrate-pictshare-to-pictrs.bash
655 ```
656
657 **Note:** After upgrading, all users need to reload the page, then logout and
658 login again, so that images are loaded correctly.
659
660 # Lemmy v0.6.0 Release (2020-01-16)
661
662 `v0.6.0` is here, and we've closed [41 issues!](https://github.com/LemmyNet/lemmy/milestone/15?closed=1) 
663
664 This is the biggest release by far:
665
666 - Avatars!
667 - Optional Email notifications for username mentions, post and comment replies.
668 - Ability to change your password and email address.
669 - Can set a custom language.
670 - Lemmy-wide settings to disable downvotes, and close registration.
671 - A better documentation system, hosted in lemmy itself.
672 - [Huge DB performance gains](https://github.com/LemmyNet/lemmy/issues/411) (everthing down to < `30ms`) by using materialized views. 
673 - Fixed major issue with similar post URL and title searching.
674 - Upgraded to Actix `2.0`
675 - Faster comment / post voting.
676 - Better small screen support.
677 - Lots of bug fixes, refactoring of back end code.
678
679 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.
680
681 https://lemmy.ml