Skip to content

fix(postgrest): pin tstyche target off floating latest#2509

Merged
mandarini merged 1 commit into
masterfrom
fix/postgrest-pin-ts
Jul 10, 2026
Merged

fix(postgrest): pin tstyche target off floating latest#2509
mandarini merged 1 commit into
masterfrom
fix/postgrest-pin-ts

Conversation

@mandarini

@mandarini mandarini commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Description

Pins the postgrest-js type-testing matrix off the floating latest target so CI stops failing on the newly released TypeScript 7.

What changed?

  • packages/core/postgrest-js/package.json: the test:types:ci script target changed from '4.7,5.5,latest' to '4.7,5.5,6.0'.

Why was this change needed?

TypeScript 7.0 (the native Go compiler) reached GA on 2026-07-08. As soon as it landed, tstyche's latest target began resolving to [email protected], which ships without a bundled lib/typescript.js (TS 7.0 has no programmatic API until 7.1). tstyche loads the compiler through that API, so it crashed on download:

Error: ENOENT: no such file or directory, open '.../TSTyche/[email protected]/lib/typescript.js'

This broke @supabase/postgrest-js:test:types:ci on every PR against master, regardless of the PR's contents.

The top of the matrix is now pinned to the 6.0 line (currently 6.0.3). TypeScript 6.0 is the last release built on the JavaScript codebase, so it still bundles the programmatic API that tstyche needs, while carrying the stricter TypeScript 7 era semantics. That gives newer type-checking coverage than the previous latest behaviour actually delivered, on a compiler tstyche can load. The 4.7 floor is unchanged, so the range of consumer TypeScript versions we verify is unaffected.

Breaking changes

  • This PR contains no breaking changes

Build-tooling only. No source, emitted output, or public types change; consumer-facing behavior is identical.

Checklist

  • I have read the Contributing Guidelines
  • My PR title follows the conventional commit format: <type>(<scope>): <description>
  • I have run pnpm nx format to ensure consistent code formatting
  • I have added tests for new functionality (if applicable)
  • I have updated documentation (if applicable)

Additional notes

The 6.0 pin replaces the previously floating latest target. The top target should return to latest (or a pinned 7.x) once TypeScript 7.1 restores the programmatic API and tstyche adds support for it. Adopting the native TS7 compiler for type-checking is tracked separately.

@github-actions github-actions Bot added the postgrest-js Related to the postgrest-js library. label Jul 10, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jul 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

@supabase/auth-js

npm i https://pkg.pr.new/@supabase/auth-js@2509

@supabase/functions-js

npm i https://pkg.pr.new/@supabase/functions-js@2509

@supabase/postgrest-js

npm i https://pkg.pr.new/@supabase/postgrest-js@2509

@supabase/realtime-js

npm i https://pkg.pr.new/@supabase/realtime-js@2509

@supabase/storage-js

npm i https://pkg.pr.new/@supabase/storage-js@2509

@supabase/supabase-js

npm i https://pkg.pr.new/@supabase/supabase-js@2509

commit: 5d58fcb

@mandarini mandarini self-assigned this Jul 10, 2026
@mandarini
mandarini force-pushed the fix/postgrest-pin-ts branch from 63938d8 to 5d58fcb Compare July 10, 2026 09:52
@coveralls

coveralls commented Jul 10, 2026

Copy link
Copy Markdown

Coverage Status

Coverage is 92.839%fix/postgrest-pin-ts into master. No base build found for master.

@mandarini
mandarini marked this pull request as ready for review July 10, 2026 09:56
@mandarini
mandarini requested review from a team as code owners July 10, 2026 09:56
@mandarini
mandarini merged commit 05bab02 into master Jul 10, 2026
30 of 31 checks passed
@mandarini
mandarini deleted the fix/postgrest-pin-ts branch July 10, 2026 10:34
mandarini pushed a commit to supabase/ssr that referenced this pull request Jul 13, 2026
This PR updates `@supabase/supabase-js` to v2.110.3.

**Source**: supabase-js-stable-release

---

## Release Notes

## v2.110.3

## 2.110.3 (2026-07-13)

### 🩹 Fixes

