Skip to content

Updates

Robin edited this page Jan 10, 2023 · 19 revisions

List of breaking changes or database migrations in each update

v1.0 to v1.1

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).

v1.1 to v1.2

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.

v1.2 to v2.0

  • 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)

v2.0 to v3

  • You'll need to re-invite the bot, with slash commands permissions
  • Environment variables SKIP_SETTINGS_UPDATE and DEFAULT_COMMAND_PREFIX were removed
  • The command_prefix column in the connections table is no longer used, feel free to remove it.

v3 to v4

  • Drops v2-pr12 support, adds v2-pr13 support
  • API key is now configured separately, with a corresponding database column or environment variable

v4 to v5

  • Docker only: XMX environment variable removed, set JAVA_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
Clone this wiki locally