Mastodon v3.1.3 Release Notes
Release Date: 2020-04-05 // almost 4 years ago-
π 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 totootctl 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
ignoringPAPERCLIP_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
andyarn install
π³ Both Docker and non-Docker:
- 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
- Non-Docker:
- Restart all Mastodon processes