From 54fbe12227f4c193a286b2b83a5a77896b226491 Mon Sep 17 00:00:00 2001 From: Richie Varghese Date: Mon, 5 Jan 2026 21:16:26 +0530 Subject: [PATCH 1/3] Bump version to 0.7.7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e69e01d..3528038 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "postgres-explorer", "displayName": "PgStudio (PostgreSQL Explorer)", - "version": "0.7.6", + "version": "0.7.7", "description": "PostgreSQL database explorer for VS Code with notebook support", "publisher": "ric-v", "private": false, From 11b3a61df4b07527d0ce7d85b9838500e463051f Mon Sep 17 00:00:00 2001 From: Richie Varghese Date: Mon, 5 Jan 2026 21:20:49 +0530 Subject: [PATCH 2/3] Bump version to 0.7.9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3528038..fdf4012 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "postgres-explorer", "displayName": "PgStudio (PostgreSQL Explorer)", - "version": "0.7.7", + "version": "0.7.9", "description": "PostgreSQL database explorer for VS Code with notebook support", "publisher": "ric-v", "private": false, From 99039f172e0e33f31158710381f024e2c4a19754 Mon Sep 17 00:00:00 2001 From: Richie Varghese Date: Mon, 5 Jan 2026 21:23:27 +0530 Subject: [PATCH 3/3] fix: Enhance changelog loading to check multiple casing variants and provide detailed debug information, and unignore changelog. --- .vscodeignore | 2 +- src/activation/WhatsNewManager.ts | 23 ++++++++++++++++++----- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.vscodeignore b/.vscodeignore index 7180bf2..27c4a12 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -41,7 +41,7 @@ tsconfig.tsbuildinfo webpack.config.js .eslintrc.json .vscodeignore -CHANGELOG.md + MARKETPLACE.md README.md.bak README.md.tmp diff --git a/src/activation/WhatsNewManager.ts b/src/activation/WhatsNewManager.ts index 0782a1e..79f488c 100644 --- a/src/activation/WhatsNewManager.ts +++ b/src/activation/WhatsNewManager.ts @@ -205,12 +205,25 @@ export class WhatsNewManager implements vscode.WebviewViewProvider { } private async getChangelogContent(): Promise { + const variants = ['CHANGELOG.md', 'changelog.md', 'Changelog.md']; + + for (const variant of variants) { + try { + const changelogPath = path.join(this.extensionUri.fsPath, variant); + return await fs.promises.readFile(changelogPath, 'utf8'); + } catch { + // Try next variant + } + } + + // List what files actually exist in extension root for debugging + let files: string[] = []; try { - const changelogPath = path.join(this.extensionUri.fsPath, 'CHANGELOG.md'); - return await fs.promises.readFile(changelogPath, 'utf8'); - } catch (e) { - console.error('Error reading changelog:', e); - return '# Error\nUnable to load CHANGELOG.md'; + files = await fs.promises.readdir(this.extensionUri.fsPath); + } catch { + files = ['(unable to list directory)']; } + + return `# Error\nUnable to load CHANGELOG.md\n\nExtension path: \`${this.extensionUri.fsPath}\`\n\nFiles in extension root:\n${files.map(f => `- ${f}`).join('\n')}`; } }