Skip to content

Commit

Permalink
prepared for release 42.7.1 update changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
davecramer committed Dec 5, 2023
1 parent 25fdfc3 commit 09093a1
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
### Added
### Fixed

## [42.7.1] (2023-11-27 09:33:00 -0500)

### Fixed
* fix: NoSuchMethodError on ByteBuffer#position When Running on Java 8 when accessing arrays, issue 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
25 changes: 25 additions & 0 deletions docs/content/changelogs/2023-11-27-42.7.1-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: PostgreSQL JDBC Driver 42.6.1 Released
date: 2023-11-27 10:05:33 -0500
categories:
- new_release
version: 42.7.1
---
**Notable changes**


### Fixed
* fix: NoSuchMethodError on ByteBuffer#position When Running on Java 8 when accessing arrays, issue 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

0 comments on commit 09093a1

Please sign in to comment.