github twentyhq/twenty twenty/v2.68.1

latest release: sdk/v2.68.0
27 minutes ago

Four new formula aggregates — join(), countUnique(), first(), and last() — let stored formulas pull values from related records. Settings search now covers every page, tab, and section: type '2FA' or 'blocklist' and land there directly. Links in AI answers open Twenty pages in place as record chips; external URLs appear as clickable links.

CalDAV event creation was silently writing to read-only calendars and reporting success. It now picks the first writable calendar. Email filters on additional addresses were case-sensitive while primary email was not, causing workflows to create duplicate records. Both are fixed.

Workspace activation runs faster — most metadata INSERTs now batch, cutting roughly 1,300 serial writes to under 300. AI chat tool catalog rebuilds are faster too: permission checks run once per metadata snapshot.

🌟 Highlights

  • Links in AI chat answers open Twenty pages in place as record chips with avatars; external URLs appear as clickable links instead of raw text. (#32073)
  • Four new formula aggregates — join(), countUnique(), first(), and last() — let formulas summarize and extract values from related records. (#32356)
  • Settings search now reaches every page, tab, and section — type a keyword like '2FA' or 'blocklist' and jump straight there. (#32376)
  • CalDAV event creation now picks the first writable calendar; previously it wrote to read-only calendars on providers like Nextcloud and reported success. (#32343)
  • Email filters now match case-insensitively on additional addresses, stopping workflows from creating duplicate records when cases differ. (#32403)
  • AI chat tool catalog builds roughly four times faster — permission checks now run once per metadata snapshot instead of once per tool call. (#32029)

✨ New features

  • Links in AI answers open Twenty pages in place as record chips with avatars; external URLs appear as clickable links; pasted URLs collapse to the record or page name. (#32073) by @Bonapara
  • Marketplace app upgrades that request broader permissions now wait for workspace-admin approval before taking effect (behind a feature flag; UI pending). (#32119) by @prastoin
  • Dashboard filter widgets now save and reload which data field each filter maps to on each widget. (#32230) by @ehconitin
  • AI and MCP tools can now change how a widget displays a field and toggle inline editing on table and kanban widgets. (#32258) by @Weiko
  • The Home tab in the sidebar can be customized like any other tab, with a reset option to restore the default. (#32282) by @Bonapara
  • App visibility rules can now check whether the current role can read or update a specific object type, not just the role name. (#32355) by @neo773
  • New join() formula aggregate: concatenates a related field's values across related records into a single comma-separated text string, skipping empty values, capped at 50. (#32356) by @FelixMalfait
  • New countUnique() formula aggregate: counts how many distinct values a related field holds across related records. (#32361) by @FelixMalfait
  • New first() and last() formula aggregates: return the value of a field on the oldest or newest related record that has a non-empty value. (#32362) by @FelixMalfait

💅 Improvements & UX

  • Approving or rejecting an AI action no longer posts an 'Approve: ...' chat message — the approval card itself records the decision and who made it. (#31934) by @etiennejouan
  • App sync and export skip private views, workflows, and agents, keeping member-specific metadata out of workspace manifests. (#32045) by @Weiko
  • MCP server instructions now correctly name list_webhooks and list_navigation_menu_items in their plural form. (#32297) by @FelixMalfait
  • Settings search now finds sections on the Experience page — type 'language' or 'dark mode' to reach them directly. (#32301) by @thomtrp
  • Settings search now finds sections on the General page (workspace name, logo, and Danger zone). (#32304) by @thomtrp
  • Settings search now finds Billing's 'Manage billing information' section by typing 'invoices' or 'payment method'. (#32305) by @thomtrp
  • Settings search now finds tabs and sections on the Members page, including Approved Domains and Invite by email. (#32308) by @thomtrp
  • Settings search now finds tabs on the AI settings page — MCP, Models, Skills, Tools, and Usage. (#32309) by @thomtrp
  • Settings search now finds sections on the Profile page, including 2FA, Avatar, Email, and Danger zone. (#32310) by @thomtrp
  • Settings search now finds tabs on the Apps preferences page, including Accounts and Calendar. (#32312) by @thomtrp
  • The Layout settings page now appears in settings search results. (#32313) by @thomtrp
  • Settings search now finds tabs on the Apps page — Marketplace and Installed. (#32314) by @thomtrp
  • Settings search now finds sections on the Communication page — type 'blocklist' or 'tracking' to reach them. (#32315) by @thomtrp
  • Settings search now finds sections on the Community page (Discord, Partners, and Changelog). (#32316) by @thomtrp
  • Settings search now finds the Admin Panel's General tab and Recent Users section. (#32317) by @thomtrp
  • New chat drafts — to AI or to a teammate — now show a consistent centered intro with avatars and status, composer at the bottom. (#32318) by @Bonapara
  • GPT-6.2 Sol replaces GPT-6.1 Sol at the top of Smart and Extra Smart chains, with better benchmark scores at the same list price. (#32352) by @twenty-pr-author
  • In Settings → Billing → Apps, hovering a per-connected-account charge now shows which workspace members connected accounts and how many. (#32359) by @martmull
  • Settings search now finds the General Security tab and its sections (SSO, etc.) for members who have the Security permission. (#32373) by @thomtrp
  • Settings search now finds the Members Roles tab for members who have the Roles permission. (#32375) by @thomtrp
  • Settings search now finds all Admin Panel tabs and sections, filtered to each admin's access level. (#32376) by @thomtrp
  • The app OAuth flow now sends a short state token instead of a full signed state, working around providers like Telegram that reject long state parameters. (#32386) by @abdulrahmancodes
  • The campaign composer now shows an 'Add email channel' button for workspace admins when no sending address is configured; everyone else is told to ask an admin. (#32387) by @neo773
  • New LinkedIn connections default to 'Selected chats' with nothing selected. Existing connections made before version 1.2.0 remain on 'All chats'. (#32393) by @martmull
  • New WhatsApp connections default to 'Selected chats' with nothing selected. Existing connections keep the import policy they had. (#32395) by @martmull
  • The 'Open app preferences' banner on the WhatsApp and LinkedIn workspace app pages is restored, prompting each member to connect their own account. (#32408) by @martmull

🐛 Bug fixes

  • Security: glob updated to 13.0.7, patching an AbortSignal cancellation bypass (GHSA-3g3m-2fjr-6pw4). (#32178) by @BOHEUS
  • Security: socket.io-adapter updated to 2.5.9, pulling in ws 8.23.0 to patch a memory exhaustion vulnerability (GHSA-37g9-w4hg-h9qr). (#32179) by @BOHEUS
  • The 'New' divider in an unread chat now appears above the most recent unread message, not near the top of the thread. (#32249) by @etiennejouan
  • Security: dompurify updated to 3.5.0, patching two SAFE_FOR_TEMPLATES bypass vulnerabilities. (#32329) by @BOHEUS
  • Passing an empty workspace ID list to the workspace iterator now processes zero workspaces instead of silently running against all provisioned workspaces. (#32334) by @BOHEUS
  • CalDAV event creation now picks the first writable calendar. Previously it wrote to whichever calendar was listed first — often read-only on Nextcloud — and reported success while creating no event. (#32343) by @BOHEUS
  • Hovering a disabled select option now shows the reason tooltip — React 19 dropped mouse events on native disabled elements, breaking it. (#32358) by @FelixMalfait
  • A queued approval card now shows what the action will do — the same proposal the open approval card shows. (#32369) by @etiennejouan
  • WhatsApp history import no longer fails when the account has more than 100 chats — requests now page at Unipile's per-request limit. (#32391) by @martmull
  • Mentions in AI chat and inbox messages whose label is an email address or URL now display as chips instead of raw [[...]] text. (#32400) by @etiennejouan
  • Email filters now match case-insensitively on additional email addresses, the same as primary email. Workflows that search by email no longer create duplicate records when the case differs. (#32403) by @thomtrp

⚡ Performance

  • The app now fetches views only for objects currently on screen instead of loading every workspace view upfront, cutting initial data transfer significantly. (#31744) by @Weiko
  • AI chat tool catalog builds roughly four times faster — permission checks that reran for every tool call now run once per metadata snapshot. (#32029) by @FelixMalfait
  • Workspace activation now inserts all view fields in a single batched statement instead of one INSERT per field, removing roughly 466 serial writes. (#32392) by @charlesBochet
  • Workspace activation now inserts most metadata entities — views, layouts, widgets, command menu items, and more — in batched statements instead of one per row. (#32407) by @charlesBochet
  • Workspace activation now inserts all indexes in a single batched statement instead of one per index. (#32422) by @charlesBochet
  • Workspace activation now inserts field options and navigation menu items in batched statements, removing about 86 more serial writes. (#32441) by @charlesBochet

🔧 Developer & API

  • Record queries now emit phase-level timing spans to sampled traces, covering preparation, execution, page fetch, counts, and aggregates. (#32302) by @Weiko
  • Apps can now declare the workspace member relation — and an optional filter on that relation — used in a row-level permission predicate in their manifest. (#32443) by @charlesBochet
🏗️ Internal changes (32)
  • Rename create action flatEntity to flatEntities (#32307) by @charlesBochet
  • chore: sync AI model catalog (#32345) by @twenty-pr
  • Rename 4 server files to the singular suffix in src/engine/api/utils (#32348) by @twenty-pr-author
  • Remove the comparisons to true and false in 10 files of modules/object-record (#32349) by @twenty-pr-author
  • Remove the Boolean() casts in ai-agent-role.service.ts (#32350) by @twenty-pr-author
  • Remove the : any annotations in 2 files of modules/ui (#32351) by @twenty-pr-author
  • i18n - translations (#32353) by @twenty-pr
  • i18n - translations (#32354) by @twenty-pr
  • i18n - translations (#32357) by @twenty-pr
  • i18n - translations (#32360) by @twenty-pr
  • Hold relation field pairs in one create action (#32363) by @charlesBochet
  • i18n - translations (#32364) by @twenty-pr
  • i18n - translations (#32371) by @twenty-pr
  • i18n - translations (#32374) by @twenty-pr
  • i18n - translations (#32381) by @twenty-pr
  • i18n - docs translations (#32382) by @twenty-pr
  • Key create action ids by created entity universal identifier (#32384) by @charlesBochet
  • i18n - translations (#32385) by @twenty-pr
  • Start LinkedIn conversations from Twenty (#32396) by @martmull
  • Start WhatsApp conversations from Twenty (#32397) by @martmull
  • i18n - translations (#32401) by @twenty-pr
  • i18n - docs translations (#32406) by @twenty-pr
  • i18n - translations (#32414) by @twenty-pr
  • Remove the IS_WORKSPACE_APPEARANCE_ENABLED feature flag (#32415) by @thomtrp
  • Remove starting conversations from the LinkedIn and WhatsApp apps (#32427) by @martmull
  • i18n - translations (#32428) by @twenty-pr
  • i18n - docs translations (#32433) by @twenty-pr
  • i18n - translations (#32435) by @twenty-pr
  • i18n - translations (#32439) by @twenty-pr
  • i18n - translations (#32444) by @twenty-pr
  • i18n - docs translations (#32445) by @twenty-pr
  • [v2.68] Backport fixes for v2.68.1 (#32471) by @charlesBochet
Full changelog (87 PRs)
  • Load full views per object (slim version) (#31744) by @Weiko
  • feat(ai-chat): stop posting a chat message for each approval answer (#31934) by @etiennejouan
  • Compute a principals' records permissions once per metadata snapshot (#32029) by @FelixMalfait
  • App sync leaves private views, workflows and agents alone (#32045) by @Weiko
  • Links in AI chat & Rich text (#32073) by @Bonapara
  • Hold wider marketplace app upgrades for approval (#32119) by @prastoin
  • Bump glob 13 to 13.0.7 (#32178) by @BOHEUS
  • Bump socket.io-adapter to 2.5.9 (#32179) by @BOHEUS
  • Save and load dashboard filter widget bindings (#32230) by @ehconitin
  • fix(inbox): show the new message divider on chats marked unread (#32249) by @etiennejouan
  • Edit widget display mode and inline editing through AI and MCP (#32258) by @Weiko
  • Sidebar tabs & small fixes (#32282) by @Bonapara
  • Name plural list tools in the MCP instructions (#32297) by @FelixMalfait
  • Find Experience sections in settings search (#32301) by @thomtrp
  • Measure record query phases and formula sort and filter performance (#32302) by @Weiko
  • Find General sections in settings search (#32304) by @thomtrp
  • Find Billing sections in settings search (#32305) by @thomtrp
  • Rename create action flatEntity to flatEntities (#32307) by @charlesBochet
  • Find Members tabs and sections in settings search (#32308) by @thomtrp
  • Find AI tabs in settings search (#32309) by @thomtrp
  • Find Profile sections in settings search (#32310) by @thomtrp
  • Find Apps preferences tabs in settings search (#32312) by @thomtrp
  • Give Layout a settings page definition (#32313) by @thomtrp
  • Find Apps tabs in settings search (#32314) by @thomtrp
  • Find Communication sections in settings search (#32315) by @thomtrp
  • Find Community sections in settings search (#32316) by @thomtrp
  • Find the Admin Panel General tab in settings search (#32317) by @thomtrp
  • New chat empty state (#32318) by @Bonapara
  • chore: bump version to 2.68.0 (#32328) by @twenty-pr
  • Bump dompurify to 3.5.0 (#32329) by @BOHEUS
  • Process no workspace when the iterator gets an empty workspace id list (#32334) by @BOHEUS
  • Create CalDAV events only in writable calendars and fail on rejected writes (#32343) by @BOHEUS
  • chore: sync AI model catalog (#32345) by @twenty-pr
  • Rename 4 server files to the singular suffix in src/engine/api/utils (#32348) by @twenty-pr-author
  • Remove the comparisons to true and false in 10 files of modules/object-record (#32349) by @twenty-pr-author
  • Remove the Boolean() casts in ai-agent-role.service.ts (#32350) by @twenty-pr-author
  • Remove the : any annotations in 2 files of modules/ui (#32351) by @twenty-pr-author
  • AI catalog: add GPT-6.2 Sol (supersedes 6.1 Sol) and fix self-host Smart chains (#32352) by @twenty-pr-author
  • i18n - translations (#32353) by @twenty-pr
  • i18n - translations (#32354) by @twenty-pr
  • Let a visibility rule check what the current role can read or update (#32355) by @neo773
  • Add a join() formula aggregate (#32356) by @FelixMalfait
  • i18n - translations (#32357) by @twenty-pr
  • Show description tooltip on disabled Select options (#32358) by @FelixMalfait
  • Show connected account owners in billing apps tooltip (#32359) by @martmull
  • i18n - translations (#32360) by @twenty-pr
  • Add a countUnique() formula aggregate (#32361) by @FelixMalfait
  • Add first() and last() formula aggregates (#32362) by @FelixMalfait
  • Hold relation field pairs in one create action (#32363) by @charlesBochet
  • i18n - translations (#32364) by @twenty-pr
  • fix(ai-chat): show what a queued approval will run (#32369) by @etiennejouan
  • i18n - translations (#32371) by @twenty-pr
  • Find the General Security tab in settings search for members who can open it (#32373) by @thomtrp
  • i18n - translations (#32374) by @twenty-pr
  • Find the Members Roles tab in settings search for members who can open it (#32375) by @thomtrp
  • Find Admin Panel tabs and sections in settings search for admins who can open them (#32376) by @thomtrp
  • i18n - translations (#32381) by @twenty-pr
  • i18n - docs translations (#32382) by @twenty-pr
  • Key create action ids by created entity universal identifier (#32384) by @charlesBochet
  • i18n - translations (#32385) by @twenty-pr
  • Send a short state reference in the app OAuth flow (#32386) by @abdulrahmancodes
  • Link to email channel setup when a campaign has no sender (#32387) by @neo773
  • fix(whatsapp): list chats in pages of at most 100 (#32391) by @martmull
  • Create all view fields of a migration in one action (#32392) by @charlesBochet
  • Default LinkedIn import to Selected chats (#32393) by @martmull
  • Default WhatsApp import to Selected chats (#32395) by @martmull
  • Start LinkedIn conversations from Twenty (#32396) by @martmull
  • Start WhatsApp conversations from Twenty (#32397) by @martmull
  • fix(ai-chat): render mentions whose label holds an email or URL (#32400) by @etiennejouan
  • i18n - translations (#32401) by @twenty-pr
  • Match additionalEmails case insensitively in emails filters (#32403) by @thomtrp
  • i18n - docs translations (#32406) by @twenty-pr
  • Create every entity of the simple metadata in one action per migration (#32407) by @charlesBochet
  • Restore the app preferences banner on WhatsApp and LinkedIn (#32408) by @martmull
  • i18n - translations (#32414) by @twenty-pr
  • Remove the IS_WORKSPACE_APPEARANCE_ENABLED feature flag (#32415) by @thomtrp
  • Create all indexes of a migration in one action (#32422) by @charlesBochet
  • Remove starting conversations from the LinkedIn and WhatsApp apps (#32427) by @martmull
  • i18n - translations (#32428) by @twenty-pr
  • i18n - docs translations (#32433) by @twenty-pr
  • i18n - translations (#32435) by @twenty-pr
  • i18n - translations (#32439) by @twenty-pr
  • Create all field options and navigation menu items of a migration in one action (#32441) by @charlesBochet
  • Let an app declare the workspace member relation of a row-level predicate (#32443) by @charlesBochet
  • i18n - translations (#32444) by @twenty-pr
  • i18n - docs translations (#32445) by @twenty-pr
  • [v2.68] Backport fixes for v2.68.1 (#32471) by @charlesBochet

Full Changelog: twenty/v2.67.0...twenty/v2.68.1

Don't miss a new twenty release

NewReleases is sending notifications on new releases.