chore: release (alpha) - #459
Open
supabase-releaser[bot] wants to merge 1 commit into
Open
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
5 times, most recently
from
September 8, 2026 16:26
a5635be to
ea5c41d
Compare
avallete
approved these changes
Sep 8, 2026
avallete
enabled auto-merge
September 8, 2026 18:14
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 9, 2026 05:22
ea5c41d to
c3d9145
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@supabase/pg-delta@1.0.0-alpha.50
Minor Changes
cb9a90b: feat(pg-delta): apply accepts a pre-extracted source fact base for the fingerprint gate
apply()re-extracted the target on every gated call so the fingerprint couldbe compared to the plan's source. Callers that already extracted the target they
planned from — and still hold exclusive write access — can now pass that raw
FactBaseassourceFactBase. The gate reconstructs the same managed view andskips the extract; a mismatched base still fails. Default behaviour (re-extract)
is unchanged when the option is absent.
planSchemaFilesreturns the planningextract as
targetFactBaseso a library caller that still holds exclusive writeaccess can pass it;
schema applykeeps the live re-extract because it does nothold that guarantee across shadow load.
sourceFactBaseis only valid when nothing else can write to the target betweenplan and apply; the caller is asserting that.
fingerprintGate: falseremainsthe escape hatch that drops the check entirely.
ce61f01: Empty-target baselines can exhaust PostgreSQL's lock table in one
transaction. Call
estimateLockTableBudgeton the apply target, thenoptionally
splitPlan({ maxLocks })so each segment tries to stay underthat many lock slots.
applyhonors the marks and does not refuse.CLI:
--max-locks <n>(plan / apply / schema apply) and--split-to-fit(apply / schema apply; probes the target). Extra COMMITs are only safe
when nothing else reads the target; off by default, so existing plans
and the corpus are unchanged.
Patch Changes
ALTER DEFAULT PRIVILEGES … IN SCHEMA pg_temp_N) at extract time. Such a row keyed adefaultPrivilegefact on a schema that exists on no target and no plan produces, so planning against a database carrying one failed inbuildActionGraphwithmissing requirement: … consumes schema:pg_temp_N.GRANT <role> TO <self> WITH ADMIN OPTION(SQLSTATE 0LP01);CREATE ROLEalready recreates that membership. Extract stays a catalog dump.resolveProfilenow probes applier capability by default (omitted ortrue) and projects those self-ADMIN memberships — plus existing FDW ACLs — out of the managed view forplan,schema apply,diff, andschema export. Pass{ restrictToApplier: false }/--no-restrict-to-applier(plan/schema apply) for an unrestricted view (plan-here / apply-as-more-privileged).provereconstructs the plan artifact's capability and does not re-probe the clone. A superuser probe excludes nothing. Bareplan()stays unrestricted when capability is omitted.release.