github superseriousbusiness/gotosocial v0.5.0
v0.5.0 Sonorous Sloth

latest releases: v0.16.0, v0.16.0-rc3, v0.16.0-rc2...
21 months ago

Hello everyone! Announcing GoToSocial v0.5.0 Sonorous Sloth. This is the sixteenth alpha release of GoToSocial! 🦥

Highlights

  • Custom emojis are now supported! You can upload custom emojis via the /api/v1/admin/custom_emojis endpoint. See https://docs.gotosocial.org/en/latest/api/swagger/. By default, the size limit for emojis is 50kb to conform with Mastodon, but this can be changed in the config. In future, you will be able to upload / remove/ update custom emojis via the admin panel, but for now you must do it via the API.
  • OpenGraph meta tag support! When you link to a GoToSocial status or profile, it will properly serve preview information.
  • Custom CSS is now supported for user profiles and statuses. If your instance has accounts-allow-custom-css set to true, you can set custom css for your profile and statuses through the user panel -- see https://docs.gotosocial.org/en/latest/user_guide/custom_css/
  • GtS can now deliver messages to shared inboxes. This has significant performance improvements when you're followed by lots of accounts from a single instance with shared inbox support (Mastodon, Misskey, etc).
  • Avatars of unknown accounts are now shown as cute little GtS sloths in client applications.
  • Rate limit middleware!
  • Loads of bug fixes.
  • And more!

A huge thank you to everyone who contributed to this release! Contributors (alphabetical): @blackle @chmac @f0x52 @NyaaaWhatsUpDoc @nya1 @technomancy @tsmethurst

Thank you to everyone who tested the release candidates, reported bugs, and made suggestions ❤️

Thank you to everyone who made donations to our LIberapay and OpenCollective!!! <3

Migration Notes

Database Migrations

This release contains a few database migrations, which will run automatically when you've started up the new version. Please allow somewhere between 0 and 120 seconds for these migrations to run, and don't interrupt them!!

Config Changes

This release includes some configuration file changes. Newly added options can be seen here

Frontend Changes

There are changes to web assets and html templates in this version. When you update, don't just replace the binary, but untar the whole tar for the release, to make sure you have the latest versions of assets + templates. If you're using Docker, the latest versions are bundled in to the container so you don't need to do anything special.

Detailed Changelog

Features

  • c4a0829 [feature] Show + federate emojis in accounts (#837)
  • 69a193d [feature] Allow delivery to sharedInboxes where possible (#847)
  • b42469e [feature] Allow users to set custom css for their profiles + threads (#808)
  • 268f252 [feature] Fetch + display custom emoji in statuses from remote instances (#807)
  • d09ddb4 [feature] opengraph meta tags (#806)
  • a872dde [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805)
  • 006c8b6 [feature] Set default header and avatar for API accounts to GtS ones (#799)
  • bf9d146 [feature] Federate custom emoji (outbound) (#791)
  • 1e1cdee [feature] Emojify spoiler and content in web templates (#785)
  • ecb97f4 [feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784)
  • bee8458 [feature] add rate limit middleware (#741)
  • daec9ab [feature] Sort follow requests, followers, and following by updated_at (#774)

Bug fixes

  • 00d3885 [bugfix] Fix emphasis being added to emoji shortcodes with markdown parsing (#856)
  • 15a67b7 [bugfix] more nil checks baybeeeeeeeeeeeeeeeeeeee (#854)
  • 7bea107 [bugfix] add so, many, nil, checks (#853)
  • 82061b1 [bugfix] panic during child thread iteration (#852)
  • 7a1aa04 [bugfix] update thread iterators to not use recursion (#851)
  • 78409f1 [bugfix] Wrap media reader in length reader to determine length if no content-length given (#848)
  • de26924 don't error out if storage key already exists (#840)
  • 3777f5c [bugfix] Server and closer bugfixes (#839)
  • c1585d5 [bugfix] Fix domains not being unblockable, log internal server errors from API (#833)
  • 1149310 [bugfix] Fix emojis, attachments, and mentions not being serialized correctly sometimes via AP (#829)
  • 2b34a9b [bug] fix unique constraint conflict (#820)
  • a26280b [bugfix] Fix preposterous characters reserved per URL amount (#809)
  • 58c00d9 [frontend] Transition neatly from cropped photos (#802)
  • ee01e03 [bugfix] Catch json syntax errors in the frontend + display a more helpful message (#804)
  • 2db0c64 [bugfix] Use 'Image' instead of unrecognized 'Gif' type for media attachments (#801)
  • 4e13408 [bugfix] Fix status fields in_reply_to_id and in_reply_to_account_id not being nullable (#798)
  • 39d9888 [bugfix] Fix occasional federatingdb test fail (#792)
  • f01492a [bugfix] Use custom blackfriday renderer to only add mention/hashtag links in normal text (#787)
  • c5c425b [bugfix] Fix tusky search issue by returning empty if offset is greater than zero (#786)
  • ea902bb [Admin panel] Make Description boxes multi-line (#781)
  • 5d9c6b0 [bugfix] Do not generate a notification when favouriting your own post (#780)
  • 1f8ecf1 [bugfix] Fix issue where the 'favourited' field of a notification's status is always false (#779)
  • 3ce26a6 [bugfix] Use reblogged status in notification, instead of wrapper status (#775)

Performance

  • 429bb77 [performance] Update indexes that were causing slow db queries (#855)
  • d68c04a [performance] cache recently allowed/denied domains to cut down on db calls (#794)
  • 077e663 [performance] cache account db lookups by public key URI (#795)
  • 614ab12 [performance] use GetAccountByUsernameDomain() for local account lookups to rely on cache (#793)

Documentation

  • eb1bb8b [docs] NLnet follow up questions (#846)
  • 8c20626 [docs] Add --config-path to example CLI commands where needed. (#843)
  • 6a10123 [docs] Swagger document /api/v1/custom_emojis (#824)
  • 31639c9 [docs] unbreak standard css (#818)
  • 1455c4b [accessibility] Use higher-contrast for api response examples (#816)
  • 47152c2 [docs] Fix link to open collective (#770)

Chores

Don't miss a new gotosocial release

NewReleases is sending notifications on new releases.