postgresql-jdbc.git / summary / log / commit / refs

commit    bc03d27e6d74eb21da2e8442d7e1b6ea6debdfd2
Author:   Dave Cramer <davecramer@gmail.com>
Commit:   Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Date:     Fri Aug 21 17:00:17 2020 +0000

    Release notes for 42.2.16 (#1866)
    
    * docs: add release notes for 42.2.16 (#1858)
    
    * Binary array index (#1863)
    
    Fix the binary representation of arrays to be 1 based rather than 0
    based.
    https://github.com/pgjdbc/pgjdbc/issues/1860
    
    Co-authored-by: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
    Co-authored-by: Brett Okken <brett.okken.os@gmail.com>
    Co-authored-by: Okken <BO8979@cerner.net>
    Co-authored-by: BO8979 <BO8979@W1971362.northamerica.cerner.net>


CHANGELOG.md | 16 +++++++--- README.md | 25 ++++++++------- docs/_posts/2020-08-20-42.2.16-release.md | 51 +++++++++++++++++++++++++++++++ gradle.properties | 2 +- 4 files changed, 76 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b78a5650..98ab10c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,18 @@ 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.16] (2020-08-20) ### Fixed -- Arrays sent in binary format are now sent as 1 based. Fixes [issue 1860](https://github.com/pgjdbc/pgjdbc/issues/1860) in [PR 1863](https://github.com/pgjdbc/pgjdbc/pull/1863). +- - Arrays sent in binary format are now sent as 1 based. This was a regression for multi-dimensional arrays as well as text/varchar, oid and bytea arrays. + Since 42.2.0 single dimensional arrays were stored 0 based. They are now sent 1 based which is the SQL standard, and the default + for Postgres when sent as strings such as '{1,2,3}'. Fixes [issue 1860](https://github.com/pgjdbc/pgjdbc/issues/1860) in [PR 1863](https://github.com/pgjdbc/pgjdbc/pull/1863). ## [42.2.15] (2020-08-14) ### Changed @@ -49,8 +58,6 @@ Sehrope Sarkuni reworked the XML parsing to provide a solution in commit [14b62a - jre-6 was added back to allow us to release fixes for all artifacts in the 42.2.x branch [PR 1787](https://github.com/pgjdbc/pgjdbc/pull/1787) ### Fixed -- fix: preserve unquoted unicode whitespace in array literals [PR 1266](https://github.com/pgjdbc/pgjdbc/pull/1266) -- Fixed async copy performance regression [PR 1314](https://github.com/pgjdbc/pgjdbc/pull/1314) - I/O error ru translation [PR 1756](https://github.com/pgjdbc/pgjdbc/pull/1756) - Issue [1771](https://github.com/pgjdbc/pgjdbc/issues/1771) PgDatabaseMetaData.getFunctions() returns procedures fixed in [PR 1774](https://github.com/pgjdbc/pgjdbc/pull/1774) @@ -392,4 +399,5 @@ thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc [42.2.13]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.12...REL42.2.13 [42.2.14]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.13...REL42.2.14 [42.2.15]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.14...REL42.2.15 -[Unreleased]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.15...HEAD +[42.2.16]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.15...REL42.2.16 +[Unreleased]: https://github.com/pgjdbc/pgjdbc/compare/REL42.2.16...HEAD diff --git a/README.md b/README.md index aa1a70b5..8103038c 100644 --- a/README.md +++ b/README.md @@ -24,36 +24,36 @@ 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.15-blue.svg)][mvn-jre8] +[![Java 8](https://img.shields.io/badge/Java_8-42.2.16-blue.svg)][mvn-jre8] ```xml <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> - <version>42.2.15</version> + <version>42.2.16</version> </dependency> ``` -[![Java 7](https://img.shields.io/badge/Java_7-42.2.15.jre7-blue.svg)][mvn-jre7] +[![Java 7](https://img.shields.io/badge/Java_7-42.2.16.jre7-blue.svg)][mvn-jre7] ```xml <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> - <version>42.2.15.jre7</version> + <version>42.2.16.jre7</version> </dependency> ``` -[![Java 6](https://img.shields.io/badge/Java_6-42.2.15.jre6-blue.svg)][mvn-jre6] +[![Java 6](https://img.shields.io/badge/Java_6-42.2.16.jre6-blue.svg)][mvn-jre6] ```xml <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> - <version>42.2.15.jre6</version> + <version>42.2.16.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.15.jre6|bundle -[mvn-jre7]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.15.jre7|bundle -[mvn-jre8]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.15|bundle +[mvn-jre6]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.16.jre6|bundle +[mvn-jre7]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.16.jre7|bundle +[mvn-jre8]: http://search.maven.org/#artifactdetails|org.postgresql|postgresql|42.2.16|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: @@ -61,9 +61,9 @@ Snapshot builds (builds from `master` branch) are also deployed to Maven Central <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> - <version>42.2.16-SNAPSHOT</version> <!-- Java 8 --> - <version>42.2.16.jre7-SNAPSHOT</version> <!-- Java 7 --> - <version>42.2.16.jre6-SNAPSHOT</version> <!-- Java 6 --> + <version>42.2.17-SNAPSHOT</version> <!-- Java 8 --> + <version>42.2.17.jre7-SNAPSHOT</version> <!-- Java 7 --> + <version>42.2.17.jre6-SNAPSHOT</version> <!-- Java 6 --> </dependency> ``` @@ -162,4 +162,3 @@ For information on how to contribute to the project see the [Contributing Guidel ### Sponsors * [PostgreSQL International](http://www.postgresintl.com) -* [YourKit](https://www.yourkit.com/) diff --git a/docs/_posts/2020-08-20-42.2.16-release.md b/docs/_posts/2020-08-20-42.2.16-release.md new file mode 100644 index 00000000..7efc82ab --- /dev/null +++ b/docs/_posts/2020-08-20-42.2.16-release.md @@ -0,0 +1,51 @@ +--- +title: PostgreSQL JDBC Driver 42.2.16 Released +date: 2020-08-20 15:10:04 +0000 +categories: + - new_release +version: 42.2.16 +--- +**Notable changes** + +## [42.2.16] (2020-08-20) + +### Fixed +- Arrays sent in binary format are now sent as 1 based. This was a regression for multi-dimensional arrays as well as text/varchar, oid and bytea arrays. +Since 42.2.0 single dimensional arrays were stored 0 based. They are now sent 1 based which is the SQL standard, and the default +for Postgres when sent as strings such as '{1,2,3}'. +Fixes [issue 1860](https://github.com/pgjdbc/pgjdbc/issues/1860) in [PR 1863](https://github.com/pgjdbc/pgjdbc/pull/1863). + +<!--more--> + +**Commits by author** + +Brett Okken (3): + +* Binary array index [PR 1863](https://github.com/pgjdbc/pgjdbc/pull/1863) [a0babeb3](https://github.com/pgjdbc/pgjdbc/commit/a0babeb3461a32788cced6f8641e4e2a89df472d) +* fix: preserve unquoted unicode whitespace in array literals [PR 1266](https://github.com/pgjdbc/pgjdbc/pull/1266) [e8923c71](https://github.com/pgjdbc/pgjdbc/commit/e8923c71597f844f07ef1b123d704d0a3b332a38) + +Dave Cramer (3): + +* move fix to correct place and remove duplicate [PR 1859](https://github.com/pgjdbc/pgjdbc/pull/1859) [ffd428f1](https://github.com/pgjdbc/pgjdbc/commit/ffd428f1e0ceeeff1f2c7835a8e165e055e4bf77) + +Sehrope Sarkuni (1): + +* fix: Remove unused .ratignore [PR 1857](https://github.com/pgjdbc/pgjdbc/pull/1857) [aa4cb6d8](https://github.com/pgjdbc/pgjdbc/commit/aa4cb6d81c83ee7ce4d246b7113eb717b4179cf8) + +Vladimir Sitnikov (3): + +* docs: add release notes for 42.2.15 [PR 1858](https://github.com/pgjdbc/pgjdbc/pull/1858) [0c162bc0](https://github.com/pgjdbc/pgjdbc/commit/0c162bc036072d46f3a6adf2cc7bd66fe304c012) +draderaws (1): + +* Fix header on existing Parameter Status doc page, and include entry in the index html page. [PR 1845](https://github.com/pgjdbc/pgjdbc/pull/1845) [99623077](https://github.com/pgjdbc/pgjdbc/commit/99623077ed3ced321937f21323f33c674a9a5a31) + +<a name="contributors_{{ page.version }}"></a> +### Contributors to this release + +We thank the following people for their contributions to this release. + +[Brett Okken](https://github.com/bokken) +[Dave Cramer](davec@postgresintl.com) +[draderaws](https://github.com/draderaws) +[Sehrope Sarkuni](https://github.com/sehrope) +[Vladimir Sitnikov](https://github.com/vlsi) diff --git a/gradle.properties b/gradle.properties index 81a5fc92..b75530dd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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.2.15 +pgjdbc.version=42.2.16 # 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> [parent: 0cdb5e512945]