Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/tidy-pandas-retire-eed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@clerk/backend': major
---

Remove the retired `enhancedEmailDeliverability` instance setting. The
underlying delivery path (Clerk's legacy shared-domain sending) has been
retired server-side, and the field is ignored by the Backend API, so it is
removed from `InstanceApi.updateInstance` params, the `InstanceSettings`
resource, and its JSON type.
2 changes: 0 additions & 2 deletions packages/backend/src/api/endpoints/InstanceApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export type UpdateParams = {
testMode?: boolean | null | undefined;
/** Whether the instance should be using the Have I Been Pwned (HIBP) service to check passwords for breaches. */
hibp?: boolean | null | undefined;
/** Whether the instance should send emails from "verifications@clerk.dev" instead of your domain. This can be helpful if you do not have a high domain reputation. */
enhancedEmailDeliverability?: boolean | null | undefined;
/** The support email for the instance. */
supportEmail?: string | null | undefined;
/** The npm version for `@clerk/clerk-js`. */
Expand Down
2 changes: 0 additions & 2 deletions packages/backend/src/api/resources/InstanceSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export class InstanceSettings {
readonly restrictedToAllowlist?: boolean | undefined,
readonly fromEmailAddress?: string | undefined,
readonly progressiveSignUp?: boolean | undefined,
readonly enhancedEmailDeliverability?: boolean | undefined,
) {}

static fromJSON(data: InstanceSettingsJSON): InstanceSettings {
Expand All @@ -15,7 +14,6 @@ export class InstanceSettings {
data.restricted_to_allowlist,
data.from_email_address,
data.progressive_sign_up,
data.enhanced_email_deliverability,
);
}
}
1 change: 0 additions & 1 deletion packages/backend/src/api/resources/JSON.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ export interface InstanceSettingsJSON extends ClerkResourceJSON {
restricted_to_allowlist: boolean;
from_email_address: string;
progressive_sign_up: boolean;
enhanced_email_deliverability: boolean;
}

export interface InvitationJSON extends ClerkResourceJSON {
Expand Down
Loading