Skip to content

Commit

Permalink
Release 4.1.0. (#83)
Browse files Browse the repository at this point in the history
- Add PostgreSQL 17 support.
- Remove support for PostgreSQL < 12.

Release notes from README.md and CHANGELOG.txt have been merged into CHANGELOG.md.

Reviewed by Artem Gavrilov (@artemgavrilov), Keith Fiske (@keithf4).
  • Loading branch information
dwsteele authored Aug 13, 2024
1 parent 1ff48cf commit 1dc57a8
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 33 deletions.
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
11 changes: 0 additions & 11 deletions CHANGELOG.txt

This file was deleted.

21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion set_user.control
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions updates/set_user--4.0.1--4.1.0.sql
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 1dc57a8

Please sign in to comment.