diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2988a2f4..6be64cf8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,40 @@ Community PostgreSQL Collection Release Notes .. contents:: Topics +v2.4.0 +====== + +Release Summary +--------------- + +This is the minor release of the ``community.postgresql`` collection. +This changelog contains all changes to the modules in this collection that +have been added after the release of ``community.postgresql`` 2.3.2. + +Major Changes +------------- + +- postgresql_privs - the ``password`` argument is deprecated and will be removed in community.postgresql 4.0.0, use the ``login_password`` argument instead (https://github.com/ansible-collections/community.postgresql/issues/406). + +Minor Changes +------------- + +- Add support for module_defaults with action_group ``all`` (https://github.com/ansible-collections/community.postgresql/pull/430). +- postgresql - added new parameters ``ssl_cert`` and ``ssl_key`` for ssl connection (https://github.com/ansible-collections/community.postgresql/issues/424). +- postgresql - when receiving the connection parameters, the ``PGPORT`` and ``PGUSER`` environment variables are checked. The order of assigning values ``environment variables`` -> ``default values`` -> ``set values`` (https://github.com/ansible-collections/community.postgresql/issues/311). +- postgresql_query - a list of queries can be passed as the ``query`` argument's value, the results will be stored in the ``query_all_results`` return value (is not deprecated anymore, as well as ``query_list``) (https://github.com/ansible-collections/community.postgresql/issues/312). + +Bugfixes +-------- + +- postgresql_info - add support for non numeric extenstion version (https://github.com/ansible-collections/community.postgresql/issues/428). +- postgresql_info - when getting information about subscriptions, check the list of available columns in the pg_subscription table (https://github.com/ansible-collections/community.postgresql/issues/429). +- postgresql_privs - fix connect_params being ignored (https://github.com/ansible-collections/community.postgresql/issues/450). +- postgresql_query - could crash under certain conditions because of a missing import to `psycopg2.extras` (https://github.com/ansible-collections/community.postgresql/issues/283). +- postgresql_set - avoid throwing ValueError for IP addresses and other values that may look like a number, but which are not (https://github.com/ansible-collections/community.postgresql/pull/422). +- postgresql_set - avoid wrong values for single-value parameters containing commas (https://github.com/ansible-collections/community.postgresql/pull/400). +- postgresql_user - properly close DB connections to prevent possible connection limit exhaustion (https://github.com/ansible-collections/community.postgresql/issues/431). + v2.3.2 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 9018f00d..5df7ca07 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -443,3 +443,53 @@ releases: - 379-postgresql_privs.yml - 382-postgresql_privs_fix_schemas_with_special_names.yml release_date: '2022-12-09' + 2.4.0: + changes: + bugfixes: + - postgresql_info - add support for non numeric extenstion version (https://github.com/ansible-collections/community.postgresql/issues/428). + - postgresql_info - when getting information about subscriptions, check the + list of available columns in the pg_subscription table (https://github.com/ansible-collections/community.postgresql/issues/429). + - postgresql_privs - fix connect_params being ignored (https://github.com/ansible-collections/community.postgresql/issues/450). + - postgresql_query - could crash under certain conditions because of a missing + import to `psycopg2.extras` (https://github.com/ansible-collections/community.postgresql/issues/283). + - postgresql_set - avoid throwing ValueError for IP addresses and other values + that may look like a number, but which are not (https://github.com/ansible-collections/community.postgresql/pull/422). + - postgresql_set - avoid wrong values for single-value parameters containing + commas (https://github.com/ansible-collections/community.postgresql/pull/400). + - postgresql_user - properly close DB connections to prevent possible connection + limit exhaustion (https://github.com/ansible-collections/community.postgresql/issues/431). + major_changes: + - postgresql_privs - the ``password`` argument is deprecated and will be removed + in community.postgresql 4.0.0, use the ``login_password`` argument instead + (https://github.com/ansible-collections/community.postgresql/issues/406). + minor_changes: + - Add support for module_defaults with action_group ``all`` (https://github.com/ansible-collections/community.postgresql/pull/430). + - postgresql - added new parameters ``ssl_cert`` and ``ssl_key`` for ssl connection + (https://github.com/ansible-collections/community.postgresql/issues/424). + - postgresql - when receiving the connection parameters, the ``PGPORT`` and + ``PGUSER`` environment variables are checked. The order of assigning values + ``environment variables`` -> ``default values`` -> ``set values`` (https://github.com/ansible-collections/community.postgresql/issues/311). + - postgresql_query - a list of queries can be passed as the ``query`` argument's + value, the results will be stored in the ``query_all_results`` return value + (is not deprecated anymore, as well as ``query_list``) (https://github.com/ansible-collections/community.postgresql/issues/312). + release_summary: 'This is the minor release of the ``community.postgresql`` + collection. + + This changelog contains all changes to the modules in this collection that + + have been added after the release of ``community.postgresql`` 2.3.2.' + fragments: + - 0-postgres.yml + - 0-postgresql_info.yml + - 0-postgresql_query.yml + - 0-postgresql_set_avoid_handle_ip_addresses.yml + - 0-postgresql_set_avoid_wrong_values.yml + - 0-postgresql_user.yml + - 1-postgres.yml + - 1-postgresql_privs_deprecate_password.yml + - 2.4.0.yml + - 399-missing-import.yml + - 428-postgres_info_support_non_numeric_extenstion_version.yml + - 430-action_group_all_for_module_defaults.yml + - 451-postgresql_privs_fix_connect_params_being_ignored.yml + release_date: '2023-05-04' diff --git a/changelogs/fragments/0-postgres.yml b/changelogs/fragments/0-postgres.yml deleted file mode 100644 index fbe3fe90..00000000 --- a/changelogs/fragments/0-postgres.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- postgresql - when receiving the connection parameters, the ``PGPORT`` and ``PGUSER`` environment variables are checked. The order of assigning values ``environment variables`` -> ``default values`` -> ``set values`` (https://github.com/ansible-collections/community.postgresql/issues/311). diff --git a/changelogs/fragments/0-postgresql_info.yml b/changelogs/fragments/0-postgresql_info.yml deleted file mode 100644 index 9837d822..00000000 --- a/changelogs/fragments/0-postgresql_info.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- postgresql_info - when getting information about subscriptions, check the list of available columns in the pg_subscription table (https://github.com/ansible-collections/community.postgresql/issues/429). diff --git a/changelogs/fragments/0-postgresql_query.yml b/changelogs/fragments/0-postgresql_query.yml deleted file mode 100644 index fef3908e..00000000 --- a/changelogs/fragments/0-postgresql_query.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- postgresql_query - a list of queries can be passed as the ``query`` argument's value, the results will be stored in the ``query_all_results`` return value (is not deprecated anymore, as well as ``query_list``) (https://github.com/ansible-collections/community.postgresql/issues/312). diff --git a/changelogs/fragments/0-postgresql_set_avoid_handle_ip_addresses.yml b/changelogs/fragments/0-postgresql_set_avoid_handle_ip_addresses.yml deleted file mode 100644 index dc44f7cf..00000000 --- a/changelogs/fragments/0-postgresql_set_avoid_handle_ip_addresses.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- postgresql_set - avoid throwing ValueError for IP addresses and other values that may look like a number, but which are not (https://github.com/ansible-collections/community.postgresql/pull/422). diff --git a/changelogs/fragments/0-postgresql_set_avoid_wrong_values.yml b/changelogs/fragments/0-postgresql_set_avoid_wrong_values.yml deleted file mode 100644 index 8164c331..00000000 --- a/changelogs/fragments/0-postgresql_set_avoid_wrong_values.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- postgresql_set - avoid wrong values for single-value parameters containing commas (https://github.com/ansible-collections/community.postgresql/pull/400). diff --git a/changelogs/fragments/0-postgresql_user.yml b/changelogs/fragments/0-postgresql_user.yml deleted file mode 100644 index 892cb22c..00000000 --- a/changelogs/fragments/0-postgresql_user.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- postgresql_user - properly close DB connections to prevent possible connection limit exhaustion (https://github.com/ansible-collections/community.postgresql/issues/431). \ No newline at end of file diff --git a/changelogs/fragments/1-postgres.yml b/changelogs/fragments/1-postgres.yml deleted file mode 100644 index 0e929b45..00000000 --- a/changelogs/fragments/1-postgres.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- postgresql - added new parameters ``ssl_cert`` and ``ssl_key`` for ssl connection (https://github.com/ansible-collections/community.postgresql/issues/424). diff --git a/changelogs/fragments/1-postgresql_privs_deprecate_password.yml b/changelogs/fragments/1-postgresql_privs_deprecate_password.yml deleted file mode 100644 index 10414371..00000000 --- a/changelogs/fragments/1-postgresql_privs_deprecate_password.yml +++ /dev/null @@ -1,2 +0,0 @@ -major_changes: -- postgresql_privs - the ``password`` argument is deprecated and will be removed in community.postgresql 4.0.0, use the ``login_password`` argument instead (https://github.com/ansible-collections/community.postgresql/issues/406). diff --git a/changelogs/fragments/399-missing-import.yml b/changelogs/fragments/399-missing-import.yml deleted file mode 100644 index 94eefdf0..00000000 --- a/changelogs/fragments/399-missing-import.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- postgresql_query - could crash under certain conditions because of a missing import to `psycopg2.extras` (https://github.com/ansible-collections/community.postgresql/issues/283). diff --git a/changelogs/fragments/428-postgres_info_support_non_numeric_extenstion_version.yml b/changelogs/fragments/428-postgres_info_support_non_numeric_extenstion_version.yml deleted file mode 100644 index a9bcd415..00000000 --- a/changelogs/fragments/428-postgres_info_support_non_numeric_extenstion_version.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- postgresql_info - add support for non numeric extenstion version (https://github.com/ansible-collections/community.postgresql/issues/428). diff --git a/changelogs/fragments/430-action_group_all_for_module_defaults.yml b/changelogs/fragments/430-action_group_all_for_module_defaults.yml deleted file mode 100644 index 241dbda1..00000000 --- a/changelogs/fragments/430-action_group_all_for_module_defaults.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - Add support for module_defaults with action_group ``all`` (https://github.com/ansible-collections/community.postgresql/pull/430). \ No newline at end of file diff --git a/changelogs/fragments/451-postgresql_privs_fix_connect_params_being_ignored.yml b/changelogs/fragments/451-postgresql_privs_fix_connect_params_being_ignored.yml deleted file mode 100644 index c9b1dedb..00000000 --- a/changelogs/fragments/451-postgresql_privs_fix_connect_params_being_ignored.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- postgresql_privs - fix connect_params being ignored (https://github.com/ansible-collections/community.postgresql/issues/450). diff --git a/galaxy.yml b/galaxy.yml index 32fbfda9..62713d4a 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: community name: postgresql -version: 2.3.2 +version: 2.4.0 readme: README.md authors: - Ansible PostgreSQL community