UNPKG

@starbemtech/star-db-query-builder

Version:

A query builder to be used with mysql or postgres

66 lines (49 loc) 2.45 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [1.1.0] - 2024-12-19 ### Added - **Multi-Connection Support**: Support for multiple simultaneous connections - **TypeScript Support**: Complete typing with TypeScript 5.8+ - **Auto Retry Mechanism**: Automatic retry system for transient errors - **Monitoring System**: Event system for monitoring and logging - **Batch Operations**: Optimized batch operations (insertMany, updateMany) - **Unaccent Support**: Support for PostgreSQL unaccent extension - **Complex Query Builder**: Fluent interface for complex queries - **Transaction Support**: Transaction support - **Connection Pooling**: Efficient connection management ### Features - **PostgreSQL Client**: Complete PostgreSQL client with extensions - **MySQL Client**: Complete MySQL client for MySQL 5.7+ - **Generic Repository**: Generic and type-safe CRUD methods - **Query Utils**: Utilities for building SQL queries - **Error Handling**: Robust error handling - **Performance Optimization**: Performance optimizations for batch operations ### Technical - **ESLint + Prettier**: Configuration for clean and consistent code - **Jest Testing**: Unit and integration tests - **Husky Hooks**: Git hooks for code quality - **GitHub Actions**: Automated CI/CD - **NPM Publishing**: Automated NPM publishing ### Documentation - **Complete API Reference**: Complete API documentation - **Practical Examples**: Practical usage examples - **Advanced Use Cases**: Advanced use cases - **Monitoring Guide**: Monitoring and logging guide - **Installation Guide**: Installation and configuration guide ## [Unreleased] ### Planned - **MongoDB Support**: MongoDB support - **Redis Support**: Redis support - **Query Caching**: Query caching system - **Connection Health Checks**: Connection health checks - **Performance Metrics**: Detailed performance metrics - **Migration Tools**: Data migration tools - **Schema Validation**: Schema validation - **GraphQL Integration**: GraphQL integration ### Improvements - **Better Error Messages**: More descriptive error messages - **Query Optimization**: Additional query optimizations - **Memory Management**: Better memory management - **Connection Pool Tuning**: Automatic connection pool tuning