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

Changelog for 42.2.11 #1720

Merged
merged 3 commits into from Mar 10, 2020
Merged
Show file tree
Hide file tree
Changes from all 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
56 changes: 41 additions & 15 deletions CHANGELOG.md
Expand Up @@ -4,27 +4,51 @@ Notable changes since version 42.0.0, read the complete [History of Changes](htt
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [Unreleased]
### Changed

### Added

### Fixed

## [42.2.11] (2020-03-07)
### Changed
- Reverted [PR 1641](https://github.com/pgjdbc/pgjdbc/pull/1252). The driver will now wait for EOF when sending cancel signals.
- `DatabaseMetaData#getProcedures` returns only procedures (not functions) for PostgreSQL 11+ [PR 1723](https://github.com/pgjdbc/pgjdbc/pull/1723)
- Convert silent rollbacks into exception if application sends `commit` or `xa.prepare` command [PR 1729](https://github.com/pgjdbc/pgjdbc/pull/1729)

### Added
- feat: `raiseExceptionOnSilentRollback` connection option to configure if silent rollback should raise an exception [PR 1729](https://github.com/pgjdbc/pgjdbc/pull/1729)
- feat: Expose `ByteStreamWriter` in CopyManager [PR 1702](https://github.com/pgjdbc/pgjdbc/pull/1702)
- feat: add way to distinguish base and partitioned tables in PgDatabaseMetaData.getTables [PR 1708](https://github.com/pgjdbc/pgjdbc/pull/1708)
- refactor: introduce tuple abstraction (rebased) [PR 1701](https://github.com/pgjdbc/pgjdbc/pull/1701)
- refactor: make PSQLState enum consts for integrity constraint violations [PR 1699](https://github.com/pgjdbc/pgjdbc/pull/1699)
- test: add makefile to create ssl certs [PR 1706](https://github.com/pgjdbc/pgjdbc/pull/1706)

### Fixed
- fix: Always use `.` as decimal separator in PGInterval [PR 1705](https://github.com/pgjdbc/pgjdbc/pull/1705)
- fix: allow DatabaseMetaData.getColumns to describe an unset scale [PR 1716](https://github.com/pgjdbc/pgjdbc/pull/1716)

## [42.2.10] (2020-01-30)
### Changed
- (!) Regression: remove receiving EOF from backend after cancel [PR 1641](https://github.com/pgjdbc/pgjdbc/pull/1252). The regression is that the subsequent query might receive the cancel signal.

### Added
- Add maxResultBuffer property (#1657)
- add caller push of binary data (rebase of #953) (#1659)
- Add maxResultBuffer property [PR 1657](https://github.com/pgjdbc/pgjdbc/pull/1657)
- add caller push of binary data (rebase of #953) [PR 1659](https://github.com/pgjdbc/pgjdbc/pull/1659)

### Fixed
- Cleanup PGProperty, sort values, and add some missing to docs (#1686)
- Fixing LocalTime rounding (losing precision) (#1570)
- Network Performance of PgDatabaseMetaData.getTypeInfo() method (#1668)
- Issue #1680 updating a boolean field requires special handling to set it to t or f instead of true or false (#1682)
- bug in pgstream for replication (#1681)
- Issue #1677 NumberFormatException when fetching PGInterval with small value (#1678)
- Metadata queries improvements with large schemas. (#1673)
- Utf 8 encoding optimizations (#1444)
- interval overflow (#1658)
- Issue #1482 where the port was being added to the GSSAPI service name (#1651)
- remove receiving EOF from backend after cancel since according to protocol the server closes the connection once cancel is sent (connection reset exception is always thrown) (#1641)
- Unable to register out parameter Issue #1646 (#1648)
- Cleanup PGProperty, sort values, and add some missing to docs [PR 1686](https://github.com/pgjdbc/pgjdbc/pull/1686)
- Fixing LocalTime rounding (losing precision) [PR 1570](https://github.com/pgjdbc/pgjdbc/pull/1570)
- Network Performance of PgDatabaseMetaData.getTypeInfo() method [PR 1668](https://github.com/pgjdbc/pgjdbc/pull/1668)
- Issue #1680 updating a boolean field requires special handling to set it to t or f instead of true or false [PR 1682](https://github.com/pgjdbc/pgjdbc/pull/1682)
- bug in pgstream for replication [PR 1681](https://github.com/pgjdbc/pgjdbc/pull/1681)
- Issue #1677 NumberFormatException when fetching PGInterval with small value [PR 1678](https://github.com/pgjdbc/pgjdbc/pull/1678)
- Metadata queries improvements with large schemas. [PR 1673](https://github.com/pgjdbc/pgjdbc/pull/1673)
- Utf 8 encoding optimizations [PR 1444](https://github.com/pgjdbc/pgjdbc/pull/1444)
- interval overflow [PR 1658](https://github.com/pgjdbc/pgjdbc/pull/1658)
- Issue #1482 where the port was being added to the GSSAPI service name [PR 1651](https://github.com/pgjdbc/pgjdbc/pull/1651)
- remove receiving EOF from backend after cancel since according to protocol the server closes the connection once cancel is sent (connection reset exception is always thrown) [PR 1641](https://github.com/pgjdbc/pgjdbc/pull/1641)
- Unable to register out parameter Issue #1646 [PR 1648](https://github.com/pgjdbc/pgjdbc/pull/1648)

## [42.2.9] (2019-12-06)
### Changed
Expand Down Expand Up @@ -290,4 +314,6 @@ thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc
[42.2.7]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.6...REL42.2.7
[42.2.8]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.7...REL42.2.8
[42.2.9]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.8...REL42.2.9
[Unreleased]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.9...HEAD
[42.2.10]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.9...REL42.2.10
[42.2.11]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.10...REL42.2.11
[Unreleased]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.11...HEAD
24 changes: 12 additions & 12 deletions README.md
Expand Up @@ -24,46 +24,46 @@ Most people do not need to compile PgJDBC. You can download the precompiled driv
### Maven Central
You can search on The Central Repository with GroupId and ArtifactId [![Maven Search](https://img.shields.io/badge/org.postgresql-postgresql-yellow.svg)][mvn-search] for:

[![Java 8](https://img.shields.io/badge/Java_8-42.2.9-blue.svg)][mvn-jre8]
[![Java 8](https://img.shields.io/badge/Java_8-42.2.11-blue.svg)][mvn-jre8]
```xml
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.9</version>
<version>42.2.11</version>
</dependency>
```

[![Java 7](https://img.shields.io/badge/Java_7-42.2.9.jre7-blue.svg)][mvn-jre7]
[![Java 7](https://img.shields.io/badge/Java_7-42.2.11.jre7-blue.svg)][mvn-jre7]
```xml
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.9.jre7</version>
<version>42.2.11.jre7</version>
</dependency>
```

[![Java 6](https://img.shields.io/badge/Java_6-42.2.9.jre6-blue.svg)][mvn-jre6]
[![Java 6](https://img.shields.io/badge/Java_6-42.2.11.jre6-blue.svg)][mvn-jre6]
```xml
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.9.jre6</version>
<version>42.2.11.jre6</version>
</dependency>
```
[mvn-search]: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.postgresql%22%20AND%20a%3A%22postgresql%22 "Search on Maven Central"
[mvn-jre6]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.9.jre6|bundle
[mvn-jre7]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.9.jre7|bundle
[mvn-jre8]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.9|bundle
[mvn-jre6]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.11.jre6|bundle
[mvn-jre7]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.11.jre7|bundle
[mvn-jre8]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.11|bundle

#### Development snapshots
Snapshot builds (builds from `master` branch) are also deployed to Maven Central, so you can test current development version (test some bugfix) using:
```xml
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.10-SNAPSHOT</version> <!-- Java 8 -->
<version>42.2.10.jre7-SNAPSHOT</version> <!-- Java 7 -->
<version>42.2.10.jre6-SNAPSHOT</version> <!-- Java 6 -->
<version>42.2.12-SNAPSHOT</version> <!-- Java 8 -->
<version>42.2.12.jre7-SNAPSHOT</version> <!-- Java 7 -->
<version>42.2.12.jre6-SNAPSHOT</version> <!-- Java 6 -->
</dependency>
```

Expand Down
6 changes: 6 additions & 0 deletions contributors.json
Expand Up @@ -54,21 +54,25 @@
"Lőrinc Pap" : "https://github.com/paplorinc",
"Magnus" : "https://github.com/magJ",
"Magnus Hagander" : "https://github.com/mhagander",
"Magnus Reftel" : "https://github.com/reftel",
"Mahmoud Bahaa" : "https://github.com/mahmoudbahaa",
"Marc Dean" : "https://github.com/deanmarc25",
"Marc Petzold" : "https://github.com/dosimeta",
"Marc Slemko" : "https://github.com/znep",
"Marios Trivyzas" : "https://github.com/matriv",
"Mark Nguyen" : "https://github.com/Mrk-Nguyen",
"Markus Winand" : "https://github.com/fatalmind",
"Mathias Fußenegger" : "https://github.com/mfussenegger",
"Matteo Melli" : "https://github.com/teoincontatto",
"Michael Glaesemann" : "https://github.com/grzm",
"MichaelZg" : "https://github.com/michaelzg",
"Michail Nikolaev" : "https://github.com/michail-nikolaev",
"Michele Mancioppi" : "https://github.com/michele-mancioppi",
"Mike Goodman" : "https://github.com/MSGoodman",
"Minglei Tu" : "https://github.com/tminglei",
"Mykola Nikishov" : "https://github.com/manandbytes",
"Myo Wai Thant" : "https://github.com/myowaithant9",
"Nick Mancuso" : "https://github.com/nmancus1",
"Nikolai Ivanov" : "https://github.com/nicktorwald",
"Pavel Raiskup" : "https://github.com/praiskup",
"Pawel" : "https://github.com/veselov",
Expand All @@ -94,6 +98,7 @@
"Tanya Gordeeva" : "https://github.com/tmgordeeva",
"Thach Hoang" : "https://github.com/thachhoang",
"Tim Ward" : "https://github.com/timothyjward",
"Toddy69" : "https://github.com/Toddy69",
"Tom Eicher" : "https://github.com/teicher",
"Torsten Brodbeck" : "https://github.com/tbrodbeck-adc",
"Trygve Laugstøl" : "https://github.com/trygvis",
Expand All @@ -113,6 +118,7 @@
"bjanczak" : "https://github.com/bjanczak",
"bpd0018" : "https://github.com/bpd0018",
"chalda" : "https://github.com/ochaloup",
"crwr45" : "https://github.com/crwr45",
"djydewang" : "https://github.com/djydewang",
"draderaws" : "https://github.com/draderaws",
"eperez" : "https://github.com/eperez",
Expand Down
29 changes: 15 additions & 14 deletions docs/_posts/2020-01-30-42.2.10-release.md
Expand Up @@ -10,24 +10,25 @@ version: 42.2.10

## [42.2.10] (2020-01-30)
### Changed
- (!) Regression: remove receiving EOF from backend after cancel [PR 1641](https://github.com/pgjdbc/pgjdbc/pull/1252). The regression is that the subsequent query might receive the cancel signal.

### Added
- Add maxResultBuffer property (#1657)
- add caller push of binary data (rebase of #953) (#1659)
- Add maxResultBuffer property [PR 1657](https://github.com/pgjdbc/pgjdbc/pull/1657)
- add caller push of binary data (rebase of #953) [PR 1659](https://github.com/pgjdbc/pgjdbc/pull/1659)

### Fixed
- Cleanup PGProperty, sort values, and add some missing to docs (#1686)
- Fixing LocalTime rounding (losing precision) (#1570)
- Network Performance of PgDatabaseMetaData.getTypeInfo() method (#1668)
- Issue #1680 updating a boolean field requires special handling to set it to t or f instead of true or false (#1682)
- bug in pgstream for replication (#1681)
- Issue #1677 NumberFormatException when fetching PGInterval with small value (#1678)
- Metadata queries improvements with large schemas. (#1673)
- Utf 8 encoding optimizations (#1444)
- interval overflow (#1658)
- Issue #1482 where the port was being added to the GSSAPI service name (#1651)
- remove receiving EOF from backend after cancel since according to protocol the server closes the connection once cancel is sent (connection reset exception is always thrown) (#1641)
- Unable to register out parameter Issue #1646 (#1648)
- Cleanup PGProperty, sort values, and add some missing to docs [PR 1686](https://github.com/pgjdbc/pgjdbc/pull/1686)
- Fixing LocalTime rounding (losing precision) [PR 1570](https://github.com/pgjdbc/pgjdbc/pull/1570)
- Network Performance of PgDatabaseMetaData.getTypeInfo() method [PR 1668](https://github.com/pgjdbc/pgjdbc/pull/1668)
- Issue #1680 updating a boolean field requires special handling to set it to t or f instead of true or false [PR 1682](https://github.com/pgjdbc/pgjdbc/pull/1682)
- bug in pgstream for replication [PR 1681](https://github.com/pgjdbc/pgjdbc/pull/1681)
- Issue #1677 NumberFormatException when fetching PGInterval with small value [PR 1678](https://github.com/pgjdbc/pgjdbc/pull/1678)
- Metadata queries improvements with large schemas. [PR 1673](https://github.com/pgjdbc/pgjdbc/pull/1673)
- Utf 8 encoding optimizations [PR 1444](https://github.com/pgjdbc/pgjdbc/pull/1444)
- interval overflow [PR 1658](https://github.com/pgjdbc/pgjdbc/pull/1658)
- Issue #1482 where the port was being added to the GSSAPI service name [PR 1651](https://github.com/pgjdbc/pgjdbc/pull/1651)
- remove receiving EOF from backend after cancel since according to protocol the server closes the connection once cancel is sent (connection reset exception is always thrown) [PR 1641](https://github.com/pgjdbc/pgjdbc/pull/1641)
- Unable to register out parameter Issue #1646 [PR 1648](https://github.com/pgjdbc/pgjdbc/pull/1648)

## [42.2.9] (2019-12-06)
### Changed
Expand Down