1.2.0
[1.2.0] - 2025-10-06
Highlights
- New SQL validation capabilities with per-query toggles, including syntax and schema checks.
- Introduced context-parameter aware repositories with a feature toggle.
- Connection pooling model simplified and unified under
ConnectionPool. - Significant documentation revamp and build performance improvements.
Added
- Per-query SQL syntax validation toggle via
@Query(checkSyntax)and related validation mechanism inRepositoryProcessor. (ffadffe, e6b2bc2) - Introduced
ContextCrudRepositoryto clarify intent; updated references and type handling accordingly. Use context-parameters, experimental. (3d78b00, 7bb2392) - Extracted parameter properties in
Statementinterface to support richer metadata handling. (5e21e1d)
Changed
- Replaced
QueryExecutor.Poolwith unifiedConnectionPool; updated related imports and refactored connection handling across modules. (a1910d5) - Refactored
RepositoryProcessorfor improved context parameter validation; switched validation helpers from parameter lists to function declarations; various null-safety and readability improvements across processors. (71c1c2f, 3d976fa) - Refactored annotation handling to rely on
qualifiedName; centralized annotation constants inTypeNames; general cleanup. (f23c85b) - Consolidated
qualifiedNameandsimpleNameextensions and standardized usage across processors. (c9b5f86)
Removed
- Dropped Calcite server dependency after initial adoption; replaced with lighter validation approach and enhanced schema handling. (76c73c7)
Documentation
- Major README revamp: reorganized sections, expanded articles, detailed usage, SQL validation, supported targets, and examples; removed outdated build scripts. (2f0919b, 349e562, 427c97d)
- Added documentation for 1.2.0. (41917bf)
Performance / Build
- Enabled Gradle parallel execution, build caching, and worker configuration to improve build times. (ef3144e)
CI / Dependencies
- Bump
gradle/actionsfrom 4 to 5 in CI. (1223b9f)
Migration notes
- If you referenced
QueryExecutor.Pool, migrate toConnectionPooland update imports accordingly. - Validation behavior can be tuned using the new toggles. Review README for configuration details.
Full Changelog: 1.1.0...1.2.0