Skip to content

Connection Management Improvements#30

Merged
ric-v merged 4 commits into
dev-asterix:mainfrom
ric-v:main
Nov 29, 2025
Merged

Connection Management Improvements#30
ric-v merged 4 commits into
dev-asterix:mainfrom
ric-v:main

Conversation

@ric-v
Copy link
Copy Markdown
Member

@ric-v ric-v commented Nov 29, 2025

This pull request introduces several improvements and fixes to the PostgreSQL Explorer extension, focusing on enhancing connection management, improving publishing workflows, and increasing flexibility for user credentials. The main highlights are a more robust Makefile for packaging and publishing, support for connections without a username or password, and a new "Manage Connections" command in the UI.

Connection Management Improvements:

  • Added a new "Manage Connections" command to the command palette and navigation menu, making it easier for users to manage their database connections directly from the UI. (package.json [1] [2]
  • Improved the disconnect/delete connection logic to handle missing connections gracefully, clean up credentials from secret storage, close active connections if present, refresh the UI, and provide user feedback. (src/commands/connection.ts src/commands/connection.tsR96-R135)

Credential Flexibility:

  • Updated connection types and logic to allow connections without requiring a username or password, increasing compatibility with different PostgreSQL setups and authentication methods. (src/common/types.ts [1] [2] [3]; src/connectionForm.ts [4] [5] [6] [7] [8]

Build and Publishing Workflow Enhancements:

  • Refactored the Makefile to use npm instead of yarn, added variables for commands, improved packaging and publishing logic, and made the git tagging/version bump process more robust and user-friendly. (Makefile [1] [2]
  • Updated npm scripts in package.json to use npm consistently, aligning with the Makefile changes. (package.json package.jsonL973-R988)

Other:

  • Bumped the extension version to 0.2.0 to reflect these significant improvements. (package.json package.jsonL4-R4)

@ric-v ric-v merged commit 502f306 into dev-asterix:main Nov 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant