Skip to content

fix(release): restore JSR publish flags and enable for beta#2440

Merged
mandarini merged 1 commit into
masterfrom
fix/jsr-publish-flags-and-beta
Jun 11, 2026
Merged

fix(release): restore JSR publish flags and enable for beta#2440
mandarini merged 1 commit into
masterfrom
fix/jsr-publish-flags-and-beta

Conversation

@mandarini

@mandarini mandarini commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

The previous switch to deno publish direct (d797a65) dropped flags the jsr npm wrapper was injecting for Node-style projects (any package with a package.json), causing every JSR publish since 2.108.2-canary.1 to fail type-check with TS2307 (extension-less imports) and TS5095/TS5109 (incompatible tsconfig options).

This PR passes --unstable-bare-node-builtins, --unstable-sloppy-imports, --unstable-byonm, --no-check, and sets DENO_DISABLE_PEDANTIC_NODE_WARNINGS=true in scripts/publish-to-jsr.ts, matching exactly what the wrapper was injecting for years before the switch.

Also extends JSR publishing to beta releases in scripts/release-beta.ts, using the same try/catch + partial-failure pattern as stable and canary, so beta versions reach JSR alongside npm.

@mandarini mandarini requested review from a team as code owners June 11, 2026 11:52
@mandarini mandarini self-assigned this Jun 11, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 11, 2026

Copy link
Copy Markdown

Open in StackBlitz

@supabase/auth-js

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

@supabase/functions-js

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

@supabase/postgrest-js

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

@supabase/realtime-js

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

@supabase/storage-js

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

@supabase/supabase-js

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

commit: d8bac64

Comment thread scripts/publish-to-jsr.ts
@mandarini mandarini merged commit e25f409 into master Jun 11, 2026
45 of 49 checks passed
@mandarini mandarini deleted the fix/jsr-publish-flags-and-beta branch June 11, 2026 14:19
mandarini pushed a commit to supabase/supabase that referenced this pull request Jun 16, 2026
This PR updates @supabase/*-js libraries to version 2.108.2.

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

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

---

## Release Notes

## v2.108.2

## 2.108.2 (2026-06-15)

### 🩹 Fixes

- **auth:** preserve valid session on refresh failure and cooldown
repeat failures
([#2436](supabase/supabase-js#2436))
- **realtime:** clarify httpSend() 404 error and server migration note
([#2444](supabase/supabase-js#2444))
- **release:** pin Deno and bound JSR publish to survive stranded-task
hangs ([#2439](supabase/supabase-js#2439))
- **release:** restore JSR publish flags and enable for beta
([#2440](supabase/supabase-js#2440))

### ❤️ Thank You

- Katerina Skroumpelou @mandarini
## v2.108.1

## 2.108.1 (2026-06-09)

### 🩹 Fixes

- **ci:** forward DOGFOOD_APP_CLIENT_ID to dogfood workflow
([#2434](supabase/supabase-js#2434))
- **postgrest:** then typing
([#2349](supabase/supabase-js#2349))

### ❤️ 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants