Release Summary
This is a minor release of the community.mysql
collection.
This changelog contains all changes to the modules and plugins in this
collection that have been made after the previous release.
Minor Changes
- mysql_info - Add
tls_requires
returned value for theusers_info
filter (#628). - mysql_info - return a database server engine used (#644).
- mysql_replication - Adds support for
CHANGE REPLICATION SOURCE TO
statement (#635). - mysql_replication - Adds support for
SHOW BINARY LOG STATUS
andSHOW BINLOG STATUS
on getprimary mode. - mysql_replication - Improve detection of IsReplica and IsPrimary by inspecting the dictionary returned from the SQL query instead of relying on variable types. This ensures compatibility with changes in the connector or the output of SHOW REPLICA STATUS and SHOW MASTER STATUS, allowing for easier maintenance if these change in the future.
- mysql_user - Add salt parameter to generate static hash for
caching_sha2_password
andsha256_password
plugins.
Breaking Changes / Porting Guide
- collection - support of mysqlclient connector is deprecated - use PyMySQL connector instead! We will stop testing against it in collection version 4.0.0 and remove the related code in 5.0.0 (#654).
- mysql_info - The
users_info
filter returned variableplugin_auth_string
contains the hashed password and it's misleading, it will be removed from community.mysql 4.0.0. Use theplugin_hash_string
return value instead (#629).
Bugfixes
- mysql_info - Add
plugin_hash_string
tousers_info
filter's output. The existingplugin_auth_string
contained the hashed password and thus is missleading, it will be removed from community.mysql 4.0.0. (#629). - mysql_user - Added a warning to update_password's on_new_username option if multiple accounts with the same username but different passwords exist (#642).
- mysql_user - Fix
tls_requires
not removingSSL
andX509
when sets as empty (#628). - mysql_user - Fix idempotence when using variables from the
users_info
filter ofmysql_info
as an input (#628). - mysql_user - Fixed an IndexError in the update_password functionality introduced in PR #580 and released in community.mysql 3.8.0. If you used this functionality, please avoid versions 3.8.0 to 3.9.0 (#642).
- mysql_user - add correct
ed25519
auth plugin handling (#6). - mysql_variables - fix the module always changes on boolean values (#652).