The PostgreSQL JDBC team is pleased to announce the release of version 42.2.1.
This is primarily to fix some regressions:
Most notably:
- Avoid connection failure when 
DateStyleis set toISO(~PgBouncer) Issue 1080 - Package scram:client classes, so SCRAM works when using a shaded jar PR#1091 1a89290e
 - reWriteBatchedInserts=true causes syntax error with ON CONFLICT Issue 1045PR 1082
 - Avoid failure in getPGArrayType when stringType=unspecified PR 1036