Skip to content

v2.1.2

Compare
Choose a tag to compare
@Gargron Gargron released this 05 Jan 23:03

Mastodon

Features:

  • Add rake task to check and purge accounts that are missing in origin (#6085)

    Usage: rails mastodon:maintenance:purge_removed_accounts will scan through all known remote accounts. If one cannot be re-resolved, you will be asked for confirmation to delete it from your database. If you don't want to be asked for confirmation each time, use the command rails mastodon:maintenance:purge_removed_accounts -- --force

    This command is not expected to be run frequently or systematically. Sometimes you may wish to preserve copies of accounts that have disappeared. Another fix included in this release will ensure that purposefully deleted accounts no longer leave behind anything on remote servers in the future.

  • Make some federation APIs cacheable by e.g. nginx or varnish (#6101, #6115)
  • Cache JSON of immutable ActivityPub representations (#6171)
  • Add more instance stats APIs (#6125)

    From the point of deployment, Mastodon will begin counting weekly numbers of active users, posted statuses and new registrations. These numbers will be available from GET /api/v1/instance/activity. Furthermore, the instance will announce the list of domains it has seen under GET /api/v1/instance/peers. Please mind that those domains are not the domains of users followed by the users of this instance, nor do domain blocks have any effect on the list. It is merely the domains of users the instance has previously resolved. The commonly known "connections" count metric has previously announced this exact data.

    Both of these new stats endpoints can be disabled from admin settings.

  • Display a warning when composing unlisted toots with something looking like a hashtag (#6132)
  • Add confirmation step for email changes (#6071)
  • Reduce federation traffic when an account is deleted/suspended (#6172)

Fixes:

  • Replace <code> to <kbd> in KeyboardShortcuts component (#6049)
  • Display deleted users' role as “Suspended” (#6080)
  • Reduce the number of synchronous resolves when posting toots (#6075)
  • Move dropdown transform origin to top edge (#6091)
  • Reduce motion for boost animation (#5871)
  • Add supported Node.js version to package.json (#6096)
  • Add mute, block, conversation mute actions to detailed status dropdown menu (#6099)
  • Faster index on notifications table (#6108)
  • Fix XML oEmbed support discovery (#6104)
  • Move the mastodon on Getting Started column to drawer column (#6109)
  • Keep the same filters and page when doing custom emojo stuff (#6114)
  • Show mastodon on modal (#6129)
  • delete X-UA-Compatible (#6068)
  • Fix newlines-to-spaces functionality (#6158)
  • Don't leave behind husk of remotely-deleted profile (#6159)
  • Update moved-to property when it's removed too (#6160)
  • Sanitize incoming classlist properly (#6162)
  • Allow to dereference Follow object for ActivityPub (#5772)
  • Don't normalize URLs in toots (#6134)
  • Fix OpenSSL dependency in ostatus2 (#6174)
  • Fix nil error in log_target_from_history helper (#6173)
  • Rearrange items in Getting Started navigation (#6126)
  • Fix FetchAtomService not finding alternatives if there's a Link header (#6170)
  • Fallback default thumbnail in instance status API (#6177)
  • Use disable_ddl_transaction! to prevent warnings on migration (#6183)
  • Fix overflowing audit logs (#6184)
  • Fix email confirmation link not updating email (#6187)
  • Fix RFC 5646 Regular Expression (#6190)
  • When fetching an ActivityPub-enabled status, do not re-request it as text/html (#6196)
  • Fix PuSH workers error when retries exhausted (#6200)

Upgrade notes:

Non-Docker only:

  • Dependency updates: bundle install and yarn install

Both Docker and non-Docker:

  • This release includes database migrations, that means you need to run RAILS_ENV=production bundle exec rails db:migrate (in Docker: docker-compose run --rm web rails db:migrate).
  • This release includes changes to assets, that means you need to run RAILS_ENV=production bundle exec rails assets:precompile (in Docker: docker-compose run --rm web rails assets:precompile)

Contributors to this release:

@akihikodaki
@beatrix-bitrot
@chriswmartin
@cpsdqs
@Gargron
@Kjwon15
@lynlynlynx
@m4sk1n
@MitarashiDango
@muan
@neetshin
@nightpool
@noiob
@nolanlawson
@Otakan951
@PatF
@petzah
@puckipedia
@Quenty31
@stalker314314
@takayamaki
@TheKinrar
@ThibG
@unarist
@ykzts
@yukimochi
@zunda