Skip to content

Commit 9acbd55

Browse files
authored
prepare community.mysql 3.6.0 (#507)
1 parent b34c23d commit 9acbd55

12 files changed

+68
-32
lines changed

CHANGELOG.rst

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,33 @@ Community MySQL Collection Release Notes
66

77
This changelog describes changes after version 2.0.0.
88

9+
v3.6.0
10+
======
11+
12+
Release Summary
13+
---------------
14+
15+
This is the minor release of the ``community.mysql`` collection.
16+
This changelog contains all changes to the modules and plugins in this collection
17+
that have been made after the previous release.
18+
19+
Minor Changes
20+
-------------
21+
22+
- mysql_info - add ``connector_name`` and ``connector_version`` to returned values (https://github.com/ansible-collections/community.mysql/pull/497).
23+
- mysql_role - enable auto_commit to avoid MySQL metadata table lock (https://github.com/ansible-collections/community.mysql/issues/479).
24+
- mysql_user - add plugin_auth_string as optional parameter to use a specific pam service if pam/auth_pam plugin is used (https://github.com/ansible-collections/community.mysql/pull/445).
25+
- mysql_user - add the ``session_vars`` argument to set session variables at the beginning of module execution (https://github.com/ansible-collections/community.mysql/issues/478).
26+
- mysql_user - display a more informative invalid privilege exception. Changes the exception handling of the granting permission logic to show the query executed , params and the exception message granting privileges fails` (https://github.com/ansible-collections/community.mysql/issues/465).
27+
- mysql_user - enable auto_commit to avoid MySQL metadata table lock (https://github.com/ansible-collections/community.mysql/issues/479).
28+
- setup_mysql - update MySQL tarball URL (https://github.com/ansible-collections/community.mysql/pull/491).
29+
30+
Bugfixes
31+
--------
32+
33+
- mysql_user - when revoke privs consists only of ``GRANT``, a 2nd revoke query is executed with empty privs to revoke that ended in an SQL exception (https://github.com/ansible-collections/community.mysql/pull/503).
34+
- mysql_variables - add uppercase character pattern to regex to allow GLOBAL variables containing uppercase characters. This recognizes variable names used in Galera, for example, ``wsrep_OSU_method``, which breaks the normal pattern of all lowercase characters (https://github.com/ansible-collections/community.mysql/pull/501).
35+
936
v3.5.1
1037
======
1138

@@ -216,7 +243,7 @@ that have been added after the release of ``community.mysql`` 2.3.2.
216243
Breaking Changes / Porting Guide
217244
--------------------------------
218245

219-
- mysql_replication - remove ``Is_Slave`` and ``Is_Master`` return values (were replaced with ``Is_Primary`` and ``Is_Replica`` (https://github.com/ansible-collections /community.mysql/issues/145).
246+
- mysql_replication - remove ``Is_Slave`` and ``Is_Master`` return values (were replaced with ``Is_Primary`` and ``Is_Replica`` (https://github.com/ansible-collections/community.mysql/issues/145).
220247
- mysql_replication - remove the mode options values containing ``master``/``slave`` and the master_use_gtid option ``slave_pos`` (were replaced with corresponding ``primary``/``replica`` values) (https://github.com/ansible-collections/community.mysql/issues/145).
221248
- mysql_user - remove support for the `REQUIRESSL` special privilege as it has ben superseded by the `tls_requires` option (https://github.com/ansible-collections/community.mysql/discussions/121).
222249
- mysql_user - validate privileges using database engine directly (https://github.com/ansible-collections/community.mysql/issues/234 https://github.com/ansible-collections/community.mysql/pull/243). Do not validate privileges in this module anymore.

changelogs/changelog.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,3 +261,42 @@ releases:
261261
- 3.5.1.yml
262262
- 438-fix-privilege-changing-everytime.yml
263263
release_date: '2022-09-09'
264+
3.6.0:
265+
changes:
266+
bugfixes:
267+
- mysql_user - when revoke privs consists only of ``GRANT``, a 2nd revoke query
268+
is executed with empty privs to revoke that ended in an SQL exception (https://github.com/ansible-collections/community.mysql/pull/503).
269+
- mysql_variables - add uppercase character pattern to regex to allow GLOBAL
270+
variables containing uppercase characters. This recognizes variable names
271+
used in Galera, for example, ``wsrep_OSU_method``, which breaks the normal
272+
pattern of all lowercase characters (https://github.com/ansible-collections/community.mysql/pull/501).
273+
minor_changes:
274+
- mysql_info - add ``connector_name`` and ``connector_version`` to returned
275+
values (https://github.com/ansible-collections/community.mysql/pull/497).
276+
- mysql_role - enable auto_commit to avoid MySQL metadata table lock (https://github.com/ansible-collections/community.mysql/issues/479).
277+
- mysql_user - add plugin_auth_string as optional parameter to use a specific
278+
pam service if pam/auth_pam plugin is used (https://github.com/ansible-collections/community.mysql/pull/445).
279+
- mysql_user - add the ``session_vars`` argument to set session variables at
280+
the beginning of module execution (https://github.com/ansible-collections/community.mysql/issues/478).
281+
- mysql_user - display a more informative invalid privilege exception. Changes
282+
the exception handling of the granting permission logic to show the query
283+
executed , params and the exception message granting privileges fails` (https://github.com/ansible-collections/community.mysql/issues/465).
284+
- mysql_user - enable auto_commit to avoid MySQL metadata table lock (https://github.com/ansible-collections/community.mysql/issues/479).
285+
- setup_mysql - update MySQL tarball URL (https://github.com/ansible-collections/community.mysql/pull/491).
286+
release_summary: 'This is the minor release of the ``community.mysql`` collection.
287+
288+
This changelog contains all changes to the modules and plugins in this collection
289+
290+
that have been made after the previous release.'
291+
fragments:
292+
- 0_mysql_user_session_vars.yml
293+
- 3.6.0.yml
294+
- 445_add_service_name_to_plugin_pam_auth_pam_usage.yml
295+
- 465-display_more_informative_invalid_priv_exceptiion.yml
296+
- 479_enable_auto_commit.yml
297+
- 479_enable_auto_commit_part2.yml
298+
- 491_fix_download_url.yaml
299+
- 497_mysql_info_returns_connector_name_and_version.yml
300+
- 503-fix-revoke-grant-only.yml
301+
- mysql_variables_allow_uppercase_identifiers.yml
302+
release_date: '2023-02-08'

changelogs/fragments/0_mysql_user_session_vars.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelogs/fragments/445_add_service_name_to_plugin_pam_auth_pam_usage.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/465-display_more_informative_invalid_priv_exceptiion.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

changelogs/fragments/479_enable_auto_commit.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/479_enable_auto_commit_part2.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/491_fix_download_url.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/497_mysql_info_returns_connector_name_and_version.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelogs/fragments/503-fix-revoke-grant-only.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)