Skip to content

v0.21.0 - PostgreSQL 17, Configurable Schema, Integration Tests

Pre-release
Pre-release

Choose a tag to compare

@mayhew3 mayhew3 released this 09 Nov 20:09
· 21 commits to master since this release
574b5c8

Release 0.21.0: Phase 2.3 Complete

πŸš€ Major Changes

  • Upgraded to PostgreSQL 17 (from PostgreSQL 16)
  • Configurable schema support via POSTGRES_SCHEMA environment variable
  • Comprehensive integration tests - 6 new PostgreSQL CRUD tests
  • CI integration tests - All tests now run in CI with Docker databases
  • Local test scripts - Easy test-local.sh/test-local.bat for local testing

✨ Test Infrastructure

  • βœ… All 146 tests pass in CI (120+ unit tests + 26 integration tests)
  • 🐳 Docker Compose setup for local PostgreSQL/MySQL testing
  • πŸ“š Comprehensive test documentation in TESTING.md
  • πŸ”§ Automatic environment variable configuration

βš™οΈ Configuration

  • Default Port: 5440 (configurable via POSTGRES_PORT)
  • Default Version: PostgreSQL 17 (configurable via POSTGRES_VERSION)
  • Schema: Configurable via POSTGRES_SCHEMA (defaults to "test")
  • Gradle automatically passes environment variables to test JVM

πŸ“– Documentation

  • Added comprehensive TESTING.md guide
  • Updated CLAUDE.md with test script usage
  • CI troubleshooting and schema configuration docs

πŸ”§ JitPack Usage

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.mayhew3:Postgres-Object:0.21.0'
}

πŸ› Bug Fixes

  • Fixed CI schema mismatch issues
  • Corrected PostgreSQLCRUDIntegrationTest table names
  • Fixed ResultSet positioning bugs in integration tests
  • Fixed null handling test expectations

All tests passing in CI: https://github.com/mayhew3/Postgres-Object/actions