Repository navigation
build(deps): adopt @antelopejs/interface-database 0.4.0 - #94
Merged
Merged
Conversation
Upd4ting
added a commit
that referenced
this pull request
Nov 13, 2026
## Why postgres 0.4.0 is released and implements `@antelopejs/interface-database` `>=0.4.0 <0.5.0` (#94, ANT-2389). A project on interface-database 0.3.x cannot start it. AGENTS.md asks that a release needing action from users get an `### Upgrade notes` section in `CHANGELOG.md`, above the generated entries. v0.2.2 got its notes the same way after release (#25). ## What `CHANGELOG.md` gains an `### Upgrade notes` section under `## v0.4.0`, between the compare link and the generated entries: ```markdown ### Upgrade notes - Implements `@antelopejs/interface-database` `>=0.4.0 <0.5.0` ([#94](#94)). A project on interface-database 0.4.0 needs this release. A project still on interface-database 0.3.x keeps postgres 0.3.x, since this release refuses to start with it. - Nothing changes in the module config or in stored data. ``` No other file changes. ## Proof `pnpm run checks`: `Checks: 11 passed, 0 failed.` API: 1 packages, 1 entries unchanged against origin/main (committed HEAD). API: skipped .agents/skills/verify-module, private. Runtime API: 1 packages, 1 entries unchanged against origin/main (committed HEAD). No behavioural probe ran. Suppressions in authored code files (origin/main and committed HEAD). A lint directive counts once per rule it names; `*` is a directive naming none. | Suppressions | base | HEAD | | --- | ---: | ---: | | Lint suppressions, all rules | 1 | 1 | | Lint suppressions, `anti-slop/no-unknown-parameters` | 1 | 1 | | `@ts-expect-error` | 0 | 0 | | `@ts-ignore` | 0 | 0 | | `SAFETY:` comments | 0 | 0 | | Lint config rule-offs, all rules | 0 | 0 | <!-- antelopejs-proof base=4ab69f86ca42bd39abdd0cdf8a5ec78757b8c04b head=a2205af29d72dd2e21f8d3da5c540607d1fe14de lines=13 digest=620908a599707968 command: antelopejs-api-diff origin/main -->
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.
Why
interface-database 0.4.0 is released. postgres declares
>=0.3.3 <0.4.0, so a project on 0.4.0 refuses to start it (ANT-2389). This PR moves the range to>=0.4.0 <0.5.0, runs every query the suites send through.run(), and passes the 0.4.0 conformance suites.What
package.jsontakes@antelopejs/interface-database>=0.4.0 <0.5.0, and the lockfile resolves 0.4.0.antelopejs-syncregenerated the README compatibility table, and AGENTS.md states the new range.await querysends nothing. A codemod read eachtypescript/await-thenablefinding's span fromoxlint -f jsonand appended.run()to the awaited query, 161 sites in 10 suites. It asserts that each span followsawaitand ends in a call or an identifier. Two sites were fixed by hand:indexes.test.tsruns each lookup it passes toPromise.all.duplicate-key.test.ts'sexpectDuplicatetakes the query and runs it itself, so its six callers are unchanged..run()lines pushed two suites past the 120-line function limit. Theirbeforeseeding moved into named functions (SeedTables,SeedRow) that run the same statements.cast()identity or a typedSchema.get.SAFETY comments added
None.
Proof
Before. origin/main built against interface-database 0.4.0:
After.
antelopejs-api-diff(below) compares declarations, and they are unchanged. Its runtime half could not build the base, because it builds origin/main with this branch's dependencies, and origin/main's tests do not compile against 0.4.0. The same comparison, run by hand with each side built on its own lockfile:API: 1 packages, 1 entries unchanged against origin/main (committed HEAD).
API: skipped .agents/skills/verify-module, private.
Runtime API: comparison incomplete due to execution errors.
Execution error: .: Command failed: pnpm run build
No behavioural probe ran.
Suppressions in authored code files (origin/main and committed HEAD). A lint directive counts once per rule it names;
*is a directive naming none.anti-slop/no-unknown-parameters@ts-expect-error@ts-ignoreSAFETY:comments