Skip to content

Commit

Permalink
Update ghcr.io/mastodon/mastodon Docker tag to v4.2.6 (#40)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/mastodon/mastodon](https://togithub.com/mastodon/mastodon) |
patch | `v4.2.5` -> `v4.2.6` |

---

### Release Notes

<details>
<summary>mastodon/mastodon (ghcr.io/mastodon/mastodon)</summary>

###
[`v4.2.6`](https://togithub.com/mastodon/mastodon/releases/tag/v4.2.6)

[Compare
Source](https://togithub.com/mastodon/mastodon/compare/v4.2.5...v4.2.6)

<h1><picture>
<source media="(prefers-color-scheme: dark)"
srcset="./lib/assets/wordmark.dark.png?raw=true">
<source media="(prefers-color-scheme: light)"
srcset="./lib/assets/wordmark.light.png?raw=true">
<img alt="Mastodon" src="./lib/assets/wordmark.light.png?raw=true"
height="34">
</picture></h1>

> **:warning: This release is an important security release fixing
several security issue.**
>
> Corresponding security releases are available for the [4.1.x
branch](https://togithub.com/mastodon/mastodon/releases/tag/v4.1.14),
the [4.0.x
branch](https://togithub.com/mastodon/mastodon/releases/tag/v4.0.14) and
the [3.5.x
branch](https://togithub.com/mastodon/mastodon/releases/tag/v3.5.18).

> If you are using nightly builds, **do not use this release** but
update to `nightly.2024-02-15-security` or newer instead. If you are on
the `main` branch, update to the latest commit.

##### Changelog

##### Security

- Update the `sidekiq-unique-jobs` dependency (see
[GHSA-cmh9-rx85-xj38](https://togithub.com/mhenrixon/sidekiq-unique-jobs/security/advisories/GHSA-cmh9-rx85-xj38))
In addition, we have disabled the web interface for
`sidekiq-unique-jobs` out of caution, as it is very rarely useful.
If you need to investigate `sidekiq-unique-jobs` locks, you can
re-enable it by setting `ENABLE_SIDEKIQ_UNIQUE_JOBS_UI=true`.
If you only need to clear all locks, you can now use the newly-added
`bundle exec rake sidekiq_unique_jobs:delete_all_locks`.
- Update the `nokogiri` dependency (see
[GHSA-xc9x-jj77-9p9j](https://togithub.com/sparklemotion/nokogiri/security/advisories/GHSA-xc9x-jj77-9p9j))
- Disable administrative Doorkeeper routes
([ThisIsMissEm](https://togithub.com/mastodon/mastodon/pull/29187))
- Fix ongoing streaming sessions not being invalidated when applications
get deleted in some cases
([GHSA-7w3c-p9j8-mq3x](https://togithub.com/mastodon/mastodon/security/advisories/GHSA-7w3c-p9j8-mq3x))
In some rare cases, the streaming server was not notified of access
tokens revocation on application deletion.
- Change external authentication behavior to never reattach a new
identity to an existing user by default
([GHSA-vm39-j3vx-pch3](https://togithub.com/mastodon/mastodon/security/advisories/GHSA-vm39-j3vx-pch3))
Up until now, Mastodon has allowed new identities from external
authentication providers to attach to an existing local user based on
their verified e-mail address.
This allowed upgrading users from a database-stored password to an
external authentication provider, or move from one authentication
provider to another.
However, this behavior may be unexpected, and means that when multiple
authentication providers are configured, the overall security would be
that of the least secure authentication provider.
For these reasons, this behavior is now locked under the
`ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH` environment variable.
In addition, regardless of this environment variable, Mastodon will
refuse to attach two identities from the same authentication provider to
the same account.

##### Upgrade notes

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

> 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

With the exception of Ruby's recommended version, external dependencies
have not changed since v4.2.0, the compatible Ruby, PostgreSQL, Node,
Elasticsearch and Redis versions are the same, that is:

-   Ruby: 3.0 to 3.2
-   PostgreSQL: 10 or newer
- 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: 16 or newer
-   ImageMagick: 6.9.7-7 or newer

> If your uploaded images are broken after the upgrade, it means your
installed ImageMagick version is older than the new minimum version
(6.9.7-7), for example if you are running Ubuntu 18.04. If this happens,
you can find more information and ways to fix it [on this
page](https://togithub.com/mastodon/mastodon/issues/25776).

##### Update steps

The following instructions are for updating from 4.2.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.

**Non-Docker only:**

1. Install dependencies: `bundle install` and `yarn install
--frozen-lockfile`
2.  Restart all Mastodon processes

**Using Docker:**

1.  Restart all Mastodon processes

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/enoki-coop/helm-charts).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Feb 14, 2024
1 parent b655fa7 commit 229e210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/enoki-mastodon/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: application
version: 0.3.9

# renovate: image=ghcr.io/mastodon/mastodon
appVersion: v4.2.5
appVersion: v4.2.6

dependencies:
- name: mastodon
Expand Down
2 changes: 1 addition & 1 deletion charts/mastodon/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ version: 4.0.10
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# renovate: image=ghcr.io/mastodon/mastodon
appVersion: v4.2.5
appVersion: v4.2.6

dependencies:
- name: common
Expand Down

0 comments on commit 229e210

Please sign in to comment.