Pin all Graphile v5 RC deps to exact latest versions#732
Merged
pyramation merged 2 commits intomainfrom Feb 19, 2026
Merged
Conversation
…transitive peer deps - Pin all graphile rc dependencies to exact versions (no caret ranges) across all 8 graphile/* packages - Bump to latest compatible rc versions: postgraphile 5.0.0-rc.7, graphile-build-pg 5.0.0-rc.5, etc. - Add missing transitive peer deps to graphile-settings: @dataplan/pg, @dataplan/json, tamedevil, grafserv - Bump @dataplan/pg in graphile-search-plugin from pinned 1.0.0-rc.3 to 1.0.0-rc.5 - Add GRAPHILE.md documenting the pinning strategy and upgrade process
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
… grafast - Pin grafast, grafserv, graphile-build, graphile-build-pg, graphile-config, pg-sql2, postgraphile in graphql/test, graphql/query, graphql/server, graphql/explorer - Fixes runtime error: Preset attempted to register version 'rc.7' of 'grafast' but 'rc.4' is already registered - Update GRAPHILE.md to document graphql/* packages
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.
Pin Graphile v5 RC deps to exact latest versions, add missing peer deps
Summary
All
graphile/*andgraphql/*packages had Graphile v5 RC dependencies using loose caret ranges (e.g.,^5.0.0-rc.3), which allowed pnpm to resolve to newer RC versions that introduced new peer dependency requirements nobody satisfied. This caused cascading "missing peer dependency" warnings downstream (e.g., inconstructive-db/sdk/constructive-sdk) and runtime errors from dual-installed singletons likegrafast.Changes:
graphile/*packages and 4graphql/*packages (removed^prefixes)postgraphile→5.0.0-rc.7,graphile-build-pg→5.0.0-rc.5,grafast→1.0.0-rc.7, etc.graphile-settings:@dataplan/pg,@dataplan/json,tamedevil,grafserv@dataplan/pgingraphile-search-pluginfrom stale pinned1.0.0-rc.3to1.0.0-rc.5GRAPHILE.mddocumenting the pinning strategy and future upgrade processUpdates since first revision
grafast,grafserv,graphile-build,graphile-build-pg,graphile-config,pg-sql2,postgraphileingraphql/test,graphql/query,graphql/server, andgraphql/explorer. Initial CI failed withPreset attempted to register version '1.0.0-rc.7' of 'grafast', but version '1.0.0-rc.4' is already registeredbecause thesegraphql/*packages still had the old^1.0.0-rc.4caret ranges, causing a dual install.GRAPHILE.mdto document thegraphql/*packages and the singleton runtime error.Review & Testing Checklist for Human
pnpm buildpasses, but API behavior may have changed between RCs. Runpnpm testacross the workspace and manually test any graphile-dependent features (schema generation, query execution, explorer UI).@graphile/simplify-inflection@8.0.0-rc.3—graphql/server/package.jsonstill has this at8.0.0-rc.3(untouched by this PR). Verify it is compatible with the bumpedgraphile-config@1.0.0-rc.5and other packages.peerDependenciessections should be pinned —postgraphile-plugin-pgvectorandgraphile-search-pluginnow have exactpostgraphile: "5.0.0-rc.7"in theirpeerDependencies(not justdependencies). Exact peer deps are unusually restrictive for published packages — consumers must have that exact version. Consider whether these should remain as ranges.rurubumped from2.0.0-rc.4to2.0.0-rc.6andruru-componentswas replaced byruru-types. These are transitive changes from bumpinggrafserv. Manually test the explorer UI to ensure it still works.pnpm installinconstructive-db— the original issue was peer dep warnings inconstructive-db/sdk/constructive-sdk. After publishing these updated packages, re-run to confirm the warnings are resolved.Notes
postgraphile-plugin-connection-filterpeer dep ingraphile-search-pluginstill uses^3.0.0-rc.1(caret range) — intentionally left as-is since only one RC existspnpm buildpassed successfully after both commitsgraphql/*packages) are pendingLink to Devin run: https://app.devin.ai/sessions/5ab94c0bcf5b4643ac6d3c00d5951f36
Requested by: @pyramation