Skip to content

Commit 08e0682

Browse files
authored
Release 4.0.0 commit (#851)
1 parent 1abccf8 commit 08e0682

File tree

8 files changed

+73
-16
lines changed

8 files changed

+73
-16
lines changed

CHANGELOG.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,40 @@ Community PostgreSQL Collection Release Notes
44

55
.. contents:: Topics
66

7+
v4.0.0
8+
======
9+
10+
Release Summary
11+
---------------
12+
13+
This is a major release of the ``community.postgresql`` collection.
14+
This changelog contains all changes to the modules and plugins in this collection
15+
that have been made after the previous release.
16+
17+
Major Changes
18+
-------------
19+
20+
- 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).
21+
22+
Minor Changes
23+
-------------
24+
25+
- postgresql_user - return a PostgreSQL error message when a user cannot be removed.
26+
27+
Deprecated Features
28+
-------------------
29+
30+
- 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.
31+
- 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).
32+
33+
Removed Features (previously deprecated)
34+
----------------------------------------
35+
36+
- 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).
37+
- 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).
38+
- 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).
39+
- 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).
40+
741
v3.14.0
842
=======
943

changelogs/changelog.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,3 +1023,42 @@ releases:
10231023
- 3.9.1.yml
10241024
- 779-fix-address.yaml
10251025
release_date: '2024-12-05'
1026+
4.0.0:
1027+
changes:
1028+
deprecated_features:
1029+
- postgresql modules = the ``login``, ``unix_socket`` and ``host`` aliases are
1030+
deprecated and will be removed in ``community.postgresql 5.0.0``, use the
1031+
``login_user``, ``login_unix_socket`` and ``login_host`` arguments instead.
1032+
- postgresql_set - the module has been deprecated and will be removed in ``community.postgresql
1033+
5.0.0``. Please use the ``community.postgresql.postgresql_alter_system`` module
1034+
instead (https://github.com/ansible-collections/community.postgresql/issues/823).
1035+
major_changes:
1036+
- the collection does not test against Python 2 and starts accepting content
1037+
written in Python 3 since collection version 4.0.0 (https://github.com/ansible-collections/community.postgresql/issues/829).
1038+
minor_changes:
1039+
- postgresql_user - return a PostgreSQL error message when a user cannot be
1040+
removed.
1041+
release_summary: 'This is a major release of the ``community.postgresql`` collection.
1042+
1043+
This changelog contains all changes to the modules and plugins in this collection
1044+
1045+
that have been made after the previous release.'
1046+
removed_features:
1047+
- postgresql_info - the db alias has been removed in ``community.postgresql
1048+
4.0.0``. Please use the ``login_db`` option instead (https://github.com/ansible-collections/community.postgresql/issues/801).
1049+
- postgresql_lang - the module has been removed in ``community.postgresql 4.0.0``.
1050+
Please use the ``community.postgresql.postgresql_ext`` module instead (https://github.com/ansible-collections/community.postgresql/issues/561).
1051+
- postgresql_privs - the ``password`` argument has been removed in ``community.postgresql
1052+
4.0.0``. Use the ``login_password`` argument instead (https://github.com/ansible-collections/community.postgresql/issues/408).
1053+
- postgresql_user - the ``priv`` argument has been removed in ``community.postgresql
1054+
4.0.0``. Please use the ``community.postgresql.postgresql_privs`` module to
1055+
grant/revoke privileges instead (https://github.com/ansible-collections/community.postgresql/issues/493).
1056+
fragments:
1057+
- 0-remove_lang.yml
1058+
- 1-remove_privs.yml
1059+
- 2-privs.yml
1060+
- 4-aliases.yml
1061+
- 4.0.0.yml
1062+
- 5-python2.yml
1063+
- 6-set_deprecate.yml
1064+
release_date: '2025-05-06'

changelogs/fragments/0-remove_lang.yml

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

changelogs/fragments/1-remove_privs.yml

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

changelogs/fragments/2-privs.yml

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

changelogs/fragments/4-aliases.yml

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

changelogs/fragments/5-python2.yml

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

changelogs/fragments/6-set_deprecate.yml

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

0 commit comments

Comments
 (0)