The provided text appears to be a **release notes document** for **Logto**, a developer platform for authentication and identity management. It details changes, improvements, bug fixes, and updates across various components of the Logto system, including:

---

### 🔧 **Key Highlights from the Release Notes**

#### ✅ **New Feature: SSO Connector Visibility Control**
- A new setting: **"Show SSO connector names and logos before email match"** is now available in:
  - `Console > Sign-in experience > Sign-up and sign-in > Advanced options`
- **Default**: On (current behavior)
- **Off**: Only shows SSO connectors after an email domain matches
- **Purpose**: Enhances privacy and reduces clutter on the sign-in page.

---

#### 🛡️ **Security Hardening: Account API & Third-Party Apps**
- **First-party only policy** now applies to:
  - Retrieving/refreshing social or enterprise SSO provider tokens:
    - `GET /api/my-account/identities/:target/access-token`
    - `GET /api/my-account/sso-identities/:connectorId/access-token`
    - `PUT /api/my-account/identities/:target/access-token`
  - Reading backup codes, sessions, grants, and trusted devices
- **Third-party apps** now receive:
  ```json
  403 auth.third_party_application_forbidden
  ```
- **First-party apps** (e.g., Account Center, Console) are unaffected.
- **Action Required**: If your integration uses stored provider tokens, switch to a **first-party app**.

---

#### 📡 **Connector Request Errors (Privacy & Logging)**
- When a connector request fails (e.g., timeout), **sensitive data** (request bodies, headers, query strings) is **no longer logged or exposed**.
- Only the **error name, code, message**, and **URL method/path** are retained.
- **Improves security and reduces log noise**.

---

#### 🔐 **Single-Use Codes & Tokens**
- **Authorization codes**, **device codes**, **pushed auth requests**, and **one-time tokens** are now **accepted only once**.
- Reuse results in:
  - `invalid_grant` (for codes)
  - `invalid_request_uri` (for pushed auth)
  - `one_time_token.token_consumed` (for one-time tokens)
- **Refresh tokens** still allow reuse within their window.

---

#### 🧩 **SAML Applications**
- Rejects malformed SAML XML (e.g., unescaped `&`, mismatched tags) with:
  ```json
  400 application.saml.invalid_saml_request
  ```
- Audit log now includes `samlRequestError` for malformed requests.
- Non-decodable requests now return **400** instead of **500** (unless signed auth is required).

---

#### 🌐 **Logto Tunnel (v0.3.12)**
- **Static file serving** from `--experience-path` is now more secure:
  - **Symlinks resolved**: Files outside the experience path return **404**.
  - **Range headers**: Clamped to file size; unsatisfiable ranges return **416**.

---

#### 🧪 **Request Validation Improvements**
- `guard.invalid_input` now lists **only the first 100 validation issues**.
- `POST /callback/:connectorId` and `POST /account/callback/social/:connectorId` stop validating after **100 invalid fields** (error response unchanged).

---

### 🐞 **Bug Fixes & Stability**

#### 📱 **Sign-in Experience**
- Fixed blank sign-in page on **older Safari/iOS (pre-16.4)**.
- Now compiled for **iOS 15+ and Safari 15+**.

#### 🌐 **Social Sign-in**
- **Unreachable provider**: Returns `502 connector.social_provider_unreachable` with network error and connector ID.
- **Declined authorization**: Returns `401 connector.authorization_failed` with provider-specific error codes.
- **Provider error messages**: Now show actual provider messages instead of `{}`.

#### 🔁 **OAuth & OIDC**
- **Space-padded scopes** (e.g., `" offline_access"`) are now **ignored**.
- Leading/trailing spaces are trimmed; empty scopes are treated as omitted.

#### 🧰 **Management API**
- **Unknown `customClientMetadata` keys** now rejected with `400 guard.invalid_input`.
- **Pagination links** now preserve **all repeated query parameters** (not joined).
- **One-time token count** now filters by `email` or `status` in `GET /api/one-time-tokens`.
- **Manual unlock**: Clears **security verification lockouts >60 mins**.

#### 🧩 **SAML Applications**
- Fixed **attribute placeholders** (e.g., `{attr...}`) now return actual user values.

#### 🖥️ **Console & Account Center**
- **Organization selector** now filters during search.
- **Role permissions**: Full API resource names shown; truncated names have tooltips.
- **Account Center branding**: No "Powered by Logto" during load when branding is hidden.

#### 📚 **Documentation**
- Fixed **Swift integration guide** (consistent client name, fixes `Cannot find 'client' in scope`).

---

### 🔌 **Connectors**
- **Standard OAuth 2.0 / OIDC**:
  - Accepts `expires_in` as string (e.g., Criipto).
  - Accepts `scope` as JSON array (e.g., Twitch), normalized to space-delimited string.
- **Patreon**:
  - Migrated from v1 to **v2 identity endpoint** (fixes `410 Gone`).
- **Connector Kit**:
  - `jsonGuard` and `jsonObjectGuard` now build schema **once**, improving performance.

---

### 🧱 **Self-Hosting & OSS Notes**
- **Node.js 26** is now the **default** in the official Docker image.
- **Minimum versions**:
  - Node.js 22.23.4, 24.22.1, 26.12.1 (includes **October 2026 security fixes**).
- **Database migration required**:
  - New columns for SAML static attributes and new sign-in/Account Center settings.
  - Run: `npm run alteration deploy` or `logto db alteration deploy`.
- **Database connection retries**:
  - Now retry on `ENOTFOUND`, `EAI_AGAIN` (DNS failures).
  - CLI commands (`db seed`, `db alteration deploy`) now retry transient errors.
- **Admin endpoint warning**:
  - Logs warning if `/console` request reaches default tenant with mismatched origin.
  - Check `Console URL` and `ADMIN_ENDPOINT`.

---

### 👥 **Contributors**
Huge thanks to:
- **@nicolaj0** – Multiple contributions (webhooks, error handling, DNS retries, etc.)
- **@RaphaelFakhri** – First contribution: pagination links
- **@mvanhorn** – `ADMIN_ENDPOINT` warning
- **@timokoethe** – Swift guide consistency

---

### 🔗 **Full Changelog**
- [v1.45.0 → v1.46.0](https://github.com/logto-io/logto/compare/v1.45.0...v1.46.0)

---

### 📦 **Package Updates**
- `@logto/tunnel@0.3.12`
- `@logto/core-kit@2.14.0`
- `@logto/core@1.46.0`

---

### ✅ **Summary**
This release focuses on:
- **Security hardening** (API access, logging, error handling)
- **User experience** (sign-in flow, error messages)
- **Stability & performance** (database, validation, connectors)
- **Developer experience** (documentation, OSS support)

It’s a **significant update** for both **self-hosted** and **cloud users**, with **important migration steps** (database alterations) and **security policy changes**.

---

Let me know if you'd like a **summary for developers**, **ops teams**, or **end-users**!