27 August 2018
PostgreSQL JDBC Driver 42.2.5 Released
Notable changes
Changed
ssl=true implies sslmode=verify-full, that is it requires valid server certificate cdeeaca4
Added
- Support for
sslmode=allow/prefer/require cdeeaca4
Fixed
- Security: added server hostname verification for non-default SSL factories in
sslmode=verify-full (CVE-2018-10936) cdeeaca4
- Updated documentation on SSL configuration fa032732
- Updated Japanese translations PR 1275
- IndexOutOfBounds on prepared multistatement with insert values c2885dd0
See full changelog for 42.2.5
14 July 2018
PostgreSQL JDBC Driver 42.2.4 Released
Notable changes
Changed
- PreparedStatement.setNull(int parameterIndex, int t, String typeName) no longer ignores the typeName
argument if it is not null PR 1160
Fixed
- Fix treatment of SQL_TSI_YEAR, SQL_TSI_WEEK, SQL_TSI_MINUTE PR 1250
- Map integrity constraint violation to XA_RBINTEGRITY instead of XAER_RMFAIL PR 1175 f2d1352c
See full changelog for 42.2.4
12 July 2018
PostgreSQL JDBC Driver 42.2.3 Released
Notable changes
Known issues
- SQL_TSI_YEAR is treated as hour, SQL_TSI_WEEK is treated as hour, SQL_TSI_MINUTE is treated as second (fixed in 42.2.4)
Changed
- Reduce the severity of the error log messages when an exception is re-thrown. The error will be thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc PR 1187
- Deprecate Fastpath API PR 903
- Support parenthesis in {oj ...} JDBC escape syntax PR 1204
- ubenchmark module moved pgjdbc/benchmarks repository due to licensing issues PR 1215
- Include section on how to submit a bug report in CONTRIBUTING.md PR 951
Fixed
- getString for PGObject-based types returned "null" string instead of null PR 1154
- Field metadata cache can be disabled via databaseMetadataCacheFields=0 PR 1052
- Properly encode special symbols in passwords in BaseDataSource PR 1201
- Adjust date, hour, minute, second when rounding nanosecond part of a timestamp PR 1212
- perf: reduce memory allocations in query cache PR 1227
- perf: reduce memory allocations in SQL parser PR 1230, PR 1233
- Encode URL parameters in BaseDataSource PR 1201
- Improve JavaDoc formatting PR 1236
See full changelog for 42.2.3
The PostgreSQL JDBC group would like to thank YourKit
for graciously providing licenses to the project.