Skip to content

1.5.5

Latest

Choose a tag to compare

@smyrgeorge smyrgeorge released this 28 Dec 14:26
· 3 commits to main since this release

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 AutoRowMapper in the @Repository annotation. RepositoryProcessor now automatically handles mappers when a custom one isn't specified.
    • PostgreSQL Support: Expanded TableProcessor and RowMapper generation to support the PostgreSQL dialect.
    • SQL Validation: Integrated JetBrains annotations, enabling @Language("SQL") on @Query methods for better IDE-level SQL syntax highlighting and validation.
  • Core API & Transactions:

    • Safe Transactions: Introduced transactionCatching for safer transactional operations and enhanced existing transaction logic with better Result handling.
    • Value Encoding/Decoding:
      • Refactored ValueEncoder as a functional interface.
      • Expanded ValueEncoder to support bidirectional encoding (added decode support).
      • Enhanced ValueEncoderRegistry with reified type support and improved registration APIs.
    • RowMapper Improvements: Refactored the RowMapper interface to support value decoders, improving query mapping and class name handling.
  • Error Handling & Drivers:

    • Enhanced Error Propagation: Improved SQLError creation to include underlying exception causes across MySQL, PostgreSQL, SQLite, and ConnectionPool implementations.

Full Changelog: 1.5.3...1.5.5