Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patchback/backports/stable 2/51a38840d977e6184be3ef1d6f427c8cb3dc4545/pr 342 #378

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
9008997
Release 2.0.0 commit
Andersson007 Apr 15, 2021
5fbac22
Update collection version to the next expected in galaxy.yml
Andersson007 Apr 15, 2021
da7e73e
mysql_replication: add deprecation warning about future replacement o…
Andersson007 Apr 16, 2021
d9651f3
mysql_replication: Add aliases to "master" options, add alternatives …
Andersson007 Apr 23, 2021
34a300d
mysql: revert changes made in PR 116 (#153) (#155)
Andersson007 Apr 23, 2021
b32380a
Release 2.1.0 commit (#157)
Andersson007 Apr 23, 2021
a68c83f
Update next expected release version in galaxy.yml (#158)
Andersson007 Apr 23, 2021
2e748ef
[stable-2] Backport of all the doc PRs merged to main since the last …
Andersson007 Jun 9, 2021
5d7451a
[stable-2] Doc PRs backport (#194)
Andersson007 Aug 10, 2021
0c261b7
mysql_query: correctly reflect changed status in replace statements (…
Andersson007 Aug 10, 2021
fa62fd3
Release 2.1.1 commit (#199)
Andersson007 Aug 11, 2021
a8e2c52
mysql_role: new module (#189) (#200)
Andersson007 Aug 11, 2021
04c0f9f
Release 2.2.0-a1 commit (#201)
Andersson007 Aug 11, 2021
2508c42
Update galaxy.yml after release (#202)
Andersson007 Aug 11, 2021
77bd3bf
[stable-2] mysql_info: fix TypeError failure when there are databases…
Andersson007 Aug 20, 2021
0c462c8
Release 2.2.0 commit (#218)
Andersson007 Sep 23, 2021
c5676ff
[stable-2] Backport stable 2 4 (#219)
Andersson007 Sep 23, 2021
a6bacef
Release 2.3.0 commit (#220)
Andersson007 Sep 23, 2021
55a8ecd
[stable-2] Backport stable 2 5 (#235)
Andersson007 Oct 19, 2021
1cb39cc
Release 2.3.1 commit (#236)
Andersson007 Oct 19, 2021
7aab5cc
Backport of PRs to stable-2 (#251)
Andersson007 Nov 29, 2021
a2c0bf4
Release 2.3.2 commit (#253)
Andersson007 Nov 29, 2021
9c76f1a
[stable-2] Use vendored version of distutils.version (#269) (#273)
Andersson007 Jan 18, 2022
9d9ea46
Release 2.3.3 commit (#276)
Andersson007 Jan 18, 2022
8b2c418
[stable-2] Backport from main to stable-2 (#287)
Andersson007 Feb 16, 2022
d7c6bdd
Release 2.3.4 commit (#288)
Andersson007 Feb 16, 2022
cb960ef
Enable and fix integration tests for devel (#297)
Andersson007 Mar 14, 2022
fc16243
Fix role integration tests for mariadb (#299)
Andersson007 Mar 14, 2022
a516c1a
Update requirements (#300)
Andersson007 Mar 14, 2022
95c649c
Fix the collection to work with mysqlclient connector (#301)
Andersson007 Mar 14, 2022
fecc986
Release 2.3.5 commit (#303)
Andersson007 Mar 14, 2022
66c340e
Add IF EXISTS clause to DROP USER statement (#307) (#308)
Andersson007 Mar 15, 2022
82cde26
Setup patchback bot config file (resolves #310) (#311) (#312)
patchback[bot] Mar 17, 2022
2033380
Fix roles CI (#316) (#317)
patchback[bot] Mar 24, 2022
74ab876
mysql_user: clarify behavior of priv parameter (#319) (#321)
patchback[bot] Mar 25, 2022
2de30ed
[stable-2] Backports (#324)
Andersson007 Apr 2, 2022
9857a16
CI: add testing against ansible-core 2.13 (#327)
Andersson007 Apr 3, 2022
d38813d
mysql_role: remove redundant connection closing (fixes #329) (#330) (…
patchback[bot] Apr 5, 2022
d61d442
mysql_user: added flush privileges to write dynamic privs into db (#3…
patchback[bot] Apr 29, 2022
65eb142
Move CHANGELOG.rst at top level (#349) (#350)
patchback[bot] May 12, 2022
cc78846
mysql_user: fix parsing privs when a user has roles assigned to it (#…
Andersson007 May 12, 2022
f854fc9
Drop support for Ansible 2.9 and ansible-base 2.10 (#343) (#348)
Andersson007 May 12, 2022
65b1773
Release 2.3.6 commit (#354)
Andersson007 May 13, 2022
cf1c95b
Add PSF-license.txt file (#356) (#360)
felixfontein May 17, 2022
c02e46e
Release 2.3.7 commit (#362)
Andersson007 May 17, 2022
e34cfba
mysql_role: fix and simplify role member detection (#368) (#371)
patchback[bot] May 25, 2022
46dc308
mysql_role - don't add members to a role when creating the role and d…
Andersson007 May 25, 2022
0011798
mysql_query: fix false change reports when IF NOT EXISTS clause is us…
patchback[bot] May 25, 2022
9b07f2c
CHERRY-PICKING stable-2
hubiongithub May 31, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/patchback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
backport_branch_prefix: patchback/backports/
backport_label_prefix: backport-
target_branch_prefix: stable-
...
22 changes: 16 additions & 6 deletions .github/workflows/ansible-test-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
strategy:
matrix:
ansible:
- stable-2.9
- stable-2.10
- stable-2.11
- stable-2.12
- stable-2.13
- devel
steps:

Expand Down Expand Up @@ -58,19 +58,29 @@ jobs:
- 5.7.31
- 8.0.22
ansible:
- stable-2.9
- stable-2.10
- stable-2.11
- stable-2.12
- stable-2.13
- devel
python:
- 3.6
- 3.8
connector:
- pymysql==0.7.10
- pymysql==0.9.3
- mysqlclient==2.0.1
exclude:
- mysql: 8.0.22
connector: pymysql==0.7.10
- python: 3.8
ansible: stable-2.11
- python: 3.6
ansible: stable-2.12
- python: 3.6
ansible: stable-2.13
- python: 3.6
ansible: devel

steps:

- name: Check out code
Expand Down Expand Up @@ -113,9 +123,9 @@ jobs:
fail-fast: true
matrix:
ansible:
- stable-2.9
- stable-2.10
- stable-2.11
- stable-2.12
- stable-2.13
- devel

steps:
Expand Down
22 changes: 15 additions & 7 deletions .github/workflows/ansible-test-roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,22 @@ jobs:
mysql:
- 2.0.12
ansible:
- stable-2.9
### it looks like there's errors for 2.10+ with ansible-lint (https://github.com/ansible/ansible-lint/pull/878)
### and molecule (_maybe_ relating to https://github.com/ansible-community/molecule/pull/2547)
# - stable-2.10
# - devel
- stable-2.11
- stable-2.12
- stable-2.13
- devel
python:
- 2.7
- 3.6
- 3.8
exclude:
- python: 3.8
ansible: stable-2.11
- python: 3.6
ansible: stable-2.12
- python: 3.6
ansible: stable-2.13
- python: 3.6
ansible: devel

steps:

Expand All @@ -44,7 +52,7 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: Install ansible-base (${{ matrix.ansible }})
- name: Install ansible-core (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check

- name: Install molecule and related dependencies
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/tests/output/
/changelogs/.plugin-cache.yaml
*.swp

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
214 changes: 214 additions & 0 deletions changelogs/CHANGELOG.rst → CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,220 @@ Community MySQL Collection Release Notes
.. contents:: Topics


v2.3.7
======

Release Summary
---------------

This is the patch release of the ``community.mysql`` collection.
This changelog contains all changes to the modules in this collection
that have been added after the release of ``community.mysql`` 2.3.6.

Bugfixes
--------

- Include ``PSF-license.txt`` file for ``plugins/module_utils/_version.py``.

v2.3.6
======

Release Summary
---------------

This is the patch release of the ``community.mysql`` collection.
This changelog contains all changes to the modules in this collection
that have been added after the release of ``community.mysql`` 2.3.5.

Major Changes
-------------

- The community.mysql collection no longer supports ``Ansible 2.9`` and ``ansible-base 2.10``. 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 against ``Ansible 2.9`` and ``ansible-base 2.10``. Both will very soon be End of Life and if you are still using them, you should consider upgrading to the ``latest Ansible / ansible-core 2.11 or later`` as soon as possible (https://github.com/ansible-collections/community.mysql/pull/343).

Bugfixes
--------

- mysql_role - remove redundant connection closing (https://github.com/ansible-collections/community.mysql/pull/330).
- mysql_user - fix missing dynamic privileges after revoke and grant privileges to user (https://github.com/ansible-collections/community.mysql/issues/120).
- mysql_user - fix parsing privs when a user has roles assigned (https://github.com/ansible-collections/community.mysql/issues/231).
- mysql_user - fix the possibility for a race condition that breaks certain (circular) replication configurations when ``DROP USER`` is executed on multiple nodes in the replica set. Adding ``IF EXISTS`` avoids the need to use ``sql_log_bin: no`` making the statement always replication safe (https://github.com/ansible-collections/community.mysql/pull/287).

v2.3.5
======

Release Summary
---------------

This is the patch release of the ``community.mysql`` collection. This changelog contains all changes to the modules in this collection that have been added after the release of ``community.mysql`` 2.3.4.

Bugfixes
--------

- Collection core functions - fixes related to the mysqlclient Python connector (https://github.com/ansible-collections/community.mysql/issues/292).

v2.3.4
======

Release Summary
---------------

This is the patch release of the ``community.mysql`` collection. This changelog contains all changes to the modules in this collection that have been added after the release of ``community.mysql`` 2.3.3.

Bugfixes
--------

- mysql_role - make the ``set_default_role_all`` parameter actually working (https://github.com/ansible-collections/community.mysql/pull/282).

v2.3.3
======

Release Summary
---------------

This is the patch release of the ``community.mysql`` collection. This changelog contains all changes to the modules in this collection that have been added after the release of ``community.mysql`` 2.3.2.

Bugfixes
--------

- Collection core functions - use vendored version of ``distutils.version`` instead of the deprecated Python standard library ``distutils`` (https://github.com/ansible-collections/community.mysql/pull/269).

v2.3.2
======

Release Summary
---------------

This is the patch release of the ``community.mysql`` collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of ``community.mysql`` 2.3.1.

Bugfixes
--------

- mysql_db - Fix mismatch when database name contains a ``%`` character (https://github.com/ansible-collections/community.mysql/pull/227).

v2.3.1
======

Release Summary
---------------

This is the patch release of the ``community.mysql`` collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of ``community.mysql`` 2.3.0.

Bugfixes
--------

- mysql_user - Fix crash reporting ``Invalid privileges specified`` when passing privileges that became aliases (https://github.com/ansible-collections/community.mysql/issues/232).

v2.3.0
======

Release Summary
---------------

This is the minor release of the ``community.mysql`` collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of ``community.mysql`` 2.2.0.

Minor Changes
-------------

- mysql_user - replace VALID_PRIVS constant by get_valid_privs() function (https://github.com/ansible-collections/community.mysql/pull/217).

Bugfixes
--------

- mysql_info - fix TypeError failure when there are databases that do not contain tables (https://github.com/ansible-collections/community.mysql/issues/204).

v2.2.0
======

Release Summary
---------------

This is the minor release of the ``community.mysql`` collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of ``community.mysql`` 2.1.1

New Modules
-----------

- mysql_role - Adds, removes, or updates a MySQL role

v2.1.1
======

Release Summary
---------------

This is the patch release of the ``community.mysql`` collection.
This changelog contains all changes to the modules in this collection that
have been added after the release of ``community.mysql`` 2.1.0.

Minor Changes
-------------

- mysql_query - correctly reflect changed status in replace statements (https://github.com/ansible-collections/community.mysql/pull/193).

v2.1.0
======

Release Summary
---------------

This is the minor release of the ``community.mysql`` collection.
This changelog contains all changes to the modules in this collection
that have been added after the release of ``community.mysql`` 2.0.0.

Major Changes
-------------

- mysql_replication - add deprecation warning that the ``Is_Slave`` and ``Is_Master`` return values will be replaced with ``Is_Primary`` and ``Is_Replica`` in ``community.mysql`` 3.0.0 (https://github.com/ansible-collections/community.mysql/pull/147).
- mysql_replication - the choices of the ``state`` option containing ``master`` will be finally replaced with the alternative ``primary`` choices in ``community.mysql`` 3.0.0, add deprecation warnings (https://github.com/ansible-collections/community.mysql/pull/150).

Minor Changes
-------------

- mysql_replication - add alternative (``primary``) choices to the ``state`` option choices containing ``master`` (https://github.com/ansible-collections/community.mysql/pull/150).
- mysql_replication - add the ``Is_Primary`` and ``Is_Replica`` alternatives to the ``Is_Slave`` and ``Is_Master`` return values as a preparation for replacement in ``community.mysql`` 3.0.0 (https://github.com/ansible-collections/community.mysql/pull/147).
- mysql_replication - change ``master_`` options to ``primary_`` options, add aliases to keep compatibility (https://github.com/ansible-collections/community.mysql/pull/150).

Bugfixes
--------

- mysql - revert changes of connector arguments made in pull request 116 causing the invalid keyword argument error (https://github.com/ansible-collections/community.mysql/pull/116).

v2.0.0
======

Release Summary
---------------

This is release 2.0.0 of the ``community.mysql`` collection, released on 2021-04-15.

Major Changes
-------------

- mysql_replication - the return value ``Is_Slave`` and ``Is_Master`` will be replaced with ``Is_Replica`` and ``Is_Primary`` in ``community.mysql`` 3.0.0 (https://github.com/ansible-collections/community.mysql/issues/145).
- mysql_replication - the word ``master`` in messages returned by the module will be replaced with ``primary`` in ``community.mysql`` 3.0.0 (https://github.com/ansible-collections/community.mysql/issues/145).
- mysql_replication - the word ``slave`` in messages returned by the module replaced with ``replica`` (https://github.com/ansible-collections/community.mysql/issues/98).
- mysql_user - the ``REQUIRESSL`` is an alias for the ``ssl`` key in the ``tls_requires`` option in ``community.mysql`` 2.0.0 and support will be dropped altogether in ``community.mysql`` 3.0.0 (https://github.com/ansible-collections/community.mysql/issues/121).

Minor Changes
-------------

- mysql module utils - change deprecated connection parameters ``passwd`` and ``db`` to ``password`` and ``database`` (https://github.com/ansible-collections/community.mysql/pull/116).
- mysql_collection - introduce codebabse split to handle divergences between MySQL and MariaDB (https://github.com/ansible-collections/community.mysql/pull/103).
- mysql_info - add `version.full` and `version.suffix` return values (https://github.com/ansible-collections/community.mysql/issues/114).
- mysql_user - deprecate the ``REQUIRESSL`` privilege (https://github.com/ansible-collections/community.mysql/issues/101).

Bugfixes
--------

- mysql_user - add support for ``REPLICA MONITOR`` privilege (https://github.com/ansible-collections/community.mysql/issues/105).

v1.3.0
======

Expand Down
Loading