Repository navigation
chore(main): release postgrest-typegen 0.2.5 - #220
Merged
spydon merged 1 commit intoSep 25, 2026
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
spydon
approved these changes
Sep 25, 2026
spydon
deleted the
release-please--branches--main--components--postgrest-typegen
branch
September 25, 2026 11:00
Contributor
Author
|
🤖 Created releases: 🌻 |
spydon
added a commit
that referenced
this pull request
Sep 25, 2026
## Why postgrest-typegen 0.2.5 (#217, released in #220) is the first version whose `src/` compiles under `noUncheckedIndexedAccess`. The Supabase CLI type-checks its dependencies from source through the `bun` exports condition, so with this pin the CLI can depend on `@supabase/typegen` alone and drop its direct, `dist`-pinned `@supabase/postgrest-typegen` dependency. Second part of [SDK-1963](https://linear.app/supabase/issue/SDK-1963); the first part was #217. ## What - Pin `@supabase/postgrest-typegen` to `0.2.5` and update `bun.lock`. - Add the consumer type-check that #217 deliberately left out of this package because it could not pass against 0.2.4: `tsconfig.consumer.json` extends `@tsconfig/bun` with `customConditions: ["bun"]` and includes `src`, wired up as `bun run check-types:consumer` and run in `typegen-validate.yml`. Because it resolves `@supabase/postgrest-typegen` to the pinned package's `src/`, it fails on a future pin bump whose source breaks under the CLI's compiler options. - Add `@tsconfig/bun` as a devDependency and document the command in `CLAUDE.md` and `README.md`. ## Verification - `bun run check-types`, `bun run check-types:consumer`, `bun run format-and-lint`, `bun run knip`, `bun run build` pass. - `bun run test`: 47 tests pass. - Against the previous pin (0.2.4) the consumer check fails with 85 errors in `node_modules/@supabase/postgrest-typegen/src/generation/*.ts`, so the check is exercising the transitive source as intended. ## Follow-up Once the typegen release cut from this PR is on npm, the CLI can bump `@supabase/typegen` and remove the direct `@supabase/postgrest-typegen` devDependency, its `minimumReleaseAgeExclude` entry, the `paths` pin in `apps/cli/tsconfig.types.json`, the `knip.jsonc` `ignoreDependencies` entry, and the version-guard test in `types.generator.unit.test.ts` (follow-up to supabase/cli#6822).
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.
🤖 I have created a release beep boop
0.2.5 (2026-09-25)
Bug Fixes
This PR was generated with Release Please. See documentation.