8000 Releases · pgjdbc/pgjdbc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: pgjdbc/pgjdbc

v42.7.7

11 Jun 10:31
9217ed1
Compare
Choose a tag to compare

Changes

Security

  • security: Client Allows Fallback to Insecure Authentication Despite channelBinding=require configuration.
    Fix channel binding required handling to reject non-SASL authentication
    Previously, when channel binding was set to "require", the driver would silently ignore this
    requirement for non-SASL authentication methods. This could lead to a false sense of security
    when channel binding was explicitly requested but not actually enforced. The fix ensures that when
    channel binding is set to "require", the driver will reject connections that use
    non-SASL authentication methods or when SASL authentication has not completed properly.
    See the Security Advisory for more detail. Reported by George MacKerron
    The following CVE-2025-49146 has been issued

Added

  • test: Added ChannelBindingRequiredTest to verify proper behavior of channel binding settings

🐛 Bug Fixes

  • fix: ensure Connection.isValid() returns true even if prepared statements deallocate @vlsi (#3655)

🧰 Maintenance

  • chore: bump slf4j and logback versions used for pgjdbc-osgi-test @vlsi (#3653)
  • chore: fix the default branch name for dependency-submission action @vlsi (#3650)
  • chore: add gradle/actions/dependency-submission so GitHub shows all dependencies used when building pgjdbc @vlsi (#3646)

⬆️ Dependencies

12 changes
  • chore: bump slf4j and logback versions used for pgjdbc-osgi-test @vlsi (#3653)
  • chore(deps): update oracle-actions/setup-java action to v1.4.2 @renovate-bot (#3643)
  • fix(deps): update dependency checkstyle to v10.25.0 @renovate-bot (#3644)
  • chore: add gradle/actions/dependency-submission so GitHub shows all dependencies used when building pgjdbc @vlsi (#3646)
  • fix(deps): update dependency org.codehaus.groovy:groovy-all to v3.0.25 @renovate-bot (#3648)
  • fix(deps): update dependency org.openrewrite.rewrite:org.openrewrite.rewrite.gradle.plugin to v7.7.0 @renovate-bot (#3649)
  • chore(deps): update plugin com.gradle.develocity to v4.0.2 @renovate-bot (#3647)
  • chore(deps): update codecov/codecov-action digest to 15559ed @renovate-bot (#3636)
  • chore(deps): update dependency gradle to v8.14.1 @renovate-bot (#3637)
  • chore(deps): update plugin org.jetbrains.kotlin.jvm to v2.1.21 - autoclosed @renovate-bot (#3638)
  • chore(deps): update dependency sbt/sbt to v1.11.0 @renovate-bot (#3640)
  • fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v6.1.13 @renovate-bot (#3639)

v42.7.6

28 May 15:19
689708f
Compare
Choose a tag to compare

Changes

  • Prepare release notes for release 42_7_6 (new format) @davecramer (#3628)
  • fix: isValid incorrectly called execute, instead of executeWithFlags fixes Issue #3630 @davecramer (#3631)
  • add override @davecramer (#3629)
  • add the ability to turn off automatic LSN flush @davecramer (#3403)
  • test: add tests with reWriteBatchedInserts=true @vlsi (#3616)
  • test: add CI executions with adaptive_fetch=true by default @vlsi (#3615)
  • test: simplify TestUtil.openDB, add tests with various assumeMinServerVersion values @vlsi (#3614)
  • Deprecate group startup parms @davecramer (#3613)
  • Add back application name setting @joejensen (#3509)
  • Copr: Use Java 21 as the build dependency @mkoncek (#3607)
  • fix indentation of return child to allow built pass in Checkstyle's CIs @mohitsatr (#3611)
  • Set column name explicitely when using current_database() in queries @kneth (#3526)
  • add PgMessageType and use static variables for protocol literals @davecramer (#3609)
  • Handle protocol 3.2 and wider cancel keys. @davecramer (#3592)
  • refactor empty resultset to use empty result set if the catalog is not correct @davecramer (#3588)
  • Use query to find the current catalog instead of relying on the database in the connection URL or connection properties as this could be different if connected through a pooler or proxy @davecramer (#3565)
  • ci: add Java 24 tests @davecramer (#3580)
  • docs: Relabel 42.7.4 as past version as it is no longer the latest @sehrope (#3586)
  • test: remove stale logging message from SslTest @vlsi (#3584)
  • chore: appply the latest byte-buddy version for tests so we support the latest Java versions @vlsi (#3583)
  • fix: make PgConnection#abort compatible with Java 24 @vlsi (#3582)
  • chore(deps): update plugin com.github.burrunan.s3-build-cache to v1.8.5 @renovate-bot (#3573)
  • Fix JavadocTagContinuationIndentation in AfterBeforeParameterResolver @Anmol202005 (#3566)
  • Revert "use in row values instead of union all (#3510)" @vlsi (#3524)
  • use in row values instead of union all @davecramer (#3510)
  • feat: enhanced DatabaseMetadata.getIndexInfo() method, added index comment as REMARKS property @raminorujov (#3513)
  • Nit: correct message in main.yml test action @ecki (#3503)
  • chore: use import instead of require to support modern NodeJS @vlsi (#3502)
  • chore: use PostgreSQL 17 rather than 17rc1 for CI tests @vlsi (#3501)
  • chore: add ErrorProne verification to catch bugs ealier @vlsi (#3493)
  • fix: ArrayIndexOutOfBounds when write big object into GSS enabled connection, make GSSInputStream robust in face of streams that produce incomplete reads @vlsi (#3500)
  • refactor: factor out duplicated .getBytes() when converting date/time to Date/Time/Timestamp @vlsi (#3497)
  • chore: exclude Oracle Java 17 from CI tests @vlsi (#3499)
  • chore: remove unused Travis CI configuration @vlsi (#3498)
  • Undeprecate sslfactoryarg connection property @sehrope (#3496)
  • fix:Fix sending extra_float_digits @davecramer (#3491)

🐛 Bug Fixes

  • fix: EOFException on PreparedStatement#toString with unset bytea parameter since 42.7.4 @MrEasy (#3369)

🧰 Maintenance

  • chore: use Java 21 for building pgjdbc by default @vlsi (#3612)

⬆️ Dependencies

55 changes

What's Changed

  • fix:Fix sending extra_float_digits by @davecramer in #3491
  • chore(deps): update plugin com.gradle.develocity to v3.19.1 by @renovate-bot in #3488
  • Undeprecate sslfactoryarg connection property by @sehrope in #3496
  • fix(deps): update dependency checkstyle to v10.21.1 by @renovate-bot in #3489
  • fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v6.1.2 by @renovate-bot in #3486
  • chore(deps): update codecov/codecov-action digest to 0da7aa6 by @renovate-bot in #3484
  • chore: remove unused Travis CI configuration by @vlsi in #3498
  • chore: exclude Oracle Java 17 from CI tests by @vlsi in #3499
  • refactor: factor out duplicated .getBytes() when converting date/time to Date/Time/Timestamp by @vlsi in #3497
  • fix: ArrayIndexOutOfBounds when write big object into GSS enabled connection, make GSSInputStream robust in face of streams that produce incomplete reads by @vlsi in #3500
  • chore: add ErrorProne verification to catch bugs ealier by @vlsi in #3493
  • fix(deps): update checkerframework by @renovate-bot in #3485
  • chore: use PostgreSQL 17 rather than 17rc1 for CI tests by @vlsi in #3501
  • chore: use import instead of require to support modern NodeJS by @vlsi in http...
Read more

v42.7.5

14 Jan 15:24
94a1693
Compare
Choose a tag to compare

Changes

⬆️ Dependencies

32 changes

v42.7.4

22 Aug 16:47
a23fa70
Compare
Choose a tag to compare

Changes

⬆️ Dependencies

53 changes

v42.7.3

15 Mar 12:37
818953a
Compare
Choose a tag to compare

Changes

v42.7.2

21 Feb 13:51
06abfb7
Compare
Choose a tag to compare

Security

CVE-2024-1597 and Security Advisory addressed. The vulnerability occurs only in non-default preferQueryMode=simple mode and only if a negative place holder -? is used. See the security advisory for details

What's Changed

  • perf: avoid autoboxing bind indexes by @bokken in #1244
  • add: Add PasswordUtil for encrypting passwords client side by @sehrope in #3082
  • refactor: document that encodePassword will zero out the password array, and remove driver's default encodePassword by @vlsi in #3084
  • change: Use simple query for isValid. Using Extended query sends two messages by @davecramer in #3101

Full Changelog: REL42.7.1...REL42.7.2

v42.7.1

06 Dec 18:29
Compare
Choose a tag to compare

Fixed regressions since 42.7.0

  • Revert "Use canonical DateStyle name (#2925)" @vlsi (#3035)
  • Revert "feat: support SET statements combining with other queries with semicolon in PreparedStatement" @vlsi (#3010)
  • chore: use java.release=8 when building pgjdbc from the generated source distribution @vlsi (#3038), the driver uses Java 8 methods only

Changes

  • Apply connectTimeout before SSLSocket.startHandshake to avoid infinite wait in case the connection is broken @davecramer (#3040)
  • perf: improve performance of PreparedStatement.setBlob, BlobInputStream, and BlobOutputStream with dynamic buffer sizing @vlsi (#3044)
  • fix: avoid timezone conversions when sending LocalDateTime to the database @vlsi (#2852)
  • fix: support waffle-jna 2.x and 3.x by using reflective approach for ManagedSecBufferDesc @chrullrich (#2720)

🧰 Maintenance

  • chore: bump Gradle to 8.5 @vlsi (#3045)
  • chore: use Java 17 for building pgjdbc, and use --release 8 to target Java 8, add tests with Java 21 and 22 @vlsi (#3026)
  • fedora/rpm: move source build to java-17-openjdk-devel @praiskup (#3036)
  • Update site 42 7 0 @davecramer (#3004)
  • prepared for release 42.7.1 update changelogs @davecramer (#3037)

⬆️ Dependencies

28 changes

v42.7.0

20 Nov 19:08
1566eed
Compare
Choose a tag to compare

Known issues

  • NoSuchMethodError on ByteBuffer#position When Running on Java 8 when accessing arrays, issue #3014, fixed in 42.7.1
  • SET followed by SHOW in one statement returns wrong result, issue #3007, fixed in 42.7.1
  • 42.7.0 updated DateStyle from ISO to ISO, MDY (it aligns with PostgreSQL defaults), and it result in wrong results when server uses non-default DateStyle (see #3008), fixed in 42.7.1

Changes

⬆️ Dependencies

29 changes
  • fix(deps): update dependency org.codehaus.groovy:groovy-all to v3.0.19 @renovate-bot (#2993)
  • fix(deps): update dependency jacoco to v0.8.11 @renovate-bot (#2990)
  • fix(deps): update dependency checkstyle to v10.12.4 @renovate-bot (#2989)
  • chore(deps): update codecov/codecov-action digest to f4993f1 @renovate-bot (#2981)
  • chore(deps): update dependency gradle to v7.6.3 @renovate-bot (#2985)
  • chore(deps): update dependency sbt/sbt to v1.9.7 @renovate-bot (#2984)
  • chore(deps): update plugin com.github.johnrengelman.shadow to v8 @renovate-bot (#2917)
  • chore(deps): update dependency sbt/sbt to v1 @renovate (#2915)
  • chore(deps): update com.github.vlsi to v1.88 @renovate (#2907)
  • fix(deps): update dependency com.google.errorprone:error_prone_core to v2.19.1 @renovate (#2910)
  • fix(deps): update dependency net.ltgt.errorprone:net.ltgt.errorprone.gradle.plugin to v3.1.0 @renovate (#2913)
  • fix(deps): update dependency checkstyle to v10.12.0 @renovate (#2909)
  • chore(deps): update codecov/codecov-action digest to eaaf4be @renovate (#2906)
  • chore(deps): update plugin com.github.burrunan.s3-build-cache to v1.6 @renovate (#2898)
  • chore(deps): update plugin org.jetbrains.kotlin.jvm to v1.8.21 @renovate (#2890)
  • fix(deps): update dependency org.codehaus.groovy:groovy-all to v3.0.17 @renovate (#2892)
  • fix(deps): update junit5 monorepo to v5.9.3 @renovate (#2893)
  • fix(deps): update dependency jacoco to v0.8.10 @renovate (#2891)
  • chore(deps): update plugin me.champeau.jmh to v0.7.1 @renovate (#2889)
  • chore(deps): update codecov/codecov-action digest to b4dfea7 @renovate (#2888)
  • chore(deps): update plugin com.github.vlsi.gettext to v1.87 @renovate (#2870)
  • fix(deps): update logback to v1.2.12 @renovate (#2868)
  • chore(deps): update plugin org.gradlex.build-parameters to v1.4.3 @renovate (#2865)
  • fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v5.0.14 @renovate (#2866)
  • chore(deps): update plugin com.github.vlsi.crlf to v1.87 @renovate (#2869)
  • chore(deps): update plugin com.github.vlsi.gradle-extensions to v1.87 @renovate (#2871)
  • chore(deps): update plugin com.github.vlsi.ide to v1.87 @renovate (#2872)
  • fix(deps): update dependency org.codehaus.groovy:groovy-all to v3.0.16 @renovate (#2867)
  • chore(deps): update codecov/codecov-action digest to fee4896 @renovate (#2864)

v42.6.0

25 Sep 11:30
d6a0cc2
Compare
Choose a tag to compare

Changes

🚀 Features

  • fix: use PhantomReferences instead of Obejct.finalize to track Connection leaks @vlsi (#2847)
  • fix: reduce memory overhead of .finalize() methods in PgConnection and StreamWrapper @vlsi (#2817)
  • refactor:(loom) replace the usages of synchronized with ReentrantLock @rbygrave (#2635)

📝 Documentation

🧰 Maintenance

  • chore: fix usage of deprecated APIs in tests @vlsi (#2849)
  • test: increase timeouts for resolving Maven dependencies in OSGi tests @vlsi (#2848)
  • chore: pass "same hashcode" to test task only @vlsi (#2822)
  • chore: resolve jacocoReport failure @vlsi (#2820)
  • chore: configure Release Drafter to use releases from a single branch only @vlsi (#2819)
  • feat: add Release Drafter for preparing release notes on GitHub @vlsi (#2818)
  • Make sure that github CI runs tests on all PRs @davecramer (#2808)
  • fix: Update function volatility in SchemaTest setup @rafiss (#2806)
  • chore: split /build.gradle.kts to build-logic/ plugins @vlsi (#2755)
  • chore: tune down the number of CI jobs for PR builds from 7 to 5 @vlsi (#2761)

⬆️ Dependencies

57 changes
  • fix(deps): update dependency com.google.errorprone:error_prone_core to v2.19.1 @renovate (#2910)
  • fix(deps): update dependency net.ltgt.errorprone:net.ltgt.errorprone.gradle.plugin to v3.1.0 @renovate (#2913)
  • fix(deps): update dependency checkstyle to v10.12.0 @renovate (#2909)
  • chore(deps): update codecov/codecov-action digest to eaaf4be @renovate (#2906)
  • chore(deps): update plugin com.github.burrunan.s3-build-cache to v1.6 @renovate (#2898)
  • chore(deps): update plugin org.jetbrains.kotlin.jvm to v1.8.21 @renovate (#2890)
  • fix(deps): update dependency org.codehaus.groovy:groovy-all to v3.0.17 @renovate (#2892)
  • fix(deps): update junit5 monorepo to v5.9.3 @renovate (#2893)
  • fix(deps): update dependency jacoco to v0.8.10 @renovate (#2891)
  • chore(deps): update plugin me.champeau.jmh to v0.7.1 @renovate (#2889)
  • chore(deps): update codecov/codecov-action digest to b4dfea7 @renovate (#2888)
  • chore(deps): update plugin com.github.vlsi.gettext to v1.87 @renovate (#2870)
  • fix(deps): update logback to v1.2.12 @renovate (#2868)
  • chore(deps): update plugin org.gradlex.build-parameters to v1.4.3 @renovate (#2865)
  • fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.plugin to v5.0.14 @renovate (#2866)
  • chore(deps): update plugin com.github.vlsi.crlf to v1.87 @renovate (#2869)
  • chore(deps): update plugin com.github.vlsi.gradle-extensions to v1.87 @renovate (#2871)
  • chore(deps): update plugin com.github.vlsi.ide to v1.87 @renovate (#2872)
  • fix(deps): update dependency org.codehaus.groovy:groovy-all to v3.0.16 @renovate (#2867)
  • chore(deps): update codecov/codecov-action digest to fee4896 @renovate (#2864)
  • chore: bump classloader-leak-test-framework to 1.1.2 @vlsi (#2855)
  • chore(deps): update codecov/codecov-action digest to 13d8b07 @renovate (#2830)
  • chore(deps): update plugin me.champeau.jmh to v0.7.0 @renovate (#2831)
  • fix(deps): update dependency checkstyle to v10.8.1 @renovate (#2840)
  • chore: bump com.github.lburgazzoli.karaf to 0.5.6 to fix deprecations @vlsi (#2843)
  • chore(deps): update dependency sbt/sbt to v0.13.18 @renovate (#2839)
  • chore: reduce Renovate frequency to once every 3 weeks @vlsi (#2832)
  • chore(deps): bump Gradle to 8.0.1 @vlsi (#2821)
  • chore(deps): update codecov/codecov-action digest to 83bb3d0 @renovate (#2803)
  • fix(deps): update dependency org.checkerframework:checker-qual to v3.31.0 @renovate (#2816)
  • fix(deps): update dependency org.checkerframework:checker to v3.31.0 @renovate (#2815)
  • chore(deps): update ubuntu docker tag to v22 @renovate (#2795)
  • fix(deps): update dependency org.osgi:org.osgi.core to v6 @renovate (#2798)
  • fix(deps): update dependency javax:javaee-api to v8 @renovate (#2797)
  • chore(deps): update plugin org.owasp.dependencycheck to v8 @renovate (#2794)
  • chore(deps): update plugin com.github.johnrengelman.shadow to v7 @renovate (#2793)
  • fix(deps): update jmh to v1.36 @renovate (#2790)
  • fix(deps): update dependency spotbugs to v4.7.3 @renovate (#2789)
  • fix(deps): update dependency junit:junit to v4.13.2 @renovate (#2786)
  • fix(deps): update dependency org.checkerframework:checker-qual to v3.30.0 @renovate (#2787)
  • chore(deps): update plugin org.nosphere.gradle.github.actions to v1.3.2 @renovate (#2784)
  • fix(deps): update dependency de.thetaphi.forbiddenapis:de.thetaphi.forbiddenapis.gradle.plugin to v3.4 @renovate (#2785)
  • chore(deps): update plugin biz.aqute.bnd.builder to v6.4.0 @renovate (#2781)
  • chore(deps): update plugin com.github.johnrengelman.shadow to v5.2.0 @renovate (#2782)
  • chore(deps): update plugin com.github.burrunan.s3-build-cache to v1.5 @renovate (#2780)
  • fix(deps): update dependency jacoco to v0.8.8 @renovate (#2777)
  • chore(deps): update dependency com.typesafe.play:sbt-plugin to v2.8.19 @renovate (#2779)
  • fix(deps): update dependency org.codehaus.groovy:groovy-all to v3.0.15 @renovate (#2778)
  • chore(deps): update plugin org.owasp.dependencycheck to v5.3.2.1 @renovate (#2775)
  • fix(deps): update dependency com.igormaznitsa:jcp to v7.0.5 @renovate (#2776)
  • fix(deps): update dependency uk.org.webcompere:system-stubs-jupiter to v2.0.2 @renovate (#2774)
  • chore(deps): update plugin org.gradlex.build-parameters to v1.4.2 @renovate (#2771)
  • chore(deps): update actions/checkout action to v3 @renovate (#2772)
  • fix(deps): update junit5 monorepo to v5.9.2 @renovate (#2769)
  • chore(deps): update dependency com.typesafe.play:anorm to v2.5.3 @renovate (#2767)
  • chore(deps): update codecov/codecov-action digest to 742000a @renovate (#2766)
  • Configure Renovate @renovate (#2756)

v42.5.4

19 Feb 07:13
051ae1b
Compare
Choose a tag to compare

What's Changed

  • apply doc changes from PR #2743 to release/42.5.x by < 3D11 a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/davecramer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/davecramer">@davecramer in #2753
  • fix: fix testGetSQLTypeQueryCache by searching for xid type. by @davecramer in #2805
  • Revert "fix: fix testGetSQLTypeQueryCache by searching for xid type." by @davecramer in #2807
  • Make sure that github CI runs tests on all PRs by @davecramer in #2809
  • fix: fix testGetSQLTypeQueryCache by searching for xid type instead of box. by @davecramer in #2810
  • Update docs for Release 42.5.4 by @davecramer in #2812

Full Changelog: REL42.5.3...REL42.5.4

0