The provided text appears to be a **changelog** for a software release, specifically for **Logto**, an open-source identity platform. The content is duplicated, with the same information appearing twice, likely due to a formatting or copy-paste error.

Here's a **cleaned-up and structured summary** of the key points from the changelog, focusing on the **v1.44.0 release**:

---

### 🚀 **Highlights (New Features & Enhancements)**

1. **MFA Trusted Devices**
   - Users can trust their browser after completing MFA and skip repeated prompts.
   - Admins can set trust duration (1–365 days) via Console or API.
   - Devices can be managed via Console, Account Center, or API.
   - Webhooks and audit logs track device creation and usage.

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`).
   - Users can be looked up by external identity (e.g., social or SSO 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. **reCAPTCHA Enterprise Score Threshold**
   - Admins can set a minimum score (0.0–1.0) for reCAPTCHA verification.
   - Applies only to invisible mode; checkbox mode is unaffected.

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

6. **`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.

7. **Refresh Tokens for Dynamic App Clients**
   - Experimental setting to enable refresh tokens for MCP clients (e.g., ChatGPT, Codex).
   - Adds `prompt=consent` to authorization requests when `offline_access` is requested.

8. **Management API SDK (`@logto/api`) Improvements**
   - `paginate()` returns a typed async iterator for paginated endpoints.
   - Better reliability: timeout, abort signals, and token caching.
   - Ergonomic improvements: lowercase methods, normalized URLs, object-style config.

---

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

- **Browser Auto-Translation**: Prevents blank pages during sign-in by disabling auto-translation.
- **Social Account Linking**: Fixes issues when a required identifier (e.g., phone) is already in use.
- **OIDC SSO Issuer Trailing Slash**: `https://idp.example.com/` and `https://idp.example.com` now resolve to the same discovery URL.
- **`none` Prompt Validation**: Prevents combining `none` with other prompt values.
- **API Error Messages**: Fall back to base language if regional language is unavailable.
- **Webhook Test Results**: Now stored per webhook, preventing cross-contamination.

---

### 🔧 **Connectors**

- **Apple**: 
  - Identifier field now labeled **Services ID**.
  - Setup instructions now cover Apple Developer portal (no Xcode required).
  - Troubleshooting includes `invalid_client` and `invalid_request` errors, including cache refresh delays (up to 24 hours).
- **DingTalk (web)**: `corpId` from token response is now stored in `rawData`.
- **Twilio SMS**: Optional API host configuration (e.g., for regional endpoints).

---

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

- **Database Migration Required**:
  - Two schema changes:
    1. Adds `authnRequestConfig` column to SAML app configs.
    2. Widens `users.id` and related columns to `varchar(128)`.
  - Run `npm run alteration deploy` or `logto db alteration deploy` after upgrading.
- **Rolling Back User ID Alteration**: Fails if any user ID exceeds the previous 12/21 char limit.
- **Custom User IDs**: Only available in self-hosted Logto (via `POST /api/users`).
- **Cap Requires Own Instance**: Must be publicly reachable; CSP is relaxed only when Cap is active.
- **Database Seeding**: Now checks for leftover PostgreSQL roles before seeding (avoids conflicts).

---

### 👥 **Contributors (Thanks!)**

- **@JunWang666** – User lookup by external identity
- **@Igor-Techsee** – SAML authentication policies
- **@konlanx** – `theme` authentication parameter
- **@Kathircpe** – reCAPTCHA score threshold
- **@nicolaj0** – Browser auto-translation opt-out
- **@Tyagiquamar** – `none` prompt validation & DingTalk `corpId`
- **@ryanchou1994** – PostgreSQL role check before seeding
- **@toyeshhm** – Kakao & Naver connector README 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)

---

### 📌 **Note**
This release is **not** for Logto Cloud users (e.g., custom user IDs, Cap, etc.) — these features are **OSS-only**.

---

Let me know if you'd like a **short summary**, **release notes for developers**, or **a comparison with the previous version**!