v4.0.2
版本发布时间: 2022-11-15 11:27:17
mastodon/mastodon最新发布版本:v4.3.0-beta.2(2024-09-17 23:53:19)
Changelog
Fixed
- Fix wrong color on mentions hidden behind content warning in web UI (Gargron)
- Fix filters from other users being used in the streaming service (ClearlyClaire)
- Fix
unsafe-eval
being used whenwasm-unsafe-eval
is enough in Content Security Policy (Gargron, prplecake)
Upgrade notes
To get the code for v4.0.2, use git fetch && git checkout v4.0.2
.
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
Update steps
The following instructions are for updating from 4.0.0 or 4.0.1.
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. You can use the 4.0.0 upgrade notes to upgrade directly to 4.0.2.
Non-Docker only:
- Install dependencies:
bundle install
Both Docker and 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