Two breaking changes complete the view-privacy migration. The visibility field is removed from the view schema on a 2.64 server. Queries that select or send it will fail; switch to isPrivate. App manifests are affected too: defineView() no longer accepts visibility, and ViewVisibility is no longer exported from twenty-sdk/define.
Views and their child entities are now hard-deleted. Any query filtering on deletedAt for view types needs to be removed.
Installing twenty-client-sdk no longer pulls @genql/runtime or the 15+ packages it depended on. AI-generated record-page widgets can now read the viewed record via useSelectedRecordIds() and useSelectedObjectMetadata().
⚠️ Breaking changes
- Views and their child entities are hard-deleted from this release; remove any
deletedAtfilters or field selections onview,viewField,viewFilter,viewFilterGroup,viewGroup, andviewSorttypes. (#31323) by @Weiko visibilityis removed from the view schema on a 2.64 server; any GraphQL, REST, ortwenty-client-sdkquery that selectsvisibilityor sends it on create/update will fail — useisPrivateinstead, including when__scalar: trueis used. (#31460) by @WeikodefineView()no longer accepts avisibilityargument andViewVisibilityis no longer re-exported fromtwenty-sdk/define; views created from a manifest are always shared (isPrivate: false). (#31548) by @Weiko
🌟 Highlights
visibilityis removed from the view schema on 2.64; queries that select or send it will fail — replace it withisPrivate. (#31460)defineView()no longer acceptsvisibility, andViewVisibilityis no longer exported fromtwenty-sdk/define; remove those usages from your app manifest. (#31548)- View child entities (viewField, viewFilter, viewSort, etc.) are now hard-deleted; remove any
deletedAtfilters or selections on those types. (#31323) twenty-client-sdkno longer depends on@genql/runtime; installing the package removes 15+ previously required transitive packages. (#31356)- AI-generated record-page widgets can now call
useSelectedRecordIds()anduseSelectedObjectMetadata()to read the record being viewed. (#30416)
✨ New features
- Calendar events can now be created with a recurrence rule — daily, weekly, monthly or yearly — with an optional interval, end condition (never, on a date, or after N occurrences), and extra weekdays for weekly recurrence. (#31248) by @neo773
💅 Improvements & UX
- The emoji picker in
twenty-uinow matches Twenty's dropdown style and supports arrow-key and Enter navigation when rendered inside aDropdowncomponent; reaction chips no longer clip their emoji. (#31309) by @Bonapara twenty-client-sdkno longer lists@genql/runtimeas a dependency; your install drops 15+ previously required transitive packages includingws. (#31356) by @mabdullahabaidAvailableWorkspace.inviteHashis deprecated and has always returned null; remove it from any query that selects it. (#31381) by @prastoin- New LIST-type views now default to compact;
CreateViewInput.isCompactloses its GraphQL default offalse, so omitting it on a list-type create will produce a compact view once the renderer reads the setting in a future release. (#31471) by @bosiraphael
🐛 Bug fixes
- AI-generated record-page widgets can now call
useSelectedRecordIds()anduseSelectedObjectMetadata()to read the record being viewed; previously these hooks were blocked by the AI builder and the preview always supplied an empty selection. (#30416) by @Weiko
🔧 Developer & API
vite-plugin-dtsremoved fromtwenty-client-sdkdevDependencies; no change to the published package output. (#31342) by @mabdullahabaid
🏗️ Internal changes (15)
- Formula fields 2/4: define formula fields on the server (#31274) by @FelixMalfait
- Add a Test action to agents (#31277) by @FelixMalfait
- Add cron spreadMs, enqueueJobs limiter and job scheduledAt (#31383) by @martmull
- Show the billing email in Billing settings and unify settings text links (#31390) by @Bonapara
- Add Reply all to email threads with several recipients (#31407) by @FelixMalfait
- Add collapsible sections, inline record search and Ask AI to Command K (#31410) by @thomtrp
- Remove IS_APPLICATION_PRICE_BILLING_ENABLED feature flag (#31427) by @martmull
- Add apps section to billing settings page (#31435) by @martmull
- Remove the IS_MESSAGE_ATTACHMENT_ENABLED feature flag (#31458) by @charlesBochet
- chore: make twenty-server tests depend on twenty-ui explicitly (#31462) by @mabdullahabaid
- Remove the IS_CREATE_RECORDS_PERMISSION_ENABLED feature flag (#31474) by @charlesBochet
- Remove the IS_CALENDAR_EVENT_SHARED_ACROSS_CHANNELS_ENABLED feature flag (#31485) by @charlesBochet
- Remove the IS_ACCESS_GROUPS_ENABLED feature flag (#31486) by @charlesBochet
- Remove the relation hop and related record paths feature flags (#31499) by @charlesBochet
- Remove the IS_CHANNEL_VISIBILITY_RLS_ENABLED feature flag (#31513) by @charlesBochet
Full changelog (26 PRs)
- fix(ai): support record context in generated widgets (#30416) by @Weiko
- Let users create recurring calendar events (#31248) by @neo773
- Formula fields 2/4: define formula fields on the server (#31274) by @FelixMalfait
- Add a Test action to agents (#31277) by @FelixMalfait
- Fix emoji picker cropping, styling and keyboard navigation (#31309) by @Bonapara
- [BREAKING_CHANGE] Stop reading deletedAt on views and their children (#31323) by @Weiko
- chore: remove the unused vite-plugin-dts from twenty-client-sdk (#31342) by @mabdullahabaid
- chore: bump version to 2.64.0 (#31347) by @twenty-pr
- chore: remove the unused @genql/runtime from twenty-client-sdk (#31356) by @mabdullahabaid
- Stop reading AvailableWorkspace.inviteHash and deprecate it (#31381) by @prastoin
- Add cron spreadMs, enqueueJobs limiter and job scheduledAt (#31383) by @martmull
- Show the billing email in Billing settings and unify settings text links (#31390) by @Bonapara
- Add Reply all to email threads with several recipients (#31407) by @FelixMalfait
- Add collapsible sections, inline record search and Ask AI to Command K (#31410) by @thomtrp
- Remove IS_APPLICATION_PRICE_BILLING_ENABLED feature flag (#31427) by @martmull
- Add apps section to billing settings page (#31435) by @martmull
- Remove the IS_MESSAGE_ATTACHMENT_ENABLED feature flag (#31458) by @charlesBochet
- [BREAKING_CHANGE] Remove the deprecated view visibility API and relax its column (#31460) by @Weiko
- chore: make twenty-server tests depend on twenty-ui explicitly (#31462) by @mabdullahabaid
- Make list views compact by default and backfill existing ones (#31471) by @bosiraphael
- Remove the IS_CREATE_RECORDS_PERMISSION_ENABLED feature flag (#31474) by @charlesBochet
- Remove the IS_CALENDAR_EVENT_SHARED_ACROSS_CHANNELS_ENABLED feature flag (#31485) by @charlesBochet
- Remove the IS_ACCESS_GROUPS_ENABLED feature flag (#31486) by @charlesBochet
- Remove the relation hop and related record paths feature flags (#31499) by @charlesBochet
- Remove the IS_CHANNEL_VISIBILITY_RLS_ENABLED feature flag (#31513) by @charlesBochet
- [BREAKING_CHANGE] Remove view visibility from app manifests (#31548) by @Weiko
Full Changelog: sdk/v2.63.0...sdk/v2.64.1