github twentyhq/twenty sdk/v2.64.1

latest release: twenty/v2.64.1
one hour ago

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) 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) 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) 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)
  • defineView() no longer accepts visibility, and ViewVisibility is no longer exported from twenty-sdk/define; remove those usages from your app manifest. (#31548)
  • View child entities (viewField, viewFilter, viewSort, etc.) are now hard-deleted; remove any deletedAt filters or selections on those types. (#31323)
  • twenty-client-sdk no longer depends on @genql/runtime; installing the package removes 15+ previously required transitive packages. (#31356)
  • AI-generated record-page widgets can now call useSelectedRecordIds() and useSelectedObjectMetadata() 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-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) by @Bonapara
  • twenty-client-sdk no longer lists @genql/runtime as a dependency; your install drops 15+ previously required transitive packages including ws. (#31356) by @mabdullahabaid
  • AvailableWorkspace.inviteHash is 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.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) 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) by @Weiko

🔧 Developer & API

  • vite-plugin-dts removed from twenty-client-sdk devDependencies; no change to the published package output. (#31342) by @mabdullahabaid
🏗️ Internal changes (15)
Full changelog (26 PRs)

Full Changelog: sdk/v2.63.0...sdk/v2.64.1

Don't miss a new twenty release

NewReleases is sending notifications on new releases.