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 to skip repeated prompts.
   - Admins can set trust duration (1–365 days) and manage devices via Console, APIs, or Account Center.
   - Webhooks and audit logs support tracking of trusted device events.

2. **Longer User IDs & Migration Support**
   - User IDs 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 provider ID).

3. **Cap – Self-Hosted CAPTCHA**
   - Introduces **Cap**, an open-source, self-hosted CAPTCHA solution for regions where Cloudflare Turnstile or reCAPTCHA are unreliable.
   - Requires a publicly reachable Cap Standalone instance.

4. **reCAPTCHA Enterprise Score Threshold**
   - Configurable minimum score (0.0–1.0) for reCAPTCHA Enterprise in the Console.
   - Applies only to invisible mode; checkbox mode is unaffected.

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

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

7. **Refresh Tokens for Dynamic App Clients**
   - Enables refresh tokens for **dynamic apps** (e.g., ChatGPT, Codex) using CIMD.
   - Requires enabling "Add consent prompt for offline access" in app settings.

8. **Management API SDK (`@logto/api`) Improvements**
   - **Pagination iterator**: `paginate()` returns a typed async iterator.
   - **Reliability**: Better token handling, timeout control, and error logging.
   - **Ergonomics**: Lowercase methods (`get()`, `post()`), URL normalization, and object-style config.

---

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

- **Browser Auto-Translation**: Prevents blank pages during sign-in by disabling auto-translation (`translate="no"` and `<meta name="google" content="notranslate">`).
- **Social Account Linking**: Fixes issues when a required secondary 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 Language Fallback**: Falls back to base language if regional language is unavailable.
- **Webhook Test Results**: Now stored per webhook, preventing cross-webhook confusion.

---

### 🔧 **Connectors**

- **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 (up to 24 hours).
- **DingTalk (web)**:
  - `corpId` from token response is now preserved in `rawData`.
- **Twilio SMS**:
  - New 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 stored user ID exceeds the previous 12/21-character limit.
- **Custom User IDs**:
  - Only available in **self-hosted Logto** (not in Logto Cloud).
- **Cap Requirements**:
  - Requires a **publicly reachable Cap Standalone** instance.
  - Content Security Policy is relaxed only when Cap is active.
- **Database Seeding**:
  - Now checks for leftover PostgreSQL roles before seeding.
  - Reports conflicts and explains why dropping the DB didn’t remove roles.

---

### 👥 **Contributors**
Huge thanks to the community for their contributions:

| Contributor | Contribution |
|-----------|-------------|
| [@JunWang666](https://github.com/JunWang666) | User lookup by external identity |
| [@Igor-Techsee](https://github.com/Igor-Techsee) | SAML authentication policies |
| [@konlanx](https://github.com/konlanx) | `theme` authentication parameter |
| [@Kathircpe](https://github.com/Kathircpe) | reCAPTCHA Enterprise score threshold |
| [@nicolaj0](https://github.com/nicolaj0) | Browser auto-translation opt-out |
| [@Tyagiquamar](https://github.com/Tyagiquamar) | OIDC `none` prompt validation & DingTalk `corpId` |
| [@ryanchou1994](https://github.com/ryanchou1994) | PostgreSQL role check before seeding |
| [@toyeshhm](https://github.com/toyeshhm) | Kakao & Naver connector README fixes |
| [@darcyYe](https://github.com/darcyYe) | Per-webhook test results |

---

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

---

### 📌 **Notes**
- The changelog is **duplicated** in the input.
- The release is **v1.44.0**.
- The **`@logto/phrases@1.32.0`** tag at the end likely refers to a dependency or internal package version.

Let me know if you'd like a **PDF version**, **release notes summary**, or **technical deep dive** on any feature!