v3.4.8-g7
Upgrade overview
This release contains upgrade notes that deviate from the norm:
ℹ️ Requires database migration process for zero-downtime deployment
ℹ️ Requires Mastodon restart
For more information, scroll down to the upgrade instructions section.
What's Changed
- Merge Develop by @atsu1125 in #54
- フォローしているユーザーからのフォローリクエストは自動で承認するように Feat: Auto Accept Follow request if Following by @atsu1125 in 3924352 cab0932
- プロフィールタイムラインからフォロワーを解除できるように Feat: Remove Follower at Account timeline by @atsu1125 in fc86245
- 投稿の言語選択を自動でするように戻した by @atsu1125 in 9d47ef5 94f9000 fa43fb9
- モデレーションでメディアを閲覧注意にできるように Add ability to mark statuses as sensitive from reports in admin UI by @Gargron in bbe27f2
- ログイン時にトップページに戻ってもログイン画面を表示しないように Redesign /about when already logged in by @ClearlyClaire @Gargron in aa4b474
- Vanilla MastodonでUnlistedにするキーボードショートカットを追加 Add a new key-binding by @GenbuHase in 676073a
Full Changelog: v3.4.8-e6...v3.4.8-g7
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.8-g7
- Precompile the assets:
RAILS_ENV=production bundle exec rails assets:precompile
- Run the database migrations:
RAILS_ENV=production bundle exec rails db:migrate
- 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.8-g7
- Pull the prebuilt images:
docker-compose pull
, or, alternatively, build them yourself:docker-compose build --pull
- Run the database migrations:
docker-compose run --rm web rails db:migrate
- Restart all Mastodon processes:
docker-compose up -d