This release of `pgmonkey` introduces streamlined connection management, internal code refactoring, and a simplified CLI interface, improving usability and standardizing configurations. Version 1.1.5 focuses on enhancing the developer experience, optimizing code for maintainability, and refining user-facing tools to make `pgmonkey` more intuitive and powerful.
🔧 Improvements:
**Standardized Connection Factory Refactoring:**
- Refactored the `PostgresConnectionFactory` to unify and simplify connection instantiation across multiple connection types (normal, pool, async, and async pool).
- This standardization reduces redundant code and improves consistency, making it easier to manage and extend connection types in the future.
- Updated the connection classes to support consistent initialization, allowing for direct instantiation without keyword-specific arguments for configurations.
**CLI Command Optimization:**
- Removed the unused `settings` command from the CLI to streamline the interface, focusing on core PostgreSQL management commands (`pgconfig`, `pgserverconfig`, `pgimport`, `pgexport`).
- This adjustment declutters the CLI, making it easier to navigate and use only essential commands.
💡 How to Upgrade:
To upgrade to the latest version, run:
bash
pip install pgmonkey --upgrade
Thank you for your continued support of `pgmonkey`! If you have any questions or suggestions, please open an issue on our GitHub page. Your feedback is invaluable as we work to make `pgmonkey` the best PostgreSQL management tool for you.