- **auth:** preserve pkce verifier
([#2513](supabase/supabase-js#2513))
- **postgrest:** pin tstyche target off floating latest
([#2509](supabase/supabase-js#2509))

### ❤️ Thank You

- Katerina Skroumpelou @mandarini
- Vaibhav @7ttp

This PR was created automatically.

Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
mandarini pushed a commit to supabase/supabase that referenced this pull request Jul 14, 2026
This PR updates @supabase/*-js libraries to version 2.110.5.

**Source**: supabase-js-stable-release

**Changes**:
- Updated @supabase/supabase-js to 2.110.5
- Updated @supabase/auth-js to 2.110.5
- Updated @supabase/realtime-js to 2.110.5
- Updated @supabase/postgest-js to 2.110.5
- Refreshed pnpm-lock.yaml

---

## Release Notes

## v2.110.5

## 2.110.5 (2026-07-14)

### 🩹 Fixes

- **supabase:** avoid edge runtime warning
([#2522](supabase/supabase-js#2522))

### ❤️ Thank You

- Vaibhav @7ttp
## v2.110.4

## 2.110.4 (2026-07-14)

### 🩹 Fixes

- **functions:** stop sending API key in Authorization header for
function calls
([#2511](supabase/supabase-js#2511))
- **realtime:** encode broadcast header fields as UTF-8
([#2516](supabase/supabase-js#2516))

### ❤️ Thank You

- Katerina Skroumpelou @mandarini
- Pedro Henrique
## v2.110.3

## 2.110.3 (2026-07-13)

### 🩹 Fixes

- **auth:** preserve pkce verifier
([#2513](supabase/supabase-js#2513))
- **postgrest:** pin tstyche target off floating latest
([#2509](supabase/supabase-js#2509))

### ❤️ Thank You

- Katerina Skroumpelou @mandarini
- Vaibhav @7ttp
## v2.110.2

## 2.110.2 (2026-07-09)

### 🩹 Fixes

- **auth:** clear local session on signout failures
([#2504](supabase/supabase-js#2504))

### ❤️ Thank You

- Luc Peng

This PR was created automatically.

Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
mandarini pushed a commit to supabase/supabase that referenced this pull request Jul 15, 2026
This PR updates @supabase/*-js libraries to version 2.110.6.

**Source**: supabase-js-stable-release

**Changes**:
- Updated @supabase/supabase-js to 2.110.6
- Updated @supabase/auth-js to 2.110.6
- Updated @supabase/realtime-js to 2.110.6
- Updated @supabase/postgest-js to 2.110.6
- Refreshed pnpm-lock.yaml

---

## Release Notes

## v2.110.6

## 2.110.6 (2026-07-15)

### 🩹 Fixes

- **postgrest:** type hinted self-referencing embeds as arrays
([#2520](supabase/supabase-js#2520))
- **realtime:** forward opts to send() in track()
([#2490](supabase/supabase-js#2490))
- **supabase:** warn instead of throw for unrecognized sb_ API key
subtypes ([#2526](supabase/supabase-js#2526))

### ❤️ Thank You

- Franco Kaddour @FrancoKaddour
- Katerina Skroumpelou @mandarini
## v2.110.5

## 2.110.5 (2026-07-14)

### 🩹 Fixes

- **supabase:** avoid edge runtime warning
([#2522](supabase/supabase-js#2522))

### ❤️ Thank You

- Vaibhav @7ttp
## v2.110.4

## 2.110.4 (2026-07-14)

### 🩹 Fixes

- **functions:** stop sending API key in Authorization header for
function calls
([#2511](supabase/supabase-js#2511))
- **realtime:** encode broadcast header fields as UTF-8
([#2516](supabase/supabase-js#2516))

### ❤️ Thank You

- Katerina Skroumpelou @mandarini
- Pedro Henrique
## v2.110.3

## 2.110.3 (2026-07-13)

### 🩹 Fixes

- **auth:** preserve pkce verifier
([#2513](supabase/supabase-js#2513))
- **postgrest:** pin tstyche target off floating latest
([#2509](supabase/supabase-js#2509))

### ❤️ Thank You

- Katerina Skroumpelou @mandarini
- Vaibhav @7ttp
## v2.110.2

## 2.110.2 (2026-07-09)

### 🩹 Fixes

- **auth:** clear local session on signout failures
([#2504](supabase/supabase-js#2504))

### ❤️ Thank You

- Luc Peng

This PR was created automatically.

Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

postgrest-js Related to the postgrest-js library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants