Skip to content

Releases

v4.7.6-ls14

Choose a tag to compare

@github-actions github-actions released this 28 Nov 10:43

CI

Test report · Build status

LinuxServer changes

Full Changelog: v4.7.6-ls13...v4.7.6-ls14

Upstream changes

Source: https://github.com/mastodon/mastodon/releases/tag/v4.7.6

Mastodon

This release is made primarily to update Ruby in our docker container images to fix multiple critical security issues. It is critical to update if you use our docker container images.

If you are not using our docker container images, please make sure you use Ruby 4.0.10, 3.4.13, 3.3.14 or newer.

Upgrade overview

This release contains upgrade notes that deviate from the norm:

ℹ️ Default Ruby version has been updated

For more information, view the complete release notes and scroll down to the upgrade instructions section.

Changelog

Security

  • Updated dependencies ruby, puma, rails, sanitize, msgpack and omniauth

Fixed

  • Fix missing featuredCollections definition to JSON-LD context (#41728 by @oneiros)
  • Fix improper use of translation strings in email notification unsubscription page (#41555 by @ClearlyClaire)
  • Fix missing dropdown label in admin audit log (#41301 by @e-nomem)

Upgrade notes

To get the code for v4.7.6, use git fetch && git checkout v4.7.6.

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.6.0.

  • Ruby: 3.3 or newer
  • PostgreSQL: 14 or newer
  • Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
  • LibreTranslate (optional, for translations): 1.3.3 or newer
  • Redis: 7.0 or newer
  • Node: 22 or newer
  • libvips: 8.13 or newer
  • FFMpeg: 5.1 or newer

Update steps

The following instructions are for updating from 4.7.5.

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, it is very important to read the 4.7.0 release notes.

Non-Docker

Tip

The charlock_holmes gem may fail to build on some systems with recent versions of gcc.
If you run into this issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install.

  1. If you are using rbenv, update the list of available versions and install the proper Ruby version by doing RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install in the Mastodon install directory (e.g. /home/mastodon/live)
  2. Install dependencies with bundle install and yarn install --immutable
  3. Restart all Mastodon processes.

When using Docker

  1. Restart all Mastodon processes.

glitch-v4.7.6-ls13

glitch-v4.7.6-ls13 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Nov 08:54

CI

Test report · Build status

LinuxServer changes

Full Changelog: glitch-v4.7.6-ls12...glitch-v4.7.6-ls13

Upstream changes

Source: https://github.com/glitch-soc/mastodon/releases/tag/v4.7.6

This release is made primarily to update Ruby in our docker container images to fix multiple critical security issues. It is critical to update if you use our docker container images.

If you are not using our docker container images, please make sure you use Ruby 4.0.10, 3.4.13, 3.3.14 or newer.

Upgrade overview

This release contains upgrade notes that deviate from the norm:

ℹ️ Default Ruby version has been updated

For more information, view the complete release notes and scroll down to the upgrade instructions section.

Changelog

Security

  • Updated dependencies ruby, puma, rails, sanitize, msgpack and omniauth

Fixed

  • Fix missing featuredCollections definition to JSON-LD context (#41728 by @oneiros)
  • Fix improper use of translation strings in email notification unsubscription page (#41555 by @ClearlyClaire)
  • Fix missing dropdown label in admin audit log (#41301 by @e-nomem)

Upgrade notes

To get the code for v4.7.6, use git fetch && git checkout v4.7.6.

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.6.0.

  • Ruby: 3.3 or newer
  • PostgreSQL: 14 or newer
  • Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
  • LibreTranslate (optional, for translations): 1.3.3 or newer
  • Redis: 7.0 or newer
  • Node: 22 or newer
  • libvips: 8.13 or newer
  • FFMpeg: 5.1 or newer

Update steps

The following instructions are for updating from 4.7.5.

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, it is very important to read the 4.7.0 release notes.

Non-Docker

Tip

The charlock_holmes gem may fail to build on some systems with recent versions of gcc.
If you run into this issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install.

  1. If you are using rbenv, update the list of available versions and install the proper Ruby version by doing RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install in the Mastodon install directory (e.g. /home/mastodon/live)
  2. Install dependencies with bundle install and yarn install --immutable
  3. Restart all Mastodon processes.

When using Docker

  1. Restart all Mastodon processes.

v4.7.6-ls13

Choose a tag to compare

@github-actions github-actions released this 25 Nov 14:43

CI

Test report · Build status

LinuxServer changes

Full Changelog: v4.7.6-ls12...v4.7.6-ls13

Upstream changes

Source: https://github.com/mastodon/mastodon/releases/tag/v4.7.6

Mastodon

This release is made primarily to update Ruby in our docker container images to fix multiple critical security issues. It is critical to update if you use our docker container images.

If you are not using our docker container images, please make sure you use Ruby 4.0.10, 3.4.13, 3.3.14 or newer.

Upgrade overview

This release contains upgrade notes that deviate from the norm:

ℹ️ Default Ruby version has been updated

For more information, view the complete release notes and scroll down to the upgrade instructions section.

Changelog

Security

  • Updated dependencies ruby, puma, rails, sanitize, msgpack and omniauth

Fixed

  • Fix missing featuredCollections definition to JSON-LD context (#41728 by @oneiros)
  • Fix improper use of translation strings in email notification unsubscription page (#41555 by @ClearlyClaire)
  • Fix missing dropdown label in admin audit log (#41301 by @e-nomem)

Upgrade notes

To get the code for v4.7.6, use git fetch && git checkout v4.7.6.

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.6.0.

  • Ruby: 3.3 or newer
  • PostgreSQL: 14 or newer
  • Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
  • LibreTranslate (optional, for translations): 1.3.3 or newer
  • Redis: 7.0 or newer
  • Node: 22 or newer
  • libvips: 8.13 or newer
  • FFMpeg: 5.1 or newer

Update steps

The following instructions are for updating from 4.7.5.

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, it is very important to read the 4.7.0 release notes.

Non-Docker

Tip

The charlock_holmes gem may fail to build on some systems with recent versions of gcc.
If you run into this issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install.

  1. If you are using rbenv, update the list of available versions and install the proper Ruby version by doing RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install in the Mastodon install directory (e.g. /home/mastodon/live)
  2. Install dependencies with bundle install and yarn install --immutable
  3. Restart all Mastodon processes.

When using Docker

  1. Restart all Mastodon processes.

v4.7.6-ls12

Choose a tag to compare

@github-actions github-actions released this 21 Nov 10:42

CI

Test report · Build status

LinuxServer changes

Full Changelog: v4.7.6-ls11...v4.7.6-ls12

Upstream changes

Source: https://github.com/mastodon/mastodon/releases/tag/v4.7.6

Mastodon

This release is made primarily to update Ruby in our docker container images to fix multiple critical security issues. It is critical to update if you use our docker container images.

If you are not using our docker container images, please make sure you use Ruby 4.0.10, 3.4.13, 3.3.14 or newer.

Upgrade overview

This release contains upgrade notes that deviate from the norm:

ℹ️ Default Ruby version has been updated

For more information, view the complete release notes and scroll down to the upgrade instructions section.

Changelog

Security

  • Updated dependencies ruby, puma, rails, sanitize, msgpack and omniauth

Fixed

  • Fix missing featuredCollections definition to JSON-LD context (#41728 by @oneiros)
  • Fix improper use of translation strings in email notification unsubscription page (#41555 by @ClearlyClaire)
  • Fix missing dropdown label in admin audit log (#41301 by @e-nomem)

Upgrade notes

To get the code for v4.7.6, use git fetch && git checkout v4.7.6.

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.6.0.

  • Ruby: 3.3 or newer
  • PostgreSQL: 14 or newer
  • Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
  • LibreTranslate (optional, for translations): 1.3.3 or newer
  • Redis: 7.0 or newer
  • Node: 22 or newer
  • libvips: 8.13 or newer
  • FFMpeg: 5.1 or newer

Update steps

The following instructions are for updating from 4.7.5.

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, it is very important to read the 4.7.0 release notes.

Non-Docker

Tip

The charlock_holmes gem may fail to build on some systems with recent versions of gcc.
If you run into this issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install.

  1. If you are using rbenv, update the list of available versions and install the proper Ruby version by doing RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install in the Mastodon install directory (e.g. /home/mastodon/live)
  2. Install dependencies with bundle install and yarn install --immutable
  3. Restart all Mastodon processes.

When using Docker

  1. Restart all Mastodon processes.

glitch-v4.7.6-ls12

glitch-v4.7.6-ls12 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Nov 12:53

CI

Test report · Build status

LinuxServer changes

Full Changelog: glitch-v4.7.6-ls11...glitch-v4.7.6-ls12

Upstream changes

Source: https://github.com/glitch-soc/mastodon/releases/tag/v4.7.6

This release is made primarily to update Ruby in our docker container images to fix multiple critical security issues. It is critical to update if you use our docker container images.

If you are not using our docker container images, please make sure you use Ruby 4.0.10, 3.4.13, 3.3.14 or newer.

Upgrade overview

This release contains upgrade notes that deviate from the norm:

ℹ️ Default Ruby version has been updated

For more information, view the complete release notes and scroll down to the upgrade instructions section.

Changelog

Security

  • Updated dependencies ruby, puma, rails, sanitize, msgpack and omniauth

Fixed

  • Fix missing featuredCollections definition to JSON-LD context (#41728 by @oneiros)
  • Fix improper use of translation strings in email notification unsubscription page (#41555 by @ClearlyClaire)
  • Fix missing dropdown label in admin audit log (#41301 by @e-nomem)

Upgrade notes

To get the code for v4.7.6, use git fetch && git checkout v4.7.6.

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.6.0.

  • Ruby: 3.3 or newer
  • PostgreSQL: 14 or newer
  • Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
  • LibreTranslate (optional, for translations): 1.3.3 or newer
  • Redis: 7.0 or newer
  • Node: 22 or newer
  • libvips: 8.13 or newer
  • FFMpeg: 5.1 or newer

Update steps

The following instructions are for updating from 4.7.5.

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, it is very important to read the 4.7.0 release notes.

Non-Docker

Tip

The charlock_holmes gem may fail to build on some systems with recent versions of gcc.
If you run into this issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install.

  1. If you are using rbenv, update the list of available versions and install the proper Ruby version by doing RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install in the Mastodon install directory (e.g. /home/mastodon/live)
  2. Install dependencies with bundle install and yarn install --immutable
  3. Restart all Mastodon processes.

When using Docker

  1. Restart all Mastodon processes.

glitch-v4.7.6-ls11

glitch-v4.7.6-ls11 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Nov 11:51

CI

Test report · Build status

LinuxServer changes

Full Changelog: glitch-v4.7.5-ls10...glitch-v4.7.6-ls11

Upstream changes

Source: https://github.com/glitch-soc/mastodon/releases/tag/v4.7.6

This release is made primarily to update Ruby in our docker container images to fix multiple critical security issues. It is critical to update if you use our docker container images.

If you are not using our docker container images, please make sure you use Ruby 4.0.10, 3.4.13, 3.3.14 or newer.

Upgrade overview

This release contains upgrade notes that deviate from the norm:

ℹ️ Default Ruby version has been updated

For more information, view the complete release notes and scroll down to the upgrade instructions section.

Changelog

Security

  • Updated dependencies ruby, puma, rails, sanitize, msgpack and omniauth

Fixed

  • Fix missing featuredCollections definition to JSON-LD context (#41728 by @oneiros)
  • Fix improper use of translation strings in email notification unsubscription page (#41555 by @ClearlyClaire)
  • Fix missing dropdown label in admin audit log (#41301 by @e-nomem)

Upgrade notes

To get the code for v4.7.6, use git fetch && git checkout v4.7.6.

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.6.0.

  • Ruby: 3.3 or newer
  • PostgreSQL: 14 or newer
  • Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
  • LibreTranslate (optional, for translations): 1.3.3 or newer
  • Redis: 7.0 or newer
  • Node: 22 or newer
  • libvips: 8.13 or newer
  • FFMpeg: 5.1 or newer

Update steps

The following instructions are for updating from 4.7.5.

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, it is very important to read the 4.7.0 release notes.

Non-Docker

Tip

The charlock_holmes gem may fail to build on some systems with recent versions of gcc.
If you run into this issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install.

  1. If you are using rbenv, update the list of available versions and install the proper Ruby version by doing RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install in the Mastodon install directory (e.g. /home/mastodon/live)
  2. Install dependencies with bundle install and yarn install --immutable
  3. Restart all Mastodon processes.

When using Docker

  1. Restart all Mastodon processes.

v4.7.6-ls11

Choose a tag to compare

@github-actions github-actions released this 19 Nov 10:40

CI

Test report · Build status

LinuxServer changes

Full Changelog: v4.7.5-ls10...v4.7.6-ls11

Upstream changes

Source: https://github.com/mastodon/mastodon/releases/tag/v4.7.6

Mastodon

This release is made primarily to update Ruby in our docker container images to fix multiple critical security issues. It is critical to update if you use our docker container images.

If you are not using our docker container images, please make sure you use Ruby 4.0.10, 3.4.13, 3.3.14 or newer.

Upgrade overview

This release contains upgrade notes that deviate from the norm:

ℹ️ Default Ruby version has been updated

For more information, view the complete release notes and scroll down to the upgrade instructions section.

Changelog

Security

  • Updated dependencies ruby, puma, rails, sanitize, msgpack and omniauth

Fixed

  • Fix missing featuredCollections definition to JSON-LD context (#41728 by @oneiros)
  • Fix improper use of translation strings in email notification unsubscription page (#41555 by @ClearlyClaire)
  • Fix missing dropdown label in admin audit log (#41301 by @e-nomem)

Upgrade notes

To get the code for v4.7.6, use git fetch && git checkout v4.7.6.

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.6.0.

  • Ruby: 3.3 or newer
  • PostgreSQL: 14 or newer
  • Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
  • LibreTranslate (optional, for translations): 1.3.3 or newer
  • Redis: 7.0 or newer
  • Node: 22 or newer
  • libvips: 8.13 or newer
  • FFMpeg: 5.1 or newer

Update steps

The following instructions are for updating from 4.7.5.

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, it is very important to read the 4.7.0 release notes.

Non-Docker

Tip

The charlock_holmes gem may fail to build on some systems with recent versions of gcc.
If you run into this issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install.

  1. If you are using rbenv, update the list of available versions and install the proper Ruby version by doing RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install in the Mastodon install directory (e.g. /home/mastodon/live)
  2. Install dependencies with bundle install and yarn install --immutable
  3. Restart all Mastodon processes.

When using Docker

  1. Restart all Mastodon processes.

glitch-v4.7.5-ls10

glitch-v4.7.5-ls10 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Nov 08:53

CI

Test report · Build status

LinuxServer changes

Full Changelog: glitch-v4.7.5-ls9...glitch-v4.7.5-ls10

Upstream changes

Source: https://github.com/glitch-soc/mastodon/releases/tag/v4.7.5

Changelog

Security

  • Fix password authentication bypass for inactive accounts (GHSA-3xjw-gv43-3w62)
  • Fix DoS through JSON-LD compaction (#41482 by @ClearlyClaire, GHSA-cf49-73r7-rxj6)
  • Fix Forwarded header taking precedence over X-Forwarded-For (#41481 by @ClearlyClaire, GHSA-qp4r-p842-mw5c)
    • If your reverse-proxy setup uses Forwarded instead of X-Forwarded-For, please make sure it ignores user-provided X-Forwarded-For headers.
    • If you are using our provided nginx.conf, please consider updating it.
  • Updated dependencies, in particular to address security advisories in addressable, loofah, rack, and rails-html-sanitizer

Changed

  • Change invites use counts to not decrease if an invited user deletes their account (#41458 by @ClearlyClaire)

Upgrade notes

To get the code for v4.7.5, use git fetch && git checkout v4.7.5.

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.6.0.

  • Ruby: 3.3 or newer
  • PostgreSQL: 14 or newer
  • Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
  • LibreTranslate (optional, for translations): 1.3.3 or newer
  • Redis: 7.0 or newer
  • Node: 22 or newer
  • libvips: 8.13 or newer
  • FFMpeg: 5.1 or newer

Update steps

The following instructions are for updating from 4.7.4.

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, it is very important to read the 4.7.0 release notes.

Non-Docker

Tip

The charlock_holmes gem may fail to build on some systems with recent versions of gcc.
If you run into this issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install.

  1. Install dependencies with bundle install and yarn install --immutable
  2. Restart all Mastodon processes.

When using Docker

  1. Restart all Mastodon processes.

v4.7.5-ls10

Choose a tag to compare

@github-actions github-actions released this 18 Nov 14:41

CI

Test report · Build status

LinuxServer changes

Full Changelog: v4.7.5-ls9...v4.7.5-ls10

Upstream changes

Source: https://github.com/mastodon/mastodon/releases/tag/v4.7.5

Mastodon

Changelog

Security

  • Fix password authentication bypass for inactive accounts (GHSA-3xjw-gv43-3w62)
  • Fix DoS through JSON-LD compaction (#41482 by @ClearlyClaire, GHSA-cf49-73r7-rxj6)
  • Fix Forwarded header taking precedence over X-Forwarded-For (#41481 by @ClearlyClaire, GHSA-qp4r-p842-mw5c)
    • If your reverse-proxy setup uses Forwarded instead of X-Forwarded-For, please make sure it ignores user-provided X-Forwarded-For headers.
    • If you are using our provided nginx.conf, please consider updating it.
  • Updated dependencies, in particular to address security advisories in addressable, loofah, rack, and rails-html-sanitizer

Changed

  • Change invites use counts to not decrease if an invited user deletes their account (#41458 by @ClearlyClaire)

Upgrade notes

To get the code for v4.7.5, use git fetch && git checkout v4.7.5.

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.6.0.

  • Ruby: 3.3 or newer
  • PostgreSQL: 14 or newer
  • Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
  • LibreTranslate (optional, for translations): 1.3.3 or newer
  • Redis: 7.0 or newer
  • Node: 22 or newer
  • libvips: 8.13 or newer
  • FFMpeg: 5.1 or newer

Update steps

The following instructions are for updating from 4.7.4.

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, it is very important to read the 4.7.0 release notes.

Non-Docker

Tip

The charlock_holmes gem may fail to build on some systems with recent versions of gcc.
If you run into this issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install.

  1. Install dependencies with bundle install and yarn install --immutable
  2. Restart all Mastodon processes.

When using Docker

  1. Restart all Mastodon processes.

glitch-v4.7.5-ls9

glitch-v4.7.5-ls9 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 13:28

CI

Test report · Build status

LinuxServer changes

Full Changelog: glitch-v4.7.5-ls8...glitch-v4.7.5-ls9

Upstream changes

Source: https://github.com/glitch-soc/mastodon/releases/tag/v4.7.5

Changelog

Security

  • Fix password authentication bypass for inactive accounts (GHSA-3xjw-gv43-3w62)
  • Fix DoS through JSON-LD compaction (#41482 by @ClearlyClaire, GHSA-cf49-73r7-rxj6)
  • Fix Forwarded header taking precedence over X-Forwarded-For (#41481 by @ClearlyClaire, GHSA-qp4r-p842-mw5c)
    • If your reverse-proxy setup uses Forwarded instead of X-Forwarded-For, please make sure it ignores user-provided X-Forwarded-For headers.
    • If you are using our provided nginx.conf, please consider updating it.
  • Updated dependencies, in particular to address security advisories in addressable, loofah, rack, and rails-html-sanitizer

Changed

  • Change invites use counts to not decrease if an invited user deletes their account (#41458 by @ClearlyClaire)

Upgrade notes

To get the code for v4.7.5, use git fetch && git checkout v4.7.5.

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.6.0.

  • Ruby: 3.3 or newer
  • PostgreSQL: 14 or newer
  • Elasticsearch (recommended, for full-text search): 7.x (OpenSearch should also work)
  • LibreTranslate (optional, for translations): 1.3.3 or newer
  • Redis: 7.0 or newer
  • Node: 22 or newer
  • libvips: 8.13 or newer
  • FFMpeg: 5.1 or newer

Update steps

The following instructions are for updating from 4.7.4.

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, it is very important to read the 4.7.0 release notes.

Non-Docker

Tip

The charlock_holmes gem may fail to build on some systems with recent versions of gcc.
If you run into this issue, try BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install.

  1. Install dependencies with bundle install and yarn install --immutable
  2. Restart all Mastodon processes.

When using Docker

  1. Restart all Mastodon processes.