]> Untitled Git - lemmy.git/blob - RELEASES.md
Adding 0.9.8 release notes.
[lemmy.git] / RELEASES.md
1 # Lemmy v0.9.8 Release (2021-02-19)
2
3 ## Changes
4
5 ### Lemmy backend
6 - Added an federated activity query sorting order.
7 - Explicitly marking posts and comments as public.
8 - Added a `NewComment` / forum sort for posts.
9 - Fixed an issue with not setting correct published time for fetched posts.
10 - Fixed an issue with an open docker port on lemmy-ui.
11 - Using lemmy post link for RSS link.
12 - Fixed reason and display name lengths to use char counts instead.
13
14 ### Lemmy-ui
15
16 - Updated translations.
17 - Made websocket host configurable.
18 - Added some accessibility features.
19 - Always showing password reset link.
20
21 # Lemmy v0.9.7 Release (2021-02-08)
22
23 ## Changes
24
25 - Posts and comments are no longer live-sorted (meaning most content should stay in place).
26 - Fixed an issue with the create post title field not expanding when copied from iframely suggestion.
27 - Fixed broken federated community paging / sorting.
28 - Added aria attributes for accessibility, thx to @Mitch Lillie.
29 - Updated translations and added croatian.
30 - No changes to lemmy back-end.
31
32 # Lemmy v0.9.6 Release (2021-02-05)
33
34 ## Changes
35
36 - Fixed inbox_urls not being correctly set, which broke federation in `v0.9.5`. Added some logging to catch these.
37 - Fixing community search not using auth.
38 - Moved docs to https://join.lemmy.ml
39 - Fixed an issue w/ lemmy-ui with forms being cleared out.
40
41 # Lemmy v0.9.4 Pre-Release (2021-02-02)
42
43 ## Changes
44
45 ### Lemmy
46
47 - Fixed a critical bug with votes and comment unlike responses not being `0` for your user.
48 - Fixed a critical bug with comment creation not checking if its parent comment is in the post.
49 - Serving proper activities for community outbox.
50 - 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)
51 - Made sure banned users can't follow.
52 - Added `FederatedInstances` to `SiteResponse`, to show allowed and blocked instances. (Also added to lemmy-ui)
53 - Added a `MostComments` sort for posts. (Also added to lemmy-ui)
54
55 ### Lemmy-UI
56
57 - Added a scroll position restore to lemmy-ui.
58 - Reworked the combined inbox so incoming comments don't wipe out your current form.
59 - Fixed an updated bug on the user page.
60 - Fixed cross-post titles and body getting clipped.
61 - Fixing the post creation title height.
62 - Squashed some other smaller bugs.
63
64 # Lemmy v0.9.0 Release (2021-01-25)
65
66 ## Changes
67
68 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.
69
70 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).
71
72 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.
73
74 ## LemmyNet projects
75
76 ### Lemmy Server
77
78 - [Moved views from SQL to Diesel](https://github.com/LemmyNet/lemmy/issues/1275). This was a spinal replacement for much of lemmy.
79   - Removed all the old fast_tables and triggers, and created new aggregates tables.
80 - Added a `v2` of the API to support the hierarchical objects created from the above changes.
81 - 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)
82 - Split out documentation into git submodule.
83 - Shortened slur filter to avoid false positives.
84 - Added query performance testing and comparisons. Added indexes to make sure every query is `< 30 ms`.
85 - Added compilation time testing.
86
87 ### Federation
88
89 This release includes some bug fixes for federation, and some changes to get us closer to compliance with the ActivityPub standard.
90
91 - [Community bans now federating](https://github.com/LemmyNet/lemmy/issues/1287).
92 - [Local posts sometimes got marked as remote](https://github.com/LemmyNet/lemmy/issues/1302).
93 - [Creator of post/comment was not notified about new child comments](https://github.com/LemmyNet/lemmy/issues/1325).
94 - [Community deletion now federated](https://github.com/LemmyNet/lemmy/issues/1256).
95
96 None of these are breaking changes, so federation between 0.9.0 and 0.8.11 will work without problems.
97
98 ### Lemmy javascript / typescript client
99
100 - 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.
101 - Drone now handles publishing its [npm packages.](https://www.npmjs.com/package/lemmy-js-client)
102
103 ### Lemmy-UI
104
105 - Updated it to use the `v2` API via `lemmy-js-client`, required changing nearly every component.
106 - Added a live comment count.
107 - Added drone deploying, and builds for ARM.
108 - Fixed community link wrapping.
109 - Various other bug fixes.
110
111
112 ### Lemmy Docs
113
114 - We moved documentation into a separate git repository, and support translation for the docs now!
115 - Moved our code of conduct into the documentation.
116
117 ## Upgrading
118
119 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).
120
121 - [Upgrade with manual Docker installation](https://join.lemmy.ml/docs/en/administration/install_docker.html#updating)
122 - [Upgrade with Ansible installation](https://join.lemmy.ml/docs/en/administration/install_ansible.html)
123
124 # Lemmy v0.8.0 Release (2020-10-16)
125
126 ## Changes
127
128 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: 
129
130 Here are some of the bigger changes:
131
132 ### LemmyNet projects
133
134 - Created [LemmyNet](https://github.com/LemmyNet), where all lemmy-related projects live.
135 - Split out the frontend into a separete repository, [lemmy-ui](https://github.com/LemmyNet/lemmy-ui)
136 - Created a [lemmy-js-client](https://github.com/LemmyNet/lemmy-js-client), for any js / typescript developers.
137 - 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/)
138
139 ### Lemmy Server
140
141 #### Federation
142
143 - The first **federation public beta release**, woohoo :fireworks: 
144 - All Lemmy functionality now works over ActivityPub (except turning remote users into mods/admins)
145 - Instance allowlist and blocklist
146 - Documentation for [admins](https://join.lemmy.ml/docs/administration_federation.html) and [devs](https://join.lemmy.ml/docs/contributing_federation_overview.html) on how federation works
147 - Upgraded to newest versions of @asonix activitypub libraries
148 - Full local federation setup for manual testing
149 - Automated testing for nearly every federation action
150 - Many additional security checks
151 - Lots and lots of refactoring
152 - Asynchronous sending of outgoing activities
153
154 ### User Interface
155
156 - Separated the UI from the server code, in [lemmy-ui](https://github.com/LemmyNet/lemmy-ui).
157 - The UI can now read with javascript disabled! 
158 - 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.
159 - 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)
160 - Improved the search page ( more features incoming ).
161 - The default view is now `Local`, instead of `All`, since all would show all federated posts.
162 - User settings are now shared across browsers ( a page refresh will pick up changes ).
163 - A much leaner mobile view.
164
165 #### Backend
166
167 - Re-organized the rust codebase into separate workspaces for backend and frontend.
168 - Removed materialized views, making the database **a lot faster**.
169 - New post sorts `Active` (previously called hot), and `Hot`. Active shows posts with recent comments, hot shows highly ranked posts.
170 - New sort for `Local` ( meaning from local communities).
171 - Customizeable site, user, and community icons and banners.
172 - Added user preferred names / display names, bios, and cakedays.
173 - Visual / Audio captchas through the lemmy API.
174 - Lots of API field verifications.
175 - Upgraded to pictrs-v2 ( thanks to @asonix )
176 - Wayyy too many bugfixes to count.
177
178 ## Contributors
179
180 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. 
181
182 ## Upgrading
183
184 - [with manual Docker installation](https://join.lemmy.ml/docs/administration_install_docker.html#updating)
185 - [with Ansible installation](https://join.lemmy.ml/docs/administration_install_ansible.html)
186
187 ## Testing Federation
188
189 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/) ).
190
191 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.
192
193 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.
194
195 ### Connecting to another server
196
197 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.
198
199 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).
200
201 To connect with the `main` community on ds9, the search is `!main@ds9.lemmy.ml`.
202
203 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`
204
205 # Lemmy v0.7.40 Pre-Release (2020-08-05)
206
207 We've [added a lot](https://github.com/LemmyNet/lemmy/compare/v0.7.40...v0.7.0) in this pre-release:
208
209 - New post sorts `Active` (previously called hot), and `Hot`. Active shows posts with recent comments, hot shows highly ranked posts.
210 - Customizeable site icon and banner, user icon and banner, and community icon and banner.
211 - Added user preferred names / display names, bios, and cakedays.
212 - User settings are now shared across browsers (a page refresh will pick up changes).
213 - Visual / Audio captchas through the lemmy API.
214 - Lots of UI prettiness.
215 - Lots of bug fixes.
216 - Lots of additional translations.
217 - Lots of federation prepping / additions / refactors.
218
219 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.
220
221 ## Upgrading
222
223 **With Ansible:**
224
225 ```
226 # run these commands locally
227 git pull
228 cd ansible
229 ansible-playbook lemmy.yml
230 ```
231
232 **With manual Docker installation:**
233 ```
234 # run these commands on your server
235 cd /lemmy
236 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/ansible/templates/nginx.conf
237 # Replace the {{ vars }}
238 sudo mv nginx.conf /etc/nginx/sites-enabled/lemmy.conf
239 sudo nginx -s reload
240 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/docker-compose.yml
241 sudo docker-compose up -d
242 ```
243
244
245 # Lemmy v0.7.0 Release (2020-06-23)
246
247 This release replaces [pictshare](https://github.com/HaschekSolutions/pictshare)
248 with [pict-rs](https://git.asonix.dog/asonix/pict-rs), which improves performance
249 and security.
250
251 Overall, since our last major release in January (v0.6.0), we have closed over
252 [100 issues!](https://github.com/LemmyNet/lemmy/milestone/16?closed=1)
253
254 - Site-wide list of recent comments
255 - Reconnecting websockets
256 - Many more themes, including a default light one.
257 - Expandable embeds for post links (and thumbnails), from
258 [iframely](https://github.com/itteco/iframely)
259 - Better icons
260 - Emoji autocomplete to post and message bodies, and an Emoji Picker
261 - Post body now searchable
262 - Community title and description is now searchable
263 - Simplified cross-posts
264 - Better documentation
265 - LOTS more languages
266 - Lots of bugs squashed
267 - And more ...
268
269 ## Upgrading
270
271 Before starting the upgrade, make sure that you have a working backup of your
272 database and image files. See our
273 [documentation](https://join.lemmy.ml/docs/administration_backup_and_restore.html)
274 for backup instructions.
275
276 **With Ansible:**
277
278 ```
279 # deploy with ansible from your local lemmy git repo
280 git pull
281 cd ansible
282 ansible-playbook lemmy.yml
283 # connect via ssh to run the migration script
284 ssh your-server
285 cd /lemmy/
286 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/migrate-pictshare-to-pictrs.bash
287 chmod +x migrate-pictshare-to-pictrs.bash
288 sudo ./migrate-pictshare-to-pictrs.bash
289 ```
290
291 **With manual Docker installation:**
292 ```
293 # run these commands on your server
294 cd /lemmy
295 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/ansible/templates/nginx.conf
296 # Replace the {{ vars }}
297 sudo mv nginx.conf /etc/nginx/sites-enabled/lemmy.conf
298 sudo nginx -s reload
299 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/docker-compose.yml
300 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/migrate-pictshare-to-pictrs.bash
301 chmod +x migrate-pictshare-to-pictrs.bash
302 sudo bash migrate-pictshare-to-pictrs.bash
303 ```
304
305 **Note:** After upgrading, all users need to reload the page, then logout and
306 login again, so that images are loaded correctly.
307
308 # Lemmy v0.6.0 Release (2020-01-16)
309
310 `v0.6.0` is here, and we've closed [41 issues!](https://github.com/LemmyNet/lemmy/milestone/15?closed=1) 
311
312 This is the biggest release by far:
313
314 - Avatars!
315 - Optional Email notifications for username mentions, post and comment replies.
316 - Ability to change your password and email address.
317 - Can set a custom language.
318 - Lemmy-wide settings to disable downvotes, and close registration.
319 - A better documentation system, hosted in lemmy itself.
320 - [Huge DB performance gains](https://github.com/LemmyNet/lemmy/issues/411) (everthing down to < `30ms`) by using materialized views. 
321 - Fixed major issue with similar post URL and title searching.
322 - Upgraded to Actix `2.0`
323 - Faster comment / post voting.
324 - Better small screen support.
325 - Lots of bug fixes, refactoring of back end code.
326
327 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.
328
329 https://lemmy.ml