chore(deps): update dependency community.postgresql to v5 #1019
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/community.postgresql-5.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
4.2.0->5.0.0Release Notes
ansible-collections/community.postgresql (community.postgresql)
v5.0.0Compare Source
======
Release Summary
This is a major release of the
community.postgresqlcollection.This changelog contains all changes to the modules and plugins in this collection
that have been made after the previous release.
Minor Changes
ansible.module_utils.sixcompatibility shims with their Python standard library equivalents.ansible.module_utils.sixis deprecated in ansible-core 2.21 and is scheduled for removal in 2.24.granted_by_any, at the top level and permembershipsrow, to manage every grant of a membership whoever made it, as the deprecatedgroupsoption does.GRANTthen names no granting role, andstate=absentandstate=exactrevoke every grant of the membership. On every version,groupsofxisgranted_by_anyset with amembershipsrow ofx.grantsandeffective_optionsreturn values, listing every grant of the requested pairs and the options the target role effectively holds.membershipsoption, one membership per row with its owntarget_roles,granted_by,admin_option,inherit_optionandset_option, applied in one transaction. Mutually exclusive withgroups; the top-leveltarget_rolesis the default for rows that name none (https://github.com/ansible-collections/community.postgresql/issues/757).PgMembershipfrom thepostgresmodule_utils into a newmembershipmodule_utils, split intoPgMembershipByPair(thegroupsmodel) andPgMembershipByGrantor(themembershipsmodel). External importers have to follow the move.memberships, check before emitting aGRANTthat the connecting role has the privileges of the granting role and that the granting role holdsADMIN OPTIONon the group, and fail naming the roles that do hold it. The deprecatedgroupsoption gets the privilege check for every granting role it finds recorded before it revokes. A task with nothing left to do is not checked.Breaking Changes / Porting Guide
state=exactnow reportsgrantedwith an entry for every requested group, asstate=presentdoes, soresult.granted == {}no longer holds on an unchanged run.membershipsrow must setgranted_bywhen the connecting role holdsADMIN OPTIONon a group only through another role, since PostgreSQL refuses a grant recorded under a role without the option. The deprecatedgroupsoption is not affected.membershipsrow manages the one grant recorded under its granting role, which is the bootstrap superuser when the connecting role is a superuser, the connecting role otherwise, or the role named bygranted_by.state=presentmakes that grant even when another role has granted the membership, andstate=absentandstate=exactneither revoke nor report a grant recorded under another role. A task that was unchanged may report changed on its first run and fire its handlers. The deprecatedgroupsoption keeps treating the (group, target role) pair as the membership, whoever granted it (https://github.com/ansible-collections/community.postgresql/issues/757).Deprecated Features
groupsoption is deprecated and will be removed incommunity.postgresql 6.0.0.granted_by_anywith thegroupskey ofmembershipsbehaves the same on every version;target_rolesstays at the top level, and an emptymembershipslist withstate=exactreplaces an emptygroupslist.Removed Features (previously deprecated)
login,host,unix_socketandportaliases have been removed incommunity.postgresql 5.0.0. Use thelogin_user,login_host,login_unix_socketandlogin_portoptions instead (https://github.com/ansible-collections/community.postgresql/issues/847).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).renamechoice of thestateoption has been removed. Use thecommunity.postgresql.postgresql_querymodule instead (https://github.com/ansible-collections/community.postgresql/issues/833).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).keep_comments_at_rulesoption has been removed. It had no effect since it was deprecated (https://github.com/ansible-collections/community.postgresql/issues/810).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbanddatabasealiases of thelogin_dboption have been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbanddatabasealiases of thelogin_dboption have been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbanddatabasealiases of thelogin_dboption have been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).rename_tooption has been removed. Use thecommunity.postgresql.postgresql_querymodule instead (https://github.com/ansible-collections/community.postgresql/issues/833).community.postgresql.postgresql_alter_systemmodule instead (https://github.com/ansible-collections/community.postgresql/issues/823).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).renameoption has been removed. Use thecommunity.postgresql.postgresql_querymodule instead (https://github.com/ansible-collections/community.postgresql/issues/833).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).rename_tooption has been removed. Use thecommunity.postgresql.postgresql_querymodule instead (https://github.com/ansible-collections/community.postgresql/issues/833).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).dbalias of thelogin_dboption has been removed. Use thelogin_dboption instead (https://github.com/ansible-collections/community.postgresql/issues/831).Bugfixes
state=absentandstate=exactnot removing a membership on PostgreSQL 16 and later when another role had granted it, and reporting a change on every run. The deprecatedgroupsoption now revokes every grant of the pair, oneREVOKEper granting role, and fails naming the granting role when the connecting role lacks its privileges, where it used to succeed without revoking anything (https://github.com/ansible-collections/community.postgresql/issues/757).target_roleslist failing with a SQL syntax error; it is now a no-op.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.