|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [2.3.0] - 2025-01-11 |
| 4 | + |
| 5 | +### Added |
| 6 | +- Comprehensive integration tests using testcontainers for PostgreSQL |
| 7 | +- Support for array type detection from PostgreSQL information_schema |
| 8 | +- Enhanced test coverage for date arithmetic and array operations |
| 9 | +- Automated test data generation for comprehensive testing |
| 10 | +- Integration tests validating complete CEL-to-SQL-to-results workflow |
| 11 | + |
| 12 | +### Changed |
| 13 | +- Updated SQL generation to use PostgreSQL-specific syntax consistently |
| 14 | +- Updated string literals to use single quotes (PostgreSQL standard) |
| 15 | +- Updated `contains` function to use `POSITION` instead of `CONTAINS` |
| 16 | +- Updated array length function to use `ARRAY_LENGTH(..., 1)` |
| 17 | +- Updated timestamp handling to use `CAST(..., AS TIMESTAMP WITH TIME ZONE)` |
| 18 | +- Improved array type detection to handle PostgreSQL's `ARRAY` type suffix |
| 19 | +- Enhanced boolean handling to use `IS TRUE`/`IS FALSE` for PostgreSQL |
| 20 | + |
| 21 | +### Fixed |
| 22 | +- Fixed array type detection in `pg/provider.go` to properly handle PostgreSQL array types |
| 23 | +- Fixed string literal quoting in SQL generation for PostgreSQL compatibility |
| 24 | +- Fixed timestamp function generation for PostgreSQL date/time operations |
| 25 | +- Fixed all test expectations to match actual PostgreSQL output |
| 26 | +- Fixed CEL boolean handling for proper PostgreSQL boolean operations |
| 27 | + |
| 28 | +### Removed |
| 29 | +- Removed MySQL-style backtick quoting from SQL generation |
| 30 | +- Removed demo and debug files to clean up the codebase |
| 31 | + |
| 32 | +### Security |
| 33 | +- Improved SQL injection prevention through proper quoting |
| 34 | +- Enhanced parameterized query support |
| 35 | + |
| 36 | +## [2.2.0] - 2025-01-10 |
| 37 | + |
| 38 | +### Added |
| 39 | +- Initial comprehensive PostgreSQL migration |
| 40 | +- Enhanced type system integration |
| 41 | + |
| 42 | +## [2.1.1] - 2025-01-10 |
| 43 | + |
| 44 | +### Fixed |
| 45 | +- Bug fixes and improvements |
| 46 | + |
| 47 | +## [2.1.0] - 2025-01-10 |
| 48 | + |
| 49 | +### Added |
| 50 | +- Enhanced CEL expression support |
| 51 | + |
3 | 52 | ## [2.0.0] - 2025-07-10 |
4 | 53 |
|
5 | 54 | ### BREAKING CHANGES |
|
0 commit comments