github twentyhq/twenty sdk/v2.30.0

latest release: sdk/v2.29.0
3 hours ago

⚠️ Breaking changes

  • Remove any reference to clientConfig.subdomainMinLength — the field is deleted from ClientConfig in twenty-client-sdk. (#23915) by @ijreilly
  • Cursor-pagination types from the metadata API (FieldEdge, FieldFilter, CursorPaging, PageInfo, ConnectionCursor, and comparison inputs) are removed; switch to the offset-based equivalents in the updated schema. (#23925) by @abdulrahmancodes

🌟 Highlights

  • BREAKING: subdomainMinLength is removed from ClientConfig in twenty-client-sdk — drop any reference to clientConfig.subdomainMinLength. (#23915)
  • BREAKING: Cursor-pagination types from the metadata API (FieldEdge, FieldFilter, CursorPaging, PageInfo, ConnectionCursor) are removed following the nestjs-query migration. (#23925)
  • runAgent now accepts a messages array (alternating user/assistant turns) for multi-turn bot conversations; existing prompt-only calls are unchanged. (#23395)
  • runAgent can now execute on behalf of a specific workspace member, scoping the agent to that user's permissions. (#23470)
  • CALL_RECORDING_SUMMARY and CALL_RECORDING_TRANSCRIPT are registered as new widget types and appear in twenty-client-sdk generated types. (#23864)

✨ New features

  • Pass a messages array (alternating user/assistant turns) to runAgent for multi-turn bot conversations; the existing prompt field continues to work for one-shot calls. (#23395) by @abdulrahmancodes
  • New option on runAgent lets your app execute an agent as a specific workspace member, capping the agent's permissions to that user's role. (#23470) by @abdulrahmancodes
  • CALL_RECORDING_SUMMARY and CALL_RECORDING_TRANSCRIPT are now registered widget types; they appear in twenty-client-sdk generated type definitions. (#23864) by @ehconitin
  • User.isWorkspaceCreator is now a resolved GraphQL field, accessible through twenty-client-sdk generated types. (#23881) by @bosiraphael

💅 Improvements & UX

  • Minimum allowed subdomain length is now 1 character instead of 3; update any client-side subdomain validation that assumed the old floor. (#23871) by @ijreilly

🐛 Bug fixes

  • Logic function layer builds no longer die with out-of-memory errors when an app bundles large packages such as twenty-ui. (#23805) by @charlesBochet

⚡ Performance

  • Workspace metadata cache now uses compact storage behind a server flag, reducing GC pressure on heavy traffic; no API changes. (#23880) by @charlesBochet
🏗️ Internal changes (11)

🎉 New contributors

Full changelog (23 PRs)

Full Changelog: sdk/v2.27.0...sdk/v2.30.0

Don't miss a new twenty release

NewReleases is sending notifications on new releases.