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

Release notes 42.4.0 #2541

Merged
merged 6 commits into from Jun 9, 2022
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
44 changes: 41 additions & 3 deletions CHANGELOG.md
Expand Up @@ -9,8 +9,45 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
### Added

### Fixed
- fix: queries with up to 65535 (inclusive) parameters are supported now (previous limit was 32767) [PR #2525](https://github.com/pgjdbc/pgjdbc/pull/2525)
- fix: workaround JarIndex parsing issue by using groupId/artifactId-version directory namings. Regression since 42.2.13. [PR #2531](https://github.com/pgjdbc/pgjdbc/pull/2531), [issue #2527](https://github.com/pgjdbc/pgjdbc/issues/2527)

[42.4.0] (2022-06-08 15:39:02 -0400)
### Changed
- fix: added GROUP_STARTUP_PARAMETERS boolean property to determine whether or not to group
davecramer marked this conversation as resolved.
Show resolved Hide resolved
startup parameters in a transaction or not fixes [Issue #2425](https://github.com/pgjdbc/pgjdbc/issues/2497)
pgbouncer cannot deal with transactions in statement pooling mode [PR #2425](https://github.com/pgjdbc/pgjdbc/pull/2425)

### Added
davecramer marked this conversation as resolved.
Show resolved Hide resolved

### Fixed
- chore: Make the readme version agnostic [PR #2540](https://github.com/pgjdbc/pgjdbc/pull/2540)
davecramer marked this conversation as resolved.
Show resolved Hide resolved
davecramer marked this conversation as resolved.
Show resolved Hide resolved
- fix: queries with up to 65535 (inclusive) parameters are supported now (previous limit was 32767)
[PR #2525](https://github.com/pgjdbc/pgjdbc/pull/2525), [Issue #1311](https://github.com/pgjdbc/pgjdbc/issues/1311)
- fix: workaround JarIndex parsing issue by using groupId/artifactId-version directory namings.
Regression since 42.2.13. [PR #2531](https://github.com/pgjdbc/pgjdbc/pull/2531), [issue #2527](https://github.com/pgjdbc/pgjdbc/issues/2527)
- chore: skip running publishToNexus on forks if NEXUS_* secrets are not set
davecramer marked this conversation as resolved.
Show resolved Hide resolved
davecramer marked this conversation as resolved.
Show resolved Hide resolved
- test: remove SlowTests from tests that are fast
davecramer marked this conversation as resolved.
Show resolved Hide resolved
davecramer marked this conversation as resolved.
Show resolved Hide resolved
- test: fix failure in SetObject310Test in simple query mode in certain time zones
- chore: use password_encryption=md5 instead of deprecated on for PostgreSQL 10+
- test: fix assertions for simple query mode in BatchedInsertReWriteEnabledTest
- test: avoid calling getParameterMetaData in PreparedStatementTest in simple query mode
- test: expect English text when the current language is English only in CopyTest#testCopyInAsOutputStreamFailsOnFlushAfterEndCopy
- test: use assertNotSame for verifying object identity instead of .toString() in testNotPooledConnection
- test: avoid locale-dependent comparison in CloseOnCompletionTest#testCloseOnCompletionExecuteTwice
- test: remove locale-dependent comparison from ConnectionTes.testReadOnly_always
- test: avoid comparing locale-dependent text in LogServerMessagePropertyTest
- test: make PgSQLXMLTest locale-independent fixes [Issue #2533](https://github.com/pgjdbc/pgjdbc/issues/2533)
- fix: use Locale.ROOT for toUpperCase() toLowerCase() calls
- doc: add Vladimir Sitnikov's PGP key
- test: increase timeout for NotifyTest#testAsyncNotify since 2s was not always enough
- style: fix blank line in ParameterMetaDataTest
- style: remove unused import from ParameterMetaDataTest
- tests: add more tests for PreparedStatement.getParameterMetaData
- chore: update S3 build cache region
- test: avoid modifying global sendBufferSize and receiveBufferSize in SendRecvBufferSizeTest
- test: shorten test description in UTF8EncodingTest
- fix: return correct base type for domain from getUDTs [PR #2520](https://github.com/pgjdbc/pgjdbc/pull/2520) [Issue #2522](https://github.com/pgjdbc/pgjdbc/issues/2522)
- fix utcTz static and renamed to UTC_TIMEZONE [PR #2519](https://github.com/pgjdbc/pgjdbc/pull/2520)
davecramer marked this conversation as resolved.
Show resolved Hide resolved
- doc: fix release version for #2377 (it should be 42.3.6, not 42.3.5)

## [42.3.6] (2022-05-24 08:52:27 -0400)
### Changed
Expand Down Expand Up @@ -686,4 +723,5 @@ thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc
[42.3.4]: https://github.com/pgjdbc/pgjdbc/compare/REL42.3.3...REL42.3.4
[42.3.4]: https://github.com/pgjdbc/pgjdbc/compare/REL42.3.4...REL42.3.5
[42.3.5]: https://github.com/pgjdbc/pgjdbc/compare/REL42.3.5...REL42.3.6
[Unreleased]: https://github.com/pgjdbc/pgjdbc/compare/REL42.3.6...HEAD
[42.3.6]: https://github.com/pgjdbc/pgjdbc/compare/REL42.3.6...REL42.4.0
[Unreleased]: https://github.com/pgjdbc/pgjdbc/compare/REL42.4.0...HEAD
4 changes: 3 additions & 1 deletion contributors.json
Expand Up @@ -195,5 +195,7 @@
"Wei Su" : "suwei19870312@gmail.com",
"paulo-kluh" : "80355988+paulo-kluh@users.noreply.github.com",
"Dmitriy Mukhin" : "mitya555@users.noreply.github.com",
"Olivier Bourgain" : "olivierbourgain02@gmail.com"
"Olivier Bourgain" : "olivierbourgain02@gmail.com",
"Andrei Lurie" : "alurie@users.noreply.github.com",
"Sven Diedrichsen" : "sven.diedrichsen@gmail.com"
}
69 changes: 69 additions & 0 deletions docs/_posts/2022-06-08-42.4.0-release.md
@@ -0,0 +1,69 @@
---
title: PostgreSQL JDBC Driver 42.4.0 Released
date: 2022-06-08 15:38:50 -0400
categories:
- new_release
version: 42.4.0
---
**Notable changes**

### Changed
- fix: added GROUP_STARTUP_PARAMETERS boolean property to determine whether or not to group
startup parameters in a transaction or not fixes [Issue #2425](https://github.com/pgjdbc/pgjdbc/issues/2497)
pgbouncer cannot deal with transactions in statement pooling mode [PR #2425](https://github.com/pgjdbc/pgjdbc/pull/2425)

### Added

### Fixed
- chore: Make the readme version agnostic [PR #2540](https://github.com/pgjdbc/pgjdbc/pull/2540)
- fix: queries with up to 65535 (inclusive) parameters are supported now (previous limit was 32767)
[PR #2525](https://github.com/pgjdbc/pgjdbc/pull/2525), [Issue #1311](https://github.com/pgjdbc/pgjdbc/issues/1311)
- fix: workaround JarIndex parsing issue by using groupId/artifactId-version directory namings.
Regression since 42.2.13. [PR #2531](https://github.com/pgjdbc/pgjdbc/pull/2531), [issue #2527](https://github.com/pgjdbc/pgjdbc/issues/2527)
- chore: skip running publishToNexus on forks if NEXUS_* secrets are not set
- test: remove SlowTests from tests that are fast
- test: fix failure in SetObject310Test in simple query mode in certain time zones
- chore: use password_encryption=md5 instead of deprecated on for PostgreSQL 10+
- test: fix assertions for simple query mode in BatchedInsertReWriteEnabledTest
- test: avoid calling getParameterMetaData in PreparedStatementTest in simple query mode
- test: expect English text when the current language is English only in CopyTest#testCopyInAsOutputStreamFailsOnFlushAfterEndCopy
- test: use assertNotSame for verifying object identity instead of .toString() in testNotPooledConnection
- test: avoid locale-dependent comparison in CloseOnCompletionTest#testCloseOnCompletionExecuteTwice
- test: remove locale-dependent comparison from ConnectionTes.testReadOnly_always
- test: avoid comparing locale-dependent text in LogServerMessagePropertyTest
- test: make PgSQLXMLTest locale-independent fixes [Issue #2533](https://github.com/pgjdbc/pgjdbc/issues/2533)
- fix: use Locale.ROOT for toUpperCase() toLowerCase() calls
- doc: add Vladimir Sitnikov's PGP key
- test: increase timeout for NotifyTest#testAsyncNotify since 2s was not always enough
- style: fix blank line in ParameterMetaDataTest
- style: remove unused import from ParameterMetaDataTest
- tests: add more tests for PreparedStatement.getParameterMetaData
- chore: update S3 build cache region
- test: avoid modifying global sendBufferSize and receiveBufferSize in SendRecvBufferSizeTest
- test: shorten test description in UTF8EncodingTest
- fix: return correct base type for domain from getUDTs [PR #2520](https://github.com/pgjdbc/pgjdbc/pull/2520) [Issue #2522](https://github.com/pgjdbc/pgjdbc/issues/2522)
- fix utcTz static and renamed to UTC_TIMEZONE [PR #2519](https://github.com/pgjdbc/pgjdbc/pull/2520)
davecramer marked this conversation as resolved.
Show resolved Hide resolved
- doc: fix release version for #2377 (it should be 42.3.6, not 42.3.5)


<!--more-->

**Commits by author**

Andrei Lurie (1):
fix: return correct base type for domain from getUDTs [PR 2520](https://github.com/pgjdbc/pgjdbc/pull/2520) (#2522)

Dave Cramer (3):
fix: added GROUP_STARTUP_PARAMETERS boolean property to determine whether or not to group startup parameters in a transaction or not fixes Issue 2423 pgbouncer cannot deal with transactions in statement pooling mode [PR 2425](https://github.com/pgjdbc/pgjdbc/pull/2425)

Jorge Solórzano (1):
chore: Make the readme version agnostic [PR 2540](https://github.com/pgjdbc/pgjdbc/pull/2540)

Sven Diedrichsen (1):
Made utcTz static and renamed to UTC_TIMEZONE [PR 2519](https://github.com/pgjdbc/pgjdbc/pull/2519)

Vladimir Sitnikov (24):
doc: fix release version for [PR 2377](https://github.com/pgjdbc/pgjdbc/pull/2377) (it should be 42.3.6, not 42.3.5)



2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -14,7 +14,7 @@ kotlin.parallel.tasks.in.project=true
# This is version for PgJdbc itself
# Note: it should not include "-SNAPSHOT" as it is automatically added by build.gradle.kts
# Release version can be generated by using -Prelease or -Prc=<int> arguments
pgjdbc.version=42.3.7
pgjdbc.version=42.4.0

# The options below configures the use of local clone (e.g. testing development versions)
# You can pass un-comment it, or pass option -PlocalReleasePlugins, or -PlocalReleasePlugins=<path>
Expand Down