Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepared for release 42.7.1 update changelogs #3037

Merged
merged 5 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
### Added
### Fixed

## [42.7.1] (2023-12-05 09:51: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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to include #2852 as well:

Suggested change
* fix: avoid timezone conversions when sending LocalDateTime to the database [PR #2852](https://github.com/pgjdbc/pgjdbc/pull/2852), [issue #1390](https://github.com/pgjdbc/pgjdbc/issues/1390), [issue #2850)(https://github.com/pgjdbc/pgjdbc/issues/2850)

* 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)


## [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
31 changes: 31 additions & 0 deletions docs/content/changelogs/2023-12-05-42.7.1-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: PostgreSQL JDBC Driver 42.6.1 Released
date: 2023-12-05 09:52: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)

<!--more-->

**Commits by author**


Vladimir Sitnikov (2):
* 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)
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 = "27 November 2023"
url = "/changelogs/2023-11-20-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 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> See notes below for details.
</p>
<ul role="list">
{{ range $.Site.Data.homepagedata.info }}
Expand Down