Mastodon v3.1.3 Release Notes

Release Date: 2020-04-05 // almost 4 years ago
  • 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/media β†’ POST /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 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
    2. Restart all Mastodon processes