]> Untitled Git - lemmy.git/blob - RELEASES.md
Updating readme.
[lemmy.git] / RELEASES.md
1 # Lemmy v0.15.1 Release (2022-01-12)
2
3 Lemmy now has private instances, optional registration applications, optional email verification, and temporary bans! These are described in detail below.
4
5 Special thanks to @asonix for adding [tokio-console](https://github.com/LemmyNet/Lemmy/issues/2003) and [Jaeger + opentelemetry](https://github.com/LemmyNet/Lemmy/issues/1992) to our dev setups, so we can better identify performance bottlenecks.
6
7
8 ## What is Lemmy?
9
10 [Lemmy](https://join-lemmy.org/) is similar to sites like Reddit, Lobste.rs, or Hacker News: you subscribe to communities you're interested in, post links and discussions, then vote and comment on them. Lemmy isn't just a reddit alternative; its a network of interconnected communities ran by different people and organizations, all combining to create a single, personalized front page of your favorite news, articles, and memes.
11
12 ## Major Changes
13
14 ### Required email verification
15
16 Admins can turn this on, and new users will need to verify their emails. Current users will not have to do this.
17
18 ### Registration applications
19
20 Admins can now optionally make new users fill out an application to join your server. There is a new panel in their top bar where they can approve or deny pending applications.
21
22 This works in conjunction with the *require_email* field. If that is also turned on, the application will only be shown after their email has been verified. The user will receive an email when they have been accepted.
23
24 ### Closed / Private instances
25
26 The instance settings now includes a *private instance* option, which if turned on, will only let logged in users view your site. Private instances was one of our first issues, and it was a large effort, so its great to finally have this completed.
27
28 ### Temporary Bans
29
30 When banning users from your site or community, moderators can now optionally give a number of days for the ban to last.
31
32 ### Allow comment replies from blocked users
33
34 It used to be that if a user blocked you, you couldn't respond to their public posts and comments. This is now fixed. They won't see your content, but others can.
35
36 ## Upgrade notes
37
38 Follow the [Docker or Ansible upgrade instructions here.](https://join-lemmy.org/docs/en/administration/administration.html)
39
40 ## Support development
41
42 If you'd like to support development, and make sure that we will always be available to work full time on Lemmy, consider [donating to support its development](https://join-lemmy.org/donate). We've spent hundreds of hours on Lemmy, and would like to be able to add more developers to our little open-source co-op as time goes on.
43
44 ## Changes
45
46 ### API
47
48 We've removed a list of banned users from `GetSite`, added a few endpoints related to registration applications, made a few changes allowing temporary bans, site settings, made a few changes to the login response. These are non-destructive and current clients should work with this release. 
49
50 - A full list of the API changes can be seen on this diff of [lemmy-js-client: 0.14.0 -> 0.15.0](https://github.com/LemmyNet/lemmy-js-client/compare/0.14.0-rc.1...0.15.0-rc.34) .
51
52 ### Config
53
54 There is a new rate limit for creating new comments in the [config.hjson](https://github.com/LemmyNet/lemmy/blob/main/config/defaults.hjson#L36).
55
56 ### Lemmy Server
57
58 - Adding temporary bans. Fixes [#1423](https://github.com/LemmyNet/Lemmy/issues/1423) ([#1999](https://github.com/LemmyNet/Lemmy/issues/1999))
59 - Add console-subscriber ([#2003](https://github.com/LemmyNet/Lemmy/issues/2003))
60 - Opentelemetry ([#1992](https://github.com/LemmyNet/Lemmy/issues/1992))
61 - Use correct encoding when fetching non-UTF-8 site metadata ([#2015](https://github.com/LemmyNet/Lemmy/issues/2015))
62 - Adding a banned endpoint for admins. Removing it from GetSite. Fixes [#1806](https://github.com/LemmyNet/Lemmy/issues/1806)
63 - Prevent panic on InboxRequestGuard
64 - Case-insensitive webfinger response. Fixes [#1955](https://github.com/LemmyNet/Lemmy/issues/1955) & [#1986](https://github.com/LemmyNet/Lemmy/issues/1986) ([#2005](https://github.com/LemmyNet/Lemmy/issues/2005))
65 - First pass at invite-only migration. ([#1949](https://github.com/LemmyNet/Lemmy/issues/1949))
66 - Upgrading pictrs. ([#1996](https://github.com/LemmyNet/Lemmy/issues/1996))
67 - Trying out an upgraded version of html5ever. [#1964](https://github.com/LemmyNet/Lemmy/issues/1964) ([#1991](https://github.com/LemmyNet/Lemmy/issues/1991))
68 - Adding min setup password length to the docs. Fixes [#1989](https://github.com/LemmyNet/Lemmy/issues/1989) ([#1990](https://github.com/LemmyNet/Lemmy/issues/1990))
69 - Test pleroma follow ([#1988](https://github.com/LemmyNet/Lemmy/issues/1988))
70 - Remove awc ([#1979](https://github.com/LemmyNet/Lemmy/issues/1979))
71 - Consolidate reqwest clients, use reqwest-middleware for tracing
72 - Don't drop error context when adding a message to errors ([#1958](https://github.com/LemmyNet/Lemmy/issues/1958))
73 - Change lemmur repo links ([#1977](https://github.com/LemmyNet/Lemmy/issues/1977))
74 - added deps - git and ca-certificates (for federation to work) and changed adduser to useradd so that user can be added non-interactively ([#1976](https://github.com/LemmyNet/Lemmy/issues/1976))
75 - Allow comment replies from blocked users. Fixes [#1793](https://github.com/LemmyNet/Lemmy/issues/1793) ([#1969](https://github.com/LemmyNet/Lemmy/issues/1969))
76 - Fix retry infinite loops. Fixes [#1964](https://github.com/LemmyNet/Lemmy/issues/1964) ([#1967](https://github.com/LemmyNet/Lemmy/issues/1967))
77 - Add lotide activities to tests
78 - Allow single item for to, cc, and @context
79 - Adding a captcha rate limit. Fixes [#1755](https://github.com/LemmyNet/Lemmy/issues/1755) ([#1941](https://github.com/LemmyNet/Lemmy/issues/1941))
80 - Dont send email notifications for edited comments (fixes [#1925](https://github.com/LemmyNet/Lemmy/issues/1925))
81 - Fix API dupes query. [#1878](https://github.com/LemmyNet/Lemmy/issues/1878)
82 - Fixing duped report view for admins. Fixes [#1933](https://github.com/LemmyNet/Lemmy/issues/1933) ([#1945](https://github.com/LemmyNet/Lemmy/issues/1945))
83 - Adding a GetComment endpoint. Fixes [#1919](https://github.com/LemmyNet/Lemmy/issues/1919) ([#1944](https://github.com/LemmyNet/Lemmy/issues/1944))
84 - Fix min title char count for post titles. Fixes [#1854](https://github.com/LemmyNet/Lemmy/issues/1854) ([#1940](https://github.com/LemmyNet/Lemmy/issues/1940))
85 - Adding MarkPostAsRead to API. Fixes [#1784](https://github.com/LemmyNet/Lemmy/issues/1784) ([#1946](https://github.com/LemmyNet/Lemmy/issues/1946))
86 - background-jobs 0.11 ([#1943](https://github.com/LemmyNet/Lemmy/issues/1943))
87 - Add tracing ([#1942](https://github.com/LemmyNet/Lemmy/issues/1942))
88 - Remove pointless community follower sort. ([#1939](https://github.com/LemmyNet/Lemmy/issues/1939))
89 - Use once_cell instead of lazy_static
90 - Adding unique constraint for activity ap_id. Fixes [#1878](https://github.com/LemmyNet/Lemmy/issues/1878) ([#1935](https://github.com/LemmyNet/Lemmy/issues/1935))
91 - Making public key required. Fixes [#1934](https://github.com/LemmyNet/Lemmy/issues/1934)
92 - Change NodeInfo `links` to an array
93 - Fixing fuzzy_search to escape like chars.
94 - Fix build error in [#1914](https://github.com/LemmyNet/Lemmy/issues/1914)
95 - Fix login ilike bug. Fixes [#1920](https://github.com/LemmyNet/Lemmy/issues/1920)
96 - Fix Smithereen webfinger, remove duplicate webfinger impl (fixes [#1916](https://github.com/LemmyNet/Lemmy/issues/1916))
97 - Dont announce comments, edited posts to Pleroma/Mastodon followers
98 - Community outbox should only contain activities sent by community (fixes [#1916](https://github.com/LemmyNet/Lemmy/issues/1916))
99 - Remove HTTP signature compatibility mode (its not necessary)
100 - Implement rate limits on comments
101
102 ### Lemmy UI
103
104 - Fixed an issue with post embeds not being pushed to a new line [#544](https://github.com/LemmyNet/lemmy-ui/issues/544)
105 - Adding as and lt languages, Updating translations.
106 - Temp bans ([#524](https://github.com/LemmyNet/lemmy-ui/issues/524))
107 - Fix banner. Fixes [#466](https://github.com/LemmyNet/lemmy-ui/issues/466) ([#534](https://github.com/LemmyNet/lemmy-ui/issues/534))
108 - Making the modlog badge stand out more. Fixes [#531](https://github.com/LemmyNet/lemmy-ui/issues/531) ([#539](https://github.com/LemmyNet/lemmy-ui/issues/539))
109 - Add some fallback properties for display in older browsers ([#535](https://github.com/LemmyNet/lemmy-ui/issues/535))
110 - Private instances ([#523](https://github.com/LemmyNet/lemmy-ui/issues/523))
111 - Add nord theme. Fixes [#520](https://github.com/LemmyNet/lemmy-ui/issues/520) ([#527](https://github.com/LemmyNet/lemmy-ui/issues/527))
112 - Dont receive post room comments from blocked users. ([#516](https://github.com/LemmyNet/lemmy-ui/issues/516))
113 - Using console.error for error logs. ([#517](https://github.com/LemmyNet/lemmy-ui/issues/517))
114 - Fix issue with websocket buffer.
115 - Switching to websocket-ts. [#247](https://github.com/LemmyNet/lemmy-ui/issues/247) ([#515](https://github.com/LemmyNet/lemmy-ui/issues/515))
116 - Fix native language issue. (zh_Hant) ([#513](https://github.com/LemmyNet/lemmy-ui/issues/513))
117 - Fix tippy on component mount. Fixes [#509](https://github.com/LemmyNet/lemmy-ui/issues/509) ([#511](https://github.com/LemmyNet/lemmy-ui/issues/511))
118 - Fix docker latest ([#510](https://github.com/LemmyNet/lemmy-ui/issues/510))
119 - Enabling html tags in markdown. Fixes [#498](https://github.com/LemmyNet/lemmy-ui/issues/498)
120 - Fix comment scroll bug. Fixes [#492](https://github.com/LemmyNet/lemmy-ui/issues/492)
121 - Fixing error for null person_block. Fixes [#491](https://github.com/LemmyNet/lemmy-ui/issues/491)
122 - Trying to catch promise and json parse errors. [#489](https://github.com/LemmyNet/lemmy-ui/issues/489) ([#490](https://github.com/LemmyNet/lemmy-ui/issues/490))
123
124 # Lemmy Release v0.14.0: Federation with Mastodon and Pleroma (2021-11-17)
125
126 Today is an exciting day for the Lemmy project.
127
128 Almost one year after [first enabling federation](https://lemmy.ml/post/42833), we now federate with other projects for the first time! According to some people's definition, this finally makes us part of the Fediverse.
129
130 It took a lot of work to make this possible, so big thanks to [NLnet](https://nlnet.nl/) for funding our full time work on Lemmy, and to [@lanodan](https://queer.hacktivis.me/users/lanodan) and [@asonix](https://masto.asonix.dog/@asonix) for helping to figure out how Pleroma and Mastodon federation works (it's difficult because they have almost no documentation).
131
132
133 ## Major Changes
134
135 ### Federation code rewrite
136
137 The rewrite of the federation code started by @nutomic in August is now mostly complete. As a result, the code is much cleaner, and has tests to guarantee no breaking changes between Lemmy versions. As a side effect of this rewrite, it was now relatively easy to enable federation with other projects. 
138
139 Mastodon and Pleroma users can:
140
141 - View Lemmy communities, user profiles, posts and comments
142 - Follow Lemmy communities to receive new posts and comments
143 - Replies (mentions) work in both directions, including notifications
144
145 In addition, Pleroma users can exchange private messages with Lemmy users.
146
147 Note that Pleroma and Mastodon rely on a compatibility mode in Lemmy, which means that they won't receive events like Deletes or Votes. Other projects whose federation works similar to Pleroma/Mastodon  will likely also federate.
148
149 ### Hardcoded slur filter removed
150
151 Lemmy finally has essential moderation tools (reporting, user/community blocking), so the hardcoded filter isn't necessary anymore. If you want to keep using the slur filter, copy [these lines](https://github.com/LemmyNet/lemmy/blob/b18ea3e0cc620c3f97f9804c09b92f193809b846/config/config.hjson#L8-L12) to your config file when upgrading, and adjust to your liking.
152
153 ## Upgrade notes
154
155 Federation with Pleroma/Mastodon works automatically, you don't need to change anything, assuming that your allowlist/blocklist configuration permits it.
156
157 Note that Mastodon and Pleroma are much, much bigger than Lemmy at this point, with a combined 3 milion users and 4500 instances, compared to 20.000 users and 35 instances for Lemmy ([source](https://the-federation.info/)). The existing mod tools in Lemmy might not be adequate to handle that at the moment.
158
159 Be aware that if you have federation enabled in the Lemmy config, Mastodon and Pleroma users can now fetch all posts and comments, to view them and share with their followers. The Lemmy blocklist/allowlist can not prevent this, it only prevents posts/comments from blocked instances to be shown on your own instance. The only solution to this problem is disabling federation, or waiting for [signed fetch](https://github.com/LemmyNet/lemmy/issues/868) to be implemented.
160
161 If you want to use federation, but review new instances before federating with them, use the allowlist. You can switch from open federation to allowlist federation by pasting the output of the command below into `federation.allowed_instances` in the Lemmy config.
162
163 ```
164 curl https://your-instance.com/api/v3/site | jq -c .federated_instances.linked
165 ```
166
167 The [`lemmy.hjson` `additional_slurs` field has changed its name to `slur_filter`. ](https://github.com/LemmyNet/lemmy/blob/b18ea3e0cc620c3f97f9804c09b92f193809b846/config/config.hjson#L8-L12)
168
169 Follow the [Docker or Ansible upgrade instructions here.](https://join-lemmy.org/docs/en/administration/administration.html)
170
171 ## Lemmy-Ansible
172
173 We've now separated our ansible install method (the preferred way to deploy Lemmy) into its own repo, [lemmy-ansible](https://github.com/LemmyNet/lemmy-ansible). Let us know if you need help migrating existing installations over to it.
174
175 ## Changes
176
177 ### API
178
179 - There is now a `GetUnreadCount` in the API to check the count of your unread messages, replies, and mentions.
180 - A full list of the API changes can be seen on this diff of [lemmy-js-client: 0.13.0 -> 0.14.0-rc.1](https://github.com/LemmyNet/lemmy-js-client/compare/0.13.0...0.14.0-rc.1) .
181
182 ### Lemmy Server
183
184 - More federation compat ([#1894](https://github.com/LemmyNet/Lemmy/issues/1894))
185 - Adding clippy:unwrap to husky. Fixes [#1892](https://github.com/LemmyNet/Lemmy/issues/1892) ([#1893](https://github.com/LemmyNet/Lemmy/issues/1893))
186 - Remove header guard for activitypub routes
187 - Add federation test cases for Smithereen and Mastodon
188 - Reduce stack memory usage in apub code
189 - Remove ActivityFields trait, deserialize into another struct instead
190 - Check if post or comment are deleted first. Fixes [#1864](https://github.com/LemmyNet/Lemmy/issues/1864) ([#1867](https://github.com/LemmyNet/Lemmy/issues/1867))
191 - Correctly use and document check_is_apub_id_valid() param use_strict_allowlist
192 - Convert note.content and chat_message.content to html (fixes [#1871](https://github.com/LemmyNet/Lemmy/issues/1871))
193 - Upgrade background_jobs to 0.9.1 [#1820](https://github.com/LemmyNet/Lemmy/issues/1820) ([#1875](https://github.com/LemmyNet/Lemmy/issues/1875))
194 - Fix husky fmt hook. ([#1868](https://github.com/LemmyNet/Lemmy/issues/1868))
195 - Renaming to slur_filter. Fixes [#1773](https://github.com/LemmyNet/Lemmy/issues/1773) ([#1801](https://github.com/LemmyNet/Lemmy/issues/1801))
196 - Three instance inbox bug ([#1866](https://github.com/LemmyNet/Lemmy/issues/1866))
197 - Remove ansible from this repo. ([#1829](https://github.com/LemmyNet/Lemmy/issues/1829))
198 - Rewrite collections to use new fetcher ([#1861](https://github.com/LemmyNet/Lemmy/issues/1861))
199 - Dont blank out post or community info. Fixes [#1813](https://github.com/LemmyNet/Lemmy/issues/1813) ([#1841](https://github.com/LemmyNet/Lemmy/issues/1841))
200 - Format config/defaults.hjson before committing ([#1860](https://github.com/LemmyNet/Lemmy/issues/1860))
201 - Breaking apub changes ([#1859](https://github.com/LemmyNet/Lemmy/issues/1859))
202 - Pleroma federation2 ([#1855](https://github.com/LemmyNet/Lemmy/issues/1855))
203 - Create a custom pre-commit hook, generates config/defaults.hjson  ([#1857](https://github.com/LemmyNet/Lemmy/issues/1857))
204 - Add cargo metadata to all crates ([#1853](https://github.com/LemmyNet/Lemmy/issues/1853))
205 - Add both (De)Serialize to all models ([#1851](https://github.com/LemmyNet/Lemmy/issues/1851))
206 - Adding GetUnreadCount to the API. Fixes [#1794](https://github.com/LemmyNet/Lemmy/issues/1794) ([#1842](https://github.com/LemmyNet/Lemmy/issues/1842))
207 - Federate reports ([#1830](https://github.com/LemmyNet/Lemmy/issues/1830))
208 - Fix saved posts and hide read posts issue. Fixes [#1839](https://github.com/LemmyNet/Lemmy/issues/1839) ([#1840](https://github.com/LemmyNet/Lemmy/issues/1840))
209 - Dont allow posts to deleted / removed communities. Fixes [#1827](https://github.com/LemmyNet/Lemmy/issues/1827) ([#1828](https://github.com/LemmyNet/Lemmy/issues/1828))
210 - Dont swallow API errors (fixes [#1834](https://github.com/LemmyNet/Lemmy/issues/1834)) ([#1837](https://github.com/LemmyNet/Lemmy/issues/1837))
211 - Fix federation of initial post/comment vote (fixes [#1824](https://github.com/LemmyNet/Lemmy/issues/1824)) ([#1835](https://github.com/LemmyNet/Lemmy/issues/1835))
212 - Fix clippy warnings added in nightly ([#1833](https://github.com/LemmyNet/Lemmy/issues/1833))
213 - Admins can view all reports. Fixes [#1810](https://github.com/LemmyNet/Lemmy/issues/1810) ([#1825](https://github.com/LemmyNet/Lemmy/issues/1825))
214 - Adding a message_id to emails. Fixes [#1807](https://github.com/LemmyNet/Lemmy/issues/1807) ([#1826](https://github.com/LemmyNet/Lemmy/issues/1826))
215 - Generate config docs from code ([#1786](https://github.com/LemmyNet/Lemmy/issues/1786))
216 - Trying a background_jobs fix. [#1820](https://github.com/LemmyNet/Lemmy/issues/1820) ([#1822](https://github.com/LemmyNet/Lemmy/issues/1822))
217 - mark parent as read on reply ([#1819](https://github.com/LemmyNet/Lemmy/issues/1819))
218 - Move code to apub library ([#1795](https://github.com/LemmyNet/Lemmy/issues/1795))
219 - Adding honeypot to user and post creation. Fixes [#1802](https://github.com/LemmyNet/Lemmy/issues/1802) ([#1803](https://github.com/LemmyNet/Lemmy/issues/1803))
220 - Add database host back into config file ([#1805](https://github.com/LemmyNet/Lemmy/issues/1805))
221
222 ### Lemmy UI
223
224 - Updating translations.
225 - Fixing unload ([#487](https://github.com/LemmyNet/lemmy-ui/issues/487))
226 - Fix setup password. Fixes [#478](https://github.com/LemmyNet/lemmy-ui/issues/478) ([#484](https://github.com/LemmyNet/lemmy-ui/issues/484))
227 - Adding post comment scrolling hack. Fixes [#480](https://github.com/LemmyNet/lemmy-ui/issues/480) [#486](https://github.com/LemmyNet/lemmy-ui/issues/486)
228 - Navbar links ([#476](https://github.com/LemmyNet/lemmy-ui/issues/476))
229 - Try fixing crypto node bug. Fixes [#473](https://github.com/LemmyNet/lemmy-ui/issues/473) ([#474](https://github.com/LemmyNet/lemmy-ui/issues/474))
230 - Use community title and user display name for dropdown.
231 - Mahanstreamer userpage ([#471](https://github.com/LemmyNet/lemmy-ui/issues/471))
232 - Using i18next compatibility v3 ([#465](https://github.com/LemmyNet/lemmy-ui/issues/465))
233 - Show original created time tooltip ([#462](https://github.com/LemmyNet/lemmy-ui/issues/462))
234 - Revert version of i18next to fix plurals. Fixes [#451](https://github.com/LemmyNet/lemmy-ui/issues/451) ([#460](https://github.com/LemmyNet/lemmy-ui/issues/460))
235 - Fixing cross-posts showing on initial load. Fixes [#457](https://github.com/LemmyNet/lemmy-ui/issues/457) ([#464](https://github.com/LemmyNet/lemmy-ui/issues/464))
236 - Show bot account info. Fixes [#458](https://github.com/LemmyNet/lemmy-ui/issues/458) ([#463](https://github.com/LemmyNet/lemmy-ui/issues/463))
237 - Very weak password check ([#461](https://github.com/LemmyNet/lemmy-ui/issues/461))
238 - Simplifying getunreadcount. ([#455](https://github.com/LemmyNet/lemmy-ui/issues/455))
239 - ui changes for marking comment as read on reply ([#454](https://github.com/LemmyNet/lemmy-ui/issues/454))
240 - hide mod actions appropriately fix [#441](https://github.com/LemmyNet/lemmy-ui/issues/441) ([#447](https://github.com/LemmyNet/lemmy-ui/issues/447))
241 - Add honeypot for user and form creation. Fixes [#433](https://github.com/LemmyNet/lemmy-ui/issues/433) ([#435](https://github.com/LemmyNet/lemmy-ui/issues/435))
242 # Lemmy v0.13.3 Release (2021-10-13)
243
244 - Dont swallow API errors (fixes [#1834](https://github.com/LemmyNet/lemmy/issues/1834)) ([#1837](https://github.com/LemmyNet/lemmy/issues/1837))
245 - Fix clippy warnings added in nightly ([#1833](https://github.com/LemmyNet/lemmy/issues/1833))
246 - Fix federation of initial post/comment vote (fixes [#1824](https://github.com/LemmyNet/lemmy/issues/1824)) ([#1835](https://github.com/LemmyNet/lemmy/issues/1835))
247 - Trying a background_jobs fix. [#1820](https://github.com/LemmyNet/lemmy/issues/1820)
248
249 # Lemmy v0.13.0 Release (2021-09-30)
250
251 Since our last release earlier this month, we've had [~30](https://github.com/LemmyNet/lemmy/compare/0.12.0...main) commits to Lemmy.
252
253 ## Major Changes
254
255 - Added comment and post reporting in the front end, and cleaned up the reporting API. 
256   - *Note: these are local-only currently, reports are not yet federated.*
257 - The JWT secret is now auto-generated by the database. 
258   - *Note: this will log out all users, so users will have to log in again.*
259 - Lots of smaller UI fixes listed below.
260
261 ## Upgrade notes
262
263 ### Servers
264
265 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).
266
267 To upgrade your instance to `v0.13.0`, simply follow the instructions in the documentation:
268
269 - [Upgrade with manual Docker installation](https://join.lemmy.ml/docs/en/administration/install_docker.html#updating)
270 - [Upgrade with Ansible installation](https://join.lemmy.ml/docs/en/administration/install_ansible.html)
271
272 ## Changes
273
274 ### Lemmy Server
275
276 #### General
277
278 - Adding a user agent. Fixes [#1769](https://github.com/LemmyNet/lemmy/issues/1769)
279 - Ansible changes ([#1781](https://github.com/LemmyNet/lemmy/issues/1781))
280 - Clean up reporting ([#1776](https://github.com/LemmyNet/lemmy/issues/1776))
281 - Implement webmention support (fixes [#1395](https://github.com/LemmyNet/lemmy/issues/1395))
282 - Move jwt secret from config to database (fixes [#1728](https://github.com/LemmyNet/lemmy/issues/1728))
283 - Set a 10 char minimum password length.
284 - Dont pass accept-encoding header to pictrs (ref [#1734](https://github.com/LemmyNet/lemmy/issues/1734)) ([#1738](https://github.com/LemmyNet/lemmy/issues/1738))
285
286 #### API
287
288 - There are no breaking API changes, only the addition of reporting endpoints.
289 - A full list of the API changes can be seen on this diff of [lemmy-js-client: 0.12.0 -> 0.13.0](https://github.com/LemmyNet/lemmy-js-client/compare/0.12.0...0.13.0) .
290
291 #### Federation
292
293 - Rewrite fetcher ([#1792](https://github.com/LemmyNet/lemmy/issues/1792))
294
295 ### Lemmy UI
296
297 - Adding bn, ml, and cs langs
298 - Reporting ([#434](https://github.com/LemmyNet/lemmy-ui/issues/434))
299 - Splitting login and signup pages. Fixes [#386](https://github.com/LemmyNet/lemmy-ui/issues/386) ([#431](https://github.com/LemmyNet/lemmy-ui/issues/431))
300 - Fixing image in newtab. Fixes [#382](https://github.com/LemmyNet/lemmy-ui/issues/382) ([#430](https://github.com/LemmyNet/lemmy-ui/issues/430))
301 - Navigate away from login page if already logged in. ([#429](https://github.com/LemmyNet/lemmy-ui/issues/429))
302 - Add username validation message. Fixes [#387](https://github.com/LemmyNet/lemmy-ui/issues/387) ([#428](https://github.com/LemmyNet/lemmy-ui/issues/428))
303 - Password strength meter ([#427](https://github.com/LemmyNet/lemmy-ui/issues/427))
304 - Fix community display name overflow. Fixes [#390](https://github.com/LemmyNet/lemmy-ui/issues/390) ([#425](https://github.com/LemmyNet/lemmy-ui/issues/425))
305 - Fix logout bug. Fixes [#391](https://github.com/LemmyNet/lemmy-ui/issues/391) ([#424](https://github.com/LemmyNet/lemmy-ui/issues/424))
306 - Fix up post, profile and community forms. Fixes [#409](https://github.com/LemmyNet/lemmy-ui/issues/409) ([#423](https://github.com/LemmyNet/lemmy-ui/issues/423))
307 - Adding markdown audio and video embeds. Fixes [#420](https://github.com/LemmyNet/lemmy-ui/issues/420) ([#421](https://github.com/LemmyNet/lemmy-ui/issues/421))
308 - Adding Si simplifier ([#418](https://github.com/LemmyNet/lemmy-ui/issues/418))
309 - Fix profile paging. Fixes [#416](https://github.com/LemmyNet/lemmy-ui/issues/416) ([#417](https://github.com/LemmyNet/lemmy-ui/issues/417))
310 - Use my fork of inferno-i18next. Fixes [#413](https://github.com/LemmyNet/lemmy-ui/issues/413) ([#415](https://github.com/LemmyNet/lemmy-ui/issues/415))
311 - Add version to package.json . Fixes [#411](https://github.com/LemmyNet/lemmy-ui/issues/411)
312
313 # Lemmy v0.12.2 Release (2021-09-06)
314
315 - Fixing ARM64 builds.
316 - Fixing missing Arabic language in UI.
317 - Fixing wrongly shown subscribed communities on other user's profiles. [#402](https://github.com/LemmyNet/lemmy-ui/issues/402)
318 - Adding a robots.txt, thanks to @mahanstreamer. [#401](https://github.com/LemmyNet/lemmy-ui/pull/401)
319
320 # Lemmy v0.12.1 Release (2021-09-04)
321
322 Fixed several critical websocket bugs.
323
324 - Wasn't correctly getting comment parent user for mark as read. Fixes [#1767](https://github.com/LemmyNet/lemmy/issues/1767)
325 - Was using all recipients for simple comment return. Fixes [#1766](https://github.com/LemmyNet/lemmy/issues/1766)
326 - Fix comment scrolling bug. Fixes [#394](https://github.com/LemmyNet/lemmy-ui/issues/394)
327
328 # Lemmy v0.12.0 Release (2021-09-03)
329
330 ## Changes
331
332 Since our last release in April, we've had [~80](https://github.com/LemmyNet/lemmy/compare/0.11.0...main) commits to Lemmy.
333
334 ### Lemmy Server
335
336 #### Major Changes
337
338 *Note: Issue links are below.*
339
340 - @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.
341 - You can now block users and communities, and their posts / comments won't show up in your feed.
342 - Removed IFramely: Lemmy can now fetch site metadata on its own.
343 - New API docs at: https://join-lemmy.org/api
344
345 #### General
346
347 - Fix prod deploy script and clippy ([#1724](https://github.com/LemmyNet/lemmy/issues/1724))
348 - Fix image uploads. Fixes [#1725](https://github.com/LemmyNet/lemmy/issues/1725) ([#1734](https://github.com/LemmyNet/lemmy/issues/1734))
349 - Adding more site setup vars. Fixes [#678](https://github.com/LemmyNet/lemmy/issues/678) ([#1718](https://github.com/LemmyNet/lemmy/issues/1718))
350 - Dont append ? to url when cleaning it ([#1716](https://github.com/LemmyNet/lemmy/issues/1716))
351 - User / community blocking. Fixes [#426](https://github.com/LemmyNet/lemmy/issues/426) ([#1604](https://github.com/LemmyNet/lemmy/issues/1604))
352 - Swap out iframely ([#1706](https://github.com/LemmyNet/lemmy/issues/1706))
353 - Adding ModTransferCommunity to modlog in API. Fixes [#1437](https://github.com/LemmyNet/lemmy/issues/1437)
354 - Make sure bots aren't included in aggregate counts ([#1705](https://github.com/LemmyNet/lemmy/issues/1705))
355 - 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))
356 - When banning a user, remove communities they've created ([#1700](https://github.com/LemmyNet/lemmy/issues/1700))
357 - Distribute Lemmy via crates.io
358 - Simplify config using macros ([#1686](https://github.com/LemmyNet/lemmy/issues/1686))
359 - Simplify lemmy_context() function (dont return errors)
360 - 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))
361 - Add show_new_posts_notifs setting. Fixes [#1664](https://github.com/LemmyNet/lemmy/issues/1664) ([#1665](https://github.com/LemmyNet/lemmy/issues/1665))
362 - Adding shortname fetching for users and communities. Fixes [#1662](https://github.com/LemmyNet/lemmy/issues/1662) ([#1663](https://github.com/LemmyNet/lemmy/issues/1663))
363 - Upgrading deps, running clippy fix on nightly 1.55.0 ([#1638](https://github.com/LemmyNet/lemmy/issues/1638))
364 - Running clippy --fix ([#1647](https://github.com/LemmyNet/lemmy/issues/1647))
365 - Make captcha case-insensitive
366 - Remove tracking params from post url (fixes [#768](https://github.com/LemmyNet/lemmy/issues/768))
367 - Fix IPv6 port setup for Nginx ([#1636](https://github.com/LemmyNet/lemmy/issues/1636))
368 - Fix --cert-name for certbot. ([#1631](https://github.com/LemmyNet/lemmy/issues/1631))
369 - Change join.lemmy.ml to join-lemmy.org ([#1628](https://github.com/LemmyNet/lemmy/issues/1628))
370 - Upgrade pictrs. Fixes [#1599](https://github.com/LemmyNet/lemmy/issues/1599) ([#1600](https://github.com/LemmyNet/lemmy/issues/1600))
371 - Invalidate current logins on account deletion. Fixes [#1602](https://github.com/LemmyNet/lemmy/issues/1602) ([#1603](https://github.com/LemmyNet/lemmy/issues/1603))
372 - Upgrading api test deps ([#1608](https://github.com/LemmyNet/lemmy/issues/1608))
373 - 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))
374 - Add additional slurs configuration option. Closes [#1464](https://github.com/LemmyNet/lemmy/issues/1464). ([#1612](https://github.com/LemmyNet/lemmy/issues/1612))
375 - Updating to rust 1.51.0 ([#1598](https://github.com/LemmyNet/lemmy/issues/1598))
376 - Remove brotli, zstd dependencies for faster compilation
377
378 #### API
379
380 - 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) .
381
382 #### Federation
383
384 - Move resolving of activitypub objects to separate api endpoint (fixes #1584)
385 - Rewrite remaining activities ([#1712](https://github.com/LemmyNet/lemmy/issues/1712))
386 - Migrate comment inReplyTo field to single value (ref [#1454](https://github.com/LemmyNet/lemmy/issues/1454))
387 - Fix issue with protocol string in actor id generation ([#1668](https://github.com/LemmyNet/lemmy/issues/1668))
388
389
390 ### Lemmy UI
391
392 - Integrating resolve_user into search. ([#377](https://github.com/LemmyNet/lemmy-ui/issues/377))
393 - Add lazy loading of images. Fixes [#329](https://github.com/LemmyNet/lemmy-ui/issues/329) ([#379](https://github.com/LemmyNet/lemmy-ui/issues/379))
394 - Adding vi, sk, mnc, and cy languages. ([#378](https://github.com/LemmyNet/lemmy-ui/issues/378))
395 - Feature/user community block ([#362](https://github.com/LemmyNet/lemmy-ui/issues/362))
396 - Swapping out iframely. ([#374](https://github.com/LemmyNet/lemmy-ui/issues/374))
397 - Adding mod transfer community ([#373](https://github.com/LemmyNet/lemmy-ui/issues/373))
398 - Remove content more ([#372](https://github.com/LemmyNet/lemmy-ui/issues/372))
399 - Scroll to comments on post's x comments button ([#312](https://github.com/LemmyNet/lemmy-ui/issues/312))
400 - Remove websocket connection messages. Fixes [#355](https://github.com/LemmyNet/lemmy-ui/issues/355)
401 - Center spinner, make smaller. Fixes [#203](https://github.com/LemmyNet/lemmy-ui/issues/203)
402 - Fix font issues. Fixes [#354](https://github.com/LemmyNet/lemmy-ui/issues/354)
403 - 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))
404 - 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))
405 - Fix captcha replay bug. Fixes [#348](https://github.com/LemmyNet/lemmy-ui/issues/348) ([#349](https://github.com/LemmyNet/lemmy-ui/issues/349))
406 - 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))
407 - Don't use default subscribed for communities page.
408 - 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))
409 - Fix language bug on mobile browsers
410 - Collapse sidebar on mobile. Fixes [#335](https://github.com/LemmyNet/lemmy-ui/issues/335) ([#340](https://github.com/LemmyNet/lemmy-ui/issues/340))
411 - Re-organized components folder. ([#339](https://github.com/LemmyNet/lemmy-ui/issues/339))
412 - Fixing too many large spinners ([#337](https://github.com/LemmyNet/lemmy-ui/issues/337))
413 - Moving comment link to top bar. Fixes #307 ([#336](https://github.com/LemmyNet/lemmy-ui/issues/336))
414 - Fix/ws error messages ([#334](https://github.com/LemmyNet/lemmy-ui/issues/334))
415 - Make spinner bigger. Fixes [#203](https://github.com/LemmyNet/lemmy-ui/issues/203)
416 - Fix preview description html. Fixes [#110](https://github.com/LemmyNet/lemmy-ui/issues/110)
417 - Always show previous paginator, extract paginator component.
418 - Use better comment collapse icon, and add text. Fixes [#318](https://github.com/LemmyNet/lemmy-ui/issues/318)
419 - Fix symbols issue. Fixes [#319](https://github.com/LemmyNet/lemmy-ui/issues/319)
420 - Don't restore scroll position on page refresh. Fixes [#186](https://github.com/LemmyNet/lemmy-ui/issues/186)
421 - Insert triple backticks for 'code' button when multiple lines are selected. ([#311](https://github.com/LemmyNet/lemmy-ui/issues/311))
422 - Change join.lemmy-ui.ml to join-lemmy-ui.org
423 - Adding a comment here placeholder. Fixes [#301](https://github.com/LemmyNet/lemmy-ui/issues/301)
424 - Fix non-local community and person links. Fixes [#290](https://github.com/LemmyNet/lemmy-ui/issues/290)
425 - Fix navbar bug. Fixes [#289](https://github.com/LemmyNet/lemmy-ui/issues/289)
426 - Hide names of mods / admins without priveleges. Fixes [#285](https://github.com/LemmyNet/lemmy-ui/issues/285)
427 - Adding URL search type. Fixes [#286](https://github.com/LemmyNet/lemmy-ui/issues/286)
428 - Add a link to joinlemmy-ui on lemmy-ui.ml signup. Fixes [#235](https://github.com/LemmyNet/lemmy-ui/issues/235)
429 - Fix duped site description. Fixes [#281](https://github.com/LemmyNet/lemmy-ui/issues/281)
430
431 ## Upgrade notes
432
433 ### Servers
434
435 You may need to add this to your `lemmy.hjson`:
436
437 `pictrs_url: "http://pictrs:8080"`
438
439 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).
440
441 To upgrade your instance to `v0.12.0`, simply follow the instructions in the documentation:
442
443 - [Upgrade with manual Docker installation](https://join.lemmy.ml/docs/en/administration/install_docker.html#updating)
444 - [Upgrade with Ansible installation](https://join.lemmy.ml/docs/en/administration/install_ansible.html)
445
446 ### Clients / Apps
447
448 - 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) .
449
450 # Lemmy v0.11.3 Release (2021-07-30)
451
452 ## Changes
453
454 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.
455
456 ### Lemmy Server
457
458 - Blank out extra info for deleted or removed content. Fixes [#1679](https://github.com/LemmyNet/Lemmy/issues/1679) 
459 - Add show_new_posts_notifs setting. Fixes [#1664](https://github.com/LemmyNet/Lemmy/issues/1664)
460 - Fix issue with protocol string in actor id generation [#1668](https://github.com/LemmyNet/Lemmy/issues/1668)
461 - Adding shortname fetching for users and communities. Fixes [#1662](https://github.com/LemmyNet/Lemmy/issues/1662)
462 - Make captcha case-insensitive.
463 - Remove tracking params from post url (fixes [#768](https://github.com/LemmyNet/Lemmy/issues/768))
464 - Upgrade pictrs. Fixes [#1599](https://github.com/LemmyNet/Lemmy/issues/1599)
465 - Invalidate current logins on account deletion. Fixes [#1602](https://github.com/LemmyNet/Lemmy/issues/1602)
466 - Fix nsfw posts showing for non-logged in users. Fixes [#1614](https://github.com/LemmyNet/Lemmy/issues/1614)
467 - Add additional slurs configuration option. Closes [#1464](https://github.com/LemmyNet/Lemmy/issues/1464).
468 - Updating to rust 1.51.0
469
470 ### Lemmy UI
471
472 - Have setting to disable notifs for new posts. Fixes [#132](https://github.com/LemmyNet/lemmy-ui/issues/132)
473 - Remove max length constraints on actors. Fixes [#350](https://github.com/LemmyNet/lemmy-ui/issues/350)
474 - Fix captcha replay bug. Fixes [#348](https://github.com/LemmyNet/lemmy-ui/issues/348)
475 - Removing community and user routes in favor of shortnames. Fixes [#317](https://github.com/LemmyNet/lemmy-ui/issues/317)
476 - Add front end helpers 1 [(#346](https://github.com/LemmyNet/lemmy-ui/issues/346))
477 - Don't use default subscribed for communities page.
478 - Adding Listing type to communities page, default local. [#190](https://github.com/LemmyNet/lemmy-ui/issues/190)
479 - Fix language bug on mobile browsers.
480 - Collapse sidebar on mobile. Fixes [#335](https://github.com/LemmyNet/lemmy-ui/issues/335)
481 - Re-organized components folder. [(#339](https://github.com/LemmyNet/lemmy-ui/issues/339))
482 - Moving comment link to top bar. Fixes [#307](https://github.com/LemmyNet/lemmy-ui/issues/307)
483 - Make spinner bigger. Fixes [#203](https://github.com/LemmyNet/lemmy-ui/issues/203)
484 - Fix preview description html. Fixes [#110](https://github.com/LemmyNet/lemmy-ui/issues/110)
485 - Update darkly, make danger darker. Fixes [#16](https://github.com/LemmyNet/lemmy-ui/issues/16)
486 - Always show previous paginator, extract paginator component.
487 - Use better comment collapse icon, and add text. Fixes [#318](https://github.com/LemmyNet/lemmy-ui/issues/318)
488 - Fix symbols issue. Fixes [#319](https://github.com/LemmyNet/lemmy-ui/issues/319)
489 - Don't restore scroll position on page refresh. Fixes [#186](https://github.com/LemmyNet/lemmy-ui/issues/186)
490 - Insert triple backticks for 'code' button when multiple lines are selected. [(#311](https://github.com/LemmyNet/lemmy-ui/issues/311))
491 - Adding a comment here placeholder. Fixes [#301](https://github.com/LemmyNet/lemmy-ui/issues/301)
492 - Fix non-local community and person links. Fixes [#290](https://github.com/LemmyNet/lemmy-ui/issues/290)
493 - Fix navbar bug. Fixes [#289](https://github.com/LemmyNet/lemmy-ui/issues/289)
494 - Hide names of mods / admins without priveleges. Fixes [#285](https://github.com/LemmyNet/lemmy-ui/issues/285)
495 - Adding URL search type. Fixes [#286](https://github.com/LemmyNet/lemmy-ui/issues/286)
496 - Add a link to joinlemmy on lemmy.ml signup. Fixes [#235](https://github.com/LemmyNet/lemmy-ui/issues/235)
497 - Fix duped site description. Fixes [#281](https://github.com/LemmyNet/lemmy-ui/issues/281)
498
499 ### API
500
501 - Added `show_new_posts_notifs` boolean to `SaveUserSettings`, and `LocalUserSettings`.
502 - 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) .
503
504 ### Federation
505
506 - No changes in this release, but there will be many soon.
507
508 ## Upgrade notes
509
510 To upgrade your instance to `0.11.3`, simply follow the instructions in the documentation:
511
512 - [Upgrade with manual Docker installation](https://join-lemmy.org/docs/en/administration/install_docker.html#updating)
513 - [Upgrade with Ansible installation](https://join-lemmy.org/docs/en/administration/install_ansible.html)
514
515 # Lemmy v0.11.0 Release (2021-04-27)
516
517 ## Changes
518
519 Since our last release this month, we've had [~60](https://github.com/LemmyNet/lemmy/compare/0.10.0...main) commits to Lemmy.
520
521 ### Lemmy Server
522
523 #### Major Changes
524
525 - Add option to disable strict allowlist ( [#1486](https://github.com/LemmyNet/lemmy/issues/1486)) [documentation](https://join-lemmy.org/docs/en/federation/administration.html) 
526 - Add option to limit community creation to admins only ([#1587](https://github.com/LemmyNet/lemmy/issues/1587))
527 - Many search improvements:
528   - Don't search for communities or users when the id is included.
529   - Add creator id to search.
530
531 #### General
532
533 - Adding a user setting to show / hide scores. Fixes [#1503](https://github.com/LemmyNet/lemmy/issues/1503)
534 - Add option to hide read posts. Fixes [#1561](https://github.com/LemmyNet/lemmy/issues/1561)
535 - Mark accounts as bot, and hide bot posts/comments
536 - Adding a short site description, to be used for joinlemmy instance list
537 - Adding matrix id validation. Fixes [#1520](https://github.com/LemmyNet/lemmy/issues/1520)
538 - Adding users active monthly for community sort. Fixes [#1527](https://github.com/LemmyNet/lemmy/issues/1527)
539 - Don't allow zero-space char in display name. Fixes [#1317](https://github.com/LemmyNet/lemmy/issues/1317)
540 - Adding more rust captcha features. Fixes [#1248](https://github.com/LemmyNet/lemmy/issues/1248)
541 - Fixing slur filter regex. Fixes [#1593](https://github.com/LemmyNet/lemmy/issues/1593)
542
543 #### API
544
545 - Added `ChangePassword` as a separate endpoint from `SaveUserSettings`
546 - No other breaking changes, but many fields that were previously required are now optional.
547 - 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) .
548
549 #### Federation
550
551 - Implement federated bans fixes [#1298](https://github.com/LemmyNet/lemmy/issues/1298)
552 - Remote mods can update/delete/undelete communities.
553
554 ### Lemmy UI
555
556 - Updating translations.
557 - Add UI version to UI via docker. Fixes [#263](https://github.com/LemmyNet/lemmy-ui/issues/263)
558 - Add Korean language
559 - Add check for unused languages in update_translations.sh
560 - Validate matrix id on the front end. Fixes [#245](https://github.com/LemmyNet/lemmy-ui/issues/245)
561 - Communities page sorts by monthly active users. Fixes [#244](https://github.com/LemmyNet/lemmy-ui/issues/244)
562 - Correctly render HTML in popup notifications
563 - Fix html notif bug. Fixes [#254](https://github.com/LemmyNet/lemmy-ui/issues/254)
564 - Fixing issue with debounce. Fixes [#236](https://github.com/LemmyNet/lemmy-ui/issues/236)
565
566 ## Upgrade notes
567
568 ### Servers
569
570 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).
571
572 To upgrade your instance to `v0.10.0`, simply follow the instructions in the documentation:
573
574 - [Upgrade with manual Docker installation](https://join-lemmy.org/docs/en/administration/install_docker.html#updating)
575 - [Upgrade with Ansible installation](https://join-lemmy.org/docs/en/administration/install_ansible.html)
576
577 ### Clients / Apps
578
579 - 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) .
580
581 # Lemmy v0.10.3 Release (2021-04-07)
582
583 - Fixing instances page.
584 - Fixed unban not working.
585 - Fixed post title fetching and cross-post search.
586 - Fixed navigating to a user page.
587
588 # Lemmy v0.10.2 Release (2021-04-05)
589
590 - Forcing a crash if config.hjson fails to load. Should show errors easier.
591
592 # Lemmy v0.10.0 Release (2021-04-05)
593
594 ## Changes
595
596 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.
597
598 ### Lemmy Server
599
600 #### General
601
602 - Rewrote config implementation, finally allowing us to use newer Rust versions.
603 - Removed categories. 
604 - Various refactors.
605
606 #### API
607
608 - 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) .
609 - Login invalidation on password change, thanks to @Mart-Bogdan
610
611 #### Federation
612
613 - It is now possible to add users from other instances as community mods.
614 - Federating Matrix ID.
615 - Many changes for better compatibility with ActivityPub standard.
616
617 #### Database 
618
619 - Split the `user_` into `person` and `local_user` tables.
620 - Strictly typed commonly used ID columns, to prevent DB errors using `i32` as ids.
621 - Strictly typed URL fields, thanks to ajyoon.
622 - Created default DB forms, now used in all the unit tests.
623
624 ### Lemmy UI
625
626 - Now using utf-8 emojis.
627 - Support for all the above changes to Lemmy.
628 - Typescript-safe i18n strings, thanks to @shilangyu.
629 - Added expandable post text (click on open book icon).
630 - Prettier cross-posting, which does smart quoting.
631 - Bugfixes for restoring scroll position on post page, custom site favicons, and autocomplete for login fields.
632
633 ### Lemmy Docs
634
635 - Gazconroy built an [Async API spec for Lemmy](https://join-lemmy.org/api/index.html), that now serves as our main API docs.
636
637 ### join-lemmy.org
638
639 - Rewrote in inferno isomorphic, added i18n support via [weblate](https://weblate.yerbamate.ml/projects/lemmy/joinlemmy/).
640 - Added a section on the support page thanking contributors.
641 - Changed some page urls / titles
642
643 ## Upgrade notes
644
645 **Important**: there are multiple breaking changes:
646
647 - 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` ).
648 - The config format for `allowed_instances` and `blocked_instances` has changed, and you need to adjust your config file manually:
649     - before: `allowed_instances: ds9.lemmy.ml,enterprise.lemmy.ml`
650     - now: `allowed_instances: ["ds9.lemmy.ml", "enterprise.lemmy.ml"]` , and only one of the `allowed_instances` or `blocked_instances` blocks can be set.
651 - 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) .
652
653 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).
654
655 To upgrade your instance to `v0.10.0`, simply follow the instructions in the documentation:
656
657 - [Upgrade with manual Docker installation](https://join-lemmy.org/docs/en/administration/install_docker.html#updating)
658 - [Upgrade with Ansible installation](https://join-lemmy.org/docs/en/administration/install_ansible.html)
659
660
661 ## Compilation time
662
663 || v0.9.0 (Rust 1.47) | v0.10.0 (Rust 1.47) | v0.10.0 (Rust 1.51) |
664 |-| -------- | -------- | -------- |
665 |Clean | 140s     | 146s     | 119s     |
666 | Incremental | 28s | 22s | 19s |
667
668 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%).
669
670 v0.9.0 build graph:
671 ![](https://lemmy.ml/pictrs/image/GVBqFnrLqG.jpg)
672
673 v0.10.0 build graph:
674 ![](https://lemmy.ml/pictrs/image/NllzjVEyNK.jpg)
675
676 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.
677
678 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.
679
680 # Lemmy v0.9.9 Release (2021-02-19)
681
682 ## Changes
683
684 ### Lemmy backend
685 - Added an federated activity query sorting order.
686 - Explicitly marking posts and comments as public.
687 - Added a `NewComment` / forum sort for posts.
688 - Fixed an issue with not setting correct published time for fetched posts.
689 - Fixed an issue with an open docker port on lemmy-ui.
690 - Using lemmy post link for RSS link.
691 - Fixed reason and display name lengths to use char counts instead.
692
693 ### Lemmy-ui
694
695 - Updated translations.
696 - Made websocket host configurable.
697 - Added some accessibility features.
698 - Always showing password reset link.
699
700 # Lemmy v0.9.7 Release (2021-02-08)
701
702 ## Changes
703
704 - Posts and comments are no longer live-sorted (meaning most content should stay in place).
705 - Fixed an issue with the create post title field not expanding when copied from iframely suggestion.
706 - Fixed broken federated community paging / sorting.
707 - Added aria attributes for accessibility, thx to @Mitch Lillie.
708 - Updated translations and added croatian.
709 - No changes to lemmy back-end.
710
711 # Lemmy v0.9.6 Release (2021-02-05)
712
713 ## Changes
714
715 - Fixed inbox_urls not being correctly set, which broke federation in `v0.9.5`. Added some logging to catch these.
716 - Fixing community search not using auth.
717 - Moved docs to https://join-lemmy.org
718 - Fixed an issue w/ lemmy-ui with forms being cleared out.
719
720 # Lemmy v0.9.4 Pre-Release (2021-02-02)
721
722 ## Changes
723
724 ### Lemmy
725
726 - Fixed a critical bug with votes and comment unlike responses not being `0` for your user.
727 - Fixed a critical bug with comment creation not checking if its parent comment is in the post.
728 - Serving proper activities for community outbox.
729 - 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)
730 - Made sure banned users can't follow.
731 - Added `FederatedInstances` to `SiteResponse`, to show allowed and blocked instances. (Also added to lemmy-ui)
732 - Added a `MostComments` sort for posts. (Also added to lemmy-ui)
733
734 ### Lemmy-UI
735
736 - Added a scroll position restore to lemmy-ui.
737 - Reworked the combined inbox so incoming comments don't wipe out your current form.
738 - Fixed an updated bug on the user page.
739 - Fixed cross-post titles and body getting clipped.
740 - Fixing the post creation title height.
741 - Squashed some other smaller bugs.
742
743 # Lemmy v0.9.0 Release (2021-01-25)
744
745 ## Changes
746
747 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.
748
749 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).
750
751 We've also seen the first release of [Lemmur](https://github.com/LemmurOrg/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.
752
753 ## LemmyNet projects
754
755 ### Lemmy Server
756
757 - [Moved views from SQL to Diesel](https://github.com/LemmyNet/lemmy/issues/1275). This was a spinal replacement for much of lemmy.
758   - Removed all the old fast_tables and triggers, and created new aggregates tables.
759 - Added a `v2` of the API to support the hierarchical objects created from the above changes.
760 - 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)
761 - Split out documentation into git submodule.
762 - Shortened slur filter to avoid false positives.
763 - Added query performance testing and comparisons. Added indexes to make sure every query is `< 30 ms`.
764 - Added compilation time testing.
765
766 ### Federation
767
768 This release includes some bug fixes for federation, and some changes to get us closer to compliance with the ActivityPub standard.
769
770 - [Community bans now federating](https://github.com/LemmyNet/lemmy/issues/1287).
771 - [Local posts sometimes got marked as remote](https://github.com/LemmyNet/lemmy/issues/1302).
772 - [Creator of post/comment was not notified about new child comments](https://github.com/LemmyNet/lemmy/issues/1325).
773 - [Community deletion now federated](https://github.com/LemmyNet/lemmy/issues/1256).
774
775 None of these are breaking changes, so federation between 0.9.0 and 0.8.11 will work without problems.
776
777 ### Lemmy javascript / typescript client
778
779 - 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.
780 - Drone now handles publishing its [npm packages.](https://www.npmjs.com/package/lemmy-js-client)
781
782 ### Lemmy-UI
783
784 - Updated it to use the `v2` API via `lemmy-js-client`, required changing nearly every component.
785 - Added a live comment count.
786 - Added drone deploying, and builds for ARM.
787 - Fixed community link wrapping.
788 - Various other bug fixes.
789
790
791 ### Lemmy Docs
792
793 - We moved documentation into a separate git repository, and support translation for the docs now!
794 - Moved our code of conduct into the documentation.
795
796 ## Upgrading
797
798 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).
799
800 - [Upgrade with manual Docker installation](https://join-lemmy.org/docs/en/administration/install_docker.html#updating)
801 - [Upgrade with Ansible installation](https://join-lemmy.org/docs/en/administration/install_ansible.html)
802
803 # Lemmy v0.8.0 Release (2020-10-16)
804
805 ## Changes
806
807 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: 
808
809 Here are some of the bigger changes:
810
811 ### LemmyNet projects
812
813 - Created [LemmyNet](https://github.com/LemmyNet), where all lemmy-related projects live.
814 - Split out the frontend into a separete repository, [lemmy-ui](https://github.com/LemmyNet/lemmy-ui)
815 - Created a [lemmy-js-client](https://github.com/LemmyNet/lemmy-js-client), for any js / typescript developers.
816 - 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/)
817
818 ### Lemmy Server
819
820 #### Federation
821
822 - The first **federation public beta release**, woohoo :fireworks: 
823 - All Lemmy functionality now works over ActivityPub (except turning remote users into mods/admins)
824 - Instance allowlist and blocklist
825 - 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
826 - Upgraded to newest versions of @asonix activitypub libraries
827 - Full local federation setup for manual testing
828 - Automated testing for nearly every federation action
829 - Many additional security checks
830 - Lots and lots of refactoring
831 - Asynchronous sending of outgoing activities
832
833 ### User Interface
834
835 - Separated the UI from the server code, in [lemmy-ui](https://github.com/LemmyNet/lemmy-ui).
836 - The UI can now read with javascript disabled! 
837 - 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.
838 - 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)
839 - Improved the search page ( more features incoming ).
840 - The default view is now `Local`, instead of `All`, since all would show all federated posts.
841 - User settings are now shared across browsers ( a page refresh will pick up changes ).
842 - A much leaner mobile view.
843
844 #### Backend
845
846 - Re-organized the rust codebase into separate workspaces for backend and frontend.
847 - Removed materialized views, making the database **a lot faster**.
848 - New post sorts `Active` (previously called hot), and `Hot`. Active shows posts with recent comments, hot shows highly ranked posts.
849 - New sort for `Local` ( meaning from local communities).
850 - Customizeable site, user, and community icons and banners.
851 - Added user preferred names / display names, bios, and cakedays.
852 - Visual / Audio captchas through the lemmy API.
853 - Lots of API field verifications.
854 - Upgraded to pictrs-v2 ( thanks to @asonix )
855 - Wayyy too many bugfixes to count.
856
857 ## Contributors
858
859 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. 
860
861 ## Upgrading
862
863 - [with manual Docker installation](https://join-lemmy.org/docs/administration_install_docker.html#updating)
864 - [with Ansible installation](https://join-lemmy.org/docs/administration_install_ansible.html)
865
866 ## Testing Federation
867
868 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/) ).
869
870 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.
871
872 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.
873
874 ### Connecting to another server
875
876 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.
877
878 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).
879
880 To connect with the `main` community on ds9, the search is `!main@ds9.lemmy.ml`.
881
882 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`
883
884 # Lemmy v0.7.40 Pre-Release (2020-08-05)
885
886 We've [added a lot](https://github.com/LemmyNet/lemmy/compare/v0.7.40...v0.7.0) in this pre-release:
887
888 - New post sorts `Active` (previously called hot), and `Hot`. Active shows posts with recent comments, hot shows highly ranked posts.
889 - Customizeable site icon and banner, user icon and banner, and community icon and banner.
890 - Added user preferred names / display names, bios, and cakedays.
891 - User settings are now shared across browsers (a page refresh will pick up changes).
892 - Visual / Audio captchas through the lemmy API.
893 - Lots of UI prettiness.
894 - Lots of bug fixes.
895 - Lots of additional translations.
896 - Lots of federation prepping / additions / refactors.
897
898 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.
899
900 ## Upgrading
901
902 **With Ansible:**
903
904 ```
905 # run these commands locally
906 git pull
907 cd ansible
908 ansible-playbook lemmy.yml
909 ```
910
911 **With manual Docker installation:**
912 ```
913 # run these commands on your server
914 cd /lemmy
915 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/ansible/templates/nginx.conf
916 # Replace the {{ vars }}
917 sudo mv nginx.conf /etc/nginx/sites-enabled/lemmy.conf
918 sudo nginx -s reload
919 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/docker-compose.yml
920 sudo docker-compose up -d
921 ```
922
923
924 # Lemmy v0.7.0 Release (2020-06-23)
925
926 This release replaces [pictshare](https://github.com/HaschekSolutions/pictshare)
927 with [pict-rs](https://git.asonix.dog/asonix/pict-rs), which improves performance
928 and security.
929
930 Overall, since our last major release in January (v0.6.0), we have closed over
931 [100 issues!](https://github.com/LemmyNet/lemmy/milestone/16?closed=1)
932
933 - Site-wide list of recent comments
934 - Reconnecting websockets
935 - Many more themes, including a default light one.
936 - Expandable embeds for post links (and thumbnails), from
937 [iframely](https://github.com/itteco/iframely)
938 - Better icons
939 - Emoji autocomplete to post and message bodies, and an Emoji Picker
940 - Post body now searchable
941 - Community title and description is now searchable
942 - Simplified cross-posts
943 - Better documentation
944 - LOTS more languages
945 - Lots of bugs squashed
946 - And more ...
947
948 ## Upgrading
949
950 Before starting the upgrade, make sure that you have a working backup of your
951 database and image files. See our
952 [documentation](https://join-lemmy.org/docs/administration_backup_and_restore.html)
953 for backup instructions.
954
955 **With Ansible:**
956
957 ```
958 # deploy with ansible from your local lemmy git repo
959 git pull
960 cd ansible
961 ansible-playbook lemmy.yml
962 # connect via ssh to run the migration script
963 ssh your-server
964 cd /lemmy/
965 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/migrate-pictshare-to-pictrs.bash
966 chmod +x migrate-pictshare-to-pictrs.bash
967 sudo ./migrate-pictshare-to-pictrs.bash
968 ```
969
970 **With manual Docker installation:**
971 ```
972 # run these commands on your server
973 cd /lemmy
974 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/ansible/templates/nginx.conf
975 # Replace the {{ vars }}
976 sudo mv nginx.conf /etc/nginx/sites-enabled/lemmy.conf
977 sudo nginx -s reload
978 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/docker-compose.yml
979 wget https://raw.githubusercontent.com/LemmyNet/lemmy/master/docker/prod/migrate-pictshare-to-pictrs.bash
980 chmod +x migrate-pictshare-to-pictrs.bash
981 sudo bash migrate-pictshare-to-pictrs.bash
982 ```
983
984 **Note:** After upgrading, all users need to reload the page, then logout and
985 login again, so that images are loaded correctly.
986
987 # Lemmy v0.6.0 Release (2020-01-16)
988
989 `v0.6.0` is here, and we've closed [41 issues!](https://github.com/LemmyNet/lemmy/milestone/15?closed=1) 
990
991 This is the biggest release by far:
992
993 - Avatars!
994 - Optional Email notifications for username mentions, post and comment replies.
995 - Ability to change your password and email address.
996 - Can set a custom language.
997 - Lemmy-wide settings to disable downvotes, and close registration.
998 - A better documentation system, hosted in lemmy itself.
999 - [Huge DB performance gains](https://github.com/LemmyNet/lemmy/issues/411) (everthing down to < `30ms`) by using materialized views. 
1000 - Fixed major issue with similar post URL and title searching.
1001 - Upgraded to Actix `2.0`
1002 - Faster comment / post voting.
1003 - Better small screen support.
1004 - Lots of bug fixes, refactoring of back end code.
1005
1006 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.
1007
1008 https://lemmy.ml