From: Dessalines Date: Mon, 10 Jul 2023 11:51:24 +0000 (-0400) Subject: Adding v0.18.1 and v0.18.0 release notes. (#3530) X-Git-Url: http://these/git/sneer-club-logo.svg?a=commitdiff_plain;h=9d52d8bd0bbe8d9721f3867cb68e3209f901159a;p=lemmy.git Adding v0.18.1 and v0.18.0 release notes. (#3530) --- diff --git a/RELEASES.md b/RELEASES.md index 61f1931b..66b75cc7 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,894 @@ +# Lemmy v0.18.1 Release (2023-07-07) + +## What is Lemmy? + +Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top. + +## Major Changes + +This release includes major improvements to performance, specifically optimizations of database queries. Special thanks to @phiresky, @ruud, @sunaurus and many others for investigating these. Additionally this version includes a fix for another cross-site scripting vulnerability. For these reasons instance admins should upgrade as soon as possible. + +As promised, captchas are supported again. And as usual there are countless bug fixes and minor improvements, many of them contributed by community members. + +## Upgrade instructions + +Follow the upgrade instructions for [ansible](https://github.com/LemmyNet/lemmy-ansible#upgrading) or [docker](https://join-lemmy.org/docs/en/administration/install_docker.html#updating). + +If you need help with the upgrade, you can ask in our [support forum](https://lemmy.ml/c/lemmy_support) or on the [Matrix Chat](https://matrix.to/#/#lemmy-admin-support-topics:discuss.online). + +## Support development + +We (@dessalines and @nutomic) have been working full-time on Lemmy for almost three years. This is largely thanks to support from [NLnet foundation](https://nlnet.nl/). + +If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider [donating to support its development](https://join-lemmy.org/donate). No one likes recurring donations, but they've proven to be the only way that open-source software like Lemmy can stay independent and alive. + +## Changes + +### API + +- Added a few more post sorts, a `show_nsfw` to `ListCommunities`, and `open_links_in_new_tab` to `SaveUserSettings`. +- Full list of changes [here](https://github.com/LemmyNet/lemmy-js-client/compare/0.18.0...0.18.1-rc.3) + +### Lemmy Server + +- Revert "Make sure hot rank sorts for post and community filter by positive hot ranks. ([#3497](https://github.com/LemmyNet/lemmy/issues/3497))" ([#3521](https://github.com/LemmyNet/lemmy/issues/3521)) +- Make hot rank not crash on future ([#3517](https://github.com/LemmyNet/lemmy/issues/3517)) +- Upgrade crossbeam-channel ([#3512](https://github.com/LemmyNet/lemmy/issues/3512)) +- Update prettier to 3.0.0 ([#3509](https://github.com/LemmyNet/lemmy/issues/3509)) +- improve admin and mod check to not do seq scans and return unnecessary data ([#3483](https://github.com/LemmyNet/lemmy/issues/3483)) +- Only allow http(s) scheme for urls (ref [#3505](https://github.com/LemmyNet/lemmy/issues/3505)) ([#3508](https://github.com/LemmyNet/lemmy/issues/3508)) +- Change security contact mail ([#3506](https://github.com/LemmyNet/lemmy/issues/3506)) +- Allow cross-origin requests ([#3421](https://github.com/LemmyNet/lemmy/issues/3421)) +- Make sure hot rank sorts for post and community filter by positive hot ranks. ([#3497](https://github.com/LemmyNet/lemmy/issues/3497)) +- Fixes wrong community moderator ordering. ([#3495](https://github.com/LemmyNet/lemmy/issues/3495)) +- Use fixed prettier version for CI ([#3507](https://github.com/LemmyNet/lemmy/issues/3507)) +- upgrade markdown-it to fix panic ([#3490](https://github.com/LemmyNet/lemmy/issues/3490)) +- improve performance of community followers inbox query ([#3482](https://github.com/LemmyNet/lemmy/issues/3482)) +- Cache federation blocklist ([#3486](https://github.com/LemmyNet/lemmy/issues/3486)) +- Add Prometheus endpoint ([#3456](https://github.com/LemmyNet/lemmy/issues/3456)) +- Adding a person.admin index, and featured_local/community indexes. ([#3479](https://github.com/LemmyNet/lemmy/issues/3479)) +- Add feature for enabling json logging ([#3462](https://github.com/LemmyNet/lemmy/issues/3462)) +- fix(posts/comments/search): return error on invalid community name ([#3418](https://github.com/LemmyNet/lemmy/issues/3418)) +- Improved validation of display names (Fixes [#3436](https://github.com/LemmyNet/lemmy/issues/3436)) ([#3437](https://github.com/LemmyNet/lemmy/issues/3437)) +- Remove not needed anymore http-signature-normalization-actix dependency ([#3458](https://github.com/LemmyNet/lemmy/issues/3458)) +- 300 comment limit. ([#3306](https://github.com/LemmyNet/lemmy/issues/3306)) +- Do not decrement comment score twice when removing then deleting. ([#3196](https://github.com/LemmyNet/lemmy/issues/3196)) +- Remove excessive content_type header configuration ([#3470](https://github.com/LemmyNet/lemmy/issues/3470)) +- Adding rest of community sorts. Fixes [#3374](https://github.com/LemmyNet/lemmy/issues/3374) ([#3376](https://github.com/LemmyNet/lemmy/issues/3376)) +- Dont compare db string errors (fixes [#1393](https://github.com/LemmyNet/lemmy/issues/1393)) ([#3424](https://github.com/LemmyNet/lemmy/issues/3424)) +- Add Open links in new tab setting ([#3318](https://github.com/LemmyNet/lemmy/issues/3318)) +- Fix awesome-lemmy owner ([#3469](https://github.com/LemmyNet/lemmy/issues/3469)) +- Add awesome-lemmy to LemmyNet? ([#3413](https://github.com/LemmyNet/lemmy/issues/3413)) +- Use serde(skip) instead of skip_serializing, add placeholder values ([#3362](https://github.com/LemmyNet/lemmy/issues/3362)) +- Mark follow as pending when subscribing to remote community (fixes [#3384](https://github.com/LemmyNet/lemmy/issues/3384)) ([#3406](https://github.com/LemmyNet/lemmy/issues/3406)) +- Fix formatting for latest nightly (#ref 3467) +- Remove PerformApub trait ([#3423](https://github.com/LemmyNet/lemmy/issues/3423)) +- Fix quoting of max-file in docker-compose.yml ([#3442](https://github.com/LemmyNet/lemmy/issues/3442)) +- don't strip, log trace if requested ([#3425](https://github.com/LemmyNet/lemmy/issues/3425)) +- Update federated posts to not cache sensitive images if not allow by local site ([#3253](https://github.com/LemmyNet/lemmy/issues/3253)) +- Fix concatenation of audio captcha wav files ([#3350](https://github.com/LemmyNet/lemmy/issues/3350)) +- Automatically manage database when running scripts/test.sh ([#3389](https://github.com/LemmyNet/lemmy/issues/3389)) +- Fixing release script. ([#3398](https://github.com/LemmyNet/lemmy/issues/3398)) +- Added gitattributes to normalize all files to lf ([#3386](https://github.com/LemmyNet/lemmy/issues/3386)) +- Update activitypub-federation crate to 0.4.5 ([#3379](https://github.com/LemmyNet/lemmy/issues/3379)) +- Fix cargo warnings ([#3397](https://github.com/LemmyNet/lemmy/issues/3397)) +- Fix missing sorting types ([#3370](https://github.com/LemmyNet/lemmy/issues/3370)) +- docs(api): Add api-common info on generating TypeScript bindings ([#3330](https://github.com/LemmyNet/lemmy/issues/3330)) +- Remove redundant calls to `Iterator::collect` ([#3365](https://github.com/LemmyNet/lemmy/issues/3365)) +- Run cargo update as part of release script ([#3369](https://github.com/LemmyNet/lemmy/issues/3369)) +- Fixes [#2900](https://github.com/LemmyNet/lemmy/issues/2900) - Checks slur regex to see if it is too permissive ([#3146](https://github.com/LemmyNet/lemmy/issues/3146)) +- add new flag to api ([#3363](https://github.com/LemmyNet/lemmy/issues/3363)) +- feat: re-added captcha checks ([#3289](https://github.com/LemmyNet/lemmy/issues/3289)) +- Limit password resets ([#3344](https://github.com/LemmyNet/lemmy/issues/3344)) +- Fixing the release script. ([#3295](https://github.com/LemmyNet/lemmy/issues/3295)) +- Batch hot rank updates ([#3175](https://github.com/LemmyNet/lemmy/issues/3175)) +- Feature add three six and nine months options backend ([#3226](https://github.com/LemmyNet/lemmy/issues/3226)) +- Fetch community outbox and moderators in parallel ([#3360](https://github.com/LemmyNet/lemmy/issues/3360)) +- Remove networks from docker-compose.yml ([#3356](https://github.com/LemmyNet/lemmy/issues/3356)) +- Item URL should point to post URL ([#3345](https://github.com/LemmyNet/lemmy/issues/3345)) +- Site Metadata: resolve relative URLs for embedded images/videos ([#3338](https://github.com/LemmyNet/lemmy/issues/3338)) +- Use compression middleware ([#3343](https://github.com/LemmyNet/lemmy/issues/3343)) +- Remove another unused dev dependency +- Adjust the config check to be a separate faster to compile binary ([#3313](https://github.com/LemmyNet/lemmy/issues/3313)) +- Remove unused actix_rt dependency +- Add Liftoff to README.md ([#3357](https://github.com/LemmyNet/lemmy/issues/3357)) +- Respond with `Content-Type: application/activity+json` ([#3353](https://github.com/LemmyNet/lemmy/issues/3353)) +- Fix lemmy UI environment variable ([#3299](https://github.com/LemmyNet/lemmy/issues/3299)) +- Leave no apk cache in Docker image ([#3327](https://github.com/LemmyNet/lemmy/issues/3327)) +- Allow wildcard imports in schema.rs ([#3293](https://github.com/LemmyNet/lemmy/issues/3293)) +- Update DB local_user.theme type to text ([#3266](https://github.com/LemmyNet/lemmy/issues/3266)) +- feat: allow all admins to purge content ([#3271](https://github.com/LemmyNet/lemmy/issues/3271)) +- Add separate Post check for is_valid_body_field ([#3263](https://github.com/LemmyNet/lemmy/issues/3263)) +- Remove DELETED_REPLACEMENT_URL +- Add support for sslmode=require for diesel-async DB connections ([#3189](https://github.com/LemmyNet/lemmy/issues/3189)) +- Remove `actix_rt` & use standard tokio spawn ([#3158](https://github.com/LemmyNet/lemmy/issues/3158)) +- Revert "feat: re-added captcha checks ([#3249](https://github.com/LemmyNet/lemmy/issues/3249))" ([#3288](https://github.com/LemmyNet/lemmy/issues/3288)) +- Fixing removed posts showing. Fixes [#2875](https://github.com/LemmyNet/lemmy/issues/2875) ([#3279](https://github.com/LemmyNet/lemmy/issues/3279)) +- Reversed requirement question logic ([#3283](https://github.com/LemmyNet/lemmy/issues/3283)) +- feat: re-added captcha checks ([#3249](https://github.com/LemmyNet/lemmy/issues/3249)) +- Add support for sslmode=require for diesel-async DB connections ([#3189](https://github.com/LemmyNet/lemmy/issues/3189)) +- Remove `actix_rt` & use standard tokio spawn ([#3158](https://github.com/LemmyNet/lemmy/issues/3158)) +- after 30 days post deletion, replace comment.content and post.body with 'Permanently Deleted' + +### Lemmy UI + +- Dark theme tweaks ([#1840](https://github.com/LemmyNet/lemmy-ui/issues/1840)) +- fix: Adjust sidebar banner to wrap bellow the title ([#1819](https://github.com/LemmyNet/lemmy-ui/issues/1819)) +- add ruby annotation support ([#1831](https://github.com/LemmyNet/lemmy-ui/issues/1831)) +- fix: Fix mobile thumbnail being too small ([#1814](https://github.com/LemmyNet/lemmy-ui/issues/1814)) +- Use Join Lemmy hostname as link text in footer ([#1737](https://github.com/LemmyNet/lemmy-ui/issues/1737)) +- fix: Add focus ring color to post action buttons and markdown help link ([#1816](https://github.com/LemmyNet/lemmy-ui/issues/1816)) +- fix: Fix focus ring styles for radio button toggles [#1772](https://github.com/LemmyNet/lemmy-ui/issues/1772) ([#1773](https://github.com/LemmyNet/lemmy-ui/issues/1773)) +- fix toaster upon user settings change ([#1802](https://github.com/LemmyNet/lemmy-ui/issues/1802)) +- Fix home page not using site-level listing type [#1612](https://github.com/LemmyNet/lemmy-ui/issues/1612) ([#1778](https://github.com/LemmyNet/lemmy-ui/issues/1778)) +- feat: Subtler user badge style ([#1796](https://github.com/LemmyNet/lemmy-ui/issues/1796)) +- Fix data-bs-theme ([#1810](https://github.com/LemmyNet/lemmy-ui/issues/1810)) +- v0.18.1-rc.10 +- Attempt to fix inability to logout from some instances (subdomains) ([#1809](https://github.com/LemmyNet/lemmy-ui/issues/1809)) +- feat(theme): Vaporwave ([#1682](https://github.com/LemmyNet/lemmy-ui/issues/1682)) +- fix: Revert smaller text size ([#1795](https://github.com/LemmyNet/lemmy-ui/issues/1795)) +- Updated the regex for isAuthPath to reduce false positive hits ([#1806](https://github.com/LemmyNet/lemmy-ui/issues/1806)) +- fix: Add focus border to markdown toolbar buttons +- fix: Add data-bs-theme attribute for user dark/light modes ([#1782](https://github.com/LemmyNet/lemmy-ui/issues/1782)) +- fix: Break text on post titles so long words don't overflow +- fix: Fix comment collapse and vote buttons not having focus style ([#1789](https://github.com/LemmyNet/lemmy-ui/issues/1789)) +- Add missing modlog reasons ([#1787](https://github.com/LemmyNet/lemmy-ui/issues/1787)) +- Fix search page breaking on initial load when logged in ([#1781](https://github.com/LemmyNet/lemmy-ui/issues/1781)) +- feat: Add PR template ([#1785](https://github.com/LemmyNet/lemmy-ui/issues/1785)) +- Fix profile loading spinner +- fix: Move getRoleLabelPill to the only component that uses it +- fix: Remove unused hasBadges() function +- fix: Fix badge alignment and break out into component +- Move export to barrel file +- fix: Fix avatar image overlay aspect ratio +- fix: Fix circle image aspect ratio +- fix: Add some spacing between upload field and image; fix circle image aspect ratio +- Prevent JWT token from showing up on error page +- fix: Fix vote buttons not showing spinners while registering vote [#1761](https://github.com/LemmyNet/lemmy-ui/issues/1761) +- fix: Fix joined button check color +- fix: Fix up filter row gaps and margins a little +- fix: Fix heading levels +- fix: Simplify row classes a bit +- fix: Fix some gaps in search filters +- fix: Fix row gap on search options +- fix: Add bottom margin to inbox controls +- fix: Small cleanup to search/inbox controls +- fix: Update comment to reflect new logic +- fix: Post expand button was not showing if body-only post +- fix: Fix vote buttons in list view variable width +- fix: Fix thumb buttons having gray background [#1754](https://github.com/LemmyNet/lemmy-ui/issues/1754) +- Add metaKey to markdown-textarea, for macos +- Fix jwt cookie path +- Fix quotedText bugs in markdown editor +- Fix DM replies +- Add fallback date-fns locale import +- Fix date-fns locale import failing for some locales +- fix req.cookie nonexistent -.- +- Enforce SameSite=Strict ([#1713](https://github.com/LemmyNet/lemmy-ui/issues/1713)) +- fix service worker path +- fix cache auth method +- Fix authorized route false flag +- Fix dev caching issue +- change max-age to 5 for non-authed responses +- Fix `PostListing` mobile margin layout issue ([#1706](https://github.com/LemmyNet/lemmy-ui/issues/1706)) +- Cache static data for a day +- Try increasing node memory. +- Fix taglines on `Home` ([#1701](https://github.com/LemmyNet/lemmy-ui/issues/1701)) +- Use git hash to break cache ([#1684](https://github.com/LemmyNet/lemmy-ui/issues/1684)) +- fix issue with thumbnails ([#1695](https://github.com/LemmyNet/lemmy-ui/issues/1695)) +- Fixing site setup. Fixes [#1694](https://github.com/LemmyNet/lemmy-ui/issues/1694) ([#1697](https://github.com/LemmyNet/lemmy-ui/issues/1697)) +- Removing unecessary timezone adjusting +- Allow audio captcha through CSP ([#1690](https://github.com/LemmyNet/lemmy-ui/issues/1690)) +- fix formatting +- Fixing lints. ([#1686](https://github.com/LemmyNet/lemmy-ui/issues/1686)) +- Search only communities by default when coming from communities page +- Add Security.txt ([#1408](https://github.com/LemmyNet/lemmy-ui/issues/1408)) +- Fixing timezone issue with date-fns. Fixes [#1680](https://github.com/LemmyNet/lemmy-ui/issues/1680) ([#1681](https://github.com/LemmyNet/lemmy-ui/issues/1681)) +- Add error toast for 413 content too large response on image uploads ([#1675](https://github.com/LemmyNet/lemmy-ui/issues/1675)) +- Add publicPath for static js ([#1672](https://github.com/LemmyNet/lemmy-ui/issues/1672)) +- Fix search page to stop `couldnt_find_object` error ([#1669](https://github.com/LemmyNet/lemmy-ui/issues/1669)) +- Add fixed width/height to `PostListing` thumbnail parent ([#1660](https://github.com/LemmyNet/lemmy-ui/issues/1660)) +- fix: Add user action buttons to post dropdown [#1653](https://github.com/LemmyNet/lemmy-ui/issues/1653) ([#1655](https://github.com/LemmyNet/lemmy-ui/issues/1655)) +- Adding nightly docker build. ([#1678](https://github.com/LemmyNet/lemmy-ui/issues/1678)) +- Return appropriate error codes ([#1665](https://github.com/LemmyNet/lemmy-ui/issues/1665)) +- Add i386 theme ([#1662](https://github.com/LemmyNet/lemmy-ui/issues/1662)) +- Set cache-control headers to reduce server load (fixes [#412](https://github.com/LemmyNet/lemmy-ui/issues/412)) ([#1641](https://github.com/LemmyNet/lemmy-ui/issues/1641)) +- formatting +- make subscribe/unsub/pending button consistent +- Revert [#1463](https://github.com/LemmyNet/lemmy-ui/issues/1463), markdown default lang select +- remove hard-coded text foreground color classes ([#1658](https://github.com/LemmyNet/lemmy-ui/issues/1658)) +- Fix subscribe and block community buttons not showing up on first load +- change me-2 to me-1, no need for me-2 width +- make mod shrunken label text-primary +- add @jsit advice +- fix weird borders when markdown textarea is disabled +- use span +- always show badge on mobile +- fix a few colors +- Reduce fetchLimit (40 -> 20) ([#1638](https://github.com/LemmyNet/lemmy-ui/issues/1638)) +- Moving webpack-bundle-analyzer require inside mode check to fix docker. +- Fix allowed and blocked instances not being fetched for admin settings ([#1627](https://github.com/LemmyNet/lemmy-ui/issues/1627)) +- fix: Restore mdNoImages import +- fix: Fix alignment of preview mini-overlay buttons on thumbs +- fix: Remove body preview +- fix: Move toggle button to its own function +- fix: Show metadata preview card on all post pages +- Fix feedback on banning an unbanning +- fix vote button alignment +- remove icon ([#1618](https://github.com/LemmyNet/lemmy-ui/issues/1618)) +- Indicate valid and invalid fields in signup form ([#1450](https://github.com/LemmyNet/lemmy-ui/issues/1450)) +- capitalize button ([#1616](https://github.com/LemmyNet/lemmy-ui/issues/1616)) +- Move password reset form to separate route, view ([#1390](https://github.com/LemmyNet/lemmy-ui/issues/1390)) +- feat(UI): Reduce base font size ([#1591](https://github.com/LemmyNet/lemmy-ui/issues/1591)) +- Fix: missing semantic css classes and html elements ([#1583](https://github.com/LemmyNet/lemmy-ui/issues/1583)) +- partially revert change +- chore(DX): Add prettier to eslint config for use with editors +- fix: Remove unnecessary class +- fix: Remove unnecessary classes +- fix: Restore removed classes +- fix: Remove wrapping li's +- fix: Remove extraneous classes +- fix: Move things back to where they were +- chore: Separate post mod buttons into functions +- remove hook entirely +- fix bug collapsing previews when voting +- fix: Remove unnecessary string interpolations +- fix: Remove smallavatars prop +- fix: Restore icon avatars; make smaller and roundrect +- fix: Use Bootstrap file upload form control styles +- Fix feedback on banning an unbanning +- fix vote button alignment +- remove icon ([#1618](https://github.com/LemmyNet/lemmy-ui/issues/1618)) +- Indicate valid and invalid fields in signup form ([#1450](https://github.com/LemmyNet/lemmy-ui/issues/1450)) +- capitalize button ([#1616](https://github.com/LemmyNet/lemmy-ui/issues/1616)) +- Move password reset form to separate route, view ([#1390](https://github.com/LemmyNet/lemmy-ui/issues/1390)) +- feat(UI): Reduce base font size ([#1591](https://github.com/LemmyNet/lemmy-ui/issues/1591)) +- Fix: missing semantic css classes and html elements ([#1583](https://github.com/LemmyNet/lemmy-ui/issues/1583)) +- chore(DX): Add prettier to eslint config for use with editors +- Only give child comments colored borders +- Associate NSFW label with its checkbox +- fix: Remove unnecessary string interpolations +- fix: Remove unnecessary class +- fix: Remove unnecessary classes +- fix: Restore removed classes +- fix: Remove wrapping li's +- fix: Remove extraneous classes +- fix: Move things back to where they were +- chore: Separate post mod buttons into functions +- remove toUpperCase since the translation is uppercase +- fix vote button alignment +- partially revert change +- Add space between cancel and ban button +- add tooltip +- Fix feedback on banning an unbanning +- make post creator badge stand out more +- remove icon ([#1618](https://github.com/LemmyNet/lemmy-ui/issues/1618)) +- Indicate valid and invalid fields in signup form ([#1450](https://github.com/LemmyNet/lemmy-ui/issues/1450)) +- capitalize button ([#1616](https://github.com/LemmyNet/lemmy-ui/issues/1616)) +- Move password reset form to separate route, view ([#1390](https://github.com/LemmyNet/lemmy-ui/issues/1390)) +- feat(UI): Reduce base font size ([#1591](https://github.com/LemmyNet/lemmy-ui/issues/1591)) +- Fix: missing semantic css classes and html elements ([#1583](https://github.com/LemmyNet/lemmy-ui/issues/1583)) +- remove hook entirely +- run prettier +- add darkly-pureblack theme +- chore(DX): Add prettier to eslint config for use with editors +- fix bug collapsing previews when voting +- Associate NSFW label with its checkbox +- fix: Remove unused comment +- fix: Fix image/title wrapping on small +- fix: Fix post listing vote/image/title widths +- fix: Fix a too-small thumbnail column +- fix: Set max height on post listing thumbnails +- fix: Remove unnecessary string interpolations +- fix: Tidy up divs +- fix: Make navbar container full screen width [#1536](https://github.com/LemmyNet/lemmy-ui/issues/1536) +- feat: Use plus/minus expand button in title for showing body/preview +- fix: Remove unnecessary class +- fix: Remove unnecessary classes +- fix: Restore removed classes +- fix: Remove wrapping li's +- fix: Remove extraneous classes +- fix: Move things back to where they were +- chore: Separate post mod buttons into functions +- feat(UI): Fix some link hover colors +- feat(UI): Hide avatars on listings +- feat(UI): Always put post body behind togggle on post listings (home/community) [#1595](https://github.com/LemmyNet/lemmy-ui/issues/1595) +- Only give child comments colored borders +- Update post-listing.tsx +- CSP should allow data urls for media-src or the audio captcha won't work +- fix(UI): Make max-width wider, and make sidebar narrower on wide screens [#1536](https://github.com/LemmyNet/lemmy-ui/issues/1536) +- Use spae instead of margin +- Fix search request being called twice on search page +- Add margin to new comment text +- handle embedded iframe content better +- fix lint error +- fix error on prod +- chore: Empty commit to re-trigger Woodpecker +- chore(a11y): Remove a11y eslint overrides, as there are (almost) no more violations +- fix(a11y): Change the look and behavior of some file upload fields +- fix: Add type=button to buttons +- fix: Fix some classes on private message collapse/expand button +- chore(a11y): Remove now-passing jsx-a11y tests from exemptions +- fix(a11y): Change divs and links to buttons +- fix: Remove invalid class +- chore: Empty commit to re-trigger Woodpecker +- fix: Fix some Bootstrap 5 font classes +- fix: Fix some Bootstrap 5 font classes +- fix(a11y): Restore aria-activedescendant +- chore: Empty commit to re-trigger Woodpecker +- fix(a11y): Make foreground of 'remove image button' white +- fix(a11y): Add alt text to emojis form +- fix(a11y): Fix some a11y markup in Searchable Select component +- fix(a11y): Change image remove button to true button element +- fix: Ignore rule for clickaway div; 'Esc' works for this +- fix(a11y): Fix non-list item being inside ul list in navbar +- fix: Fix non-unique ID attribute on re-used element +- fix: Fix another class +- fix: Fix some Bootstrap 5 font classes +- fix: Fix some emoji escape logic +- fix: Button doesn't need tabindex +- fix: Fix incorrect function reference +- fix: Empty commit to re-trigger Woodpecker +- fix: Emoji picker can be closed with escape key, other a11y fixes +- fix: Fix some a11y issues on jump to content button +- fix: Fix up some interface language logic and design +- fix: Clarify a comment +- Remove federation worker count +- fix: Add triangle alert icon to language warning +- added litely-compact +- changed where custom compact code goes +- added darkly-compact - issue 552 +- Refactor first load handling +- Fix issue when navigating awat from settings +- Give function better name +- Make date distance format use correct verbiage +- Extract date fns setup +- Remove unused dep +- Replace momentjs with date-fns +- Cache post listings and restore listing state when using browser back navigation buttons. +- Fix homepage `scrollTo(0, 0)` failing when document size changes. +- Moved `!isBrowser()` check to `FirstLoadServer.isFirstLoad` +- Fix server-side rendering after first load. +- fix: Add aria-describedby for language warning +- Update src/shared/components/common/markdown-textarea.tsx +- Fix comments expanding when they're not supposed to ([#1540](https://github.com/LemmyNet/lemmy-ui/issues/1540)) +- Update src/shared/components/common/markdown-textarea.tsx +- fix: Disable save button if no text is entered +- fix: Fix some more private message form stuff +- Remove federation worker count +- feat: Clean up the Create Private Message page a bit +- Fix emojis being unable to save +- fix: Use simpler syntax for languageId array +- fix: Add triangle alert icon to language warning +- fix: Fix language selection bug +- fix: Use Interface Language instead +- Refactor first load handling +- fix: Add aria-describedby for language warning +- Fix issue when navigating awat from settings +- Give function better name +- Cache post listings and restore listing state when using browser back navigation buttons. +- fix: Specify vote content type so buttons work for both comments and posts +- Fix homepage `scrollTo(0, 0)` failing when document size changes. +- Moved `!isBrowser()` check to `FirstLoadServer.isFirstLoad` +- Fix server-side rendering after first load. +- fix!: Try to get Vote Buttons component working in Comments +- fix: Remove unused prop +- Change function name +- Make date distance format use correct verbiage +- Extract date fns setup +- Fix homepage `scrollTo(0, 0)` failing when document size changes. +- fix: Rework some vote buttons architecture +- Remove unused dep +- Replace momentjs with date-fns +- fix: Undo some other extraneous changes +- fix: Undo some extraneous changes +- fix: Remove tippy duplicate functions +- fix: Revert to old mobile vote style +- feat: Move vote buttons to separate component +- feat: Default language dropdowns to user's primary language +- added litely-compact +- changed where custom compact code goes +- added darkly-compact - issue 552 + +# Lemmy v0.18 Release (2023-06-23) + +## What is Lemmy? + +Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top. + +## Major Changes + +### HTTP API instead of Websocket + +Until now Lemmy-UI used websocket for all API requests. This has [many disadvantages](https://github.com/LemmyNet/lemmy/issues/2841#issuecomment-1535469357), like making the code harder to maintain, and causing live updates to the site which many users dislike. Most importantly, it requires keeping a connection open between server and client at all times, which causes increased load and makes scaling difficult. That's why we decided to rip out websocket entirely, and switch to HTTP instead. This change was made much more urgent by the sudden influx of new users. [@CannotSleep420](https://lemmygrad.ml/u/CannotSleep420) and [@dessalines](https://lemmy.ml/u/dessalines) have been working hard for the past weeks to implement this change in lemmy-ui. + +HTTP on its own is already more lightweight than websocket. Additionally it also allows for caching of server responses which can decrease load on the database. Here is an [experimental nginx config](https://github.com/LemmyNet/lemmy-ansible/pull/75) which enables response caching. Note that Lemmy doesn't send any cache-control headers yet, so there is a chance that private data gets cached and served to other users. Test carefully and use at your own risk. + +### Two-Factor Authentication + +New support for two-factor authentication. Use an app like [andOTP](https://f-droid.org/es/packages/org.shadowice.flocke.andotp/) or [Authenticator Pro](https://f-droid.org/packages/me.jmh.authenticatorpro/) to store a secret for your account. This secret needs to be entered every time you login. It ensures that an attacker can't access your account with the password alone. + +### Custom Emojis + +Instance admins can add different images as emojis which can be referenced by users when posting. + +### Other changes + +#### Progressive Web App + +Lemmy's web client can now be installed on browsers that support PWAs, both on desktop and mobile. It will use an instance's icon and name for the app if they are set, making it look like a given instance is an app. + +**Note for desktop Firefox users**: the desktop version of Firefox does not have built in support for PWAs. If you would like to use a Lemmy instance as a PWA, use [use this extension](https://addons.mozilla.org/en-US/firefox/addon/pwas-for-firefox/). + +#### Error Pages + +Lemmy's web client now has error pages that include resources to use if the problem persists. This should be much less jarring for users than displaying a white screen with the text "404 _error message here_". + +#### Route Changes + +Pages that took arguments in the route now take query parameters instead. For example, a link to lemmy.ml's home page with a few options used to look like this: + +``` +https://lemmy.ml/home/data_type/Post/listing_type/All/sort/Active/page/1 +``` + +The new route would look like this: + +``` +https://lemmy.ml?listingType=All +``` + +Note that you now only have to specify parameters you want instead of all of them. + +#### Searchable select redesign + +The searchable selects, such as those used on the search page, have a new look and feel. No more inexplicable green selects when using the lightly themes! + +#### Share button + +Posts on the web client now have a share button on supported browsers. This can be used to share posts to other applications quickly and easily. + +#### Lemmy-UI Overall look and feel + +lemmy-ui is now upgraded to bootstrap 5, and every component is now much cleaner. + +Special thanks to [sleepless](https://github.com/SleeplessOne1917), [alectrocute](https://github.com/alectrocute), [jsit](https://github.com/jsit), and many others for their great work on improving and re-organizing lemmy-ui. + +#### Database optimizations + +Special thanks to [johanndt](https://github.com/johanndt), for suggesting improvements to Lemmy's database queries. Some of these suggestions have already been implemented, and more are on the way. + +Query speed is Lemmy's main performance bottleneck, so we really appreciate any help database experts can provide. + +#### Captchas + +Captchas are not available in this version, as they need to be reimplemented in a different way. They will be back in 0.18.1, so wait with upgrading if you rely on them. + +## Upgrade instructions + +The installation instructions have been slightly updated. However there are no breaking changes, other than removing websocket. + +Follow the upgrade instructions for [ansible](https://github.com/LemmyNet/lemmy-ansible#upgrading) or [docker](https://join-lemmy.org/docs/en/administration/install_docker.html#updating). + +If you need help with the upgrade, you can ask in our [support forum](https://lemmy.ml/c/lemmy_support) or on the [Matrix Chat](https://matrix.to/#/!OwmdVYiZSXrXbtCNLw:matrix.org). + +## Support development + +We (@dessalines and @nutomic) have been working full-time on Lemmy for almost three years. This is largely thanks to support from [NLnet foundation](https://nlnet.nl/). + +If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider [donating to support its development](https://join-lemmy.org/donate). No one likes recurring donations, but they've proven to be the only way that open-source software like Lemmy can stay independent and alive. + +## Changes + +### API + +- Our HTTP API docs are at https://join-lemmy.org/api/ + - These are now auto-generated directly from our rust type definitions, using [ts-rs](https://github.com/Aleph-Alpha/ts-rs). + - [A comparison from the last release](https://github.com/LemmyNet/lemmy-js-client/compare/0.17.0-rc.1...0.18.0-rc.1) +- There are two breaking changes since the last release: + - [GetSite.taglines](https://join-lemmy.org/api/interfaces/GetSiteResponse.html#taglines) is now required, and is an empty array. + - `SortType` and `ListingType` are now numbered enums, rather than strings in some places, and numbers in others. + +### Config + +- No changes, but you can see the current config options [here.](https://github.com/LemmyNet/lemmy/blob/main/config/defaults.hjson) + +### Lemmy Server + +- Speedup cargo check in CI ([#3239](https://github.com/LemmyNet/Lemmy/issues/3239)) +- Correct error messages if user registers with taken user/email ([#3093](https://github.com/LemmyNet/Lemmy/issues/3093)) +- Fixing cross_post duplicates. Fixes [#3233](https://github.com/LemmyNet/Lemmy/issues/3233) ([#3234](https://github.com/LemmyNet/Lemmy/issues/3234)) +- Add test to check reading and listing posts return my_vote ([#3215](https://github.com/LemmyNet/Lemmy/issues/3215)) +- Reduce memory usage of rate limiting ([#3111](https://github.com/LemmyNet/Lemmy/issues/3111)) +- Adding current domain from settings to CORs. ([#3231](https://github.com/LemmyNet/Lemmy/issues/3231)) +- remove debugging println ([#3227](https://github.com/LemmyNet/Lemmy/issues/3227)) +- Fixing comment_view unit tests. ([#3224](https://github.com/LemmyNet/Lemmy/issues/3224)) +- Fix parameter ordering for new_report_subject string ([#3210](https://github.com/LemmyNet/Lemmy/issues/3210)) +- Move cors default to source code ([#3219](https://github.com/LemmyNet/Lemmy/issues/3219)) +- Fixing tag deploys. ([#3216](https://github.com/LemmyNet/Lemmy/issues/3216)) +- Feature add hours as sorting options backend ([#3161](https://github.com/LemmyNet/Lemmy/issues/3161)) +- Don't check verified email when an admin logs in ([#3209](https://github.com/LemmyNet/Lemmy/issues/3209)) +- fix: add CORS origin environment variable ([#3191](https://github.com/LemmyNet/Lemmy/issues/3191)) +- make embedded pict-rs port configurable ([#3201](https://github.com/LemmyNet/Lemmy/issues/3201)) +- Move connection creation into scheduler. ([#3120](https://github.com/LemmyNet/Lemmy/issues/3120)) +- Calculate initial hot_rank and hot_rank_active for posts and comments from other instances ([#3131](https://github.com/LemmyNet/Lemmy/issues/3131)) +- Changed github issue template to align logically with the question asked ([#3135](https://github.com/LemmyNet/Lemmy/issues/3135)) +- Update README.md ([#3137](https://github.com/LemmyNet/Lemmy/issues/3137)) +- Remove e-mail verification success e-mails ([#3124](https://github.com/LemmyNet/Lemmy/issues/3124)) +- Fix Hidden communities showing in community list ([#3094](https://github.com/LemmyNet/Lemmy/issues/3094)) +- Update all dependencies ([#3091](https://github.com/LemmyNet/Lemmy/issues/3091)) +- Prevent making an instance private if federation is enabled. ([#3074](https://github.com/LemmyNet/Lemmy/issues/3074)) +- Handle scheduled task errors ([#3090](https://github.com/LemmyNet/Lemmy/issues/3090)) +- Fix unapproved users being able to log in after registration mode set to closed. ([#3096](https://github.com/LemmyNet/Lemmy/issues/3096)) +- Link tafkars in readme ([#3087](https://github.com/LemmyNet/Lemmy/issues/3087)) +- doc: Added pythorhead library in readme ([#3114](https://github.com/LemmyNet/Lemmy/issues/3114)) +- Only create ltree postgres extension in migration if doesn't already exist ([#3092](https://github.com/LemmyNet/Lemmy/issues/3092)) +- add issue template yml from lemmy-ui ([#3086](https://github.com/LemmyNet/Lemmy/issues/3086)) +- Fix Issue [#3075](https://github.com/LemmyNet/Lemmy/issues/3075) by using None for local fields instead of Some(false) ([#3088](https://github.com/LemmyNet/Lemmy/issues/3088)) +- stop requiring superuser to run migrations ([#3002](https://github.com/LemmyNet/Lemmy/issues/3002)) +- Fixes [#1884](https://github.com/LemmyNet/Lemmy/issues/1884) - Support Spoiler Tags ([#3018](https://github.com/LemmyNet/Lemmy/issues/3018)) +- Fix compilation +- Align default DB password with documentation ([#3068](https://github.com/LemmyNet/Lemmy/issues/3068)) +- Update RSS url ([#3053](https://github.com/LemmyNet/Lemmy/issues/3053)) +- Docker yaml anchors and docker logs ([#3027](https://github.com/LemmyNet/Lemmy/issues/3027)) +- Fix ports used by docker ([#3012](https://github.com/LemmyNet/Lemmy/issues/3012)) +- Add limit and pagination to feeds ([#2980](https://github.com/LemmyNet/Lemmy/issues/2980)) +- Upgrade activitypub-federation to 0.4.1 ([#3039](https://github.com/LemmyNet/Lemmy/issues/3039)) +- Adding Lemmy-Swift-Client to README.md ([#3026](https://github.com/LemmyNet/Lemmy/issues/3026)) +- use usize::MAX for line wrap length, since lettre does it for us ([#3034](https://github.com/LemmyNet/Lemmy/issues/3034)) +- update doku ([#3003](https://github.com/LemmyNet/Lemmy/issues/3003)) +- Fix contributing link ([#3015](https://github.com/LemmyNet/Lemmy/issues/3015)) +- Better issue templates. ([#2991](https://github.com/LemmyNet/Lemmy/issues/2991)) +- allow specifying db uri in config file ([#2956](https://github.com/LemmyNet/Lemmy/issues/2956)) +- Adding hot_rank columns in place of function sorting. ([#2952](https://github.com/LemmyNet/Lemmy/issues/2952)) +- make shebangs posix compliant ([#2974](https://github.com/LemmyNet/Lemmy/issues/2974)) +- Fix private message e-mail notification subject and body ([#2963](https://github.com/LemmyNet/Lemmy/issues/2963)) +- Add comment depth check ([#2940](https://github.com/LemmyNet/Lemmy/issues/2940)) +- Add `lemmyexternalproxy` to `lemmy` so that it can talk to the internet ([#2960](https://github.com/LemmyNet/Lemmy/issues/2960)) +- Fix translation build error (fixes [#2967](https://github.com/LemmyNet/Lemmy/issues/2967)) ([#2968](https://github.com/LemmyNet/Lemmy/issues/2968)) +- Activitypub breaking changes for Lemmy 0.18 ([#2705](https://github.com/LemmyNet/Lemmy/issues/2705)) +- Add db index for post.url column ([#2929](https://github.com/LemmyNet/Lemmy/issues/2929)) +- Fall back to String for Comment::path when not using the full feature ([#2941](https://github.com/LemmyNet/Lemmy/issues/2941)) +- update diesel to 2.1.0 and diesel-async to 0.3.0 (issue [#2882](https://github.com/LemmyNet/Lemmy/issues/2882)) ([#2895](https://github.com/LemmyNet/Lemmy/issues/2895)) +- Fix dev setups. ([#2944](https://github.com/LemmyNet/Lemmy/issues/2944)) +- Set version name for crates.io release ([#2928](https://github.com/LemmyNet/Lemmy/issues/2928)) +- Fix handling of follows addressed to single value ([#2920](https://github.com/LemmyNet/Lemmy/issues/2920)) +- Remove chatserver ([#2919](https://github.com/LemmyNet/Lemmy/issues/2919)) +- Adding taglines to SiteResponse. Fixes [#2925](https://github.com/LemmyNet/Lemmy/issues/2925) ([#2926](https://github.com/LemmyNet/Lemmy/issues/2926)) +- Fix _All_ reports not showing. Fixes [#2902](https://github.com/LemmyNet/Lemmy/issues/2902) ([#2903](https://github.com/LemmyNet/Lemmy/issues/2903)) +- README updates ([#2913](https://github.com/LemmyNet/Lemmy/issues/2913)) +- Filter empty username strings from Mastodon (fixes [#2886](https://github.com/LemmyNet/Lemmy/issues/2886)) ([#2887](https://github.com/LemmyNet/Lemmy/issues/2887)) +- Update humane tech badge to point to new repo ([#2898](https://github.com/LemmyNet/Lemmy/issues/2898)) +- Update to fix nginx proxy config for Docker Installs ([#2908](https://github.com/LemmyNet/Lemmy/issues/2908)) +- Remove jaeger, opentelemetry from docker-compose ([#2894](https://github.com/LemmyNet/Lemmy/issues/2894)) +- Replace remmel with Mlem. ([#2890](https://github.com/LemmyNet/Lemmy/issues/2890)) +- Add CORS support for debug mode. ([#2884](https://github.com/LemmyNet/Lemmy/issues/2884)) +- Don't filter comments of posts from blocked community when viewing post detail ([#2880](https://github.com/LemmyNet/Lemmy/issues/2880)) +- Remove websocket code ([#2878](https://github.com/LemmyNet/Lemmy/issues/2878)) +- Dont return error in case optional auth is invalid ([#2879](https://github.com/LemmyNet/Lemmy/issues/2879)) +- Remove unnecessary clone ([#2874](https://github.com/LemmyNet/Lemmy/issues/2874)) +- Remove GetCommunityResponse.default_post_language ([#2867](https://github.com/LemmyNet/Lemmy/issues/2867)) +- Dont refetch post url metadata when post is received again +- Dont retry outgoing HTTP requests (ref [#2865](https://github.com/LemmyNet/Lemmy/issues/2865)) +- Force enable undetermined language ([#2851](https://github.com/LemmyNet/Lemmy/issues/2851)) +- Fix typo that caused error ([#2861](https://github.com/LemmyNet/Lemmy/issues/2861)) +- Prettier check ([#2855](https://github.com/LemmyNet/Lemmy/issues/2855)) +- Downgrade postgres for CI to 15.2 (fixes [#2857](https://github.com/LemmyNet/Lemmy/issues/2857)) ([#2859](https://github.com/LemmyNet/Lemmy/issues/2859)) +- Make volumes used in docker compose work when running on machines with SELinux enabled ([#2853](https://github.com/LemmyNet/Lemmy/issues/2853)) +- Set attribute `deny_unknown_fields` for Lemmy config ([#2852](https://github.com/LemmyNet/Lemmy/issues/2852)) +- Fixing empty req issue. ([#2849](https://github.com/LemmyNet/Lemmy/issues/2849)) +- Upgrade api_test deps ([#2850](https://github.com/LemmyNet/Lemmy/issues/2850)) +- Adding comments to all API related types. Fixes [#2846](https://github.com/LemmyNet/Lemmy/issues/2846) ([#2848](https://github.com/LemmyNet/Lemmy/issues/2848)) +- Adding typescript generation for API. Fixes [#2824](https://github.com/LemmyNet/Lemmy/issues/2824) ([#2827](https://github.com/LemmyNet/Lemmy/issues/2827)) +- Addressing slow profile queries. [#2777](https://github.com/LemmyNet/Lemmy/issues/2777) ([#2830](https://github.com/LemmyNet/Lemmy/issues/2830)) +- Reverting to older non-multi-arch dockerfile. Fixes [#2832](https://github.com/LemmyNet/Lemmy/issues/2832) ([#2833](https://github.com/LemmyNet/Lemmy/issues/2833)) +- Add `to` field in follow activities for better compatibility ([#2829](https://github.com/LemmyNet/Lemmy/issues/2829)) +- Use older git clone for woodpecker. ([#2831](https://github.com/LemmyNet/Lemmy/issues/2831)) +- Remove last Option join-lemmy.org links +- Publish without verify ([#2681](https://github.com/LemmyNet/Lemmy/issues/2681)) +- Fix paths in release script, update crate versions ([#2680](https://github.com/LemmyNet/Lemmy/issues/2680)) + +### Lemmy UI + +- fix(tabs): Fix tab semantics and a11y ([#1382](https://github.com/LemmyNet/lemmy-ui/issues/1382)) +- fix: Remove Bootstrap JS in sidebars ([#1434](https://github.com/LemmyNet/lemmy-ui/issues/1434)) +- Store manifest in memory so it does not need to be generated for every page request ([#1433](https://github.com/LemmyNet/lemmy-ui/issues/1433)) +- Com create post ([#1431](https://github.com/LemmyNet/lemmy-ui/issues/1431)) +- fix: Small adjustments to create post form +- fix: Fix Communities search/filter header [#1417](https://github.com/LemmyNet/lemmy-ui/issues/1417) +- Fix mobile navbar bug ([#1428](https://github.com/LemmyNet/lemmy-ui/issues/1428)) +- feat: Hide 'comments' in post listing comments button; icon and title text is clear +- feat: Drop dependency for tsconfig-paths-webpack-plugin +- fix main.css vars ([#1424](https://github.com/LemmyNet/lemmy-ui/issues/1424)) +- feat: Bootstrap 5 ([#1378](https://github.com/LemmyNet/lemmy-ui/issues/1378)) +- Add scripts to make managing translations easier ([#1414](https://github.com/LemmyNet/lemmy-ui/issues/1414)) +- Fix redirect after successful password reset +- fix: Shrink and normalize some post action button colors and sizes +- fix: Litely Red was importing the wrong vars +- fix: Always show advanced post buttons dropdown +- Fixing missing class for language select. +- feat(post): Move post domain beneath post title ([#1363](https://github.com/LemmyNet/lemmy-ui/issues/1363)) +- Updated link to lemmy-repo as direct link to issues +- feat(css): make vertical rhythm more consistent for post listings +- fix(post): Fix missing labels on block/report buttons in new dropdown +- fix: Add compiled theme stylesheets +- fix: Fix too-intense hr color between posts +- fix: Fix post creator text alignment +- fix: Prettier ignore generated themes, as they aren't written by humans +- feat: Badge-ify NSFW and removed by mod title info +- fix: Fix display inline of post title +- fix: Only post title should be inside h5, not the additional metadata icons +- fix: Use btn-sm for advanced menu dropdown buttons +- fix: Remove some extra classes on flag/report buttons +- fix: Fix vertical alignment and border radius of advanced dropdown menu items +- fix(a11y): Add aria-controls for advanced button dropdown +- fix: Fix some button labels and tippy text +- feat: Move advanced post menu into dropdown +- Always allow users to control whether they see NSFW content +- fix: Fix display inline of post title +- fix: Use btn-sm for advanced menu dropdown buttons +- fix: Remove some extra classes on flag/report buttons +- fix: Fix vertical alignment and border radius of advanced dropdown menu items +- fix(a11y): Add aria-controls for advanced button dropdown +- fix: Fix some button labels and tippy text +- feat: Move advanced post menu into dropdown +- fix: Fix some small style issues +- feat(a11y): Add eslint-plugin-jsx-a11y +- fix: Fix Trending sidebar card too +- fix(a11y): Fix some mobile styles for Sidebar Cards +- fix(a11y): Apply same accordion/collapse markup to Subscribed Communities sidebar card +- fix: Add .accordion wrapper around sidebar to obtain negative bottom margin +- fix(a11y): Fix some a11y issues in Site Sidebar and use native Bootstrap Collapse and Card classes +- fix(a11y): Add aria-label to fetaured pins +- fix: Only post title should be inside h5, not the additional metadata icons +- fix: Fix some references to ; they should refer to a specific gray in case changes +- fix: Move var to grays area +- fix: Fix broken theme overrides; group theme variable files by variable type +- fix accidental changes +- remove comments +- fix merge conflicts +- Add default profile picture for users who do not set one ([#1339](https://github.com/LemmyNet/lemmy-ui/issues/1339)) +- feat(navbar): Add labels for navbar items on mobile ([#1323](https://github.com/LemmyNet/lemmy-ui/issues/1323)) +- fix: Fix rounded top corners in markdown textarea +- fix: Fix input-bg for darkly theme +- chore: Fix a missing theme color +- chore: Fix vars +- chore: Remove some redundant Sass variable declarations and re-organize them +- fix: Fix imports +- Revert "fix: Sass files don't need to refer to full node_modules path" +- fix: Sass files don't need to refer to full node_modules path +- fix: Remove inline styles and use Bootstrap classes +- fix: Fix missing prop +- fix: Vertically align icons in post listing +- fix: Add total users in site sidebar +- fix: Re-add 'number of communities' to site sidebar +- fix: Fix broken link +- fix: Fix rounded textarea in Markdown box +- feat: Fix some colors on dark mode +- feat: Redesign the format bar / textarea into a single bordered area with divider +- and of course, yarn.lock +- handle login failures correctly +- wrap login call in try/catch for error handling +- Fix first loads not working +- Remove extra div in post sidebar +- feat: Move text formatting bar above textarea +- Add a class to the more button on a comment node +- Switch navbar classes to ids +- break out browser and helper methods +- feat: Adds Jump to main content functionality +- chore: ensures validURL function does not throw exception +- break out all role utils +- Adding a few more 0.18.0 API changes. ([#1324](https://github.com/LemmyNet/lemmy-ui/issues/1324)) +- Use aside semantic HTML tag for sidebars +- Use article semantic HTML tag for posts/comments +- Use footer semantic HTML tag +- Add lemmy-site class for easier detection +- Add ID's and classes to sidebars +- Add clases and ID's to post form/listing +- Add classes to post and comment repy textareas +- Rename markdown-textarea ID's +- Add nav and footer ID's +- fix block community functionality in sidebar ([#1316](https://github.com/LemmyNet/lemmy-ui/issues/1316)) +- fix: fix loading custom themes with a custom LEMMY_UI_EXTRA_THEMES_FOLDER +- Admin Settings: Bugfixes ([#1313](https://github.com/LemmyNet/lemmy-ui/issues/1313)) +- hardcoded node version due to bug "Text file busy" error introduced in node 20.3 ([#1320](https://github.com/LemmyNet/lemmy-ui/issues/1320)) +- changed required checkbox ([#1318](https://github.com/LemmyNet/lemmy-ui/issues/1318)) +- set loading state attribute to false if createPost fails ([#1311](https://github.com/LemmyNet/lemmy-ui/issues/1311)) +- Make community IDs more easily selectable ([#1306](https://github.com/LemmyNet/lemmy-ui/issues/1306)) +- Re-arrange elements beneath markdown textarea [#1057](https://github.com/LemmyNet/lemmy-ui/issues/1057) ([#1288](https://github.com/LemmyNet/lemmy-ui/issues/1288)) +- Match more specific locales to supported ones ([#1241](https://github.com/LemmyNet/lemmy-ui/issues/1241)) +- formatting +- refactor server, tidy up, use handlers/middleware/utils pattern +- Fixed color scheme variables of litely-red +- Improve the look of tables ([#1299](https://github.com/LemmyNet/lemmy-ui/issues/1299)) +- feat(post-listing): Add link to post for mobile preview +- go back if last history action was push, fix bug preventing navigation to / working from login +- add user-scalable=no to meta tag +- Removed duplicated CSS rule +- Make comment border colors semi-transparent +- Add long polling to update unread counts in navbar. ([#1271](https://github.com/LemmyNet/lemmy-ui/issues/1271)) +- make button a tad smaller +- remove pictrsDeleteToast usage from PostForm, add delete image button, fix infinite loading bug if upload error occured +- Use http client ([#1081](https://github.com/LemmyNet/lemmy-ui/issues/1081)) +- Horizontally scrollable code blocks, instead of wrapping. +- Update BUG_REPORT.yml +- add checkboxes to feature requests +- required under label +- indent validations +- label array +- add checkboxes to issue template +- Fixed NSFW image blur spilling outside the preview +- Recompiled theme files using latest Bootstrap 4 +- Added npm scripts to rebuild theme files +- Add title to pictrs-image +- Make the community title in the sidebar link to the local community. ([#1161](https://github.com/LemmyNet/lemmy-ui/issues/1161)) +- Fix prompt component ([#1223](https://github.com/LemmyNet/lemmy-ui/issues/1223)) +- Fix mobile menu collapse bug ([#1222](https://github.com/LemmyNet/lemmy-ui/issues/1222)) +- Another try at sanitize. ([#1208](https://github.com/LemmyNet/lemmy-ui/issues/1208)) +- remove unused theme files ([#1202](https://github.com/LemmyNet/lemmy-ui/issues/1202)) +- issue templates in yml format ([#1211](https://github.com/LemmyNet/lemmy-ui/issues/1211)) +- Make preview button say "edit" when in preview mode ([#1164](https://github.com/LemmyNet/lemmy-ui/issues/1164)) +- Add shortcut for submitting post ([#1163](https://github.com/LemmyNet/lemmy-ui/issues/1163)) +- Fix typo in post-listing.tsx ([#1181](https://github.com/LemmyNet/lemmy-ui/issues/1181)) +- Only show 'saved' tab on own profile page +- Added Ctrl-K keybind +- Fix quotes ([#1131](https://github.com/LemmyNet/lemmy-ui/issues/1131)) +- Alternative way to sanitize isoData ([#1129](https://github.com/LemmyNet/lemmy-ui/issues/1129)) +- chore: switched to enabling language warning by prop rather than disabling +- fix: Adds ability to hide language warning +- styles([#1067](https://github.com/LemmyNet/lemmy-ui/issues/1067)): Run prettier +- fix([#1067](https://github.com/LemmyNet/lemmy-ui/issues/1067)): Fix language not updating when editing post +- Fix isoData can contain user generated content ([#1114](https://github.com/LemmyNet/lemmy-ui/issues/1114)) +- Add media-src \* to Content-Security-Policy header +- Refactor lets to consts +- Fix aria-label for language select +- Add aria attribute to track toggle status of up/down votes. ([#1074](https://github.com/LemmyNet/lemmy-ui/issues/1074)) +- Make comment depth easier to track visually +- Make comments nested lists +- Fix CONTRIBUTING link +- Fix sorting help link +- Do not refresh when community is selected in create post ([#1042](https://github.com/LemmyNet/lemmy-ui/issues/1042)) +- Navbar fix 2 ([#1038](https://github.com/LemmyNet/lemmy-ui/issues/1038)) +- Lint fix ([#1035](https://github.com/LemmyNet/lemmy-ui/issues/1035)) +- Changes to language tag +- Hopefully stop lint command from erroring +- Always replace host with internal host +- Revert "User HTTP instead of HTTPS when fetching icon in docker internal network" +- Revert "Add debug statement." +- Add debug statement. +- User HTTP instead of HTTPS when fetching icon in docker internal network +- Add error message paragraph +- Make error code always display +- Navbar hide menu fix ([#1033](https://github.com/LemmyNet/lemmy-ui/issues/1033)) +- Show parent comment for comment link. Fixes [#1030](https://github.com/LemmyNet/lemmy-ui/issues/1030) ([#1032](https://github.com/LemmyNet/lemmy-ui/issues/1032)) +- Add heading tag to rate limit form +- Remove console log +- Include forgotten translation +- Remove console logs +- Add web share for browsers that have it enabled ([#1029](https://github.com/LemmyNet/lemmy-ui/issues/1029)) +- Show language on posts and comments ([#1026](https://github.com/LemmyNet/lemmy-ui/issues/1026)) +- Allow user to submit rate limit changes +- Put rate limit options in its own tab +- Refactor tabs into reuseable component +- Replace link to issue tracker with proper support spaces +- Fix isoData bug +- Refactor how error data is passed from server to client +- Make admin UI for allowing/blocking instances easier to work with ([#1012](https://github.com/LemmyNet/lemmy-ui/issues/1012)) +- Get rid or forced error +- Changing all bigints to numbers +- Upgrade lemmy-js-client to work with bigints. Fixes [#1018](https://github.com/LemmyNet/lemmy-ui/issues/1018) ([#1022](https://github.com/LemmyNet/lemmy-ui/issues/1022)) +- Redirect from pages that require auth on logout ([#1016](https://github.com/LemmyNet/lemmy-ui/issues/1016)) +- Fix things not working in production build +- Fix error page not showing when site not fetched and adjust styles +- Handle error when site not returned +- Use node env instead of version for environment specific logic +- Redirect to login and remove duplicated code +- Fix server redirect error +- Set up logic for handling errors +- Extract helper function +- Dont preselect new post language ([#1008](https://github.com/LemmyNet/lemmy-ui/issues/1008)) +- Update JS client to version with fixed JSON serialization ([#1017](https://github.com/LemmyNet/lemmy-ui/issues/1017)) +- Redirect fomr pages that require auth on logout +- Remove "banned" badge from posts and comments (fixes 899) ([#1011](https://github.com/LemmyNet/lemmy-ui/issues/1011)) +- Add support for PWA ([#1005](https://github.com/LemmyNet/lemmy-ui/issues/1005)) +- Using auto-generated types from ts-rs. ([#1003](https://github.com/LemmyNet/lemmy-ui/issues/1003)) +- Fixing some outdated docs links. Fixes [#1006](https://github.com/LemmyNet/lemmy-ui/issues/1006) ([#1007](https://github.com/LemmyNet/lemmy-ui/issues/1007)) +- Upgrading deps. ([#1004](https://github.com/LemmyNet/lemmy-ui/issues/1004)) +- Prettier css ([#995](https://github.com/LemmyNet/lemmy-ui/issues/995)) +- Add content warning to modlog and fix modlog routing bug ([#994](https://github.com/LemmyNet/lemmy-ui/issues/994)) +- Get rid of "No Results" showing while search is still loading. ([#997](https://github.com/LemmyNet/lemmy-ui/issues/997)) +- Add SleeplessOne1917 to Codeowners. +- Handle when logged out ([#986](https://github.com/LemmyNet/lemmy-ui/issues/986)) +- Make pages use query params instead of route params where appropriate ([#977](https://github.com/LemmyNet/lemmy-ui/issues/977)) +- Multiple image upload ([#971](https://github.com/LemmyNet/lemmy-ui/issues/971)) +- I18 quality of life change ([#973](https://github.com/LemmyNet/lemmy-ui/issues/973)) +- Optimize Tagline Form page ([#972](https://github.com/LemmyNet/lemmy-ui/issues/972)) +- Don't show icons / banners for banned users and removed communities. ([#962](https://github.com/LemmyNet/lemmy-ui/issues/962)) +- fix: Fix undefined showing up in markdown ([#970](https://github.com/LemmyNet/lemmy-ui/issues/970)) +- refactor: update UI to use new client uploadImage function ([#967](https://github.com/LemmyNet/lemmy-ui/issues/967)) +- Add woodpecker ci ([#964](https://github.com/LemmyNet/lemmy-ui/issues/964)) +- fix: Make search screen able to change type, listing type, and sort when there is no query ([#966](https://github.com/LemmyNet/lemmy-ui/issues/966)) +- Adding 2FA support. Fixes [#938](https://github.com/LemmyNet/lemmy-ui/issues/938) ([#939](https://github.com/LemmyNet/lemmy-ui/issues/939)) +- Add Custom Emoji Support +- Only show the determined warning for multiple. ([#952](https://github.com/LemmyNet/lemmy-ui/issues/952)) +- Upgrading deps ([#951](https://github.com/LemmyNet/lemmy-ui/issues/951)) +- Adding ban_from_community to be more clear. Fixes [#872](https://github.com/LemmyNet/lemmy-ui/issues/872) ([#943](https://github.com/LemmyNet/lemmy-ui/issues/943)) +- Let any mod feature and lock posts. Fixes [#875](https://github.com/LemmyNet/lemmy-ui/issues/875) ([#944](https://github.com/LemmyNet/lemmy-ui/issues/944)) +- Adding a warning for deselecting the undetermined language. ([#945](https://github.com/LemmyNet/lemmy-ui/issues/945)) +- Fixing line formatting. ([#947](https://github.com/LemmyNet/lemmy-ui/issues/947)) +- Do local community checks for buttons. Fixes [#918](https://github.com/LemmyNet/lemmy-ui/issues/918) ([#948](https://github.com/LemmyNet/lemmy-ui/issues/948)) +- Check to make sure post is correct. Fixes [#934](https://github.com/LemmyNet/lemmy-ui/issues/934) ([#949](https://github.com/LemmyNet/lemmy-ui/issues/949)) +- Remove buggy navbar search. Fixes [#921](https://github.com/LemmyNet/lemmy-ui/issues/921) ([#950](https://github.com/LemmyNet/lemmy-ui/issues/950)) +- Fix issue with empty markdown content not nulling DB. Fixes [#924](https://github.com/LemmyNet/lemmy-ui/issues/924) ([#925](https://github.com/LemmyNet/lemmy-ui/issues/925)) +- Adding reports send email to admins option ([#932](https://github.com/LemmyNet/lemmy-ui/issues/932)) +- v0.17.1 +- Fix comment box closing. Fixes [#904](https://github.com/LemmyNet/lemmy-ui/issues/904) ([#914](https://github.com/LemmyNet/lemmy-ui/issues/914)) +- Fix showing crosspost dupes. Fixes [#900](https://github.com/LemmyNet/lemmy-ui/issues/900) ([#912](https://github.com/LemmyNet/lemmy-ui/issues/912)) +- Fix live updating postres edit. Fixes [#908](https://github.com/LemmyNet/lemmy-ui/issues/908) ([#911](https://github.com/LemmyNet/lemmy-ui/issues/911)) +- Removing extra themes. Fixes [#905](https://github.com/LemmyNet/lemmy-ui/issues/905) ([#910](https://github.com/LemmyNet/lemmy-ui/issues/910)) +- Fixing post setState error. Fixes [#902](https://github.com/LemmyNet/lemmy-ui/issues/902) ([#903](https://github.com/LemmyNet/lemmy-ui/issues/903)) + # Lemmy v0.17.2 Release (2023-02-22) ## Bugfixes