Skip to content

Commit

Permalink
chore(deps): update ghcr.io/mastodon/mastodon docker tag to v4.1.8 (#96)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/mastodon/mastodon](https://github.com/mastodon/mastodon) | patch | `v4.1.7` -> `v4.1.8` |

---

### Release Notes

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

### [`v4.1.8`](https://github.com/mastodon/mastodon/releases/tag/v4.1.8)

[Compare Source](mastodon/mastodon@v4.1.7...v4.1.8)

<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 major security issues (CVE-2023-42451, CVE-2023-42452).**
>
> Corresponding security releases are available for the [4.0.x branch](https://github.com/mastodon/mastodon/releases/tag/v4.0.10) and the [3.5.x branch](https://github.com/mastodon/mastodon/releases/tag/v3.5.14).
> If you are using nightly builds, **do not use this release** but update to `nightly.2023-09-20` or newer instead. If you are on the `main` branch, update to the latest commit.

##### Changelog

##### Fixed

-   Fix post edits not being forwarded as expected ([ClearlyClaire](mastodon/mastodon#26936))
-   Fix moderator rights inconsistencies ([ClearlyClaire](mastodon/mastodon#26729))
-   Fix crash when encountering invalid URL ([ClearlyClaire](mastodon/mastodon#26814))
-   Fix cached posts including stale stats ([ClearlyClaire](mastodon/mastodon#26409))
-   Fix uploading of video files for which `ffprobe` reports `0/0` average framerate ([NicolaiSoeborg](mastodon/mastodon#26500))
-   Fix unexpected audio stream transcoding when uploaded video is eligible to passthrough ([yufushiro](mastodon/mastodon#26608))

##### Security

-   Fix missing HTML sanitization in translation API (CVE-2023-42452, [GHSA-2693-xr3m-jhqr](GHSA-2693-xr3m-jhqr))
-   Fix incorrect domain name normalization (CVE-2023-42451, [GHSA-v3xf-c9qf-j667](GHSA-v3xf-c9qf-j667))

##### Upgrade notes

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

> 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.7, 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, < 18
-   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](mastodon/mastodon#25776).

##### Update steps

The following instructions are for updating from 4.1.7.

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`

**Both Docker and non-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 these updates again.

---

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

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuOTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://git.home/nrdufour/home-ops/pulls/96
Co-authored-by: Renovate <[email protected]>
Co-committed-by: Renovate <[email protected]>
  • Loading branch information
nrdufour committed Sep 20, 2023
1 parent cac27e2 commit 9df3360
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image:
# built from the most recent commit
#
# tag: latest
tag: "v4.1.7"
tag: "v4.1.8"
# use `Always` when using `latest` tag
pullPolicy: IfNotPresent

Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/mastodon/mastodon/utils/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
name: toot-mastodon-env
- secretRef:
name: toot-mastodon
image: ghcr.io/mastodon/mastodon:v4.1.7
image: ghcr.io/mastodon/mastodon:v4.1.8
imagePullPolicy: IfNotPresent
name: mastodon
volumeMounts:
Expand Down

0 comments on commit 9df3360

Please sign in to comment.