The provided text appears to be a **changelog** for a software release, specifically for **Logto**, an open-source identity platform. The content is duplicated, and it seems to be a combination of two separate changelog entries (likely from different sources or versions) that have been merged together.

Let’s break this down and clarify what’s going on.

---

### 🔍 **What is this?**
This is a **release changelog** for **Logto**, detailing new features, improvements, bug fixes, and changes in version **v1.44.0** (based on the comparison link: `v1.43.0...v1.44.0`).

It includes:
- **Highlights** of major features
- **New features & enhancements**
- **Bug fixes & stability improvements**
- **Connectors** (third-party integrations)
- **Self-hosting & OSS notes**
- **Contributors** who helped ship the release

---

### 📦 **Key Highlights (v1.44.0)**

#### 1. **MFA Trusted Devices**
- Users can now **trust their browser** after completing MFA.
- Admins can set trust duration (1–365 days), restrict per organization, and manage devices via Console, API, or Account Center.
- Webhooks and audit logs support tracking.

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

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

#### 4. **reCAPTCHA Enterprise Score Threshold**
- Now configurable (0.0–1.0) in **Console > Security > CAPTCHA**.
- Affects **invisible mode** only; checkbox mode unchanged.

#### 5. **Authentication Policies for SAML Apps**
- Allow **session reuse** (no forced re-authentication).
- Include **actual authentication time** in SAML assertions.
- Support **signed authentication requests** with RSA X.509 certificates.

#### 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**
- Enabled via **"Add consent prompt for offline access"** in dynamic app settings.
- Helps **MCP clients** (e.g., ChatGPT, Codex) get refresh tokens without requiring `prompt=consent`.

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

---

### 🐞 **Bug Fixes & Stability**
- **Browser auto-translation**: Now disabled on sign-in pages to prevent blank screens.
- **Social account linking**: Fixed issue where linking failed due to conflicting identifiers.
- **OIDC SSO issuers**: Trailing slashes (`/` vs no `/`) 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.
- **Webhook test results**: Now stored per webhook (no more cross-contamination).

---

### 🧩 **Connectors**
- **Apple**: Now labeled "Services ID" (not App ID), with better troubleshooting for `invalid_client`.
- **DingTalk (web)**: `corpId` now preserved in `rawData`.
- **Twilio SMS**: Optional API host config (e.g., for regional endpoints).

---

### 🛠️ **Self-Hosting & OSS Notes**
- **Database migration required**:
  - Add `authnRequestConfig` column to SAML apps.
  - Widen `users.id` and references to `varchar(128)`.
  - Run `npm run alteration deploy` or `logto db alteration deploy` after upgrade.
- **Rolling back user ID change fails** if any ID > 12/21 chars.
- **Custom user IDs** only work in **self-hosted** (not Cloud).
- **Cap requires your own instance**.
- **Database seeding** now checks for leftover PostgreSQL roles before creating tables.

---

### 👥 **Contributors**
Thanks to the community for contributing to this release:
- **@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** – 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)

---

### 📌 Summary
This release (**v1.44.0**) brings **significant improvements** to:
- **User experience** (longer IDs, theme control, MFA trust)
- **Security & bot protection** (Cap, reCAPTCHA threshold)
- **Developer tooling** (API SDK, dynamic app support)
- **Self-hosting flexibility** (custom IDs, migration support)

It’s a **major update** for both **Logto Cloud** and **self-hosted OSS** users.

---

### ✅ What You Should Do
If you're using **Logto**:
1. **Check your version** – Are you on v1.43.0 or earlier?
2. **Review the upgrade guide** if self-hosting.
3. **Run database migrations** if upgrading.
4. **Test new features** like MFA trusted devices or Cap.
5. **Check your connectors** (Apple, DingTalk, Twilio) for updated behavior.

---

Let me know if you'd like a **summary for developers**, **for admins**, or **a comparison with previous versions**!