v0.21.0 - PostgreSQL 17, Configurable Schema, Integration Tests
Pre-release
Pre-release
Release 0.21.0: Phase 2.3 Complete
π Major Changes
- Upgraded to PostgreSQL 17 (from PostgreSQL 16)
- Configurable schema support via
POSTGRES_SCHEMAenvironment 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.batfor 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.mdguide - Updated
CLAUDE.mdwith 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