Skip to content

Commit e157099

Browse files
committed
chore: upgrade to supautils 3.2.0
This includes the new [enhanced hints](https://github.com/supabase/supautils/?tab=readme-ov-file#enhanced-hints) feature of supautils, enabled for only the API roles.
1 parent c0692fb commit e157099

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

ansible/files/postgresql_config/supautils.conf.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ supautils.privileged_role = 'supabase_privileged_role'
1313
supautils.privileged_role_allowed_configs = 'auto_explain.*, deadlock_timeout, log_lock_waits, log_min_duration_statement, log_min_messages, log_parameter_max_length, log_replication_commands, log_statement, log_temp_files, pg_net.batch_size, pg_net.ttl, pg_stat_statements.*, pgaudit.log, pgaudit.log_catalog, pgaudit.log_client, pgaudit.log_level, pgaudit.log_relation, pgaudit.log_rows, pgaudit.log_statement, pgaudit.log_statement_once, pgaudit.role, pgrst.*, plan_filter.*, safeupdate.enabled, session_replication_role, track_functions, track_io_timing, wal_compression'
1414
supautils.reserved_memberships = 'pg_read_server_files, pg_write_server_files, pg_execute_server_program, supabase_admin, supabase_auth_admin, supabase_storage_admin, supabase_read_only_user, supabase_realtime_admin, supabase_replication_admin, supabase_etl_admin, dashboard_user, pgbouncer, authenticator'
1515
supautils.reserved_roles = 'supabase_admin, supabase_auth_admin, supabase_storage_admin, supabase_read_only_user, supabase_realtime_admin, supabase_replication_admin, supabase_etl_admin, dashboard_user, pgbouncer, service_role*, authenticator*, authenticated*, anon*'
16+
supautils.hint_roles = 'anon, authenticated, service_role'

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ postgres_major:
1010

1111
# Full version strings for each major version
1212
postgres_release:
13-
postgresorioledb-17: "17.6.0.056-orioledb"
14-
postgres17: "17.6.1.099"
15-
postgres15: "15.14.1.099"
13+
postgresorioledb-17: "17.6.0.057-orioledb"
14+
postgres17: "17.6.1.100"
15+
postgres15: "15.14.1.100"
1616

1717
# Non Postgres Extensions
1818
pgbouncer_release: 1.25.1

nix/ext/supautils.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
stdenv.mkDerivation rec {
99
pname = "supautils";
1010
name = pname;
11-
version = "3.0.1";
11+
version = "3.2.0";
1212

1313
buildInputs = [ postgresql ];
1414

1515
src = fetchFromGitHub {
1616
owner = "supabase";
1717
repo = pname;
1818
rev = "refs/tags/v${version}";
19-
hash = "sha256-j0iASDzmcZRLbHaS9ZNRWwzii7mcC+8wYHM0/mOLkbs=";
19+
hash = "sha256-meG64dZ4wmoNyOZUx/G3SK4zSyQjXXX6a1B5rJK9wvw=";
2020
};
2121

2222
installPhase = ''

0 commit comments

Comments
 (0)