fix: Removed loggerFile and loggerLevel configuration. While the properties still exist.
They can no longer be used to configure the driver logging. Instead use java.util.logging
configuration mechanisms such as logging.properties.
Added
Fixed
[42.3.2] (2022-02-01 07:35:41 -0500)
Security
CVE-2022-21724 pgjdbc instantiates plugin instances based on class names provided via authenticationPluginClassName,
sslhostnameverifier, socketFactory, sslfactory, sslpasswordcallback connection properties.
However, the driver did not verify if the class implements the expected interface before instantiating the class. This
would allow a malicious class to be instantiated that could execute arbitrary code from the JVM. Fixed in commit
fix: we will ask the server if it supports GSS Encryption if gssEncryption
is prefer or require [PR #2396](pgjdbc/pgjdbc#2396) remove the need to have a ticket in the cache before asking the server if gss encryptions are supported
style: remove Java 8 / JDBC 4.2 checks [PR #2383](pgjdbc/pgjdbc#2383) Remove all remaining checks whether the source is lower than Java 8
or JDBC 4.2.
fix: throw SQLException for #getBoolean BIT(>1) [PR #2386](pgjdbc/pgjdbc#2386) Throw SQLException instead of ClassCastException when calling
CallableStatement#getBoolean(int) on BIT(>1).
style: import java.time types in more classes [PR #2382](pgjdbc/pgjdbc#2382) Use imports for java.time types in all remaining classes.
style: import java.time types in TimestampUtils [PR #2380](pgjdbc/pgjdbc#2380) Use imports for java.time types in TimestampUtils.
refactor: Change internal constructors to pass only connection Properties
Changes internal constructors for PgConnection and related classes to only accept the connection properties object and
remove the user and password arguments. Any locations that required those fields can retrieve them from the properties map.
test: Fix DatabaseMetadataTest to perform mview tests only on 9.3+
Bumps org.postgresql:postgresql from 42.2.14 to 42.3.3.
Changelog
Sourced from org.postgresql:postgresql's changelog.
... (truncated)
Commits
9effea4
Update version number and create changelog for 42.3.3 (#2455)12c7fb4
fix javadocs (#2454)f6d4703
Merge pull request from GHSA-673j-qm5f-xpv8c03664e
Update SECURITY.mdddc6315
Update SECURITY.md (#2445)38d9608
add security policy link to index (#2440)ee23fd0
Create SECURITY.md728c04e
fix javadoc failure to document parameters (#2432)2de239f
Generate changelog (#2431)f4d0ed6
Merge pull request from GHSA-v7wg-cpwc-24m4