Changelog
Added
- Add
tootctl feeds vacuum
(mastodon#33065 by @ClearlyClaire) - Add error message when user tries to follow their own account (mastodon#31910 by @lenikadali)
- Add client_secret_expires_at to OAuth Applications (mastodon#30317 by @ThisIsMissEm)
Changed
- Change design of Content Warnings and filters (mastodon#32543 by @ClearlyClaire)
Fixed
- Fix processing incoming post edits with mentions to unresolvable accounts (mastodon#33129 by @ClearlyClaire)
- Fix error when including multiple instances of
embed.js
(mastodon#33107 by @YKWeyer) - Fix inactive users' timelines being backfilled on follow and unsuspend (mastodon#33094 by @ClearlyClaire)
- Fix direct inbox delivery pushing posts into inactive followers' timelines (mastodon#33067 by @ClearlyClaire)
- Fix
TagFollow
records not being correctly handled in account operations (mastodon#33063 by @ClearlyClaire) - Fix pushing hashtag-followed posts to feeds of inactive users (mastodon#33018 by @Gargron)
- Fix duplicate notifications in notification groups when using slow mode (mastodon#33014 by @ClearlyClaire)
- Fix posts made in the future being allowed to trend (mastodon#32996 by @ClearlyClaire)
- Fix uploading higher-than-wide GIF profile picture with libvips enabled (mastodon#32911 by @ClearlyClaire)
- Fix domain attribution field having autocorrect and autocapitalize enabled (mastodon#32903 by @ClearlyClaire)
- Fix titles being escaped twice (mastodon#32889 by @ClearlyClaire)
- Fix list creation limit check (mastodon#32869 by @ClearlyClaire)
- Fix error in
tootctl email_domain_blocks
when supplying--with-dns-records
(mastodon#32863 by @mjankowski) - Fix
min_id
andmax_id
causing error in search API (mastodon#32857 by @Gargron) - Fix inefficiencies when processing removal of posts that use featured tags (mastodon#32787 by @ClearlyClaire)
- Fix alt-text pop-in not using the translated description (mastodon#32766 by @ClearlyClaire)
- Fix preview cards with long titles erroneously causing layout changes (mastodon#32678 by @ClearlyClaire)
- Fix embed modal layout on mobile (mastodon#32641 by @DismalShadowX)
- Fix and improve batch attachment deletion handling when using OpenStack Swift (mastodon#32637 by @hugogameiro)
- Fix blocks not being applied on link timeline (mastodon#32625 by @tribela)
- Fix follow counters being incorrectly changed (mastodon#32622 by @oneiros)
- Fix 'unknown' media attachment type rendering (mastodon#32613 and mastodon#32713 by @ThisIsMissEm and @renatolond)
- Fix tl language native name (mastodon#32606 by @seav)
Security
- Update dependencies
Upgrade notes
To get the code for v4.3.2, use git fetch && git checkout v4.3.2
.
Note
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
Dependencies
External dependencies have not changed since v4.3.0, the compatible Ruby, PostgreSQL, Node, Elasticsearch and Redis versions are the same, that is:
- Ruby: 3.1 or newer
- PostgreSQL: 12 or newer. PostgreSQL versions 14.0 to 14.3 are not supported as they contain a critical data-corruption bug (see v4.3.0 release notes)
- Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
- LibreTranslate (optional, for translations): 1.3.3 or newer
- Redis: 4 or newer
- Node: 18 or newer
- ImageMagick (optional if using libvips): 6.9.7-7 or newer
- libvips (optional, instead of ImageMagick): 8.13 or newer
Update steps
The following instructions are for updating from 4.3.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. In particular, please read the v4.3.0 release notes, as there have been multiple important changes.
Non-docker
Tip
The charlock_holmes
gem may fail to build on some systems with recent versions of gcc
.
If you run into such an issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install
.
- Install dependencies with
bundle install
andyarn install --immutable
- Precompile the assets:
RAILS_ENV=production bundle exec rails assets:precompile
- Restart all Mastodon processes.
When using docker
- Restart all Mastodon processes.