v3.4.9
Upgrade overview
ℹ️ Requires Mastodon restart
For more information, scroll down to the upgrade instructions section.
What's Changed
- Dockerfile Ubuntu to Debian by @atsu1125 in e86ae0f da0766a 2f024c4
- Add: Hotkey description of unlisted toot by @atsu1125 in 9cf0e1d
- Add option to automatically delete toots after one week by @ClearlyClaire in ecbc132
- Add threshold to automatically delete toots by @atsu1125 in cad5552
- Change: FAILURE_DAYS_THRESHOLD = 31 by @atsu1125 in 9a54db7
- blurhash_transcoder: prevent out-of-bound reads with <8bpp images by @delroth in 2954a35
- Fix rate limiting for paths with formats by @Gargron in c470464
- Fix emoji substitution not applying only to text nodes in Web UI by @ClearlyClaire in 284c774 491ac8b
- Fix emoji substitution not applying only to text nodes in backend code by @ClearlyClaire in e19f1d9
Full Changelog: v3.4.8-g7...v3.4.9
Upgrade notes
Other additional steps are likely to apply, please carefully read the upgrade notes for the skipped releases.
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
- Pull the code:
git fetch
&&git checkout v3.4.9
- Precompile the assets:
RAILS_ENV=production bundle exec rails assets:precompile
- Restart
mastodon-web
andmastodon-sidekiq
:
systemctl reload mastodon-web
systemctl restart mastodon-sidekiq
Docker
The exact steps depend on your setup, but they are likely to match the following:
- Pull the code:
git fetch && git checkout v3.4.9
- Pull the prebuilt images:
docker-compose pull
, or, alternatively, build them yourself:docker-compose build --pull
- Restart all Mastodon processes:
docker-compose up -d