From 1a91e86e107b1cd487c121049209530dfd47c8d0 Mon Sep 17 00:00:00 2001 From: Dave Cramer Date: Tue, 16 Aug 2022 11:53:26 -0400 Subject: [PATCH 1/2] Update changelog for release --- CHANGELOG.md | 20 +++++++++---- contributors.json | 3 +- docs/_posts/2022-08-16-42.4.2-release.md | 38 ++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 6 deletions(-) create mode 100644 docs/_posts/2022-08-16-42.4.2-release.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fd640b8f6..bba6208114 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ### Fixed +[42.4.2] (2022-08-16 11:40:40 -0400) +### Changed +- fix: add alias to the generated getUDT() query for clarity (PR #2553)[https://github.com/pgjdbc/pgjdbc/pull/2553] + +### Added +- fix: make setObject accept UUID array [PR #2587](https://github.com/pgjdbc/pgjdbc/pull/2587) + +### Fixed +- fix: regression with GSS. Changes introduced to support building with Java 17 caused failures [Issue #2588](https://github.com/pgjdbc/pgjdbc/issues/2588) +- fix: set a timeout to get the return from requesting SSL upgrade. [PR #2572](https://github.com/pgjdbc/pgjdbc/pull/2572) +- feat: feat: synchronize statement executions (e.g. avoid deadlock when Connection.isValid is executed from concurrent threads) + [42.4.1] (2022-08-01 16:24:20 -0400) ### Security - fix: CVE-2022-31197 Fixes SQL generated in PgResultSet.refresh() to escape column identifiers so as to prevent SQL injection. @@ -28,10 +40,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - chore: added Gradle Wrapper Validation for verifying gradle-wrapper.jar - chore: added "permissions: contents: read" for GitHub Actions to avoid unintentional modifications by the CI - chore: support building pgjdbc with Java 17 -chore: added Gradle Wrapper Validation for verifying gradle-wrapper.jar -chore: added "permissions: contents: read" for GitHub Actions to avoid unintentional modifications by the CI -chore: support building pgjdbc with Java 17 -feat: synchronize statement executions (e.g. avoid deadlock when Connection.isValid is executed from concurrent threads) +- feat: synchronize statement executions (e.g. avoid deadlock when Connection.isValid is executed from concurrent threads) ### Fixed @@ -728,4 +737,5 @@ thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc [42.3.5]: https://github.com/pgjdbc/pgjdbc/compare/REL42.3.5...REL42.3.6 [42.3.6]: https://github.com/pgjdbc/pgjdbc/compare/REL42.3.6...REL42.4.0 [42.4.0]: https://github.com/pgjdbc/pgjdbc/compare/REL42.4.0...REL42.4.1 -[Unreleased]: https://github.com/pgjdbc/pgjdbc/compare/REL42.4.1...HEAD +[42.4.1]: https://github.com/pgjdbc/pgjdbc/compare/REL42.4.1...REL42.4.2 +[Unreleased]: https://github.com/pgjdbc/pgjdbc/compare/REL42.4.2...HEAD diff --git a/contributors.json b/contributors.json index f081201499..33b94f1606 100644 --- a/contributors.json +++ b/contributors.json @@ -197,5 +197,6 @@ "Dmitriy Mukhin" : "mitya555@users.noreply.github.com", "Olivier Bourgain" : "olivierbourgain02@gmail.com", "Andrei Lurie" : "alurie@users.noreply.github.com", - "Sven Diedrichsen" : "sven.diedrichsen@gmail.com" + "Sven Diedrichsen" : "sven.diedrichsen@gmail.com", + "Sasa Vilic" : "sasavilic@gmail.com" } diff --git a/docs/_posts/2022-08-16-42.4.2-release.md b/docs/_posts/2022-08-16-42.4.2-release.md new file mode 100644 index 0000000000..83a0c22a32 --- /dev/null +++ b/docs/_posts/2022-08-16-42.4.2-release.md @@ -0,0 +1,38 @@ +--- +title: PostgreSQL JDBC Driver 42.4.2 Released +date: 2022-08-16 11:40:37 -0400 +categories: + - new_release +version: 42.4.2 +--- +**Notable changes** + +### Changed +- fix: add alias to the generated getUDT() query for clarity (PR #2553)[https://github.com/pgjdbc/pgjdbc/pull/2553] + +### Added +- fix: make setObject accept UUID array [PR #2587](https://github.com/pgjdbc/pgjdbc/pull/2587) + +### Fixed +- fix: regression with GSS. Changes introduced to support building with Java 17 caused failures [Issue #2588](https://github.com/pgjdbc/pgjdbc/issues/2588) +- fix: set a timeout to get the return from requesting SSL upgrade. [PR #2572](https://github.com/pgjdbc/pgjdbc/pull/2572) +- feat: feat: synchronize statement executions (e.g. avoid deadlock when Connection.isValid is executed from concurrent threads) + + + + +**Commits by author** + +Dave Cramer (7): + Revert revert commits made in PR 2580 [PR 2583](https://github.com/pgjdbc/pgjdbc/pull/2583) + fix mismatched types for invokeExact. Have to tell invokeExact what type we are expecting [PR 2589](https://github.com/pgjdbc/pgjdbc/pull/2589) + update last copyright year [PR 2593](https://github.com/pgjdbc/pgjdbc/pull/2593) + fix erroneous method signature and null subjectCallAs [PR 2595](https://github.com/pgjdbc/pgjdbc/pull/2595) + +Sasa Vilic (1): + fix: make setObject accept UUID array [PR 2587](https://github.com/pgjdbc/pgjdbc/pull/2587) + + +Andrei Lurie (1): + fix: add alias to the generated getUDT() query for clarity (PR #2553)[https://github.com/pgjdbc/pgjdbc/pull/2553] + From 852bbc7f8d774650150e1ff02cfc7c0add829e9d Mon Sep 17 00:00:00 2001 From: Dave Cramer Date: Wed, 17 Aug 2022 10:35:35 -0400 Subject: [PATCH 2/2] remove duplicate feat: change release date --- CHANGELOG.md | 4 ++-- ...2-08-16-42.4.2-release.md => 2022-08-17-42.4.2-release.md} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename docs/_posts/{2022-08-16-42.4.2-release.md => 2022-08-17-42.4.2-release.md} (89%) diff --git a/CHANGELOG.md b/CHANGELOG.md index bba6208114..95fef3fca6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ### Fixed -[42.4.2] (2022-08-16 11:40:40 -0400) +[42.4.2] (2022-08-17 10:33:40 -0400) ### Changed - fix: add alias to the generated getUDT() query for clarity (PR #2553)[https://github.com/pgjdbc/pgjdbc/pull/2553] @@ -20,7 +20,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ### Fixed - fix: regression with GSS. Changes introduced to support building with Java 17 caused failures [Issue #2588](https://github.com/pgjdbc/pgjdbc/issues/2588) - fix: set a timeout to get the return from requesting SSL upgrade. [PR #2572](https://github.com/pgjdbc/pgjdbc/pull/2572) -- feat: feat: synchronize statement executions (e.g. avoid deadlock when Connection.isValid is executed from concurrent threads) +- feat: synchronize statement executions (e.g. avoid deadlock when Connection.isValid is executed from concurrent threads) [42.4.1] (2022-08-01 16:24:20 -0400) ### Security diff --git a/docs/_posts/2022-08-16-42.4.2-release.md b/docs/_posts/2022-08-17-42.4.2-release.md similarity index 89% rename from docs/_posts/2022-08-16-42.4.2-release.md rename to docs/_posts/2022-08-17-42.4.2-release.md index 83a0c22a32..e9267c801c 100644 --- a/docs/_posts/2022-08-16-42.4.2-release.md +++ b/docs/_posts/2022-08-17-42.4.2-release.md @@ -1,6 +1,6 @@ --- title: PostgreSQL JDBC Driver 42.4.2 Released -date: 2022-08-16 11:40:37 -0400 +date: 2022-08-17 10:33:37 -0400 categories: - new_release version: 42.4.2 @@ -16,7 +16,7 @@ version: 42.4.2 ### Fixed - fix: regression with GSS. Changes introduced to support building with Java 17 caused failures [Issue #2588](https://github.com/pgjdbc/pgjdbc/issues/2588) - fix: set a timeout to get the return from requesting SSL upgrade. [PR #2572](https://github.com/pgjdbc/pgjdbc/pull/2572) -- feat: feat: synchronize statement executions (e.g. avoid deadlock when Connection.isValid is executed from concurrent threads) +- feat: synchronize statement executions (e.g. avoid deadlock when Connection.isValid is executed from concurrent threads)