-
Notifications
You must be signed in to change notification settings - Fork 20
Updates
Robin edited this page Jan 10, 2023
·
19 revisions
List of breaking changes or database migrations in each update
New WEBSERVER_BIND
variable that defaults to 127.0.0.1
. If you need it to bind to all interfaces (can be insecure!), set it to 0.0.0.0
(previous default).
For database installations, add a new column to your connections table, for example:
docker-compose exec postgres psql -U <username> <database> --command "ALTER TABLE connections ADD COLUMN command_prefix TEXT DEFAULT NULL;"
No changes required for stateless installations.
- Breaking change to
roleChange
endpoint, requires website update (compatible with pr10+) - Postgres variable names changed to be consistent with library/postgres
-
POSTGRES_USERNAME
->POSTGRES_USER
-
POSTGRES_NAME
->POSTGRES_DB
-
- Members intent now required (unless
DISABLE_MEMBERS_INTENT
is set)
- You'll need to re-invite the bot, with slash commands permissions
- Environment variables
SKIP_SETTINGS_UPDATE
andDEFAULT_COMMAND_PREFIX
were removed - The
command_prefix
column in theconnections
table is no longer used, feel free to remove it.
- Drops v2-pr12 support, adds v2-pr13 support
- API key is now configured separately, with a corresponding database column or environment variable
- Docker only:
XMX
environment variable removed, setJAVA_TOOL_OPTIONS
instead. - Postgres only: Add
username_sync
boolean column:ALTER TABLE connections ADD COLUMN username_sync BOOLEAN DEFAULT FALSE;
-
NICKNAME_MANAGE
permission is now required (bot will need to be re-invited using a new invite link) -
DISABLE_MEMBERS_INTENT
has been removed, members intent is now required