diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..db5600a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,35 @@ +4.1.0 +===== + +NEW FEATURES +------------ +- Add PostgreSQL 17 support. +- Remove support for PostgreSQL < 12. + +4.0.1 +===== + +NEW FEATURES +------------ +- Reorganized repository structure to allow for easier management of extension files during build process. +- Added NO_PGXS build flag to allow building of extension without PGXS. Restores ability to build on Windows. +- No changes to extension code. + +2.0.1 +===== + +NEW FEATURES +------------ +- Deprecated GUCs are removed from `SHOW ALL`. + +BUGFIXES +-------- +- NOTICE fixed to only display on first reference to non-default deprecated variable. + +2.0.0 +===== + +NEW FEATURES +------------ +- Use of GUCs with `whitelist` have been deprecated in lieu of a more appropriate `allowlist`. The last GUC set by `ALTER SYSTEM` will be used on reload, the first attempt to `SHOW` a deprecated variable will provide a NOTICE. +- The extension is now non-relocatable and all functions are schema-qualified. diff --git a/CHANGELOG.txt b/CHANGELOG.txt deleted file mode 100644 index 7a7fe6e..0000000 --- a/CHANGELOG.txt +++ /dev/null @@ -1,11 +0,0 @@ -4.0.1 - -NEW FEATURES -============ - - Reorganized repository structure to allow for easier management of extension files during build process. - - Added NO_PGXS build flag to allow building of extension without PGXS. Restores ability to build on Windows. - - No changes to extension code. - -BUGFIXES -======== - - None diff --git a/README.md b/README.md index 03f2990..6ade53f 100644 --- a/README.md +++ b/README.md @@ -788,27 +788,6 @@ test=> select session_user, current_user, user, current_role; (1 row) ``` -## NOTES - -### Version 4.0.0 - -- Support for the previously deprecated `whitelist` GUCs is removed. Please update your config to the new `allowlist` equivalent otherwise the default values for the `allowlist` GUCs will be in effect potentially allowing undesired privilege escalation. - -### Version 2.0.1 - -- NOTICE fixed to only display on first reference to non-default deprecated - variable. -- Deprecated GUCs are removed from `SHOW ALL`. - -### Version 2.0.0 - -- Use of GUCs with `whitelist` have been deprecated in lieu of a more - appropriate `allowlist`. The last GUC set by `ALTER SYSTEM` will be used on - reload, the first attempt to `SHOW` a deprecated variable will provide a - NOTICE. - -- The extension is now non-relocatable and all functions are schema-qualified. - ## Licensing Please see the [LICENSE](./LICENSE) file. diff --git a/set_user.control b/set_user.control index 20acd5c..446d26c 100644 --- a/set_user.control +++ b/set_user.control @@ -1,5 +1,5 @@ # set_user extension comment = 'similar to SET ROLE but with added logging' -default_version = '4.0.1' +default_version = '4.1.0' module_pathname = '$libdir/set_user' relocatable = false diff --git a/updates/set_user--4.0.1--4.1.0.sql b/updates/set_user--4.0.1--4.1.0.sql new file mode 100644 index 0000000..164b3ca --- /dev/null +++ b/updates/set_user--4.0.1--4.1.0.sql @@ -0,0 +1,6 @@ +/* set-user--4.0.1--4.1.0.sql */ + +-- complain if script is sourced in psql, rather than via ALTER EXTENSION +\echo Use "ALTER EXTENSION set_user UPDATE" to load this file. \quit + +-- just bumping our version to 4.1.0. no new SQL features here, so nothing to do.