sdk/v2.49.0
twentyhq/twentysdk/v2.49.0Oct 19, 2026by twenty-pr[bot]
Upgrading?
AI Summary
The SDK release focuses on workflow management improvements, exposing the `defineWorkflow` function and unifying the front component JSX runtime. It also provides granular app analytics, such as auto-update installation counts and credit usage tracking, mirroring the main application's v2.49.0 updates.
Key Highlights
- Exposed `defineWorkflow` in the twenty-sdk
- Unified front component JSX runtime between SDK and CLI
- Added app auto-update installation counts and credit usage tracking
- Improved workflow output schema computation and atomicity
Breaking Changes
- Spend user credits on AI chat and web search before workspace credits
- Let Ada and agents react to messages with an emoji
- Unify PhoneCountryPicker composition
New Features
- Add app auto-update installation counts
- Add application credit usage with ClickHouse query caching
Full Release Notes
<!-- generated-release-notes v1 --> ## ⚠️ Breaking changes - [BREAKING_CHANGE] feat(usage): spend user credits on AI chat and web search before workspace credits (server) ([#27944](https://github.com/twentyhq/twenty/pull/27944)) by @etiennejouan - [BREAKING_CHANGE] Let Ada and agents react to messages with an emoji ([#28124](https://github.com/twentyhq/twenty/pull/28124)) by @FelixMalfait - Unify PhoneCountryPicker composition ([#28169](https://github.com/twentyhq/twenty/pull/28169)) by @bosiraphael ## ✨ New features - feat: add app auto-update installation counts (2/4) ([#28204](https://github.com/twentyhq/twenty/pull/28204)) by @martmull - feat: add application credit usage with ClickHouse query caching (3/4) ([#28205](https://github.com/twentyhq/twenty/pull/28205)) by @martmull ## 💅 Improvements & UX - Show import progress on connected accounts ([#27491](https://github.com/twentyhq/twenty/pull/27491)) by @neo773 - Let connection providers declare a USER or WORKSPACE scope ([#27796](https://github.com/twentyhq/twenty/pull/27796)) by @ehconitin - Add Dropdown.SelectionGroup ([#27990](https://github.com/twentyhq/twenty/pull/27990)) by @bosiraphael - Remove the IS_APPLICATION_WORKFLOWS_ENABLED feature flag ([#28003](https://github.com/twentyhq/twenty/pull/28003)) by @thomtrp - Share calendar events across calendar channels ([#28017](https://github.com/twentyhq/twenty/pull/28017)) by @neo773 - Remove OverflowingList's layout check and document the Slider Base UI issue ([#28025](https://github.com/twentyhq/twenty/pull/28025)) by @bosiraphael - Clean up twenty-ui overrides on lists, icons, navigation and chat ([#28062](https://github.com/twentyhq/twenty/pull/28062)) by @bosiraphael - Agent engine: one turn engine for chat and background agents, background runs in a job ([#28076](https://github.com/twentyhq/twenty/pull/28076)) by @FelixMalfait - Mention Ada in chats and let members turn her off ([#28086](https://github.com/twentyhq/twenty/pull/28086)) by @FelixMalfait - Unify CurrencyPicker shorthand and parts ([#28156](https://github.com/twentyhq/twenty/pull/28156)) by @bosiraphael - Unify CountrySelect shorthand and parts ([#28160](https://github.com/twentyhq/twenty/pull/28160)) by @bosiraphael - Replace Lingui skip comments with doNotTranslate() ([#28168](https://github.com/twentyhq/twenty/pull/28168)) by @charlesBochet - Rename connected account visibility to scope ([#28172](https://github.com/twentyhq/twenty/pull/28172)) by @ehconitin - Fix lost keystrokes in Preact front component text inputs ([#28178](https://github.com/twentyhq/twenty/pull/28178)) by @bosiraphael - Update twenty-ui to Base UI 1.9.0 ([#28180](https://github.com/twentyhq/twenty/pull/28180)) by @bosiraphael - Fix twenty-ui checks after the Base UI 1.9.0 update ([#28191](https://github.com/twentyhq/twenty/pull/28191)) by @bosiraphael - Make twenty-ui documentation consistent ([#28198](https://github.com/twentyhq/twenty/pull/28198)) by @bosiraphael - Remove the IS_MORPH_RELATION_HEAD_ENABLED feature flag ([#28200](https://github.com/twentyhq/twenty/pull/28200)) by @charlesBochet - Stabilize submenu and toast story interactions ([#28219](https://github.com/twentyhq/twenty/pull/28219)) by @bosiraphael - Let users choose whether to import private calendar events ([#28248](https://github.com/twentyhq/twenty/pull/28248)) by @neo773 - Remove the IS_CALENDAR_SYNC_SKIP_UNCHANGED_RECORDS_ENABLED feature flag ([#28252](https://github.com/twentyhq/twenty/pull/28252)) by @charlesBochet - Remove no-op tile size from MenuItemIcon ([#28259](https://github.com/twentyhq/twenty/pull/28259)) by @bosiraphael ## 🐛 Bug fixes - fix(clickhouse): wait for each migration ALTER on all replicas ([#28265](https://github.com/twentyhq/twenty/pull/28265)) by @etiennejouan ## 🔧 Developer & API - Expose defineWorkflow in twenty-sdk ([#27377](https://github.com/twentyhq/twenty/pull/27377)) by @thomtrp - Share the front component JSX runtime between the SDK and the CLI ([#28177](https://github.com/twentyhq/twenty/pull/28177)) by @bosiraphael <details> <summary>🏗️ Internal changes (1)</summary> - chore(security): bump sharp to 0.35.5 everywhere ([#28236](https://github.com/twentyhq/twenty/pull/28236)) by @mabdullahabaid </details> ## 🎉 New contributors - @devjotaduo made their first contribution in https://github.com/twentyhq/twenty/pull/27472 <details> <summary>Full changelog (32 PRs)</summary> - Expose defineWorkflow in twenty-sdk ([#27377](https://github.com/twentyhq/twenty/pull/27377)) by @thomtrp - Show import progress on connected accounts ([#27491](https://github.com/twentyhq/twenty/pull/27491)) by @neo773 - Let connection providers declare a USER or WORKSPACE scope ([#27796](https://github.com/twentyhq/twenty/pull/27796)) by @ehconitin - [BREAKING_CHANGE] feat(usage): spend user credits on AI chat and web search before workspace credits (server) ([#27944](https://github.com/twentyhq/twenty/pull/27944)) by @etiennejouan - Add Dropdown.SelectionGroup ([#27990](https://github.com/twentyhq/twenty/pull/27990)) by @bosiraphael - Remove the IS_APPLICATION_WORKFLOWS_ENABLED feature flag ([#28003](https://github.com/twentyhq/twenty/pull/28003)) by @thomtrp - Share calendar events across calendar channels ([#28017](https://github.com/twentyhq/twenty/pull/28017)) by @neo773 - Remove OverflowingList's layout check and document the Slider Base UI issue ([#28025](https://github.com/twentyhq/twenty/pull/28025)) by @bosiraphael - Clean up twenty-ui overrides on lists, icons, navigation and chat ([#28062](https://github.com/twentyhq/twenty/pull/28062)) by @bosiraphael - Agent engine: one turn engine for chat and background agents, background runs in a job ([#28076](https://github.com/twentyhq/twenty/pull/28076)) by @FelixMalfait - Mention Ada in chats and let members turn her off ([#28086](https://github.com/twentyhq/twenty/pull/28086)) by @FelixMalfait - [BREAKING_CHANGE] Let Ada and agents react to messages with an emoji ([#28124](https://github.com/twentyhq/twenty/pull/28124)) by @FelixMalfait - Unify CurrencyPicker shorthand and parts ([#28156](https://github.com/twentyhq/twenty/pull/28156)) by @bosiraphael - Unify CountrySelect shorthand and parts ([#28160](https://github.com/twentyhq/twenty/pull/28160)) by @bosiraphael - Replace Lingui skip comments with doNotTranslate() ([#28168](https://github.com/twentyhq/twenty/pull/28168)) by @charlesBochet - Unify PhoneCountryPicker composition ([#28169](https://github.com/twentyhq/twenty/pull/28169)) by @bosiraphael - chore: bump version to 2.49.0 ([#28170](https://github.com/twentyhq/twenty/pull/28170)) by @twenty-pr - Rename connected account visibility to scope ([#28172](https://github.com/twentyhq/twenty/pull/28172)) by @ehconitin - Share the front component JSX runtime between the SDK and the CLI ([#28177](https://github.com/twentyhq/twenty/pull/28177)) by @bosiraphael - Fix lost keystrokes in Preact front component text inputs ([#28178](https://github.com/twentyhq/twenty/pull/28178)) by @bosiraphael - Update twenty-ui to Base UI 1.9.0 ([#28180](https://github.com/twentyhq/twenty/pull/28180)) by @bosiraphael - Fix twenty-ui checks after the Base UI 1.9.0 update ([#28191](https://github.com/twentyhq/twenty/pull/28191)) by @bosiraphael - Make twenty-ui documentation consistent ([#28198](https://github.com/twentyhq/twenty/pull/28198)) by @bosiraphael - Remove the IS_MORPH_RELATION_HEAD_ENABLED feature flag ([#28200](https://github.com/twentyhq/twenty/pull/28200)) by @charlesBochet - feat: add app auto-update installation counts (2/4) ([#28204](https://github.com/twentyhq/twenty/pull/28204)) by @martmull - feat: add application credit usage with ClickHouse query caching (3/4) ([#28205](https://github.com/twentyhq/twenty/pull/28205)) by @martmull - Stabilize submenu and toast story interactions ([#28219](https://github.com/twentyhq/twenty/pull/28219)) by @bosiraphael - chore(security): bump sharp to 0.35.5 everywhere ([#28236](https://github.com/twentyhq/twenty/pull/28236)) by @mabdullahabaid - Let users choose whether to import private calendar events ([#28248](https://github.com/twentyhq/twenty/pull/28248)) by @neo773 - Remove the IS_CALENDAR_SYNC_SKIP_UNCHANGED_RECORDS_ENABLED feature flag ([#28252](https://github.com/twentyhq/twenty/pull/28252)) by @charlesBochet - Remove no-op tile size from MenuItemIcon ([#28259](https://github.com/twentyhq/twenty/pull/28259)) by @bosiraphael - fix(clickhouse): wait for each migration ALTER on all replicas ([#28265](https://github.com/twentyhq/twenty/pull/28265)) by @etiennejouan </details> **Full Changelog**: https://github.com/twentyhq/twenty/compare/sdk/v2.48.0...sdk/v2.49.0
Related Repositories
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Reverse engineer anything with agents, from app behavior down to native binaries.
The open source coding agent.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.