Component: sdk · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Breaking-change evidence from the source
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`.
⚠️ Breaking changes - Views and their child entities are hard-deleted from this release; remove any `deletedAt` filters or field selections on `view`, `viewField`, `viewFilter`, `viewFilterGroup`, `viewGroup`, and `viewSort` types. ([#31323](https://github.com/twentyhq/twenty/pull/31323)) by @Weiko
Twenty sdk/v2.64.1. Source highlight: 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 n
Check the source notes against the package and APIs you use before upgrading.
📊 Product & Engineering Leads
Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.
⚙️ DevOps & Security
Verify the target version, runtime requirements and rollback procedure in the official documentation.
⚠️ Breaking Changes & Deprecations (2)
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`.
⚠️ Breaking changes - Views and their child entities are hard-deleted from this release; remove any `deletedAt` filters or field selections on `view`, `viewField`, `viewFilter`, `viewFilterGroup`, `viewGroup`, and `viewSort` types. ([#31323](https://github.com/twentyhq/twenty/pull/31323)) by @Weiko
✨ New Features & Capabilities (6)
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)
Add a Test action to agents (#31277)
Add cron spreadMs, enqueueJobs limiter and job scheduledAt (#31383)
Add Reply all to email threads with several recipients (#31407)
Add collapsible sections, inline record search and Ask AI to Command K (#31410)
Remove IS_APPLICATION_PRICE_BILLING_ENABLED feature flag (#31427)
⚡ Performance & Enhancements (4)
The emoji picker in `twenty-ui` now matches Twenty's dropdown style and supports arrow-key and Enter navigation when rendered inside a `Dropdown` component; reaction chips no longer clip their emoji. (#31309)
`twenty-client-sdk` no longer lists `@genql/runtime` as a dependency; your install drops 15+ previously required transitive packages including `ws`. (#31356)
`AvailableWorkspace.inviteHash` is deprecated and has always returned null; remove it from any query that selects it. (#31381)
New LIST-type views now default to compact; `CreateViewInput.isCompact` loses its GraphQL default of `false`, so omitting it on a list-type create will produce a compact view once the renderer reads the setting in a future release. (#31471)
🔧 Bug Fixes & Patches (3)
AI-generated record-page widgets can now call `useSelectedRecordIds()` and `useSelectedObjectMetadata()` to read the record being viewed; previously these hooks were blocked by the AI builder and the preview always supplied an empty selection. (#30416)
fix(ai): support record context in generated widgets (#30416)
Fix emoji picker cropping, styling and keyboard navigation (#31309)
📄 View Raw Release Notes (Original Developer Log)
<!-- generated-release-notes v1 -->
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 `deletedAt` filters or field selections on `view`, `viewField`, `viewFilter`, `viewFilterGroup`, `viewGroup`, and `viewSort` types. ([#31323](https://github.com/twentyhq/twenty/pull/31323)) by @Weiko
- `visibility` is removed from the view schema on a 2.64 server; any GraphQL, REST, or `twenty-client-sdk` query that selects `visibility` or sends it on create/update will fail - use `isPrivate` instead, including when `__scalar: true` is used. ([#31460](https://github.com/twentyhq/twenty/pull/31460)) by @Weiko
- `defineView()` no longer accepts a `visibility` argument and `ViewVisibility` is no longer re-exported from `twenty-sdk/define`; views created from a manifest are always shared (`isPrivate: false`). ([#31548](https://github.com/twentyhq/twenty/pull/31548)) by @Weiko
## 🌟 Highlights
- `visibility` is removed from the view schema on 2.64; queries that select or send it will fail - replace it with `isPrivate`. ([#31460](https://github.com/twentyhq/twenty/pull/31460))
- `defineView()` no longer accepts `visibility`, and `ViewVisibility` is no longer exported from `twenty-sdk/define`; remove those usages from your app manifest. ([#31548](https://github.com/twentyhq/twenty/pull/31548))
- View child entities (viewField, viewFilter, viewSort, etc.) are now hard-deleted; remove any `deletedAt` filters or selections on those types. ([#31323](https://github.com/twentyhq/twenty/pull/31323))
- `twenty-client-sdk` no longer depends on `@genql/runtime`; installing the package removes 15+ previously required transitive packages. ([#31356](https://github.com/twentyhq/twenty/pull/31356))
- AI-generated record-page widgets can now call `useSelectedRecordIds()` and `useSelectedObjectMetadata()` to read the record being viewed. ([#30416](https://github.com/twentyhq/twenty/pull/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](https://github.com/twentyhq/twenty/pull/31248)) by @neo773
## 💅 Improvements & UX
- The emoji picker in `twenty-ui` now matches Twenty's dropdown style and supports arrow-key and Enter navigation when rendered inside a `Dropdown` component; reaction chips no longer clip their emoji. ([#31309](https://github.com/twentyhq/twenty/pull/31309)) by @Bonapara
- `twenty-client-sdk` no longer lists `@genql/runtime` as a dependency; your install drops 15+ previously required transitive packages including `ws`. ([#31356](https://github.com/twentyhq/twenty/pull/31356)) by @mabdullahabaid
- `AvailableWorkspace.inviteHash` is deprecated and has always returned null; remove it from any query that selects it. ([#31381](https://github.com/twentyhq/twenty/pull/31381)) by @prastoin
- New LIST-type views now default to compact; `CreateViewInput.isCompact` loses its GraphQL default of `false`, so omitting it on a list-type create will produce a compact view once the renderer reads the setting in a future release. ([#31471](https://github.com/twentyhq/twenty/pull/31471)) by @bosiraphael
## 🐛 Bug fixes
- AI-generated record-page widgets can now call `useSelectedRecordIds()` and `useSelectedObjectMetadata()` to read the record being viewed; previously these hooks were blocked by the AI builder and the preview always supplied an empty selection. ([#30416](https://github.com/twentyhq/twenty/pull/30416)) by @Weiko
## 🔧 Developer & API
- `vite-plugin-dts` removed from `twenty-client-sdk` devDependencies; no change to the published package output. ([#31342](https://github.com/twentyhq/twenty/pull/31342)) by @mabdullahabaid
<details>
<summary>🏗️ Internal changes (15)</summary>
- Formula fields 2/4: define formula fields on the server ([#31274](https://github.com/twentyhq/twenty/pull/31274)) by @FelixMalfait
- Add a Test action to agents ([#31277](https://github.com/twentyhq/twenty/pull/31277)) by @FelixMalfait
- Add cron spreadMs, enqueueJobs limiter and job scheduledAt ([#31383](https://github.com/twentyhq/twenty/pull/31383)) by @martmull
- Show the billing email in Billing settings and unify settings text links ([#31390](https://github.com/twentyhq/twenty/pull/31390)) by @Bonapara
- Add Reply all to email threads with several recipients ([#31407](https://github.com/twentyhq/twenty/pull/31407)) by @FelixMalfait
- Add collapsible sections, inline record search and Ask AI to Command K ([#31410](https://github.com/twentyhq/twenty/pull/31410)) by @thomtrp
- Remove IS_APPLICATION_PRICE_BILLING_ENABLED feature flag ([#31427](https://github.com/twentyhq/twenty/pull/31427)) by @martmull
- Add apps section to billing settings page ([#31435](https://github.com/twentyhq/twenty/pull/31435)) by @martmull
- Remove the IS_MESSAGE_ATTACHMENT_ENABLED feature flag ([#31458](https://github.com/twentyhq/twenty/pull/31458)) by @charlesBochet
- chore: make twenty-server tests depend on twenty-ui explicitly ([#31462](https://github.com/twentyhq/twenty/pull/31462)) by @mabdullahabaid
- Remove the IS_CREATE_RECORDS_PERMISSION_ENABLED feature flag ([#31474](https://github.com/twentyhq/twenty/pull/31474)) by @charlesBochet
- Remove the IS_CALENDAR_EVENT_SHARED_ACROSS_CHANNELS_ENABLED feature flag ([#31485](https://github.com/twentyhq/twenty/pull/31485)) by @charlesBochet
- Remove the IS_ACCESS_GROUPS_ENABLED feature flag ([#31486](https://github.com/twentyhq/twenty/pull/31486)) by @charlesBochet
- Remove the relation hop and related record paths feature flags ([#31499](https://github.com/twentyhq/twenty/pull/31499)) by @charlesBochet
- Remove the IS_CHANNEL_VISIBILITY_RLS_ENABLED feature flag ([#31513](https://github.com/twentyhq/twenty/pull/31513)) by @charlesBochet
</details>
<details>
<summary>Full changelog (26 PRs)</summary>
- fix(ai): support record context in generated widgets ([#30416](https://github.com/twentyhq/twenty/pull/30416)) by @Weiko
- Let users create recurring calendar events ([#31248](https://github.com/twentyhq/twenty/pull/31248)) by @neo773
- Formula fields 2/4: define formula fields on the server ([#31274](https://github.com/twentyhq/twenty/pull/31274)) by @FelixMalfait
- Add a Test action to agents ([#31277](https://github.com/twentyhq/twenty/pull/31277)) by @FelixMalfait
- Fix emoji picker cropping, styling and keyboard navigation ([#31309](https://github.com/twentyhq/twenty/pull/31309)) by @Bonapara
- [BREAKING_CHANGE] Stop reading deletedAt on views and their children ([#31323](https://github.com/twentyhq/twenty/pull/31323)) by @Weiko
- chore: remove the unused vite-plugin-dts from twenty-client-sdk ([#31342](https://github.com/twentyhq/twenty/pull/31342)) by @mabdullahabaid
- chore: bump version to 2.64.0 ([#31347](https://github.com/twentyhq/twenty/pull/31347)) by @twenty-pr
- chore: remove the unused @genql/runtime from twenty-client-sdk ([#31356](https://github.com/twentyhq/twenty/pull/31356)) by @mabdullahabaid
- Stop reading AvailableWorkspace.inviteHash and deprecate it ([#31381](https://github.com/twentyhq/twenty/pull/31381)) by @prastoin
- Add cron spreadMs, enqueueJobs limiter and job scheduledAt ([#31383](https://github.com/twentyhq/twenty/pull/31383)) by @martmull
- Show the billing email in Billing settings and unify settings text links ([#31390](https://github.com/twentyhq/twenty/pull/31390)) by @Bonapara
- Add Reply all to email threads with several recipients ([#31407](https://github.com/twentyhq/twenty/pull/31407)) by @FelixMalfait
- Add collapsible sections, inline record search and Ask AI to Command K ([#31410](https://github.com/twentyhq/twenty/pull/31410)) by @thomtrp
- Remove IS_APPLICATION_PRICE_BILLING_ENABLED feature flag ([#31427](https://github.com/twentyhq/twenty/pull/31427)) by @martmull
- Add apps section to billing settings page ([#31435](https://github.com/twentyhq/twenty/pull/31435)) by @martmull
- Remove the IS_MESSAGE_ATTACHMENT_ENABLED feature flag ([#31458](https://github.com/twentyhq/twenty/pull/31458)) by @charlesBochet
- [BREAKING_CHANGE] Remove the deprecated view visibility API and relax its column ([#31460](https://github.com/twentyhq/twenty/pull/31460)) by @Weiko
- chore: make twenty-server tests depend on twenty-ui explicitly ([#31462](https://github.com/twentyhq/twenty/pull/31462)) by @mabdullahabaid
- Make list views compact by default and backfill existing ones ([#31471](https://github.com/twentyhq/twenty/pull/31471)) by @bosiraphael
- Remove the IS_CREATE_RECORDS_PERMISSION_ENABLED feature flag ([#31474](https://github.com/twentyhq/twenty/pull/31474)) by @charlesBochet
- Remove the IS_CALENDAR_EVENT_SHARED_ACROSS_CHANNELS_ENABLED feature flag ([#31485](https://github.com/twentyhq/twenty/pull/31485)) by @charlesBochet
- Remove the IS_ACCESS_GROUPS_ENABLED feature flag ([#31486](https://github.com/twentyhq/twenty/pull/31486)) by @charlesBochet
- Remove the relation hop and related record paths feature flags ([#31499](https://github.com/twentyhq/twenty/pull/31499)) by @charlesBochet
- Remove the IS_CHANNEL_VISIBILITY_RLS_ENABLED feature flag ([#31513](https://github.com/twentyhq/twenty/pull/31513)) by @charlesBochet
- [BREAKING_CHANGE] Remove view visibility from app manifests ([#31548](https://github.com/twentyhq/twenty/pull/31548)) by @Weiko
</details>
**Full Changelog**: https://github.com/twentyhq/twenty/compare/sdk/v2.63.0...sdk/v2.64.1