Add changelog info for v4.3.0-alpha.3+glitch+cat+1.2.0

This commit is contained in:
Jeremy Kescher 2024-05-11 23:53:25 +02:00
parent 360fa71778
commit 480be5e60c
No known key found for this signature in database
GPG key ID: 80A419A7A613DFA4
4 changed files with 14 additions and 1 deletions

View file

@ -5,6 +5,9 @@ SECRET_KEY_BASE=[REDACTED]
OTP_SECRET=[REDACTED]
VAPID_PRIVATE_KEY=[REDACTED]
VAPID_PUBLIC_KEY=[REDACTED]
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=[REDACTED]
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=[REDACTED]
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=[REDACTED]
DB_HOST=[REDACTED]
DB_PORT=[REDACTED]
DB_NAME=[REDACTED]

View file

@ -6,6 +6,13 @@ All changes to Catstodon that aren't Mastodon or glitch-soc Mastodon changes wil
- Glitch-soc changes since and including 62bc36416f2d2defc77a501226afd0679b6ca252
- Ruby version 3.3.1. Update your rbenv!
- Mastodon/Catstodon now requires that these variables are set:
- ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY
- ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT
- ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY
After `bundle install`, run `bin/rails db:encryption:init` to generate values and then assign the environment variable, for example in your `.env.production`.
## [v4.3.0-alpha.3+glitch+cat+1.1.3] - 2024-04-26

View file

@ -8,7 +8,7 @@
ENV.fetch(key) do
abort <<~MESSAGE
Mastodon now requires that these variables are set:
Catstodon now requires that these variables are set:
- ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY
- ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT

View file

@ -23,5 +23,8 @@ if [[ -f "$1" ]]; then
-e 's/^ES_HOST=.*/ES_HOST=[REDACTED]/gi' \
-e 's/^ES_PORT=.*/ES_PORT=[REDACTED]/gi' \
-e 's/^ES_PREFIX=.*/ES_PREFIX=[REDACTED]/gi' \
-e 's/^ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=.*/ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=[REDACTED]/gi' \
-e 's/^ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=.*/ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=[REDACTED]/gi' \
-e 's/^ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=.*/ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=[REDACTED]/gi' \
"$1"
fi