Skip to content

chore(backend): remove retired enhanced email deliverability setting - #9586

Draft
jescalan wants to merge 1 commit into
mainfrom
je/remove-postmark
Draft

chore(backend): remove retired enhanced email deliverability setting#9586
jescalan wants to merge 1 commit into
mainfrom
je/remove-postmark

Conversation

@jescalan

@jescalan jescalan commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to the Postmark send-path removal (clerk_go#21398). That PR deleted the behavior; this one deletes the field.

The setting no longer affects anything: routing, unverified-DNS suppression, template forcing, and the magic-link validator were all removed, and every remaining instance was flipped to false in production on 2026-08-26 (20 production + 14 development). What is left is an inert boolean on the API surface, plus dead config.

Rollout ordering (important)

This removes enhanced_email_deliverability from the FAPI /v1/environment payload, where it is currently a required property. That is a breaking change for any client that requires the key.

  1. Merge and deploy clerk_go#21398 first (behavior removal).
  2. Ship the tolerant consumers - dashboard and backoffice - before the backend stops sending the field.
  3. Then merge the clerk_go API-surface PR.
  4. The SDK PRs are independent and can land on their own release cadence; the DAPI OpenAPI override for the SDK-sourced schema stays until clerk_go depends on a clerk-sdk-go release without the field.

Still outstanding after this

The ENHANCED_DELIVERABILITY_POSTMARK_SERVER_TOKEN secrets remain in four SOPS-encrypted files (production and staging, api_common and pubsubworker). They need someone with sops keys. The Postmark account itself also still needs decommissioning.

Changes in this repo

Removes the retired enhancedEmailDeliverability setting from @clerk/backend: the InstanceApi.updateInstance param, the InstanceSettings resource, and its JSON type. The param has been a server-side no-op since the delivery path was retired, and the Backend API now ignores it entirely.

Breaking change to a public type, so a major changeset is included. Flagged as draft for the SDK owners to slot into their release cadence - no rush, the server tolerates clients that still send the field.

Companion PRs

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview Aug 28, 2026 2:55pm
swingset Ready Ready Preview Aug 28, 2026 2:55pm

Request Review

@changeset-bot

changeset-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3d4c750

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@clerk/backend Major
@clerk/astro Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/hono Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Aug 26, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@9586

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@9586

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@9586

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@9586

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@9586

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@9586

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@9586

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@9586

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@9586

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@9586

@clerk/express

npm i https://pkg.pr.new/@clerk/express@9586

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@9586

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@9586

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@9586

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@9586

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@9586

@clerk/react

npm i https://pkg.pr.new/@clerk/react@9586

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@9586

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@9586

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@9586

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@9586

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@9586

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@9586

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@9586

commit: 3d4c750

@jescalan jescalan changed the title Remove the enhanced_email_deliverability API surface chore(backend): remove retired enhanced email deliverability setting Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant