4.1.0 to 4.2.0
Minor changes in the TOML
config format¶
- The
pgsql_users_number_estimate
option was moved toauth.rdbms.users_number_estimate
. The new option supports PostgreSQL and MySQL.
DB migrations¶
New inbox features¶
Inbox now implements new functionality (see inbox), but this required adding new columns to the DB. If you're using inbox, please update the tables as follows:
For Postgres or MySQL:
1 2 3 |
|
1 2 3 |
|
Archived groupchat messages in mod_mam
¶
The archive_groupchats
option is now set to false
by default, as documented.
Before the change, the private message (PM) archive stored incoming groupchat messages as well, contrary to the documentation.
After the upgrade you can manually remove those messages from the database.
For example, when the MUC domain is muc.localhost
and rdbms_message_format
has the default value internal
, one can remove such messages with the following query:
1 2 |
|
This can be a heavy operation and it needs to be done with caution.
Using mod_auth_token
with MySQL and MS SQL¶
The mod_auth_token
module supports MySQL and MS SQL now. To use this functionality, you need to create the auth_token
table with the query which you can find in priv/mysql.sql
and priv/mssql2012.sql
, respectively.