Release Notes - Version 1.5.5
This release introduces significant improvements to the code generation processor, enhanced transaction handling, and better error propagation across all supported database drivers.
🚀 New Features & Enhancements
-
Codegen & Annotations:
- Auto-generated RowMappers: Added support for
AutoRowMapperin the@Repositoryannotation.RepositoryProcessornow automatically handles mappers when a custom one isn't specified. - PostgreSQL Support: Expanded
TableProcessorandRowMappergeneration to support the PostgreSQL dialect. - SQL Validation: Integrated JetBrains annotations, enabling
@Language("SQL")on@Querymethods for better IDE-level SQL syntax highlighting and validation.
- Auto-generated RowMappers: Added support for
-
Core API & Transactions:
- Safe Transactions: Introduced
transactionCatchingfor safer transactional operations and enhanced existingtransactionlogic with betterResulthandling. - Value Encoding/Decoding:
- Refactored
ValueEncoderas a functional interface. - Expanded
ValueEncoderto support bidirectional encoding (addeddecodesupport). - Enhanced
ValueEncoderRegistrywith reified type support and improved registration APIs.
- Refactored
- RowMapper Improvements: Refactored the
RowMapperinterface to support value decoders, improving query mapping and class name handling.
- Safe Transactions: Introduced
-
Error Handling & Drivers:
- Enhanced Error Propagation: Improved
SQLErrorcreation to include underlying exception causes across MySQL, PostgreSQL, SQLite, andConnectionPoolimplementations.
- Enhanced Error Propagation: Improved
Full Changelog: 1.5.3...1.5.5