Formula fields gain first() and last() aggregates. Pass a relation field and an optional condition to get the value from the oldest or newest matching related record. Null and empty values are skipped automatically. Order follows join(): createdAt then id.
App manifests can now fully specify row-level permission predicates. New workspaceMemberRelation and workspaceMemberRelationFilter properties on predicate objects complete what the metadata API already accepted. App sync also stops exporting private views, workflows, and agents from the manifest.
workspace.accentColor and workspace.uiScale are now unconditionally available. The IS_WORKSPACE_APPEARANCE_ENABLED flag from 2.67 has been removed. The GraphQL schema is unchanged — remove any flag checks in your code.
🌟 Highlights
- New
first(relation.field, condition?)andlast(relation.field, condition?)formula aggregates return the value from the oldest or newest related record matching an optional condition. (#32362) - App manifests now accept
workspaceMemberRelationandworkspaceMemberRelationFilteronrowLevelRecordPermissionspredicates, completing what the metadata API already supported at runtime. (#32443) workspace.accentColorandworkspace.uiScaleare always available now — theIS_WORKSPACE_APPEARANCE_ENABLEDflag is removed; drop any guard checks in your code. (#32415)- App sync no longer includes private views, workflows, or agents in the manifest; predicates and nav items referencing private metadata are pruned automatically. (#32045)
- Dashboard layouts expose a
filtersfield onPageLayoutfor reading and writing widget filter bindings; pass an empty array to clear all bindings. (#32230)
✨ New features
- A new
pendingPermissionsfield appears on grant objects whenIS_APPLICATION_GRANT_APPROVAL_ENABLEDis on; upgrading a marketplace app creates a pending grant instead of copying the role immediately. (#32119) by @prastoin - Dashboard layouts gain a
filtersfield onPageLayoutfor saving and loading widget-to-field filter bindings; pass an empty array to clear saved bindings. (#32230) by @ehconitin BillingSubscriptionItemgains anapplicationConnectedAccountOwnersfield listing each workspace member who connected an account plus their count; the field is null unless the item's price type isCONNECTED_ACCOUNT. (#32359) by @martmullfirst(relation.field, condition?)andlast(relation.field, condition?)are now valid stored-formula aggregates; null and empty values are skipped and ordering followscreatedAtthenid. (#32362) by @FelixMalfait- App manifests now support
workspaceMemberRelationandworkspaceMemberRelationFilteronrowLevelRecordPermissionspredicate objects, letting apps declare the full relation path the server already accepted at runtime. (#32443) by @charlesBochet
💅 Improvements & UX
- Sidebar home tab is now customizable like any other tab; no SDK export changes. (#32282) by @Bonapara
AvatarGroupintwenty-uigains anoverflowSizeprop to control the size of the +N overflow circle. (#32318) by @Bonaparaworkspace.accentColorandworkspace.uiScaleare now always available; theIS_WORKSPACE_APPEARANCE_ENABLEDflag is gone — remove any guard checks in code that reads these fields. (#32415) by @thomtrp
🐛 Bug fixes
- App sync and export now exclude private views, workflows, and agents from the manifest; nav items and predicates referencing private metadata are also pruned — manifests no longer leak member-specific state. (#32045) by @Weiko
⚡ Performance
- Views are now fetched per object on demand rather than all at once; no SDK API changes required. (#31744) by @Weiko
Full changelog (11 PRs)
- Load full views per object (slim version) (#31744) by @Weiko
- App sync leaves private views, workflows and agents alone (#32045) by @Weiko
- Hold wider marketplace app upgrades for approval (#32119) by @prastoin
- Save and load dashboard filter widget bindings (#32230) by @ehconitin
- Sidebar tabs & small fixes (#32282) by @Bonapara
- New chat empty state (#32318) by @Bonapara
- chore: bump version to 2.68.0 (#32328) by @twenty-pr
- Show connected account owners in billing apps tooltip (#32359) by @martmull
- Add first() and last() formula aggregates (#32362) by @FelixMalfait
- Remove the IS_WORKSPACE_APPEARANCE_ENABLED feature flag (#32415) by @thomtrp
- Let an app declare the workspace member relation of a row-level predicate (#32443) by @charlesBochet
Full Changelog: sdk/v2.67.0...sdk/v2.68.0