Skip to content

Commit

Permalink
Release 2.4.0 commit (#461)
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Hamme <felix.hamme@ionos.com>
  • Loading branch information
betanummeric and fhamme authored May 4, 2023
1 parent 63026e7 commit 6526ac1
Show file tree
Hide file tree
Showing 15 changed files with 85 additions and 25 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
======

Expand Down
50 changes: 50 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 0 additions & 2 deletions changelogs/fragments/0-postgres.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/0-postgresql_info.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/0-postgresql_query.yml

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/0-postgresql_set_avoid_wrong_values.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/0-postgresql_user.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/1-postgres.yml

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/399-missing-import.yml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace: community
name: postgresql
version: 2.3.2
version: 2.4.0
readme: README.md
authors:
- Ansible PostgreSQL community
Expand Down

0 comments on commit 6526ac1

Please sign in to comment.