postgresql-jdbc.git / summary / log / commit / refs

commit    bb577e0a7afb0df74a9a00d43896ada2c1dd0dfc
Author:   Dave Cramer <davecramer@gmail.com>
Commit:   GitHub <noreply@github.com>
Date:     Wed Dec 06 14:09:53 2023 +0000

    prepared for release 42.7.1 update changelogs (#3037)
    
    * prepared for release 42.7.1 update changelogs
    


CHANGELOG.md | 19 ++++++++++ .../changelogs/2023-11-20-42.7.0-release.md | 7 ++++ .../changelogs/2023-12-06-42.7.1-release.md | 40 ++++++++++++++++++++++ docs/data/homepagedata.toml | 5 +++ docs/data/versions.toml | 11 ++++-- docs/layouts/partials/home/info.html | 5 ++- 6 files changed, 82 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0f2127e..8038de6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,25 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ### Added ### Fixed +## [42.7.1] (2023-12-06 08:34:00 -0500) + +### Changed +* perf: improve performance of PreparedStatement.setBlob, BlobInputStream, and BlobOutputStream with dynamic buffer sizing [PR #3044](https://github.com/pgjdbc/pgjdbc/pull/3044) + +### Fixed + +* fix: Apply connectTimeout before SSLSocket.startHandshake to avoid infinite wait in case the connection is broken [PR #3040](https://github.com/pgjdbc/pgjdbc/pull/3040) +* fix: support waffle-jna 2.x and 3.x by using reflective approach for ManagedSecBufferDesc [PR #2720](https://github.com/pgjdbc/pgjdbc/pull/2720) Fixes [Issue #2690](https://github.com/pgjdbc/pgjdbc/issues/2720). +* fix: NoSuchMethodError on ByteBuffer#position When Running on Java 8 when accessing arrays, fixes [Issue #3014](https://github.com/pgjdbc/pgjdbc/issues/3014) +* Revert "[PR #2925](https://github.com/pgjdbc/pgjdbc/pull/2925) Use canonical DateStyle name" [PR #3035](https://github.com/pgjdbc/pgjdbc/pull/3035) + Fixes [Issue #3008](https://github.com/pgjdbc/pgjdbc/issues/3008) +* Revert "[PR ##2973](https://github.com/pgjdbc/pgjdbc/pull/2973) feat: support SET statements combining with other queries with semicolon in PreparedStatement" [PR #3010](https://github.com/pgjdbc/pgjdbc/pull/3010) + Fixes [Issue #3007](https://github.com/pgjdbc/pgjdbc/issues/3007) +* fix: avoid timezone conversions when sending LocalDateTime to the database [#2852](https://github.com/pgjdbc/pgjdbc/pull/3010) Fixes [Issue #1390](https://github.com/pgjdbc/pgjdbc/issues/1390) + ,[Issue #2850](https://github.com/pgjdbc/pgjdbc/issues/2850) + Closes [Issue #1391(https://github.com/pgjdbc/pgjdbc/issues/1391) + + ## [42.7.0] (2023-11-20 09:33:00 -0500) ### Changed diff --git a/docs/content/changelogs/2023-11-20-42.7.0-release.md b/docs/content/changelogs/2023-11-20-42.7.0-release.md index b9878ab0..67e0f310 100644 --- a/docs/content/changelogs/2023-11-20-42.7.0-release.md +++ b/docs/content/changelogs/2023-11-20-42.7.0-release.md @@ -7,6 +7,13 @@ version: 42.7.0 --- **Notable changes** +### Known Issues +Fixes issues introduced in 42.7.0: +* NoSuchMethodError on ByteBuffer#position When Running on Java 8 when accessing arrays, issue https://github.com/pgjdbc/pgjdbc/issues/3014 +* SET followed by SHOW in one statement returns wrong result, issue https://github.com/pgjdbc/pgjdbc/issues/3007 +* 42.7.0 updated `DateStyle` from `ISO` to `ISO, MDY` (it aligns with PostgreSQL defaults), and it will return the + wrong results when server uses non-default `DateStyle` (see https://github.com/pgjdbc/pgjdbc/issues/3008) + ### Changed * fix: Deprecate for removal PGPoint.setLocation(java.awt.Point) to cut dependency to `java.desktop` module. [PR #2967](https://github.com/pgjdbc/pgjdbc/pull/2967) diff --git a/docs/content/changelogs/2023-12-06-42.7.1-release.md b/docs/content/changelogs/2023-12-06-42.7.1-release.md new file mode 100644 index 00000000..02c22544 --- /dev/null +++ b/docs/content/changelogs/2023-12-06-42.7.1-release.md @@ -0,0 +1,40 @@ +--- +title: PostgreSQL JDBC Driver 42.6.1 Released +date: 2023-12-06 0:34:33 -0500 +categories: + - new_release +version: 42.7.1 +--- +**Notable changes** + + +### Changed +* perf: improve performance of PreparedStatement.setBlob, BlobInputStream, and BlobOutputStream with dynamic buffer sizing [PR #3044](https://github.com/pgjdbc/pgjdbc/pull/3044) + +### Fixed + +* fix: Apply connectTimeout before SSLSocket.startHandshake to avoid infinite wait in case the connection is broken [PR #3040](https://github.com/pgjdbc/pgjdbc/pull/3040) +* fix: support waffle-jna 2.x and 3.x by using reflective approach for ManagedSecBufferDesc [PR #2720](https://github.com/pgjdbc/pgjdbc/pull/2720) Fixes [Issue #2690](https://github.com/pgjdbc/pgjdbc/issues/2720). +* fix: NoSuchMethodError on ByteBuffer#position When Running on Java 8 when accessing arrays, fixes [Issue #3014](https://github.com/pgjdbc/pgjdbc/issues/3014) +* Revert "[PR #2925](https://github.com/pgjdbc/pgjdbc/pull/2925) Use canonical DateStyle name" [PR #3035](https://github.com/pgjdbc/pgjdbc/pull/3035) + Fixes [Issue #3008](https://github.com/pgjdbc/pgjdbc/issues/3008) +* Revert "[PR ##2973](https://github.com/pgjdbc/pgjdbc/pull/2973) feat: support SET statements combining with other queries with semicolon in PreparedStatement" [PR #3010](https://github.com/pgjdbc/pgjdbc/pull/3010) + Fixes [Issue #3007](https://github.com/pgjdbc/pgjdbc/issues/3007) +* fix: avoid timezone conversions when sending LocalDateTime to the database [#2852](https://github.com/pgjdbc/pgjdbc/pull/3010) Fixes [Issue #1390](https://github.com/pgjdbc/pgjdbc/issues/1390) + ,[Issue #2850](https://github.com/pgjdbc/pgjdbc/issues/2850) + Closes [Issue #1391](https://github.com/pgjdbc/pgjdbc/issues/1391) + +<!--more--> + +**Commits by author** + + +Vladimir Sitnikov (5): +* Revert "[PR #2925](https://github.com/pgjdbc/pgjdbc/pull/2925) Use canonical DateStyle name" [PR #3035](https://github.com/pgjdbc/pgjdbc/pull/3035) +* Revert "[PR ##2973](https://github.com/pgjdbc/pgjdbc/pull/2973) feat: support SET statements combining with other queries with semicolon in PreparedStatement" [PR #3010](https://github.com/pgjdbc/pgjdbc/pull/3010) +* fix: support waffle-jna 2.x and 3.x by using reflective approach for ManagedSecBufferDesc [PR #2720](https://github.com/pgjdbc/pgjdbc/pull/2720) +* fix: NoSuchMethodError on ByteBuffer#position When Running on Java 8 when accessing arrays, fixes [Issue #3014](https://github.com/pgjdbc/pgjdbc/issues/3014) +* fix: avoid timezone conversions when sending LocalDateTime to the database [#2852](https://github.com/pgjdbc/pgjdbc/pull/3010) + +Dave Cramer (1): +* fix: Apply connectTimeout before SSLSocket.startHandshake to avoid infinite wait in case the connection is broken [PR #3040](https://github.com/pgjdbc/pgjdbc/pull/3040) diff --git a/docs/data/homepagedata.toml b/docs/data/homepagedata.toml index 94329cc4..fd535a18 100644 --- a/docs/data/homepagedata.toml +++ b/docs/data/homepagedata.toml @@ -13,6 +13,11 @@ desc = "The current development driver supports eleven server versions and three path = "/icons/driver-icon.svg" # Releases Info +[[info]] +date = "06 December 2023" +url = "/changelogs/2023-12-06-42.7.1-release/" +version = "42.7.1" + [[info]] date = "20 November 2023" url = "/changelogs/2023-11-20-42.7.0-release/" diff --git a/docs/data/versions.toml b/docs/data/versions.toml index f1b5b045..9be32a91 100644 --- a/docs/data/versions.toml +++ b/docs/data/versions.toml @@ -2,10 +2,10 @@ [[recent]] j_name= "Java 8" -version= "42.7.0" +version= "42.7.1" suffix="" description= "If you are using Java 8 or newer then you should use the JDBC 4.2 version." -url= "/download/postgresql-42.7.0.jar" +url= "/download/postgresql-42.7.1.jar" [[recent]] j_name= "Java 7" @@ -22,6 +22,13 @@ description= "If you are using Java 6 then you should use the JDBC 4.0 version url= "/download/postgresql-42.2.27.jre6.jar" # Past Versions +[[past]] +j_name= "Java 8" +version= "42.7.0" +suffix="" +description= "This version has some minor regressions, 42.7.1 is preferred." +url= "/download/postgresql-42.7..jar" + [[past]] j_name= "Java 8" version= "42.6.0" diff --git a/docs/layouts/partials/home/info.html b/docs/layouts/partials/home/info.html index e136af51..96180c02 100644 --- a/docs/layouts/partials/home/info.html +++ b/docs/layouts/partials/home/info.html @@ -15,9 +15,8 @@ Latest Releases </h2> <p> - pgJDBC has released v42.7.0 on November 20, 2023. This release is mostly a maintenance release but the change - in allowing SET statemnts in <a href="https://github.com/pgjdbc/pgjdbc/pull/2973">PR #2973</a> is a breaking - change which necessitates the major version change. + pgJDBC has released v42.7.1 on November 27, 2023. This release primarily fixes 2 regressions <a href="https://github.com/pgjdbc/pgjdbc/issues/3007">SET followed by SHOW in one statement returns wrong result</a> + and <a href="https://github.com/pgjdbc/pgjdbc/issues/3008">Server default DateStyle is being overwritten</a>. Notably improved blob performance as well as a number of small changes See notes below for details. </p> <ul role="list"> {{ range $.Site.Data.homepagedata.info }} [parent: c1a851c02b86]