diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1f5b1627..1e65c905 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,40 @@ Community PostgreSQL Collection Release Notes .. contents:: Topics +v4.0.0 +====== + +Release Summary +--------------- + +This is a major release of the ``community.postgresql`` 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 collection does not test against Python 2 and starts accepting content written in Python 3 since collection version 4.0.0 (https://github.com/ansible-collections/community.postgresql/issues/829). + +Minor Changes +------------- + +- postgresql_user - return a PostgreSQL error message when a user cannot be removed. + +Deprecated Features +------------------- + +- postgresql modules = the ``login``, ``unix_socket`` and ``host`` aliases are deprecated and will be removed in ``community.postgresql 5.0.0``, use the ``login_user``, ``login_unix_socket`` and ``login_host`` arguments instead. +- postgresql_set - the module has been deprecated and will be removed in ``community.postgresql 5.0.0``. Please use the ``community.postgresql.postgresql_alter_system`` module instead (https://github.com/ansible-collections/community.postgresql/issues/823). + +Removed Features (previously deprecated) +---------------------------------------- + +- postgresql_info - the db alias has been removed in ``community.postgresql 4.0.0``. Please use the ``login_db`` option instead (https://github.com/ansible-collections/community.postgresql/issues/801). +- postgresql_lang - the module has been removed in ``community.postgresql 4.0.0``. Please use the ``community.postgresql.postgresql_ext`` module instead (https://github.com/ansible-collections/community.postgresql/issues/561). +- postgresql_privs - the ``password`` argument has been removed in ``community.postgresql 4.0.0``. Use the ``login_password`` argument instead (https://github.com/ansible-collections/community.postgresql/issues/408). +- postgresql_user - the ``priv`` argument has been removed in ``community.postgresql 4.0.0``. Please use the ``community.postgresql.postgresql_privs`` module to grant/revoke privileges instead (https://github.com/ansible-collections/community.postgresql/issues/493). + v3.14.0 ======= diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index f5c029dc..a078b1e9 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1023,3 +1023,42 @@ releases: - 3.9.1.yml - 779-fix-address.yaml release_date: '2024-12-05' + 4.0.0: + changes: + deprecated_features: + - postgresql modules = the ``login``, ``unix_socket`` and ``host`` aliases are + deprecated and will be removed in ``community.postgresql 5.0.0``, use the + ``login_user``, ``login_unix_socket`` and ``login_host`` arguments instead. + - postgresql_set - the module has been deprecated and will be removed in ``community.postgresql + 5.0.0``. Please use the ``community.postgresql.postgresql_alter_system`` module + instead (https://github.com/ansible-collections/community.postgresql/issues/823). + major_changes: + - the collection does not test against Python 2 and starts accepting content + written in Python 3 since collection version 4.0.0 (https://github.com/ansible-collections/community.postgresql/issues/829). + minor_changes: + - postgresql_user - return a PostgreSQL error message when a user cannot be + removed. + release_summary: 'This is a major release of the ``community.postgresql`` collection. + + This changelog contains all changes to the modules and plugins in this collection + + that have been made after the previous release.' + removed_features: + - postgresql_info - the db alias has been removed in ``community.postgresql + 4.0.0``. Please use the ``login_db`` option instead (https://github.com/ansible-collections/community.postgresql/issues/801). + - postgresql_lang - the module has been removed in ``community.postgresql 4.0.0``. + Please use the ``community.postgresql.postgresql_ext`` module instead (https://github.com/ansible-collections/community.postgresql/issues/561). + - postgresql_privs - the ``password`` argument has been removed in ``community.postgresql + 4.0.0``. Use the ``login_password`` argument instead (https://github.com/ansible-collections/community.postgresql/issues/408). + - postgresql_user - the ``priv`` argument has been removed in ``community.postgresql + 4.0.0``. Please use the ``community.postgresql.postgresql_privs`` module to + grant/revoke privileges instead (https://github.com/ansible-collections/community.postgresql/issues/493). + fragments: + - 0-remove_lang.yml + - 1-remove_privs.yml + - 2-privs.yml + - 4-aliases.yml + - 4.0.0.yml + - 5-python2.yml + - 6-set_deprecate.yml + release_date: '2025-05-06' diff --git a/changelogs/fragments/0-remove_lang.yml b/changelogs/fragments/0-remove_lang.yml deleted file mode 100644 index e25c6f59..00000000 --- a/changelogs/fragments/0-remove_lang.yml +++ /dev/null @@ -1,3 +0,0 @@ -removed_features: -- "postgresql_lang - the module has been removed in ``community.postgresql 4.0.0``. Please use the ``community.postgresql.postgresql_ext`` module instead (https://github.com/ansible-collections/community.postgresql/issues/561)." -- "postgresql_info - the db alias has been removed in ``community.postgresql 4.0.0``. Please use the ``login_db`` option instead (https://github.com/ansible-collections/community.postgresql/issues/801)." diff --git a/changelogs/fragments/1-remove_privs.yml b/changelogs/fragments/1-remove_privs.yml deleted file mode 100644 index 3b1b6126..00000000 --- a/changelogs/fragments/1-remove_privs.yml +++ /dev/null @@ -1,5 +0,0 @@ -removed_features: -- postgresql_user - the ``priv`` argument has been removed in ``community.postgresql 4.0.0``. Please use the ``community.postgresql.postgresql_privs`` module to grant/revoke privileges instead (https://github.com/ansible-collections/community.postgresql/issues/493). - -minor_changes: -- postgresql_user - return a PostgreSQL error message when a user cannot be removed. diff --git a/changelogs/fragments/2-privs.yml b/changelogs/fragments/2-privs.yml deleted file mode 100644 index 73b6d349..00000000 --- a/changelogs/fragments/2-privs.yml +++ /dev/null @@ -1,2 +0,0 @@ -removed_features: -- postgresql_privs - the ``password`` argument has been removed in ``community.postgresql 4.0.0``. Use the ``login_password`` argument instead (https://github.com/ansible-collections/community.postgresql/issues/408). diff --git a/changelogs/fragments/4-aliases.yml b/changelogs/fragments/4-aliases.yml deleted file mode 100644 index a6fb6b5f..00000000 --- a/changelogs/fragments/4-aliases.yml +++ /dev/null @@ -1,2 +0,0 @@ -deprecated_features: -- postgresql modules = the ``login``, ``unix_socket`` and ``host`` aliases are deprecated and will be removed in ``community.postgresql 5.0.0``, use the ``login_user``, ``login_unix_socket`` and ``login_host`` arguments instead. diff --git a/changelogs/fragments/5-python2.yml b/changelogs/fragments/5-python2.yml deleted file mode 100644 index ff40c99d..00000000 --- a/changelogs/fragments/5-python2.yml +++ /dev/null @@ -1,2 +0,0 @@ -major_changes: -- the collection does not test against Python 2 and starts accepting content written in Python 3 since collection version 4.0.0 (https://github.com/ansible-collections/community.postgresql/issues/829). diff --git a/changelogs/fragments/6-set_deprecate.yml b/changelogs/fragments/6-set_deprecate.yml deleted file mode 100644 index 92fae91b..00000000 --- a/changelogs/fragments/6-set_deprecate.yml +++ /dev/null @@ -1,2 +0,0 @@ -deprecated_features: -- "postgresql_set - the module has been deprecated and will be removed in ``community.postgresql 5.0.0``. Please use the ``community.postgresql.postgresql_alter_system`` module instead (https://github.com/ansible-collections/community.postgresql/issues/823)."