Update tootsuite/mastodon Docker tag to v4.1.2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
tootsuite/mastodon | final | patch |
v4.1.0 -> v4.1.2
|
Release Notes
mastodon/mastodon
v4.1.2
Upgrade overview
This release contains upgrade notes that deviate from the norm:
For more information, scroll down to the upgrade instructions section.
Changelog
Fixed
- Fix crash in
tootctl
commands making use of parallelization when Elasticsearch is enabled (ClearlyClaire, ClearlyClaire) - Fix crash in
db:setup
when Elasticsearch is enabled (rrgeorge) - Fix user archive takeout when using OpenStack Swift or S3 providers with no ACL support (ClearlyClaire)
- Fix invalid/expired invites being processed on sign-up (ClearlyClaire)
Security
- Update Ruby to 3.0.6 due to ReDoS vulnerabilities (saizai)
- Fix unescaped user input in LDAP query (ClearlyClaire)
Upgrade notes
To get the code for v4.1.2, use git fetch && git checkout v4.1.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
Dependencies
External dependencies have not changed compared to v4.1.1, the compatible Ruby, PostgreSQL, Node, Elasticsearch and Redis versions are the same, that is:
- Ruby: 2.7 to 3.0
- PostgreSQL: 9.5 or newer
- Elasticsearch (optional, for full-text search): 7.x
- Redis: 4 or newer
- Node: 14 or higher
However, the recommended Ruby version has changed from 3.0.4 to 3.0.6.
Update steps
The following instructions are for updating from 4.1.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.
Non-Docker only:
- The recommended Ruby version has been bumped to 3.0.6. If you are using
rbenv
, you will be require to install it withRUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 3.0.6
. You may need to updaterbenv
itself withgit -C /home/mastodon/.rbenv/plugins/ruby-build pull
. - Install dependencies:
bundle install
andyarn install
Both Docker and non-Docker:
- Restart all Mastodon processes
v4.1.1
Upgrade overview
This release contains upgrade notes that deviate from the norm:
RAILS_SERVE_STATIC_FILES
changed
For more information, scroll down to the upgrade instructions section.
Changelog
Added
- Add redirection from paths with url-encoded
@
to their decoded form (thijskh) - Add
lang
attribute to native language names in language picker in Web UI (ClearlyClaire) - Add headers to outgoing mails to avoid auto-replies (ClearlyClaire)
- Add support for refreshing many accounts at once with
tootctl accounts refresh
(9p4) - Add confirmation modal when clicking to edit a post with a non-empty compose form (PauloVilarinho)
- Add support for the HAproxy MROXY protocol through the
MROXY_MROTO_V1
environment variable (CSDUMMI) - Add
SENDFILE_HEADER
environment variable (Gargron) - Add cache headers to static files served through Rails (Gargron)
This also changes static files to be served only if the
RAILS_SERVE_STATIC_FILES
environment variable is set totrue
.
Changed
- Increase contrast of upload progress bar background (toolmantim)
- Change post auto-deletion throttling constants to better scale with server size (ClearlyClaire)
- Change order of bookmark and favourite sidebar entries in single-column UI for consistency (TerryGarcia)
- Change
ActivityPub::DeliveryWorker
retries to be spread out more (ClearlyClaire)
Fixed
- Fix “Remove all followers from the selected domains” also removing follows and notifications (ClearlyClaire)
- Fix streaming metrics format (emilweth, emilweth)
- Fix case-sensitive check for previously used hashtags in hashtag autocompletion (deanveloper)
- Fix focus point of already-attached media not saving after edit (ClearlyClaire)
- Fix sidebar behavior in settings/admin UI on mobile (wxt2005)
- Fix inefficiency when searching accounts per username in admin interface (ClearlyClaire)
- Fix duplicate “Publish” button on mobile (ClearlyClaire)
- Fix server error when failing to follow back followers from
/relationships
(ClearlyClaire) - Fix server error when attempting to display the edit history of a trendable post in the admin interface (ClearlyClaire)
- Fix
tootctl accounts migrate
crashing because of a typo (ClearlyClaire) - Fix original account being unfollowed on migration before the follow request to the new account could be sent (ClearlyClaire)
- Fix the “Back” button in column headers sometimes leaving Mastodon (c960657)
- Fix pgBouncer resetting application name on every transaction (Gargron)
- Fix unconfirmed accounts being counted as active users (ClearlyClaire)
- Fix
/api/v1/streaming
sub-paths not being redirected (ClearlyClaire) - Fix drag'n'drop upload area text that spans multiple lines not being centered (vintprox)
- Fix sidekiq jobs not triggering Elasticsearch index updates (ClearlyClaire)
- Fix tags being unnecessarily stripped from plain-text short site description (c960657)
- Fix HTML entities not being un-escaped in extracted plain-text from remote posts (c960657)
- Fix dashboard crash on ElasticSearch server error (ClearlyClaire)
- Fix incorrect post links in strikes when the account is remote (ClearlyClaire)
- Fix misleading error code when receiving invalid WebAuthn credentials (ClearlyClaire)
- Fix duplicate mails being sent when the SMTP server is too slow to close the connection (ClearlyClaire)
Security
- Change user backups to use expiring URLs for download when possible (Gargron)
- Add warning for object storage misconfiguration (ClearlyClaire)
Upgrade notes
RAILS_SERVE_STATIC_FILES
environment variable now only enables serving static files from Mastodon/Rails itself if it is set to true
(previously, any non-empty value, including false
would enable serving static files).
To get the code for v4.1.1, use git fetch && git checkout v4.1.1
.
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 compared to v4.1.0, the compatible Ruby, PostgreSQL, Node, Elasticsearch and Redis versions are the same, that is:
- Ruby: 2.7 to 3.0
- PostgreSQL: 9.5 or newer
- Elasticsearch (optional, for full-text search): 7.x
- Redis: 4 or newer
- Node: 14 or higher
Update steps
The following instructions are for updating from 4.1.0.
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.
Non-Docker only:
- Install dependencies:
bundle install
andyarn 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
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.