feat(editor): Add 'Whats new' section and modal (#16664)

This commit is contained in:
Jaakko Husso
2025-06-26 16:41:49 +03:00
committed by GitHub
parent fcf559b93d
commit 0b7bca29f8
31 changed files with 1907 additions and 134 deletions

View File

@@ -10,6 +10,14 @@ export class VersionNotificationsConfig {
@Env('N8N_VERSION_NOTIFICATIONS_ENDPOINT')
endpoint: string = 'https://api.n8n.io/api/versions/';
/** Whether to request What's New articles. Also requires `N8N_VERSION_NOTIFICATIONS_ENABLED` to be enabled */
@Env('N8N_VERSION_NOTIFICATIONS_WHATS_NEW_ENABLED')
whatsNewEnabled: boolean = true;
/** Endpoint to retrieve "What's New" articles from */
@Env('N8N_VERSION_NOTIFICATIONS_WHATS_NEW_ENDPOINT')
whatsNewEndpoint: string = 'https://api.n8n.io/api/whats-new';
/** URL for versions panel to page instructing user on how to update n8n instance */
@Env('N8N_VERSION_NOTIFICATIONS_INFO_URL')
infoUrl: string = 'https://docs.n8n.io/hosting/installation/updating/';

View File

@@ -162,6 +162,8 @@ describe('GlobalConfig', () => {
versionNotifications: {
enabled: true,
endpoint: 'https://api.n8n.io/api/versions/',
whatsNewEnabled: true,
whatsNewEndpoint: 'https://api.n8n.io/api/whats-new',
infoUrl: 'https://docs.n8n.io/hosting/installation/updating/',
},
workflows: {