Skip to content

Releases: ansible-collections/community.mysql

3.11.0

19 Nov 10:05
e437d56
Compare
Choose a tag to compare

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

09 Sep 13:08
a75d71a
Compare
Choose a tag to compare

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

06 Sep 06:24
7188bea
Compare
Choose a tag to compare

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

04 Sep 05:23
2db131f
Compare
Choose a tag to compare

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 the name argument has been deprecated and will be removed in collection version 5.0.0. Use the name argument instead.

Bugfixes

  • mysql_user - module makes changes when is executed with plugin_auth_string parameter and check mode.

3.10.0

22 Aug 08:48
37a718c
Compare
Choose a tag to compare

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 the users_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 and SHOW 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 and sha256_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 variable plugin_auth_string contains the hashed password and it's misleading, it will be removed from community.mysql 4.0.0. Use the plugin_hash_string return value instead (#629).

Bugfixes

  • mysql_info - Add plugin_hash_string to users_info filter's output. The existing plugin_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 removing SSL and X509 when sets as empty (#628).
  • mysql_user - Fix idempotence when using variables from the users_info filter of mysql_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

22 Feb 10:01
52a11d7
Compare
Choose a tag to compare

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 and password_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 running SHOW ALL SLAVES STATUS for MariaDB servers (#603).

2.4.2

22 Jan 10:17
6e2310d
Compare
Choose a tag to compare

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

26 Oct 09:22
fd0b191
Compare
Choose a tag to compare

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 and ansible-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 the latest 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 to true 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 to true 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

  • mysql_info - add filter users_info (#580).
  • mysql_role - add column_case_sensitive option to prevent field names from being uppercased (#569).
  • mysql_user - add column_case_sensitive option to prevent field names from being uppercased (#569).

3.7.2

25 May 11:33
a81b6fc
Compare
Choose a tag to compare

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 of database and passwd instead of password when running with MySQLdb < 2.0.0 (#553).

3.7.1

22 May 07:42
bff05ce
Compare
Choose a tag to compare

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 of database and passwd instead of password when running with older mysql drivers (MySQLdb < 2.1.0 or PyMySQL < 1.0.0) (#551).