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