Four things break. ViewType.INBOX is gone — use 'LIST'. ValidationRule* expression types are renamed to Expression* — update all imports with that prefix. AiChatToolCallApprovalCardLayout is removed; AiChatToolFrontComponent now owns onToolCallApprovalAnswer. The three legacy export command keys are removed.
ThemeProvider gains accentColor for workspace-scoped theming. Apps can declare inbox channels and address them in sendInboxMessage. definePageLayout now accepts conditionalAvailability on tabs and widgets, and twenty app pull round-trips those rules. twenty-ui ships a new ApprovalCard for custom AI tool shells.
twenty data export flags and output are unchanged; it uses exportQueryResults internally now.
⚠️ Breaking changes
ViewType.INBOXis removed — replace any'INBOX'string literals or type references with'LIST'. (#32133) by @bosiraphaelValidationRuleFieldDescriptor→ExpressionFieldDescriptor,ValidationRuleExpressionToken→ExpressionToken, and the matching compilation-result, bindings, error-code, error-params, and function-name types are all renamed — update every import that uses theValidationRule*prefix. (#32157) by @FelixMalfaitAiChatToolFrontComponentnow receivesonToolCallApprovalAnswerand renders withisBoxed={false}during approval flows;AiChatToolCallApprovalCardLayoutis removed — migrate custom tool front components to own their approval callback and useApprovalCardas the shell. (#32167) by @etiennejouan- Command menu engine keys
EXPORT_FROM_RECORD_INDEX,EXPORT_FROM_RECORD_SHOW, andEXPORT_MULTIPLE_RECORDSare removed — delete any references to these constants. (#32201) by @FelixMalfait
🌟 Highlights
ViewType.INBOXis removed — replace any'INBOX'references with'LIST'before upgrading. (#32133)ValidationRule*expression types renamed toExpression*— update all imports that use that prefix. (#32157)AiChatToolFrontComponentnow ownsonToolCallApprovalAnswerdirectly;AiChatToolCallApprovalCardLayoutis removed — rebuild custom tool approval cards usingApprovalCardfromtwenty-ui. (#32167)ThemeProvideraccepts a newaccentColorprop to scope accent tokens to a palette other than the default blue. (#31734)- Apps can set
conditionalAvailabilityon page layout tabs and widgets indefinePageLayout;twenty app pullnow includes those rules. (#32287) - Apps can declare inbox channels;
sendInboxMessagecan now address a declared channel directly. (#32294)
✨ New features
ThemeProvidergains anaccentColorprop; pass a palette name to scope all accent tokens on that subtree to a colour other than blue. (#31734) by @Bonapara- New
exportQueryResultssubscription accepts a raw GraphQLfindManyquery and streamsprogress,downloadPath, anderrorMessage— use it to export any record set a query describes, including lookup columns. (#31958) by @FelixMalfait PageLayout.filtersreturns saved date filters; pass afiltersarray toupdatePageLayoutWithTabsAndWidgetsto save or clear them, or omit it to leave them unchanged. (#32007) by @ehconitinApprovalCardis exported fromtwenty-ui/components/feedback; use it as the shell for custom AI tool approval, question, and form cards with optionaltitle,icon,hint,actions, andcontentVariantprops. (#32165) by @etiennejouan- Apps can set
conditionalAvailabilityon page layout tabs and widgets insidedefinePageLayout; the SDK exportsConditionalEvaluationNodefor sharing one rule across definitions, andtwenty app pullround-trips these rules into generated source. (#32287) by @Weiko - Apps can declare inbox channels;
sendInboxMessagecan address a declared channel by reference instead of resolving one at runtime by name. (#32294) by @FelixMalfait
💅 Improvements & UX
- The AI tool index exposes a nullable
operationfield on each entry, resolving{ operation, objectName }for record calls without name-string parsing. (#32128) by @FelixMalfait - View field groups accept a new
isCollapsedByDefaultflag to pre-collapse a section on the record page. (#32134) by @Bonapara
🐛 Bug fixes
- Renaming a many-to-one relation field now keeps
joinColumnNamein sync — fixes stale column references in record-changed events, timeline, and RLS relation hops. (#32242) by @charlesBochet
🔧 Developer & API
twenty data exportnow runs viaexportQueryResultsinternally; all flags (--filter,--order-by), output format, and CSV columns are unchanged. (#32021) by @FelixMalfait
🏗️ Internal changes (12)
- Align role permissions with the design and add per-rule field pickers (#31345) by @Bonapara
- Show which roles bypass email and calendar visibility settings (#31582) by @Bonapara
- [Workspace appearance 2/8] Use accent tokens (#31733) by @Bonapara
- [Workspace appearance 4/8] Add appearance columns (#31735) by @Bonapara
- [Workspace appearance 7/8, needs 1/8 3/8 6/8] Pick workspace accent color (#31738) by @Bonapara
- [Workspace appearance 8/8, needs 7/8] Set default interface scale (#31739) by @Bonapara
- Add the page layout filter table (#32005) by @ehconitin
- Let a page layout tab store a visibility rule (#32142) by @neo773
- Gate workspace appearance behind a feature flag (#32170) by @thomtrp
- Add dashboard filter widget binding storage (#32229) by @ehconitin
- Add the settings search feature flag (#32233) by @thomtrp
- feat(emails): forward an email from a thread (#32283) by @FelixMalfait
🎉 New contributors
- @mintlify[bot] made their first contribution in #32083
- @b84330808 made their first contribution in #30454
Full changelog (27 PRs)
- Align role permissions with the design and add per-rule field pickers (#31345) by @Bonapara
- Show which roles bypass email and calendar visibility settings (#31582) by @Bonapara
- [Workspace appearance 2/8] Use accent tokens (#31733) by @Bonapara
- [Workspace appearance 3/8] Let ThemeProvider switch accents (#31734) by @Bonapara
- [Workspace appearance 4/8] Add appearance columns (#31735) by @Bonapara
- [Workspace appearance 7/8, needs 1/8 3/8 6/8] Pick workspace accent color (#31738) by @Bonapara
- [Workspace appearance 8/8, needs 7/8] Set default interface scale (#31739) by @Bonapara
- Export records from a findMany query, lookup columns included (#31958) by @FelixMalfait
- Add the page layout filter table (#32005) by @ehconitin
- Add the page layout filter API (#32007) by @ehconitin
- [2.67] Export with exportQueryResults in twenty data export (#32021) by @FelixMalfait
- chore: bump version to 2.67.0 (#32041) by @twenty-pr
- Clean up the AI tool-call UI and share the proposed tool call schema (#32128) by @FelixMalfait
- [BREAKING_CHANGE] Drop the inbox view type (#32133) by @bosiraphael
- Show field groups as sections on record pages (#32134) by @Bonapara
- Let a page layout tab store a visibility rule (#32142) by @neo773
- Name the shared expression layer after expressions, not validation rules (#32157) by @FelixMalfait
- feat(ui): add ApprovalCard and let a host dock Card onto the surface below (#32165) by @etiennejouan
- feat(ai): let app front components draw their whole approval card [BREAKING_CHANGE] (#32167) by @etiennejouan
- Gate workspace appearance behind a feature flag (#32170) by @thomtrp
- [BREAKING_CHANGE] Remove the record page export and its legacy engine keys (#32201) by @FelixMalfait
- Add dashboard filter widget binding storage (#32229) by @ehconitin
- Add the settings search feature flag (#32233) by @thomtrp
- Keep the join column name of a renamed relation field in sync (#32242) by @charlesBochet
- feat(emails): forward an email from a thread (#32283) by @FelixMalfait
- Let apps define visibility rules on page layout tabs and widgets (#32287) by @Weiko
- Let applications define inbox channels (#32294) by @FelixMalfait
Full Changelog: sdk/v2.66.0...sdk/v2.67.0