Skip to content

V1.2.4 release#79

Merged
ric-v merged 17 commits into
dev-asterix:mainfrom
ric-v:main
May 4, 2026
Merged

V1.2.4 release#79
ric-v merged 17 commits into
dev-asterix:mainfrom
ric-v:main

Conversation

@ric-v
Copy link
Copy Markdown
Member

@ric-v ric-v commented May 4, 2026

This pull request updates the PostgreSQL Explorer extension to version 1.2.4, introducing major new features, improvements, and bug fixes. The highlights include a comprehensive backup/restore workflow, PostgreSQL server version awareness, enhancements to SQL completion, and refined user experiences across database commands, chat, and result rendering. The changelog has also been rewritten for clarity and user focus.

Key changes:

New Features:

  • Backup and restore: Adds integrated database backup and restore with UI for selecting connections/databases, argument building, scheduled tasks, and improved logging. The chat assistant now supports backup-related tooling.
  • PostgreSQL server version awareness: The extension now adapts queries and metadata based on the live server version, improving compatibility with PostgreSQL 10 and 11.

Enhancements and Refactors:

  • Database commands: Refactored command surface to align with new backup/restore entry points and unified connection resolution for external tools.
  • Chat and webview: Updated wiring to support backup workflows in the assistant and improved chat webview behavior.
  • SQL completion and result rendering: Improved SQL keyword suggestions, completion depth, and renderer structure for better usability and maintainability.

Changelog and Documentation:

  • The CHANGELOG.md has been rewritten for clarity, with more user-focused, concise entries for all recent releases. [1] [2] [3]

Tooling/Configuration:

  • VS Code workspace settings now ensure the extension uses the workspace TypeScript version.

Versioning:

  • Bumped extension version to 1.2.4 in package.json.

ric-v and others added 17 commits April 29, 2026 23:11
- Added a new command to show "What's New in PgStudio" in the command palette.
- Integrated WhatsNewManager into command registration and activation flow.
- Removed the TelemetryStatusBar component and adjusted telemetry tracking methods for better performance.
- Updated the .gitignore to include new files and directories.
- Improved telemetry event tracking for connection management and query execution.
…nsaction control cell

Co-authored-by: Copilot <copilot@github.com>
…neration in SqlExecutor; enhance QueryAnalyzer for detailed ALTER operation impact descriptions and confirmation rules
…age; improve SQL completion provider with object type handling and schema context; update tests for new completion behavior

Co-authored-by: Copilot <copilot@github.com>
- Implement warm cache functionality for SQL completion based on notebook document metadata.
- Add cache invalidation logic in DatabaseTreeProvider and SqlExecutor to ensure up-to-date suggestions.
- Introduce methods in SqlParser for stripping comments and normalizing identifiers.
- Update tests to cover new completion behavior and SQL parsing features.

This improves the overall performance and accuracy of SQL suggestions in notebooks.
- Introduce signature help provider for SQL in notebooks to improve user experience.
- Add detection for SQL statements that change the search path, affecting completion suggestions.
- Update SqlCompletionProvider to handle new completion scenarios, including derived subquery aliases and session metadata.
- Extend tests to validate new functionality and ensure accurate completion behavior.

These changes enhance the SQL editing experience in notebooks by providing more contextual assistance and improving completion accuracy.
- Bump version to 1.3.4.
- Add new commands for viewing ERD across multiple schemas and importing DBML files.
- Integrate @cursor/sdk and @dbml/core for improved functionality.
- Update package-lock.json with new dependencies and versions.
- Refactor AI service calls to streamline provider handling.

These changes enhance the PostgreSQL exploration experience by providing additional schema visualization options and improved data import capabilities.
- Update Chart.js integration by implementing an idempotent registration function to streamline chart rendering.
- Introduce new components for rendering charts and handling query results, including lazy-loaded tabs for charts and explanations.
- Add utility functions for managing edit diffs and rendering changes in query results.
- Enhance the overall structure of the renderer by separating concerns and improving modularity.

These changes improve the user experience in visualizing data and managing query results within the application.
…ements

- Added SQL completion warm cache for enhanced performance.
- Introduced ERD 2.0 capabilities for multi-schema visualization and DBML import.
- Implemented lazy loading for result tabs to optimize UI performance.
- Improved SQL keyword suggestions and completion depth handling.
- Reorganized schema designer and ERD panel for better modularity.
- Enhanced notebook result renderer for clearer structure and maintenance.

These updates enhance the overall user experience and functionality of the PostgreSQL Explorer extension.
- Introduced a new utility to query the PostgreSQL server version, allowing for feature adaptations based on version.
- Updated SQL query builders to utilize the server version for improved compatibility with PostgreSQL 10 and 11 features.
- Enhanced various command operations to include server version checks, ensuring accurate data retrieval and processing.
- Added configuration settings for TypeScript in the VSCode environment.

These changes improve the overall functionality and adaptability of the PostgreSQL Explorer extension.
- Added new commands for backing up and restoring databases, including a user-friendly interface for selecting connections and databases.
- Introduced a webview panel for backup and restore operations, enhancing user experience with clear instructions and options.
- Implemented task provider for pg_dump, allowing users to schedule backups directly from the VSCode environment.
- Enhanced error handling and logging for backup and restore processes, ensuring better feedback and troubleshooting capabilities.
- Updated the .gitignore file to exclude generated output directories.

These changes significantly improve the PostgreSQL Explorer extension's capabilities for managing database backups and restores.
@ric-v ric-v merged commit 88786c7 into dev-asterix:main May 4, 2026
3 of 13 checks passed
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