Skip to content

v3.1.3

Compare
Choose a tag to compare
@Gargron Gargron released this 05 Apr 13:22
85f0e0a

Mastodon

Changelog

Added

  • Add ability to filter audit log in admin UI (Gargron)
  • Add titles to warning presets in admin UI (Gargron)
  • Add option to include resolved DNS records when blacklisting e-mail domains in admin UI (Gargron)
  • Add ability to delete files uploaded for settings in admin UI (ThibG)
  • Add sorting by username, creation and last activity in admin UI (ThibG)
  • Add explanation as to why unlocked accounts may have follow requests in web UI (ThibG)
  • Add link to bookmarks to dropdown in web UI (mayaeh)
  • Add support for links to statuses in announcements to be opened in web UI (ThibG, ThibG)
  • Add tooltips to audio/video player buttons in web UI (ariasuni)
  • Add submit button to the top of preferences pages (guigeekz)
  • Add specific rate limits for posting, following and reporting (Gargron, Gargron)
    • 300 posts every 3 hours
    • 400 follows or follow requests every 24 hours
    • 400 reports every 24 hours
  • Add federation support for the "hide network" preference (ThibG)
  • Add --skip-media-remove option to tootctl statuses remove (tateisu)

Changed

  • Change design of polls in web UI (Sasha-Sorokin, ThibG)
  • Change status click areas in web UI to be bigger (ariasuni)
  • Change tootctl media remove-orphans to work for all classes (Gargron)
  • Change local media attachments to perform heavy processing asynchronously (Gargron)
  • Change video uploads to always be converted to H264/MP4 (Gargron, ThibG, ThibG)
  • Change video uploads to enforce certain limits (Gargron)
    • Dimensions smaller than 1920x1200px
    • Frame rate at most 60fps
  • Change the tooltip "Toggle visibility" to "Hide media" in web UI (ariasuni)
  • Change description of privacy levels to be more intuitive in web UI (ariasuni)
  • Change GIF label to be displayed even when autoplay is enabled in web UI (koyuawsmbrtn)
  • Change the string "Hide everything from …" to "Block domain …" in web UI (ThibG, mayaeh)
  • Change wording of media display preferences to be more intuitive (ariasuni)

Deprecated

  • POST /api/v1/mediaPOST /api/v2/media (Gargron)

Fixed

  • Fix tootctl media remove-orphans ignoring PAPERCLIP_ROOT_PATH (Gargron)
  • Fix returning results when searching for URL with non-zero offset (Gargron)
  • Fix pinning a column in web UI sometimes redirecting out of web UI (Gargron)
  • Fix background jobs not using locks like they are supposed to (Gargron)
  • Fix content warning being unnecessarily cleared when hiding content warning input in web UI (ThibG)
  • Fix "Show more" not switching to "Show less" on public pages (ThibG)
  • Fix import overwrite option not being selectable (noellabo)
  • Fix wrong color for ellipsis in boost confirmation dialog in web UI (ariasuni)
  • Fix unnecessary unfollowing when importing follows with overwrite option (noellabo)
  • Fix 404 and 410 API errors being silently discarded in web UI (ThibG)
  • Fix OCR not working on Safari because of unsupported worker-src CSP (ThibG)
  • Fix media not being marked sensitive when a content warning is set with no text (ThibG)
  • Fix crash after deleting announcements in web UI (codesections, ThibG)
  • Fix bookmarks not being searchable (Kjwon15, noellabo)
  • Fix reported accounts not being whitelisted from further spam checks when resolving a spam check report (ThibG)
  • Fix web UI crash in single-column mode on prehistoric browsers (ThibG)
  • Fix some timeouts when searching for URLs (ThibG)
  • Fix detailed view of direct messages displaying a 0 boost count in web UI (ThibG)
  • Fix regression in “Edit media” modal in web UI (ThibG)
  • Fix public posts from silenced accounts not being changed to unlisted visibility (ThibG)
  • Fix error when searching for URLs that contain the mention syntax (ThibG)
  • Fix text area above/right of emoji picker being accidentally clickable in web UI (ariasuni)
  • Fix too large announcements not being scrollable in web UI (ThibG)
  • Fix tootctl media remove-orphans crashing when encountering invalid media (ThibG)
  • Fix installation failing when Redis password contains special characters (ThibG)
  • Fix announcements with fully-qualified mentions to local users crashing web UI (ThibG)

Security

  • Fix re-sending of e-mail confirmation not being rate limited (Gargron)

Upgrade notes

As always, make sure you have backups of the database before performing any upgrades. If you are using docker-compose, this is how a backup command might look: docker exec mastodon_db_1 pg_dump -Fc -U postgres postgres > name_of_the_backup.dump

Non-Docker only:

  • ⚠️ The minimum supported Redis version has changed from 3 to 4

    If you are on Ubuntu 16.04, which does not have the latest Redis in its default package repository, you can upgrade it through this custom repository:

    add-apt-repository ppa:chris-lea/redis-server
    apt update && apt upgrade
    
  • The recommended Ruby version has been bumped to 2.6.6. You can upgrade, or you can continue using the old version by overwriting the .ruby-version file with e.g. 2.6.5 or 2.6.1 which were recommended previously
  • Install dependencies: bundle install and yarn install

Both Docker and non-Docker:

  1. Run database migrations:
    • Non-Docker: RAILS_ENV=production bundle exec rails db:migrate
    • Docker: docker-compose run --rm web rails db:migrate
  2. Precompile the assets:
    • Non-Docker: RAILS_ENV=production bundle exec rails assets:precompile
    • Docker: The assets are already precompiled during the build step
  3. Restart all Mastodon processes