One breaking change: updateFocusedTab is removed. Switch to updateTabPresence({ tabId, status }) where status is 'FOCUSED' or 'OPEN'. twenty app build is also fixed: it no longer crashes when a source file imports a twenty-ui export at module level.
twenty-sdk gains a new twenty-sdk/email entry point exporting isWorkEmail, isWorkDomain, getDomainFromEmail, and the full provider list. Apps can now share the server's email classifier instead of maintaining their own.
ViewType.INBOX and a presetFilter field land on view types. Provider references in defineConnectionProvider manifests now use flat identifiers; the object form is deprecated. IconMessageHeart is newly exported from twenty-ui/icon and select field options gain an optional description.
⚠️ Breaking changes
updateFocusedTabis removed; switch toupdateTabPresence({ tabId, status })where status is'FOCUSED'or'OPEN'(#30952) by @etiennejouan
🌟 Highlights
updateFocusedTabis removed; replace calls withupdateTabPresence({ tabId, status: 'FOCUSED' | 'OPEN' })(#30952)twenty app buildnow works when source files importtwenty-uiexports such asthemeCssVariablesat module level (#30933)twenty-sdk/emailis a new entry point exportingisWorkEmail,isWorkDomain,getDomainFromEmail, and the full provider list (#31308)- Provider references in
defineConnectionProvidermanifests now use flat identifiers; the old object form is deprecated (#31261) ViewType.INBOXis now available; view validators accept it only onagentChatThreadviews (#31255)
✨ New features
addAgentChatThreadParticipantsmutation is now available for adding participants to a chat thread (#31008) by @BonaparaIconMessageHeartis newly exported fromtwenty-ui/icon(#31020) by @thomtrpApplicationAuthorization.applicationLogoUrlis now available in the API, resolved from the app's bundled logo or store card (#31090) by @FelixMalfait- Logic function manifests now accept a
failureHandlerto run when a queued job times out or exhausts its retries (#31129) by @abdulrahmancodes - Select field options now support an optional
descriptionviafieldMetadataOption(#31224) by @Weiko ViewPresetFilterenum andpresetFilterare added toView,CreateViewInputandViewManifest; not settable viaUpdateViewInput(#31239) by @bosiraphaelViewType.INBOXis added; accepted only onagentChatThreadviews, excluded from layout menus and AI-creatable types (#31255) by @bosiraphaeltwenty-sdk/emailnow exportsisWorkEmail,isWorkDomain,getDomainFromEmailand the full provider list shared with the server (#31308) by @ehconitin
💅 Improvements & UX
View.isPrivateboolean replaces thevisibilityenum for view privacy;visibilitystays for one more release (#31207) by @Weiko- Provider references in
defineConnectionProvidermanifests now use flat identifiers (e.g.identifyAccountLogicFunctionUniversalIdentifier); the object form is deprecated (#31261) by @FelixMalfait
🐛 Bug fixes
twenty app buildnow handles apps that importtwenty-uiexports such asthemeCssVariablesat module level without crashing (#30933) by @BOHEUS
🔧 Developer & API
- Removed unused
prettier,@prettier/syncandvite-plugin-dtsdevDependencies fromtwenty-sdk(#31226) by @mabdullahabaid
🏗️ Internal changes (10)
- Store a scope, a label and a summary operation on view fields (#30759) by @FelixMalfait
- Let a page layout widget store and read its visibility rule as a tree (#30885) by @neo773
- Fix application billing follow-ups (#31173) by @martmull
- Exempt API keys from channel visibility behind a feature flag (#31215) by @charlesBochet
- Show app subscription prices on install and notify billing members of billed connections (#31217) by @martmull
- Copy stored page layout widget rules into the conditional availability tree (#31221) by @neo773
- Float chat message actions over a hover card and add day separators (#31237) by @Bonapara
- Let a workspace override whether a related record path is inherent or active (#31281) by @charlesBochet
- Let a row-level rule filter the member's relation rows it reads through (#31319) by @charlesBochet
- Add the inbox object naming feature flag (#31338) by @bosiraphael
Full changelog (24 PRs)
- Store a scope, a label and a summary operation on view fields (#30759) by @FelixMalfait
- Let a page layout widget store and read its visibility rule as a tree (#30885) by @neo773
- Fix CLI manifest mock so named UI imports resolve at load time (#30933) by @BOHEUS
- [BREAKING_CHANGE] Show inbox members as online while they have a Twenty tab open (#30952) by @etiennejouan
- Add and assign chat participants from one panel (#31008) by @Bonapara
- Show Favorite chats with its own label and icon (#31020) by @thomtrp
- Show the granted scopes and the app logo in profile Connected apps (#31090) by @FelixMalfait
- Let logic functions declare a failure handler (#31129) by @abdulrahmancodes
- Fix application billing follow-ups (#31173) by @martmull
- chore: bump version to 2.63.0 (#31190) by @twenty-pr
- Store view privacy in an isPrivate column (#31207) by @Weiko
- Exempt API keys from channel visibility behind a feature flag (#31215) by @charlesBochet
- Show app subscription prices on install and notify billing members of billed connections (#31217) by @martmull
- Copy stored page layout widget rules into the conditional availability tree (#31221) by @neo773
- Add descriptions to select field options (#31224) by @Weiko
- chore: remove unused prettier and vite-plugin-dts devDependencies from twenty-sdk (#31226) by @mabdullahabaid
- Float chat message actions over a hover card and add day separators (#31237) by @Bonapara
- Add a preset filter to views (#31239) by @bosiraphael
- Add an inbox view type (#31255) by @bosiraphael
- Write provider references as universal identifiers (#31261) by @FelixMalfait
- Let a workspace override whether a related record path is inherent or active (#31281) by @charlesBochet
- Share the work email check with apps through twenty-sdk/email (#31308) by @ehconitin
- Let a row-level rule filter the member's relation rows it reads through (#31319) by @charlesBochet
- Add the inbox object naming feature flag (#31338) by @bosiraphael
Full Changelog: sdk/v2.62.0...sdk/v2.63.0