github mastodon/mastodon v3.4.2

latest releases: v4.1.16, v4.2.8, v3.5.19...
2 years ago

Mastodon

Changelog

Added

  • Add configuration attribute to GET /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

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 and yarn install

Both Docker and non-Docker:

  1. Run the database migrations:
    • Non-Docker: RAILS_ENV=production bundle exec rails db:migrate
    • Docker: docker-compose run --rm web rails db:migrate
  2. Precompile the assets:
    • Non-Docker: RAILS_ENV=production bundle exec rails assets:precompile
    • Docker: The assets are already precompiled during the build step
  3. Restart all Mastodon processes

Don't miss a new mastodon release

NewReleases is sending notifications on new releases.