v3.4.2
版本发布时间: 2021-11-06 07:28:21
mastodon/mastodon最新发布版本:v4.3.0-beta.2(2024-09-17 23:53:19)
Changelog
Added
- Add
configuration
attribute toGET /api/v1/instance
(Gargron)
Fixed
- Fix handling of back button with modal windows in web UI (ClearlyClaire)
- Fix pop-in player when author has long username in web UI (ClearlyClaire)
- Fix crash when a status with a playing video gets deleted in web UI (ClearlyClaire)
- Fix crash with Microsoft Translate in web UI (ClearlyClaire)
- Fix PWA not being usable from alternate domains (HolgerHuo)
- Fix locale-specific number rounding errors (ClearlyClaire)
- Fix scheduling a status decreasing status count (ClearlyClaire)
- Fix user's canonical email address being blocked when user deletes own account (ClearlyClaire)
- Fix not being able to suspend users that already have their canonical e-mail blocked (Gargron)
- Fix anonymous access to outbox not being cached by the reverse proxy (ClearlyClaire)
- Fix followers synchronization mechanism not working when URI has empty path (ClearlyClaire)
- Fix serialization of counts in REST API when user hides their network (ClearlyClaire)
- Fix inefficiencies in auto-linking code (ClearlyClaire)
- Fix
tootctl self-destruct
not sending delete activities for recently-suspended accounts (ClearlyClaire) - Fix suspicious sign-in e-mail text being out of date (ClearlyClaire)
- Fix some frameworks being unnecessarily loaded (ClearlyClaire)
- Fix canonical e-mail blocks missing foreign key constraints (ClearlyClaire)
- Fix inconsistent order on account's statuses page in admin UI (tribela)
- Fix media from blocked domains being redownloaded by
tootctl media refresh
(tribela) - Fix
mastodon:setup
generated env-file syntax (ClearlyClaire) - Fix link previews being incorrectly generated from earlier links (ClearlyClaire)
- Fix wrong
to
/cc
values for remote groups in ActivityPub (ClearlyClaire) - Fix mentions with non-ascii TLDs not being processed (ClearlyClaire)
- Fix authentication failures halfway through a sign-in attempt (ClearlyClaire, ClearlyClaire)
- Fix suspended accounts statuses being merged back into timelines (ClearlyClaire)
- Fix crash when encountering invalid account fields (ClearlyClaire)
- Fix invalid blurhash handling for remote activities (noellabo)
- Fix newlines being added to accout notes when an account moves (ClearlyClaire, noellabo)
- Fix crash when creating an announcement with links (ClearlyClaire)
- Fix logging out from one browser logging out all other sessions (ClearlyClaire)
Security
- Fix user notes not having a length limit (ClearlyClaire)
- Fix revoking a specific session not working (ClearlyClaire)
Upgrade notes
Because this is a backport, it is not available with git pull
. Use git fetch && git checkout v3.4.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
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