Merged
Conversation
…itecture Major improvements to project quality and maintainability: Tests & Quality: - Add JUnit 5, Mockito, AssertJ test dependencies - Create comprehensive unit tests for DatabaseManager, DynamicTable, ItemBuilder - Add test configuration with proper reporting Documentation: - Create detailed dynamic-database.md guide with examples and best practices - Create comprehensive gui-conditions.md guide for GUI API - Add extensive JavaDoc to public API classes (DatabaseManager, DynamicDatabase) Error Handling: - Introduce exception hierarchy for better error diagnostics - Add DatabaseConnectionException for connection failures - Add QueryExecutionException with SQL context - Add EntityMappingException for ORM errors - Add ConfigurationException for config validation - Update all database code to use specific exceptions Architecture Improvements: - Refactor ItemBuilder to support dependency injection for ColorUtil - Extract HikariConfigBuilder from DatabaseManager for better separation - Add DatabaseMetrics class for connection pool monitoring - Maintain backward compatibility with default constructors This update significantly improves code quality, testability, documentation, and error handling without breaking existing functionality.
Major enhancements: Query System Improvements: - Add QueryOperator enum with 13 comparison operators - Support >, <, >=, <=, LIKE, NOT_LIKE operators - Add IN and NOT IN for list matching - Implement BETWEEN for range queries - Add IS NULL and IS NOT NULL checks - Update Criterion class to handle multiple bind parameters - Add convenience methods: whereLike(), whereIn(), whereBetween(), whereIsNull(), whereIsNotNull() CI/CD & Automation: - Create GitHub Actions workflow for automated releases - Auto-build JAR on version tags - Automatic JitPack trigger for Maven repository - Generate release notes automatically Documentation Updates: - Add comprehensive examples for new query operators - Update limitations section (WHERE operators now supported) - Document all 13 available operators with examples Technical Details: - Fix bind parameter indexing for IN/BETWEEN operators - Maintain backward compatibility with existing where() method - Proper SQL generation for complex queries Version bump: 1.0.6.1 -> 1.0.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.