Skip to content

chore(main): release postgrest-typegen 0.2.5 - #220

Merged
spydon merged 1 commit into
mainfrom
release-please--branches--main--components--postgrest-typegen
Sep 25, 2026
Merged

spydon merged 1 commit into
mainfrom
release-please--branches--main--components--postgrest-typegen

Conversation

@supabase-releaser

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

0.2.5 (2026-09-25)

Bug Fixes

  • postgrest-typegen: compile under noUncheckedIndexedAccess (#217) (a8a4927)

This PR was generated with Release Please. See documentation.

@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 27a760ea-a678-4212-9874-b7036d33b8ab

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@spydon
spydon merged commit ad66946 into main Sep 25, 2026
4 checks passed
@spydon
spydon deleted the release-please--branches--main--components--postgrest-typegen branch September 25, 2026 11:00
@supabase-releaser

Copy link
Copy Markdown
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant