Skip to content

Commit

Permalink
prepared for release 42.7.1 update changelogs (#3037)
Browse files Browse the repository at this point in the history
* prepared for release 42.7.1 update changelogs
  • Loading branch information
davecramer committed Dec 6, 2023
1 parent c1a851c commit bb577e0
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 5 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions docs/content/changelogs/2023-11-20-42.7.0-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
40 changes: 40 additions & 0 deletions docs/content/changelogs/2023-12-06-42.7.1-release.md
Original file line number Diff line number Diff line change
@@ -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)
5 changes: 5 additions & 0 deletions docs/data/homepagedata.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down
11 changes: 9 additions & 2 deletions docs/data/versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions docs/layouts/partials/home/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ <h2>
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 }}
Expand Down

0 comments on commit bb577e0

Please sign in to comment.