Releases: ansible-collections/community.mysql
3.11.0
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 - adds the count of tables for each database to the returned values. It is possible to exclude this new field using the db_table_count exclusion filter. (#691)
Bugfixes
- mysql_user,mysql_role - The sql_mode ANSI_QUOTES affects how the modules mysql_user and mysql_role compare the existing privileges with the configured privileges, as well as decide whether double quotes or backticks should be used in the GRANT statements. Pointing out in issue 671, the modules mysql_user and mysql_role allow users to enable/disable ANSI_QUOTES in session variable (within a DB session, the session variable always overwrites the global one). But due to the issue, the modules do not check for ANSI_MODE in the session variable, instead, they only check in the GLOBAL one.That behavior is not only limiting the users' flexibility, but also not allowing users to explicitly disable ANSI_MODE to work around such bugs like https://bugs.mysql.com/bug.php?id=115953. (#671)
3.10.3
Release Summary
This is a bugfix 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.
Bugfixes
- mysql_user - add correct
ed25519
auth plugin handling when creating a user (#676).
3.10.2
Release Summary
This is a bugfix 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.
Bugfixes
- mysql_user - add correct
ed25519
auth plugin handling when creating a user (#672).
3.10.1
Release Summary
This is a patch release of the community.mysql
collection.
Besides a bugfix, it contains an important upcoming breaking-change information.
Breaking Changes / Porting Guide
- mysql_user - the
user
alias of thename
argument has been deprecated and will be removed in collection version 5.0.0. Use thename
argument instead.
Bugfixes
- mysql_user - module makes changes when is executed with
plugin_auth_string
parameter and check mode.
3.10.0
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).
3.9.0
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.
Major Changes
- Collection version 2.. is EOL, no more bugfixes will be backported. Please consider upgrading to the latest version.
Minor Changes
- mysql_user - add the
password_expire
andpassword_expire_interval
arguments to implement the password expiration management for mysql user (#598). - mysql_user - add user attribute support via the
attributes
parameter and return value (#604).
Bugfixes
- mysql_info - the
slave_status
filter was returning an empty list on MariaDB with multiple replication channels. It now returns all channels by runningSHOW ALL SLAVES STATUS
for MariaDB servers (#603).
2.4.2
Maintenance release of community.mysql to inform users that version 2 is EOL. No code/doc changes were made in this release.
3.8.0
Release Summary
This is a patch 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.
Major Changes
- The community.mysql collection no longer supports
ansible-core 2.12
andansible-core 2.13
. While we take no active measures to prevent usage and there are no plans to introduce incompatible code to the modules, we will stop testing those versions. Both are or will soon be End of Life and if you are still using them, you should consider upgrading to thelatest Ansible / ansible-core 2.15 or later
as soon as possible (#574). - mysql_role - the
column_case_sensitive
argument's default value will be changed totrue
in community.mysql 4.0.0. If your playbook expected the column to be automatically uppercased for your roles privileges, you should set this to false explicitly (#578). - mysql_user - the
column_case_sensitive
argument's default value will be changed totrue
in community.mysql 4.0.0. If your playbook expected the column to be automatically uppercased for your users privileges, you should set this to false explicitly (#577).
Minor Changes
3.7.2
Release Summary
This is a patch 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.
Bugfixes
- mysql module utils - use the connection arguments
db
instead ofdatabase
andpasswd
instead ofpassword
when running with MySQLdb < 2.0.0 (#553).
3.7.1
Release Summary
This is a patch 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.
Bugfixes
- mysql module utils - use the connection arguments
db
instead ofdatabase
andpasswd
instead ofpassword
when running with older mysql drivers (MySQLdb < 2.1.0 or PyMySQL < 1.0.0) (#551).