Repository navigation
fix(typegen): pin @supabase/postgrest-typegen to 0.2.4 - #216
Conversation
The registry promises consumers a single postgrest-typegen version for introspection and generation alike, which a caret range cannot guarantee. Pin the exact version and take the 0.2.4 release; dependabot keeps the pin current and each bump is a registry release.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe typegen package pins Priority: ⬇️ Low Change: Bug fix Merge Risk: ⚪ Minimal · up to The dependency pin and lockfile agree, so frozen-lockfile installs are not blocked by this change. No material merge risk remains. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🤖 I have created a release *beep* *boop* --- ## 0.1.0 (2026-09-25) ### Features * **typegen:** depend on the registry alone and prepare it for hosted consumers ([#213](#213)) ([ff5e98d](ff5e98d)) ### Bug Fixes * **typegen:** pin @supabase/postgrest-typegen to 0.2.4 ([#216](#216)) ([de4806e](de4806e)) ### Miscellaneous Chores * release 1.3.0 ([#97](#97)) ([ee2ef6e](ee2ef6e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
Summary
@supabase/typegendepended on@supabase/postgrest-typegenthrough^0.2.3and its lockfile still resolved 0.2.3. This pins the dependency to the exact0.2.4released in #215.Why an exact pin
The registry's contract, added in #213, is that a consumer depends on
@supabase/typegenalone and gets one postgrest-typegen version for both introspection (re-exportedintrospect) and the in-process generators. A caret range lets a consumer's lockfile resolve any later 0.2.x, so "the version the generators were built against" would not be a guarantee. With an exact pin it is: every postgrest-typegen bump becomes a registry release, and dependabot's existing bun group bumps the pin.Changes
packages/typegen/package.jsonandbun.lock:0.2.4, exact.Checks: typecheck, format and lint, knip, 47 tests, and a frozen-lockfile install all pass.