The provided content appears to be a **changelog** for **Logto**, an open-source identity platform, specifically for the **v1.44.0** release. It includes updates across multiple areas: **authentication**, **security**, **connectors**, **self-hosting**, and **contributor contributions**.

Here's a **structured summary** of the key changes and features in this release:

---

### 🔧 **Highlights (New Major Features)**

1. **MFA Trusted Devices**
   - Users can trust their browser after completing MFA and skip future prompts.
   - Admins can set trust duration (1–365 days), restrict per organization, and manage devices via Console, Account Center, or APIs.
   - Webhooks and audit logs support tracking of trusted device events.

2. **Longer User IDs (Up to 128 chars)**
   - `users.id` and related columns now support up to 128 characters.
   - Self-hosted Logto allows custom `id` on user creation (e.g., `auth0|abc123`), aiding migration.
   - Users can be looked up by external identity (e.g., social or SSO provider ID).

3. **Cap – Self-Hosted CAPTCHA**
   - Open-source, self-hosted CAPTCHA solution for regions where Cloudflare Turnstile or reCAPTCHA are unreliable.
   - Requires a publicly reachable Cap Standalone instance.
   - Content Security Policy is relaxed only when Cap is active.

4. **Authentication Policies for SAML Apps**
   - Allow SAML apps to reuse existing Logto sessions.
   - Support for signed authentication requests and reporting actual authentication time in assertions.

5. **`theme` Authentication Parameter**
   - Pass `theme=light` or `theme=dark` to override the sign-in UI theme.
   - Useful for apps with their own light/dark toggle.

6. **Refresh Tokens for Dynamic App Clients**
   - Enabled for clients using CIMD (e.g., ChatGPT, Codex) via the **"Add consent prompt for offline access"** setting.
   - Helps avoid frequent re-authentication when access tokens expire.

---

### 🛠️ **New Features & Enhancements**

#### ✅ **MFA Trusted Devices**
- **Tenant policy**: Enable in Console > Multi-factor authentication.
- **Organization-level restrictions**: Can tighten tenant policy.
- **Trust page**: Appears after MFA setup/sign-in.
- **Device management**: Admins and users can view/remove trusted devices via Console, APIs, or Account Center.

#### ✅ **User ID Migration Support**
- **Longer IDs**: Up to 128 characters.
- **Custom ID on create**: Only in **self-hosted** Logto.
- **External identity lookup**: Use `GET /api/users` with `identityType`, `identityProvider`, and `identityId`.

#### ✅ **Bot Protection**
- **Cap**: Self-hosted CAPTCHA (no third-party dependency).
- **reCAPTCHA Enterprise**: Now configurable score threshold (0.0–1.0) for invisible mode.

#### ✅ **SAML Authentication Policies**
- **Session reuse**: Disable "Always force authentication" or set `forceAuthn: false`.
- **Signed requests**: Enable with `requireSignedAuthnRequests` and provide SP certificate.
- **Actual auth time**: Included in SAML assertions.

#### ✅ **`theme` Parameter**
- Override sign-in theme via `theme=light` or `theme=dark`.
- Applies across the entire flow (including social/SAML callbacks).

#### ✅ **Dynamic App Client Refresh Tokens**
- **Experimental**: Enabled via "Add consent prompt for offline access".
- Only affects dynamic apps (CIMD-based), not registered apps.

#### ✅ **Management API SDK (`@logto/api`)**
- **Pagination iterator**: `paginate()` returns a typed async iterator.
- **Reliability**: Better error handling, timeout control, and token caching.
- **Ergonomics**: Lowercase methods (`get()`, `post()`), normalized URLs, and object-style config.

---

### 🐛 **Bug Fixes & Stability Improvements**

#### 🖥️ **Sign-in Experience**
- **Browser auto-translation**: Now disabled via `translate="no"` and `<meta name="google" content="notranslate">` to prevent blank pages.
- **Social account linking**: Fixed issue where linking failed due to conflicting identifiers.

#### 🔐 **Enterprise SSO & OIDC**
- **Trailing slash in OIDC issuers**: `https://idp.example.com/` and `https://idp.example.com` now resolve to the same discovery URL.
- **`none` prompt validation**: Prevents combining `none` with other prompts.
- **API error messages**: Fall back to base language if regional language is unavailable.

#### 🖥️ **Console**
- **Webhook test results**: Now stored per webhook (no more cross-contamination).

---

### 🧩 **Connectors**

| Connector | Update |
|--------|--------|
| **Apple** | Identifier field renamed to **Services ID**; setup instructions now cover Apple Developer portal (no Xcode required). Troubleshooting includes `invalid_client` and `invalid_request` with cache refresh notes. |
| **DingTalk (web)** | `corpId` from token response is now preserved in `rawData`. |
| **Twilio SMS** | New optional `apiHost` config to send via non-default regions (e.g., `api.twilio.com`). |

---

### 🖥️ **Self-Hosting & OSS Notes**

1. **Database Migration Required**
   - Two schema changes:
     - Add `authnRequestConfig` column to SAML app configs.
     - Widen `users.id` and references to `varchar(128)`.
   - Run: `npm run alteration deploy` or `logto db alteration deploy` **before** starting the new version.

2. **Rolling Back User ID Alteration**
   - Fails if any stored user ID exceeds 12 or 21 characters.

3. **Custom User IDs**
   - Only available in **self-hosted** Logto.

4. **Cap Requires Own Instance**
   - Must be publicly reachable.
   - CSP is relaxed only when Cap is active.

5. **Database Seeding**
   - Now checks for leftover PostgreSQL roles before creating tables.
   - If conflicts exist, it explains why and guides cleanup.

---

### 👥 **Contributors (Thanks!)**
- **@JunWang666** – User lookup by external identity
- **@Igor-Techsee** – SAML authentication policies
- **@konlanx** – `theme` parameter
- **@Kathircpe** – reCAPTCHA score threshold
- **@nicolaj0** – Browser auto-translation opt-out
- **@Tyagiquamar** – `none` prompt validation & DingTalk `corpId`
- **@ryanchou1994** – PostgreSQL role check
- **@toyeshhm** – Kakao & Naver connector fixes
- **@darcyYe** – Per-webhook test results

---

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

---

### 📌 **Key Takeaways**
- **Major upgrade for self-hosted users**: Database migration required.
- **Improved security & UX**: MFA trust, CAPTCHA, and theme control.
- **Better developer experience**: Enhanced API SDK and clearer error messages.
- **Community-driven**: Many first-time contributors helped shape this release.

---

Let me know if you'd like a **cheat sheet**, **upgrade checklist**, or **summary for developers**!