]> Untitled Git - lemmy.git/blob - RELEASES.md
Merge pull request #1209 from LemmyNet/fix-actor-name-confusion
[lemmy.git] / RELEASES.md
1 # Lemmy v0.8.0 Release (2020-10-16)
2
3 ## Changes
4
5 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: 
6
7 Here are some of the bigger changes:
8
9 ### LemmyNet projects
10
11 - Created [LemmyNet](https://github.com/LemmyNet), where all lemmy-related projects live.
12 - Split out the frontend into a separete repository, [lemmy-ui](https://github.com/LemmyNet/lemmy-ui)
13 - Created a [lemmy-js-client](https://github.com/LemmyNet/lemmy-js-client), for any js / typescript developers.
14 - 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.dev/projects/lemmy/lemmy/)
15
16 ### Lemmy Server
17
18 #### Federation
19
20 - The first **federation public beta release**, woohoo :fireworks: 
21 - All Lemmy functionality now works over ActivityPub (except turning remote users into mods/admins)
22 - Instance allowlist and blocklist
23 - Documentation for [admins](https://dev.lemmy.ml/docs/administration_federation.html) and [devs](https://dev.lemmy.ml/docs/contributing_federation_overview.html) on how federation works
24 - Upgraded to newest versions of @asonix activitypub libraries
25 - Full local federation setup for manual testing
26 - Automated testing for nearly every federation action
27 - Many additional security checks
28 - Lots and lots of refactoring
29 - Asynchronous sending of outgoing activities
30
31 ### User Interface
32
33 - Separated the UI from the server code, in [lemmy-ui](https://github.com/LemmyNet/lemmy-ui).
34 - The UI can now read with javascript disabled! 
35 - 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.
36 - 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)
37 - Improved the search page ( more features incoming ).
38 - The default view is now `Local`, instead of `All`, since all would show all federated posts.
39 - User settings are now shared across browsers ( a page refresh will pick up changes ).
40 - A much leaner mobile view.
41
42 #### Backend
43
44 - Re-organized the rust codebase into separate workspaces for backend and frontend.
45 - Removed materialized views, making the database **a lot faster**.
46 - New post sorts `Active` (previously called hot), and `Hot`. Active shows posts with recent comments, hot shows highly ranked posts.
47 - New sort for `Local` ( meaning from local communities).
48 - Customizeable site, user, and community icons and banners.
49 - Added user preferred names / display names, bios, and cakedays.
50 - Visual / Audio captchas through the lemmy API.
51 - Lots of API field verifications.
52 - Upgraded to pictrs-v2 ( thanks to @asonix )
53 - Wayyy too many bugfixes to count.
54
55 ## Contributors
56
57 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://dev.lemmy.ml/sponsors), and those who [help translate Lemmy](https://weblate.yerbamate.dev/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. 
58
59 ## Upgrading
60
61 - [with manual Docker installation](https://dev.lemmy.ml/docs/administration_install_docker.html#updating)
62 - [with Ansible installation](https://dev.lemmy.ml/docs/administration_install_ansible.html)
63
64 ## Testing Federation
65
66 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/) ).
67
68 If everything goes well, after a few weeks we will enable federation on dev.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.
69
70 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.
71
72 ### Connecting to another server
73
74 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.
75
76 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).
77
78 To connect with the `main` community on ds9, the search is `!main@ds9.lemmy.ml`.
79
80 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`
81
82 # Lemmy v0.7.40 Pre-Release (2020-08-05)
83
84 We've [added a lot](https://github.com/LemmyNet/lemmy/compare/v0.7.40...v0.7.0) in this pre-release:
85
86 - New post sorts `Active` (previously called hot), and `Hot`. Active shows posts with recent comments, hot shows highly ranked posts.
87 - Customizeable site icon and banner, user icon and banner, and community icon and banner.
88 - Added user preferred names / display names, bios, and cakedays.
89 - User settings are now shared across browsers (a page refresh will pick up changes).
90 - Visual / Audio captchas through the lemmy API.
91 - Lots of UI prettiness.
92 - Lots of bug fixes.
93 - Lots of additional translations.
94 - Lots of federation prepping / additions / refactors.
95
96 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.
97
98 ## Upgrading
99
100 **With Ansible:**
101
102 ```
103 # run these commands locally
104 git pull
105 cd ansible
106 ansible-playbook lemmy.yml
107 ```
108
109 **With manual Docker installation:**
110 ```
111 # run these commands on your server
112 cd /lemmy
113 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/ansible/templates/nginx.conf
114 # Replace the {{ vars }}
115 sudo mv nginx.conf /etc/nginx/sites-enabled/lemmy.conf
116 sudo nginx -s reload
117 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/docker-compose.yml
118 sudo docker-compose up -d
119 ```
120
121
122 # Lemmy v0.7.0 Release (2020-06-23)
123
124 This release replaces [pictshare](https://github.com/HaschekSolutions/pictshare)
125 with [pict-rs](https://git.asonix.dog/asonix/pict-rs), which improves performance
126 and security.
127
128 Overall, since our last major release in January (v0.6.0), we have closed over
129 [100 issues!](https://github.com/LemmyNet/lemmy/milestone/16?closed=1)
130
131 - Site-wide list of recent comments
132 - Reconnecting websockets
133 - Many more themes, including a default light one.
134 - Expandable embeds for post links (and thumbnails), from
135 [iframely](https://github.com/itteco/iframely)
136 - Better icons
137 - Emoji autocomplete to post and message bodies, and an Emoji Picker
138 - Post body now searchable
139 - Community title and description is now searchable
140 - Simplified cross-posts
141 - Better documentation
142 - LOTS more languages
143 - Lots of bugs squashed
144 - And more ...
145
146 ## Upgrading
147
148 Before starting the upgrade, make sure that you have a working backup of your
149 database and image files. See our
150 [documentation](https://dev.lemmy.ml/docs/administration_backup_and_restore.html)
151 for backup instructions.
152
153 **With Ansible:**
154
155 ```
156 # deploy with ansible from your local lemmy git repo
157 git pull
158 cd ansible
159 ansible-playbook lemmy.yml
160 # connect via ssh to run the migration script
161 ssh your-server
162 cd /lemmy/
163 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/migrate-pictshare-to-pictrs.bash
164 chmod +x migrate-pictshare-to-pictrs.bash
165 sudo ./migrate-pictshare-to-pictrs.bash
166 ```
167
168 **With manual Docker installation:**
169 ```
170 # run these commands on your server
171 cd /lemmy
172 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/ansible/templates/nginx.conf
173 # Replace the {{ vars }}
174 sudo mv nginx.conf /etc/nginx/sites-enabled/lemmy.conf
175 sudo nginx -s reload
176 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/docker-compose.yml
177 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/migrate-pictshare-to-pictrs.bash
178 chmod +x migrate-pictshare-to-pictrs.bash
179 sudo bash migrate-pictshare-to-pictrs.bash
180 ```
181
182 **Note:** After upgrading, all users need to reload the page, then logout and
183 login again, so that images are loaded correctly.
184
185 # Lemmy v0.6.0 Release (2020-01-16)
186
187 `v0.6.0` is here, and we've closed [41 issues!](https://github.com/LemmyNet/lemmy/milestone/15?closed=1) 
188
189 This is the biggest release by far:
190
191 - Avatars!
192 - Optional Email notifications for username mentions, post and comment replies.
193 - Ability to change your password and email address.
194 - Can set a custom language.
195 - Lemmy-wide settings to disable downvotes, and close registration.
196 - A better documentation system, hosted in lemmy itself.
197 - [Huge DB performance gains](https://github.com/LemmyNet/lemmy/issues/411) (everthing down to < `30ms`) by using materialized views. 
198 - Fixed major issue with similar post URL and title searching.
199 - Upgraded to Actix `2.0`
200 - Faster comment / post voting.
201 - Better small screen support.
202 - Lots of bug fixes, refactoring of back end code.
203
204 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.
205
206 https://dev.lemmy.ml