Skip to content

1.3.0

Choose a tag to compare

@smyrgeorge smyrgeorge released this 15 Oct 13:16
· 250 commits to main since this release

Release Notes - v1.3.0

New Features

PostgreSQL PGMQ Extension Support (Experimental)

  • Introduced module sqlx4k-postgres-pgmq for PostgreSQL Message Queue support
  • Added PgMqClient class with comprehensive functionality:
    • send() and send_batch() methods for sending messages
    • pop() method for retrieving messages
    • archive() and delete() methods for message management
    • metrics() methods for queue monitoring
  • Added PgMqConsumer class with:
    • Message consumption from channels
    • Listen support for insert notifications
  • Comprehensive KDoc documentation for all PGMQ classes
  • Unit tests for PgMqClient and PgMqConsumer
  • Updated README with PGMQ extension section and documentation

Migration Enhancements

  • Added overload Migrator.migrate() method that accepts List instead of path

SQL Validation

  • Enable SQL schema validation in KSP
  • Added configurable schema migrations path in KSP
  • Refactored SqlValidator for enhanced query and schema validation capabilities

Context Parameters Documentation

  • Added comprehensive documentation for Context-Parameters usage in repositories
  • Includes configuration examples and usage guidelines

Dependency Updates

  • Bumped org.postgresql:r2dbc-postgresql from 1.0.7.RELEASE to 1.1.0.RELEASE
  • Bumped io.github.smyrgeorge:log4k-slf4j from 1.1.1 to 1.1.2
  • Bumped KSP from 2.2.20-2.0.3 to 2.2.20-2.0.4

Build & CI Updates

  • Updated JVM target to 21 across workflows and multiplatform configurations
  • Updated macOS runner to macos-latest in CI workflow
  • Reinstated log4k.slf4j dependency in sqlx4k-codegen module

Bug Fixes

  • Fixed SQL syntax for send_batch method in PgMqClient

Full Changelog: 1.2.0...1.3.0