twenty/v2.40.0 sdk/v2.40.0
SimonGiebenhain/MonoNPHMSep 15, 2026 → Sep 15, 20260 days between releases
What's New
SDK introduces typed define* functions and new isAuditLogged metadata flag
New Features
- yarn twenty pull now generates typed define* files for views, layouts, and navigation
- New FieldMetadata flag isAuditLogged controls search vectors and timelines
- definePageLayoutWidget allows placing widgets on tabs the app does not own
- Logic functions can receive batched database events via batchSize setting
- applicationConnectedAccounts(applicationId) query returns all non-archived connections
Improvements
- yarn twenty apply no longer prunes translations without a locales/ folder
- Empty built files no longer abort the upload batch
- exportApplication fills manifest translations with compiled catalogs
- Apps can call reportAppConnectionAuthFailure to mark connections as broken
- Support for messageCampaign.scheduledAt to queue campaigns for later delivery
Upgrade Notes
Ensure you have removed the version field from TriggerInstallApplicationJobInput and updated AI model identifiers to the new tier names (EXTRA_FAST, FAST, BALANCED, SMART, EXTRA_SMART). Run yarn twenty pull to generate updated typed define* files for views, layouts, and navigation.
The Two Releases
twenty/v2.40.0
Sep 15, 2026· 1 month ago
This release introduces a five-tier AI model slider and deterministic tracking for app installs, alongside extensive workflow and usage limit enhancements.
Full release notessdk/v2.40.0
Sep 15, 2026· 1 month ago
The SDK focuses on developer tooling by introducing typed `define*` functions for round-trip sync and new metadata flags for search and audit logging.
Full release notes