feat: Add Mastodon auto-update with classifier examples

This commit is contained in:
Jeena 2026-05-02 08:42:23 +00:00
parent cf7f7a7b62
commit 6b4b74fc01
8 changed files with 205 additions and 0 deletions

View file

@ -0,0 +1,45 @@
action: manual
reason: Requires database migrations (db:migrate). Minimum dependency versions bumped (Redis 7.0, PostgreSQL 14, Node 20.19). Sidekiq upgraded from 7 to 8, health check must be updated. Admin must verify dependencies and run migrations.
---
## Upgrade overview
This release contains upgrade notes that deviate from the norm:
:warning: The minimum supported version for Redis has been bumped to 7.0
:warning: The minimum supported version for PostgreSQL has been bumped to PostgreSQL 14
:warning: The minimum supported version for Node.js has been bumped to 20.19
:warning: Rolling updates from versions earlier than Mastodon 4.3 are not supported
:warning: Import jobs from Mastodon versions earlier than Mastodon 4.2 are not supported
ℹ️ Sidekiq has been updated, which may require you to change health check or monitoring code
ℹ️ Requires streaming server restart
ℹ️ Requires database migrations
### Added
- Add support for allowing and authoring quotes
- Add support for fetching and refreshing replies to the web UI
- Add ability to block words in usernames
- Add ability to individually disable local or remote feeds
### Sidekiq update and health checks
We have updated Sidekiq from Sidekiq 7 to Sidekiq 8, which may require you to change health check or monitoring code.
## Upgrade notes
### Dependencies
External dependencies have changed since v4.4.0, with the Redis, PostgreSQL and Node.js minimum version being higher.
- Ruby: 3.2 or newer
- PostgreSQL: 14 or newer
- Redis: 7.0 or newer
- Node: 20.19 or newer
### Non-Docker
1. If you are using `rbenv`, update the list of available versions and install the proper Ruby version.
2. Install dependencies with `bundle install` and `yarn install --immutable`
3. Precompile the assets: `RAILS_ENV=production bundle exec rails assets:precompile`
4. Run the database migrations: `RAILS_ENV=production bundle exec rails db:migrate`
5. Restart all Mastodon processes.