The provided text is a **release note** for **Logto**, an open-source identity platform. It details the new features, improvements, bug fixes, and contributions in version **1.44.0**.

Here's a breakdown of the key points:

---

### ✅ **New Features & Enhancements**

#### 1. **User Migration & Custom IDs**
- You can now **preserve existing user IDs** (e.g., `auth0|abc123`, UUIDs) during user migration by passing an `id` field in the `POST /api/users` request.
- If the ID is already taken, the request fails with `user.id_already_in_use`.
- **Note**: This feature is **only available in self-hosted Logto**, not in Logto Cloud.

#### 2. **Look Up Users by External Identity**
- The `/api/users` endpoint now supports filtering by external identity:
  - `identityType=social` + `identityProvider` (e.g., `dingtalk`)
  - `identityType=sso` + `identityProvider` (e.g., enterprise SSO issuer)
- Filters are combined with other search criteria using **AND logic**.

#### 3. **Bot Protection**
- **Cap (self-hosted CAPTCHA)**:
  - Open-source, proof-of-work CAPTCHA that doesn’t rely on third-party services.
  - Can be deployed as a standalone instance.
  - Configured via **Console > Security > CAPTCHA** or via API (`PUT /api/captcha-provider`).
  - Requires **Content Security Policy (CSP)** adjustments to allow dynamic JS evaluation.
- **reCAPTCHA Enterprise Score Threshold**:
  - Now configurable (0.0 to 1.0) in the console.
  - Previously fixed at 0.5.
  - Applies only to **invisible mode**; checkbox mode is unaffected.

#### 4. **SAML Authentication Policies**
- **Session Reuse**: Disable "Always force authentication" or set `authnRequestConfig.forceAuthn = false` to allow session reuse.
- **Actual Authentication Time**: SAML assertions now include the actual time of authentication.
- **Signed Authentication Requests**:
  - Enable via `requireSignedAuthnRequests = true`.
  - Provide the SP’s PEM-encoded RSA X.509 certificate.
  - Both HTTP-POST and HTTP-Redirect signatures are verified.
  - IdP metadata advertises the requirement (unsigned requests still accepted by default).

#### 5. **Theme Override via `theme` Parameter**
- Add `theme=light` or `theme=dark` to the authentication URL to override the user’s OS theme.
- Applies to the entire sign-in flow (including social/SAML callbacks and consent page).
- Ignored if dark mode is disabled in settings or if the value is invalid.

#### 6. **Refresh Tokens for Dynamic App Clients**
- **Dynamic apps** (using CIMD URLs as `client_id`) now support refresh tokens when requesting `offline_access`.
- **New setting**: "Add consent prompt for offline access" (experimental, off by default).
- When enabled, Logto adds `prompt=consent` to authorization requests that ask for `offline_access` but don’t include it.
- Requests with `prompt=none` are left unchanged.
- Audit logs show the added `consent` in `prompt`.

#### 7. **Management API SDK (`@logto/api`)**
- **Pagination Iterator**: `paginate()` returns a typed async iterator for paginated endpoints.
  ```ts
  for await (const user of apiClient.paginate('/api/users')) {
    console.log(user);
  }
  ```
- **Reliability Improvements**:
  - Token requests reject redirects.
  - Support for custom abort signals and 10-second timeout.
  - Concurrent requests share one token fetch.
  - Invalidated cached tokens are not retried indefinitely.
  - Network requests have configurable 10-second timeout with per-request cancellation.
  - Scope mismatch warnings are emitted once per distinct scope.
- **Ergonomics**:
  - Object-style config with tenant ID or explicit base URL.
  - Lowercase methods (`get()`, `post()`), with uppercase methods still available.
  - Trailing slashes in custom base URLs are normalized.

---

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

#### **Sign-in Experience**
- **Browser Auto-Translation**: Now disabled via `translate="no"` and `<meta name="google" content="notranslate">` to prevent blank pages during sign-in.
- **Social Account Linking**: When a required secondary identifier (e.g., phone) is already used, the "link and continue" option only appears if that identifier supports verification code sign-in.

#### **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 prompt values.
- **API Error Messages**: Fall back to base language if regional language is unavailable.

#### **Console**
- **Webhook Test Results**: Now stored per webhook, so results don’t appear on other webhooks’ pages.

---

### 🔌 **Connectors**
- **Apple**:
  - Identifier field now labeled **Services ID**.
  - Clarified that App ID (bundle ID) is rejected by Apple with `invalid_client`.
  - Setup instructions now cover Apple Developer portal (no Xcode required).
  - Troubleshooting covers `invalid_client` and `invalid_request`, including Apple’s 24-hour cache.
- **DingTalk (web)**:
  - `corpId` from the token response is now preserved in `rawData`.
- **Twilio SMS**:
  - New optional `apiHost` configuration to send requests through a specific Twilio region.

---

### 🛠️ **Self-Hosting & OSS Notes**
- **Database Migration Required**:
  - Two schema changes:
    1. Adds `authnRequestConfig` column to SAML app configs.
    2. Widens `users.id` and all referencing columns to `varchar(128)`.
  - Run `npm run alteration deploy` (or `logto db alteration deploy`) **before** starting the new version.
- **Rolling Back User ID Alteration**:
  - Fails if any user ID exceeds the previous 12 or 21-character limit.
- **Custom User IDs**:
  - Only available in **self-hosted** Logto.
- **Cap Requires Own Instance**:
  - You must run a publicly reachable Cap Standalone instance.
  - CSP is relaxed only when Cap is active.
- **Database Seeding**:
  - `logto db seed` now checks for leftover PostgreSQL roles before creating tables.
  - If roles from a previous database remain, it reports the conflict and explains why dropping the DB didn’t remove them.

---

### 🙏 **Contributors**
Huge thanks to the community for their contributions:
- **@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** – OIDC `none` prompt validation & DingTalk `corpId`
- **@ryanchou1994** – PostgreSQL role check
- **@toyeshhm** – Kakao & Naver connector docs
- **@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 focuses on:
- **Enhanced user management** (custom IDs, external identity lookup).
- **Improved bot protection** (Cap, reCAPTCHA threshold).
- **Better SAML and OIDC support** (session reuse, signed requests, theme override).
- **Better developer experience** (API SDK improvements, pagination).
- **Stability and UX fixes** (auto-translation, error messages, webhooks).
- **Self-hosting improvements** (database migration, role checks).

It’s a **major update** with significant improvements for **self-hosted deployments**, especially around **user identity management**, **security**, and **developer tooling**.