Note
While we continue to support Mastodon 4.4 and release patches for it, please note that Mastodon 4.5 is available with new features, changes and fixes. We encourage administrators to update to the latest 4.5 version when they can.
Changelog
Security
- Reject unconfirmed FASPs (#37926 by @oneiros, GHSA-qgmm-vr4c-ggjg)
- Re-use custom socket class for FASP requests (#37925 by @oneiros, GHSA-46w6-g98f-wxqm)
Added
- Add
--suspended-onlyoption totootctl emoji purge(#37828 and #37861 by @ClearlyClaire and @mjankowski)
Fixed
- Fix custom emojis not being purged on domain suspension (#37808 by @ClearlyClaire)
- Fix processing of object updates with duplicate hashtags (#37756 by @ClearlyClaire)
Upgrade notes
To get the code for v4.4.14, use git fetch && git checkout v4.4.14.
Note
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
Dependencies
External dependencies have not changed since v4.4.1:
- Ruby: 3.2 or newer
- PostgreSQL: 13 or newer
- Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
- LibreTranslate (optional, for translations): 1.3.3 or newer
- Redis: 6.2 or newer
- Node: 20 or newer
- libvips (optional, instead of ImageMagick): 8.13 or newer
- ImageMagick (optional if using libvips): 6.9.7-7 or newer
Update steps
The following instructions are for updating from 4.4.13.
If you are upgrading directly from an earlier release, please carefully read the upgrade notes for the skipped releases as well, as they often require extra steps such as database migrations. In particular, it is very important to read the 4.4.0 release notes.
Non-Docker
- Restart all Mastodon processes.
When using Docker
- Restart all Mastodon processes.