|
| 1 | +# Changelog |
| 2 | + |
| 3 | +## v0.5.3 |
| 4 | + |
| 5 | +### Added |
| 6 | +- **ClickHouse Protocol Support**: New `protocol` field in `ConnectionConfig` for ClickHouse connections (`http`, `https`, `clickhouse`, `clickhouse-secure`) |
| 7 | + |
| 8 | +### Fixed |
| 9 | +- **Fail-safe Validation**: Unknown schema check types and unknown operators now fail instead of silently passing |
| 10 | +- **Float Equality**: Equality/inequality comparisons use epsilon tolerance to avoid floating-point precision issues |
| 11 | +- **Error Wrapping**: All adapter `ExecuteQuery` errors now use `%w` for proper error wrapping |
| 12 | +- **ClickHouse Connector**: `Ping` now actually pings the server before fetching version |
| 13 | +- **Config Loading**: Fixed potential NPE |
| 14 | +- **Regex Compilation**: Check parser regexes compiled once at package level instead of per call |
| 15 | + |
| 16 | +### Changed |
| 17 | +- Upgraded to Go 1.26 and updated all dependencies |
| 18 | +- Moved sample checks file to `examples/checks.yml` |
| 19 | +- Copyright headers updated to 2026 |
| 20 | + |
| 21 | +## v0.5.0 |
| 22 | + |
| 23 | +### Added |
| 24 | +- **Schema Validation**: New `schema_checks` support for validating database table schemas |
| 25 | + - `expect_columns` check to validate required column presence and types |
| 26 | + - `expect_columns_ordered` check to validate required column presence and types in specific order |
| 27 | + - `columns_not_present` check to ensure specific columns are not present by stop-list or pattern |
| 28 | +- **Enhanced Check Configuration**: New flexible checks format with improved YAML configuration |
| 29 | +- **Database Adapter Architecture**: Refactored to use adapter pattern for better database abstraction |
| 30 | +- **Comprehensive Test Coverage**: Added extensive test suites for all adapters and validation logic |
| 31 | +- **CI/CD Pipeline**: GitHub Actions workflow for automated testing |
| 32 | + |
| 33 | +### Improved |
| 34 | +- **Performance**: Enhanced query execution with optimized adapter interfaces |
| 35 | +- **Configuration**: More flexible check expression parsing and validation |
| 36 | +- **Error Handling**: Better validation and error reporting for check results |
| 37 | +- **Code Quality**: Comprehensive refactoring with improved maintainability |
0 commit comments