Skip to content

Commit 31acf90

Browse files
chore: release (alpha) (#270)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2c0c9f0 commit 31acf90

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

.changeset/pre.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"all-planes-ask",
1212
"auth-trigger-user-defined-passthrough",
1313
"brave-sails-kneel",
14+
"catalog-export-filter",
1415
"clean-bees-fetch",
1516
"cold-students-vanish",
1617
"curvy-buckets-collect",
@@ -59,6 +60,7 @@
5960
"nine-candles-sleep",
6061
"order-rls-policies-after-referenced-tables",
6162
"pg-delta-partition-check-constraint-inhcount",
63+
"pgmq-queue-trigger-fallback",
6264
"redact-fdw-option-secrets",
6365
"rich-regions-sneeze",
6466
"ripe-ravens-doubt",
@@ -71,6 +73,7 @@
7173
"tall-canyons-add",
7274
"three-turtles-visit",
7375
"tidy-zebras-judge",
74-
"tough-boats-sink"
76+
"tough-boats-sink",
77+
"wasm-fdw-dependents"
7578
]
7679
}

packages/pg-delta/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @supabase/pg-delta
22

3+
## 1.0.0-alpha.27
4+
5+
### Minor Changes
6+
7+
- b9b8b15: Add `--filter` option to the `catalog-export` CLI command to scope the exported catalog to matching schemas/objects.
8+
9+
### Patch Changes
10+
11+
- 71cce8a: fix(pg-delta): suppress user triggers on pgmq queue/archive tables in supabase integration
12+
13+
Follow-up to the Wasm FDW dependents fix. `pgmq.q_<name>` and `pgmq.a_<name>` are materialized lazily by `select pgmq.create('<name>')`, not by `CREATE EXTENSION pgmq`. The trigger extractor already drops these via the `pg_depend deptype='e'` row that pgmq records, but real-world cloud projects can lose that row (older pgmq versions — pgmq `1.4.4` which Supabase Cloud currently ships never records it — manual `pg_dump`/restore that strips extension deps, etc.), so `supabase db reset` aborts at the trigger statement with `relation "pgmq.q_<name>" does not exist`. Add a defensive name-match fallback in the supabase integration filter so the trigger is dropped even when the principled signal is missing.
14+
15+
- 71cce8a: fix(pg-delta): suppress Wasm FDW servers, foreign tables, and user mappings in supabase integration
16+
17+
Follow-up to CLI-1470. Also suppress SERVER (object/comment/security-label scopes), FOREIGN TABLE, and USER MAPPING changes whose parent wrapper is a Supabase Wasm FDW — identified by the `extensions.wasm_fdw_handler` / `extensions.wasm_fdw_validator` functions the `wrappers` extension ships — so `db pull` no longer emits `CREATE SERVER clerk_oauth_server` for platform Wasm FDWs that local Docker cannot provision.
18+
19+
The discriminator is the Wasm handler/validator function names, not the bare `extensions.*` namespace: contrib FDWs like `postgres_fdw` install their handler/validator into `extensions` on Supabase too, but they ARE available in the local image, so user-created `postgres_fdw` wrappers (and their servers, foreign tables, and user mappings) must still roundtrip. Server _privilege_ scope is likewise preserved — `GRANT/REVOKE ON SERVER` does not require superuser.
20+
321
## 1.0.0-alpha.26
422

523
### Patch Changes

packages/pg-delta/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@supabase/pg-delta",
3-
"version": "1.0.0-alpha.26",
3+
"version": "1.0.0-alpha.27",
44
"description": "PostgreSQL migrations made easy",
55
"keywords": [
66
"diff",

0 commit comments

Comments
 (0)