# Migration Context: Twenty v1 -> v2 # Generated by Changelogs.us: 2026-11-30T03:04:39.913366+00:00 # Target Version: v2.9.0 # Upgrade Command: N/A # Breaking Changes: 8 # Security Fixes: 1 ## Executive Summary Upgrading Twenty from 1 to 2 involves 10 releases with risk rating High. ## Breaking Changes List: - [vv2.1.0] Fix side panel hotkeys breaking when opening records from table by @abdulrahmancodes in https://github.com/twentyhq/twenty/pull/19849: - [vv2.1.0] [breaking, deploy server first] fix(ai-chat): persist providerExecuted flag on tool parts by @FelixMalfait in https://github.com/twentyhq/twenty/pull/20030: - [vv2.5.0] fix(ci): probe real schema in breaking-changes server readiness check by @FelixMalfait in https://github.com/twentyhq/twenty/pull/20465: - [vv2.5.0] [breaking: deploy server before front] feat(view-sort): pick sort sub-field inline on the chip by @FelixMalfait in https://github.com/twentyhq/twenty/pull/20445: - [vv2.6.0] ⚠️ Breaking changes - **`APP_SECRET` no longer used** for approved-access-domain validation or session cookies - moved to the encryption-key path (#20580) - **Permission-flag rename and catalog** - `permissionFlag` → `rolePermissionFlag`, plus new permission-flag catalog and backfill (#20481): - [vv2.7.0] ⚠️ Breaking changes - **`ConnectedAccount.connectionParameters` now encrypted** - requires `ENCRYPTION_KEY` configured (#20673) - **Connected account permissions unified** (#20732): - [vv2.8.0] ⚠️ Breaking changes - **Permission flags** - new system to define permission flags by apps - **Channel standard objects deprecated** - `messageChannel`, `messageFolder`, `calendarChannel` moved out of workspace schemas into core metadata (#20836) - this is just a cleanup, had been deprecated for some time already: - [vv2.8.0] - API breaking-change CI guard (#20848) - `twenty_upgrade_instance_info` metric for upgrade observability (#20854) - Auto-indexing of polymorphic `targetId` join columns (#20820): ## Patched Vulnerabilities (CVEs): - [CVE-2025-68121] (Severity: UNRATED) in vv2.9.0: Security advisory CVE-2025-68121 patched in twenty v2.9.0 ## Instructions for AI Assistant: When migrating user code from Twenty 1 to 2, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv2.9.0 idioms.