v4.1.2-branch #14

Merged
asonix merged 57 commits from v4.1.2-branch into asonix/changes 2023-04-06 20:57:47 +00:00
Owner

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 and 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:
  • The recommended Ruby version has been bumped to 3.0.6. If you are using rbenv, you will be require to install it with RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 3.0.6. You may need to update rbenv itself with git -C /home/mastodon/.rbenv/plugins/ruby-build pull.
  • Install dependencies: bundle install and yarn install
Both Docker and non-Docker:
  1. Precompile the assets:
    • Non-Docker: RAILS_ENV=production bundle exec rails assets:precompile
    • Docker: The assets are already precompiled during the build step
  2. Restart all Mastodon processes
### 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 and 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: - The recommended Ruby version has been bumped to 3.0.6. If you are using rbenv, you will be require to install it with `RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 3.0.6`. You may need to update `rbenv` itself with `git -C /home/mastodon/.rbenv/plugins/ruby-build pull`. - Install dependencies: `bundle install` and `yarn install` ###### Both Docker and non-Docker: 1. Precompile the assets: - Non-Docker: `RAILS_ENV=production bundle exec rails assets:precompile` - Docker: The assets are already precompiled during the build step 2. Restart all Mastodon processes
asonix added 57 commits 2023-04-06 20:55:42 +00:00
9972eb41ae add modal message when editing toot (#23936)
Co-authored-by: PauloVilarinho <paulotarsobranco@hotmail.com>
asonix merged commit 5d61ce71a8 into asonix/changes 2023-04-06 20:57:47 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: asonix/mastodon#14
No description provided.