github twentyhq/twenty sdk/v2.63.0

one hour ago

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

  • updateFocusedTab is removed; switch to updateTabPresence({ tabId, status }) where status is 'FOCUSED' or 'OPEN' (#30952) by @etiennejouan

🌟 Highlights

  • updateFocusedTab is removed; replace calls with updateTabPresence({ tabId, status: 'FOCUSED' | 'OPEN' }) (#30952)
  • twenty app build now works when source files import twenty-ui exports such as themeCssVariables at module level (#30933)
  • twenty-sdk/email is a new entry point exporting isWorkEmail, isWorkDomain, getDomainFromEmail, and the full provider list (#31308)
  • Provider references in defineConnectionProvider manifests now use flat identifiers; the old object form is deprecated (#31261)
  • ViewType.INBOX is now available; view validators accept it only on agentChatThread views (#31255)

✨ New features

  • addAgentChatThreadParticipants mutation is now available for adding participants to a chat thread (#31008) by @Bonapara
  • IconMessageHeart is newly exported from twenty-ui/icon (#31020) by @thomtrp
  • ApplicationAuthorization.applicationLogoUrl is now available in the API, resolved from the app's bundled logo or store card (#31090) by @FelixMalfait
  • Logic function manifests now accept a failureHandler to run when a queued job times out or exhausts its retries (#31129) by @abdulrahmancodes
  • Select field options now support an optional description via fieldMetadataOption (#31224) by @Weiko
  • ViewPresetFilter enum and presetFilter are added to View, CreateViewInput and ViewManifest; not settable via UpdateViewInput (#31239) by @bosiraphael
  • ViewType.INBOX is added; accepted only on agentChatThread views, excluded from layout menus and AI-creatable types (#31255) by @bosiraphael
  • twenty-sdk/email now exports isWorkEmail, isWorkDomain, getDomainFromEmail and the full provider list shared with the server (#31308) by @ehconitin

💅 Improvements & UX

  • View.isPrivate boolean replaces the visibility enum for view privacy; visibility stays for one more release (#31207) by @Weiko
  • Provider references in defineConnectionProvider manifests now use flat identifiers (e.g. identifyAccountLogicFunctionUniversalIdentifier); the object form is deprecated (#31261) by @FelixMalfait

🐛 Bug fixes

  • twenty app build now handles apps that import twenty-ui exports such as themeCssVariables at module level without crashing (#30933) by @BOHEUS

🔧 Developer & API

  • Removed unused prettier, @prettier/sync and vite-plugin-dts devDependencies from twenty-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)

Full Changelog: sdk/v2.62.0...sdk/v2.63.0

Don't miss a new twenty release

NewReleases is sending notifications on new releases.