v3.4.1
版本发布时间: 2021-06-03 10:32:56
mastodon/mastodon最新发布版本:v4.3.0-beta.2(2024-09-17 23:53:19)
Changelog
Added
- Add new emoji assets from Twemoji 13.1.0 (Gargron)
Fixed
- Fix some ActivityPub identifiers in server actor outbox (ClearlyClaire)
- Fix custom CSS path setting cookies and being uncacheable due to it (tribela)
- Fix unread notification count when polling in web UI (ClearlyClaire)
- Fix health check not being accessible through localhost (ClearlyClaire)
- Fix some redis locks auto-releasing too fast (ClearlyClaire, ClearlyClaire)
- Fix e-mail confirmations API not working correctly (Gargron)
- Fix migration script not being able to run if it fails midway (ClearlyClaire)
- Fix account deletion sometimes failing because of optimistic locks (ClearlyClaire)
- Fix deprecated slash as division in SASS files (ClearlyClaire)
- Fix
tootctl search deploy
compatibility error on Ruby 3 (ClearlyClaire) - Fix mailer jobs for deleted notifications erroring out (ClearlyClaire)
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:
- Install dependencies:
bundle install
andyarn install
Both Docker and non-Docker:
- Run the database migrations:
- Non-Docker:
RAILS_ENV=production bundle exec rails db:migrate
- Docker:
docker-compose run --rm web rails db:migrate
- Non-Docker:
- 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