Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.1.0. #83

Merged
merged 2 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.