diff --git a/CHANGELOG.md b/CHANGELOG.md
index 16e0bd37b5..1e749dcc77 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,7 +2,34 @@
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
-## [v7.5.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v7.5.0) (2021-09-27)
+## [v8.0.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v8.0.0) (2022-03-02)
+
+[Full Changelog](https://github.com/puppetlabs/puppetlabs-postgresql/compare/v7.5.0...v8.0.0)
+
+### Changed
+
+- Support setting default\_privileges on all schemas [\#1298](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1298) ([fish-face](https://github.com/fish-face))
+
+### Added
+
+- add default version for Fedora 35 [\#1317](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1317) ([jflorian](https://github.com/jflorian))
+- add scram-sha-256 support [\#1313](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1313) ([fe80](https://github.com/fe80))
+- add support for Ubuntu Hirsute and Impish [\#1312](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1312) ([nicholascioli](https://github.com/nicholascioli))
+- Allow systemd to mask postgresql service file [\#1310](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1310) ([kim-sondrup](https://github.com/kim-sondrup))
+- Make ::contrib a noop on OSes without a contrib package [\#1309](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1309) ([carlosduelo](https://github.com/carlosduelo))
+- pdksync - \(IAC-1753\) - Add Support for AlmaLinux 8 [\#1308](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1308) ([david22swan](https://github.com/david22swan))
+- MODULES-11201: add service\_name for Ubuntu 18.04 and later [\#1306](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1306) ([moritz-makandra](https://github.com/moritz-makandra))
+- pdksync - \(IAC-1751\) - Add Support for Rocky 8 [\#1305](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1305) ([david22swan](https://github.com/david22swan))
+- Default privileges support schemas [\#1300](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1300) ([fish-face](https://github.com/fish-face))
+- Support target\_role in default\_privileges [\#1297](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1297) ([fish-face](https://github.com/fish-face))
+
+### Fixed
+
+- pdksync - \(IAC-1787\) Remove Support for CentOS 6 [\#1324](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1324) ([david22swan](https://github.com/david22swan))
+- Fix python package name in RHEL/CentOS 8 [\#1316](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1316) ([kajinamit](https://github.com/kajinamit))
+- Drop further code for Debian 6 and Ubuntu 10 [\#1307](https://github.com/puppetlabs/puppetlabs-postgresql/pull/1307) ([ekohl](https://github.com/ekohl))
+
+## [v7.5.0](https://github.com/puppetlabs/puppetlabs-postgresql/tree/v7.5.0) (2021-09-28)
[Full Changelog](https://github.com/puppetlabs/puppetlabs-postgresql/compare/v7.4.1...v7.5.0)
diff --git a/REFERENCE.md b/REFERENCE.md
index d4babcca97..97ac48ec72 100644
--- a/REFERENCE.md
+++ b/REFERENCE.md
@@ -1330,7 +1330,7 @@ The following parameters are available in the `postgresql::server::contrib` clas
##### `package_name`
-Data type: `String`
+Data type: `Optional[String[1]]`
The name of the PostgreSQL contrib package.
@@ -1731,6 +1731,7 @@ Manage a database defaults privileges. Only works with PostgreSQL version 9.6 an
The following parameters are available in the `postgresql::server::default_privileges` defined type:
+* [`target_role`](#target_role)
* [`ensure`](#ensure)
* [`role`](#role)
* [`db`](#db)
@@ -1745,6 +1746,14 @@ The following parameters are available in the `postgresql::server::default_privi
* [`psql_path`](#psql_path)
* [`group`](#group)
+##### `target_role`
+
+Data type: `Optional[String]`
+
+Target role whose created objects will receive the default privileges. Defaults to the current user.
+
+Default value: ``undef``
+
##### `ensure`
Data type: `Enum['present',
@@ -1774,7 +1783,8 @@ Data type: `Pattern[
/(?i:^ROUTINES$)/,
/(?i:^SEQUENCES$)/,
/(?i:^TABLES$)/,
- /(?i:^TYPES$)/
+ /(?i:^TYPES$)/,
+ /(?i:^SCHEMAS$)/
]`
Specify target object type: 'FUNCTIONS', 'ROUTINES', 'SEQUENCES', 'TABLES', 'TYPES'.
@@ -1789,7 +1799,7 @@ Specifies comma-separated list of privileges to grant. Valid options: depends on
Data type: `String`
-Target schema. Defaults to 'public'.
+Target schema. Defaults to 'public'. Can be set to '' to apply to all schemas.
Default value: `'public'`
@@ -2561,6 +2571,8 @@ The following parameters are available in the `postgresql::server::role` defined
* [`psql_group`](#psql_group)
* [`psql_path`](#psql_path)
* [`module_workdir`](#module_workdir)
+* [`hash`](#hash)
+* [`salt`](#salt)
##### `update_password`
@@ -2706,6 +2718,22 @@ Specifies working directory under which the psql command should be executed. May
Default value: `$postgresql::server::module_workdir`
+##### `hash`
+
+Data type: `Enum['md5', 'scram-sha-256']`
+
+Specify the hash method for pg password
+
+Default value: `'md5'`
+
+##### `salt`
+
+Data type: `Optional[Variant[String[1], Integer]]`
+
+Specify the salt use for the scram-sha-256 encoding password (default username)
+
+Default value: ``undef``
+
### `postgresql::server::schema`
Create a new schema.
@@ -3370,7 +3398,7 @@ Type: Ruby 4.x API
This function returns the postgresql password hash from the clear text username / password
-#### `postgresql::postgresql_password(Variant[String[1], Integer] $username, Variant[String[1], Sensitive[String[1]], Integer] $password, Optional[Boolean] $sensitive)`
+#### `postgresql::postgresql_password(Variant[String[1], Integer] $username, Variant[String[1], Sensitive[String[1]], Integer] $password, Optional[Boolean] $sensitive, Optional[Optional[Enum['md5', 'scram-sha-256']]] $hash, Optional[Optional[Variant[String[1], Integer]]] $salt)`
The postgresql::postgresql_password function.
@@ -3394,6 +3422,18 @@ Data type: `Optional[Boolean]`
If the Postgresql-Passwordhash should be of Datatype Sensitive[String]
+##### `hash`
+
+Data type: `Optional[Optional[Enum['md5', 'scram-sha-256']]]`
+
+Set type for password hash
+
+##### `salt`
+
+Data type: `Optional[Optional[Variant[String[1], Integer]]]`
+
+Use a specific salt value for scram-sha-256, default is username
+
### `postgresql_escape`
Type: Ruby 4.x API
diff --git a/metadata.json b/metadata.json
index 945e3a749e..8fd98543e0 100644
--- a/metadata.json
+++ b/metadata.json
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-postgresql",
- "version": "7.5.0",
+ "version": "8.0.0",
"author": "puppetlabs",
"summary": "Offers support for basic management of PostgreSQL databases.",
"license": "Apache-2.0",