Обсуждение: [pgjdbc/pgjdbc] 7bb4eb: [maven-release-plugin] prepare releaseREL42.2.1

Поиск
Список
Период
Сортировка

[pgjdbc/pgjdbc] 7bb4eb: [maven-release-plugin] prepare releaseREL42.2.1

От
Vladimir Sitnikov
Дата:
Branch: refs/heads/release/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 7bb4ebc1c5775a0dca0adf8d760acd5336d355fc
      https://github.com/pgjdbc/pgjdbc/commit/7bb4ebc1c5775a0dca0adf8d760acd5336d355fc
  Author: pgjdbc CI <pgsql-jdbc@postgresql.org>
  Date:   2018-01-25 (Thu, 25 Jan 2018)

  Changed paths:
    M pgjdbc/pom.xml
    M pom.xml
    M ubenchmark/pom.xml

  Log Message:
  -----------
  [maven-release-plugin] prepare release REL42.2.1


  Commit: 4f0ce33160e4cffd3c341bc5956d52275f1829c6
      https://github.com/pgjdbc/pgjdbc/commit/4f0ce33160e4cffd3c341bc5956d52275f1829c6
  Author: pgjdbc CI <pgsql-jdbc@postgresql.org>
  Date:   2018-01-25 (Thu, 25 Jan 2018)

  Changed paths:
    M pgjdbc/pom.xml
    M pom.xml
    M ubenchmark/pom.xml

  Log Message:
  -----------
  [maven-release-plugin] prepare for next development iteration


  Commit: 1a4256b973da36c0fc42f0268e58e1535073247b
      https://github.com/pgjdbc/pgjdbc/commit/1a4256b973da36c0fc42f0268e58e1535073247b
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-01-25 (Thu, 25 Jan 2018)

  Changed paths:
    M README.md

  Log Message:
  -----------
  docs: reflect 42.2.1 release in readme.md


  Commit: 643e5583fe34c28602af21eb766acbc56a7b26d7
      https://github.com/pgjdbc/pgjdbc/commit/643e5583fe34c28602af21eb766acbc56a7b26d7
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    M docs/documentation/head/java8-date-time.md

  Log Message:
  -----------
  Update java8-date-time.md

TIMEZONE -> TIME ZONE


  Commit: 6fe76a3c9289c78b2a8875e101020747584c36a7
      https://github.com/pgjdbc/pgjdbc/commit/6fe76a3c9289c78b2a8875e101020747584c36a7
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2018-01-26 (Fri, 26 Jan 2018)

  Changed paths:
    M docs/about/about.html

  Log Message:
  -----------
  Update about.html

note that we support Java 9


  Commit: aa676bb39117dc47cbd51a236b232227e9128220
      https://github.com/pgjdbc/pgjdbc/commit/aa676bb39117dc47cbd51a236b232227e9128220
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-01-28 (Sun, 28 Jan 2018)

  Changed paths:
    M .travis.yml
    M .travis/travis_build.sh

  Log Message:
  -----------
  chore: make sure TEST_CLIENTS performs regular tests as well


  Commit: df4e7fa07c205e12f7fe5e3c80ab90ea63c1bc17
      https://github.com/pgjdbc/pgjdbc/commit/df4e7fa07c205e12f7fe5e3c80ab90ea63c1bc17
  Author: Pawel <pawel.veselov@gmail.com>
  Date:   2018-02-01 (Thu, 01 Feb 2018)

  Changed paths:
    M docs/documentation/94/connect.md

  Log Message:
  -----------
  Fixes #1096 (#1097)


  Commit: 0cfffa841b9b8d2040fe6c576aa77edfd399bbc0
      https://github.com/pgjdbc/pgjdbc/commit/0cfffa841b9b8d2040fe6c576aa77edfd399bbc0
  Author: bpd0018 <bpd0018@gmail.com>
  Date:   2018-02-02 (Fri, 02 Feb 2018)

  Changed paths:
    M docs/documentation/head/geometric.md

  Log Message:
  -----------
  docs: fix spelling and chapter, update sample code (#1098)

metioned -> mentioned
Chapter 12 -> Chapter 13
change sample code to match PgJDBC code style guidelines
explicitly close (via try-with-resources) the Statement and ResultSet in retrieveCircle(Connection)


  Commit: 48b98971d085a7988b67a31cf5ff9fb52c5534e5
      https://github.com/pgjdbc/pgjdbc/commit/48b98971d085a7988b67a31cf5ff9fb52c5534e5
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java

  Log Message:
  -----------
  chore: remove unused variable lastKnownTime in ConnectionFactoryImpl


  Commit: 0e9dfce42c80391d0eefa830600e0ac4c1baae50
      https://github.com/pgjdbc/pgjdbc/commit/0e9dfce42c80391d0eefa830600e0ac4c1baae50
  Author: trtrmitya <trtrmitya@gmail.com>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/util/GT.java

  Log Message:
  -----------
  fix: use Locale.Category.DISPLAY (~lc_messages) when selecting resource bundle. (#1115)


  Commit: 3b3fd8c90a4bdcde101f45ae255ca2fe30bac338
      https://github.com/pgjdbc/pgjdbc/commit/3b3fd8c90a4bdcde101f45ae255ca2fe30bac338
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M docs/documentation/documentation.md

  Log Message:
  -----------
  Update documentation.md

Make it clearer that 9.4 is not the current documentation


  Commit: a8ef9f96feb02246a3d7967ada2ffe146778f7ed
      https://github.com/pgjdbc/pgjdbc/commit/a8ef9f96feb02246a3d7967ada2ffe146778f7ed
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M docs/documentation/documentation.md

  Log Message:
  -----------
  Update documentation.md

fix up 94 url


  Commit: 8ff2a617c8a153eb364d8b762102b6b6b1cb53f8
      https://github.com/pgjdbc/pgjdbc/commit/8ff2a617c8a153eb364d8b762102b6b6b1cb53f8
  Author: Simon Stelling <stellingsimon@users.noreply.github.com>
  Date:   2018-02-17 (Sat, 17 Feb 2018)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/TimestampTest.java

  Log Message:
  -----------
  fix: handle Timestamp values with fractional seconds < 1 microsecond correctly in PreparedStatement arguments
(#1119)

When Timestamp values with nanosecond values < 1000 are submitted as arguments to a PreparedStatement,
avoid formatting them with a trailing dot '.' after the seconds part. This fixes a regression introduced
with PR #896.

closes #1117


  Commit: cc219aa79b37f03432db4fe61e06b5f27fcb7f83
      https://github.com/pgjdbc/pgjdbc/commit/cc219aa79b37f03432db4fe61e06b5f27fcb7f83
  Author: bpd0018 <17967090+bpd0018@users.noreply.github.com>
  Date:   2018-02-18 (Sun, 18 Feb 2018)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java

  Log Message:
  -----------
  style: spelling in comment (#1121)

change incorrent to incorrect


  Commit: 43d80cd48a54ea91868d15bd2f3806b467519883
      https://github.com/pgjdbc/pgjdbc/commit/43d80cd48a54ea91868d15bd2f3806b467519883
  Author: bpd0018 <17967090+bpd0018@users.noreply.github.com>
  Date:   2018-02-18 (Sun, 18 Feb 2018)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/PGConnection.java

  Log Message:
  -----------
  docs: fix JavaDoc for getPreferQueryMode() (#1122)

Update the JavaDoc to show that the return type is PreferQueryMode rather than boolean.


  Commit: 45c32bc6af2e140ff86dabd718344c74fc244394
      https://github.com/pgjdbc/pgjdbc/commit/45c32bc6af2e140ff86dabd718344c74fc244394
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-02-18 (Sun, 18 Feb 2018)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
    M pgjdbc/src/main/java/org/postgresql/core/v3/SimpleQuery.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/UpdateableResultTest.java

  Log Message:
  -----------
  fix: ArrayIndexOutOfBoundsException when using the same SQL for regular and updateable resultset (#1123)

fixes #1116


  Commit: 1ca0c5864a8b6c575b32aee03e2e1e8848fee143
      https://github.com/pgjdbc/pgjdbc/commit/1ca0c5864a8b6c575b32aee03e2e1e8848fee143
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-08 (Thu, 08 Mar 2018)

  Changed paths:
    M CHANGELOG.md
    M pgjdbc/src/main/java/org/postgresql/core/Parser.java
    M pgjdbc/src/test/java/org/postgresql/core/ParserTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/UpsertTest.java

  Log Message:
  -----------
  fix: support insert ... on conflict...update for reWriteBatchedInserts=true (#1130)

pgjdbc will avoid rewriting the query if a bind is identified after values(...)

That is ON CONFLICT... DO update set x=? is NOT rewrite-compatible, and update set x='default' is rewrite-compatible

"reported" here:
https://stackoverflow.com/questions/47664889/jdbc-batch-operations-understanding/48349524?noredirect=1#comment84691562_48349524


  Commit: af64ed2dac035c621b4aec4a0471730457725194
      https://github.com/pgjdbc/pgjdbc/commit/af64ed2dac035c621b4aec4a0471730457725194
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-08 (Thu, 08 Mar 2018)

  Changed paths:
    M CHANGELOG.md
    M docs/_posts/2018-01-17-42.2.0-release.md
    M docs/_posts/2018-01-25-42.2.1-release.md
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
    A pgjdbc/src/test/java/org/postgresql/test/jdbc2/ClientEncodingTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java

  Log Message:
  -----------
  fix: allowEncodingChanges should allow set client_encoding=... (#1125)

fixes #1101


  Commit: 5827858ba5b72b519feb86fc65301a7bffa10c4d
      https://github.com/pgjdbc/pgjdbc/commit/5827858ba5b72b519feb86fc65301a7bffa10c4d
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-09 (Fri, 09 Mar 2018)

  Changed paths:
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BaseTest4.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc4/UUIDTest.java

  Log Message:
  -----------
  tests: UUID vs setString test

By default, setString sends 'varchar' datatype, and PostgreSQL might result in
<<ERROR: column "id" is of type uuid but expression is of type character varying>>

There's stringType option that enables sending strings as UNSPECIFIED type to overcome that error.

fixes #1133


  Commit: 44bb7f8d66829705bf46a6cfcad8a179eb14e441
      https://github.com/pgjdbc/pgjdbc/commit/44bb7f8d66829705bf46a6cfcad8a179eb14e441
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-10 (Sat, 10 Mar 2018)

  Changed paths:
    M pgjdbc/src/test/java/org/postgresql/test/jdbc4/UUIDTest.java

  Log Message:
  -----------
  fix: UUID test for preferQueryMode=simple


  Commit: 61e1c300fb52237b05b7649d61603dd339fbdd9b
      https://github.com/pgjdbc/pgjdbc/commit/61e1c300fb52237b05b7649d61603dd339fbdd9b
  Author: Selene Feigl <890054+sfeigl@users.noreply.github.com>
  Date:   2018-03-11 (Sun, 11 Mar 2018)

  Changed paths:
    M CHANGELOG.md
    M pgjdbc/src/main/java/org/postgresql/largeobject/BlobInputStream.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BlobTest.java

  Log Message:
  -----------
  fix: wrong data from Blob/Clob when mark/reset is used (#971)

BlobInputStream#reset() did not invalidate read buffer, thus it resulted in reading wrong data.


  Commit: e5aab1cd3e49051f46298d8f1fd9f66af1731299
      https://github.com/pgjdbc/pgjdbc/commit/e5aab1cd3e49051f46298d8f1fd9f66af1731299
  Author: chalda <ochaloup@redhat.com>
  Date:   2018-03-11 (Sun, 11 Mar 2018)

  Changed paths:
    M .gitignore
    M CHANGELOG.md
    M pgjdbc/src/main/java/org/postgresql/translation/bg.po
    M pgjdbc/src/main/java/org/postgresql/translation/cs.po
    M pgjdbc/src/main/java/org/postgresql/translation/de.po
    M pgjdbc/src/main/java/org/postgresql/translation/es.po
    M pgjdbc/src/main/java/org/postgresql/translation/fr.po
    M pgjdbc/src/main/java/org/postgresql/translation/it.po
    M pgjdbc/src/main/java/org/postgresql/translation/ja.po
    M pgjdbc/src/main/java/org/postgresql/translation/messages.pot
    M pgjdbc/src/main/java/org/postgresql/translation/nl.po
    M pgjdbc/src/main/java/org/postgresql/translation/pl.po
    M pgjdbc/src/main/java/org/postgresql/translation/pt_BR.po
    M pgjdbc/src/main/java/org/postgresql/translation/ru.po
    M pgjdbc/src/main/java/org/postgresql/translation/sr.po
    M pgjdbc/src/main/java/org/postgresql/translation/tr.po
    M pgjdbc/src/main/java/org/postgresql/translation/zh_CN.po
    M pgjdbc/src/main/java/org/postgresql/translation/zh_TW.po
    M pgjdbc/src/main/java/org/postgresql/util/PSQLState.java
    M pgjdbc/src/main/java/org/postgresql/xa/PGXAConnection.java
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_bg.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_cs.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_de.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_es.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_fr.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_it.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_ja.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_nl.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_pl.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_pt_BR.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_ru.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_sr.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_tr.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_zh_CN.class
    M pgjdbc/src/main/resources/org/postgresql/translation/messages_zh_TW.class
    M pgjdbc/src/test/java/org/postgresql/test/xa/XADataSourceTest.java

  Log Message:
  -----------
  Adjust XAException return codes for better compatibility with XA specification (#782)

There are three main adjustments
* XAException.XAER_RMFAIL is used when some connection error happens
  and it is expected that reconnection of RM could occur
* XAException.XAER_NOTA is used when RM does not know anything about the
  provided Xid
* XAException.XAER_PROTO is used when some wrong sequence of method
  calls is invoked

Fixes #236, #510, #683


  Commit: fcd1ea14545a113fe4a124e17132824e279f572e
      https://github.com/pgjdbc/pgjdbc/commit/fcd1ea14545a113fe4a124e17132824e279f572e
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-11 (Sun, 11 Mar 2018)

  Changed paths:
    M CHANGELOG.md
    M pgjdbc/src/main/java/org/postgresql/core/Oid.java
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
    M pgjdbc/src/main/java/org/postgresql/core/v3/SimpleQuery.java
    A pgjdbc/src/test/java/org/postgresql/core/OidToStringTest.java
    A pgjdbc/src/test/java/org/postgresql/core/OidValueOfTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/PreparedStatementTest.java

  Log Message:
  -----------
  fix: wrong results when a single statement is used with UNSPECIFIED types (#1137)

Timestamp, date (and some other types), are sent as UNSPECIFIED, and pgjdbc did not verify the actual parameter types
atparse time.
 
This might cause wrong results if the query was parsed with explicit type (e.g. setString(...)), and then re-executed
with
TIMESTAMP parameter (timestamps are sent as UNSPECIFIED, thus pgjdbc silently accepted the statement even though it
shouldreparse)
 

fixes #648
closes #674


  Commit: af499625fb99043fe0bf605ec4b23f3dd64c18d7
      https://github.com/pgjdbc/pgjdbc/commit/af499625fb99043fe0bf605ec4b23f3dd64c18d7
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-11 (Sun, 11 Mar 2018)

  Changed paths:
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java

  Log Message:
  -----------
  test: workaround DST issue in StatementTest#testDateFunctions


  Commit: 298683b1bd11a4b16cdba861c8ca93134cfb037b
      https://github.com/pgjdbc/pgjdbc/commit/298683b1bd11a4b16cdba861c8ca93134cfb037b
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2018-03-11 (Sun, 11 Mar 2018)

  Changed paths:
    M .travis.yml
    A .travis/travis_configure_ssl.sh
    A .travis/travis_ssl_users.sh
    M .travis/travis_start_postgres.sh
    M certdir/README
    M certdir/server/pg_hba.conf
    M codecov.yml
    M pgjdbc/src/main/java/org/postgresql/ssl/MakeSSL.java
    M pgjdbc/src/test/java/org/postgresql/test/README.md
    M pgjdbc/src/test/java/org/postgresql/test/ssl/SingleCertValidatingFactoryTestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/ssl/SslTest.java
    M pgjdbc/src/test/java/org/postgresql/test/ssl/SslTestSuite.java
    M ssltest.properties

  Log Message:
  -----------
  test: add Travis configuration to test SSL (#1095)

remove v2 protocol versions of the test
remove pg8 versions of the test


  Commit: 4204f09446edbc7caaecb4c8cd7c8f78abd9344e
      https://github.com/pgjdbc/pgjdbc/commit/4204f09446edbc7caaecb4c8cd7c8f78abd9344e
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-11 (Sun, 11 Mar 2018)

  Changed paths:
    M CHANGELOG.md
    M docs/documentation/head/server-prepare.md
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/AutoRollbackTestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BaseTest4.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/PreparedStatementTest.java

  Log Message:
  -----------
  docs: improve documentation and tests for server-side prepared statements (#1135)


  Commit: 7a586b6e492e8911a928d50113a68569981fa731
      https://github.com/pgjdbc/pgjdbc/commit/7a586b6e492e8911a928d50113a68569981fa731
  Author: Jorge Solorzano <jorsol@gmail.com>
  Date:   2018-03-11 (Sun, 11 Mar 2018)

  Changed paths:
    M CHANGELOG.md
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java

  Log Message:
  -----------
  fix: improve DatabaseMetaData.getSQLKeywords() (#940)

Fetch keywords from pg_catalog.pg_get_keywords()


  Commit: bcdd4273bba7ae6b3348d47d4cdeb72e941d5acc
      https://github.com/pgjdbc/pgjdbc/commit/bcdd4273bba7ae6b3348d47d4cdeb72e941d5acc
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-11 (Sun, 11 Mar 2018)

  Changed paths:
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/PreparedStatementTest.java

  Log Message:
  -----------
  test: make testAlternatingBindType Java 6-compatible (#1139)


  Commit: 04e76661586b54157a1220552c005569231388a9
      https://github.com/pgjdbc/pgjdbc/commit/04e76661586b54157a1220552c005569231388a9
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-14 (Wed, 14 Mar 2018)

  Changed paths:
    M CHANGELOG.md
    M pgjdbc/src/main/java/org/postgresql/core/Parser.java
    M pgjdbc/src/main/java/org/postgresql/core/SqlCommand.java
    M pgjdbc/src/test/java/org/postgresql/core/ParserTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc3/CompositeQueryParseTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc3/GeneratedKeysTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc3/Jdbc3TestSuite.java
    A pgjdbc/src/test/java/org/postgresql/test/jdbc3/SqlCommandParseTest.java

  Log Message:
  -----------
  fix: better support for RETURNING for WITH queries and queries with comments (#1138)

1) pgjdbc ignored to add RETURNING to WITH queries even though it makes sense.
2) `insert/*comment*/` was not treated as `insert` statement, thus the driver did not add `returning`.

fixes #1104


  Commit: ad7fd77fc53b5caa297d2825232569a37015edfe
      https://github.com/pgjdbc/pgjdbc/commit/ad7fd77fc53b5caa297d2825232569a37015edfe
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-15 (Thu, 15 Mar 2018)

  Changed paths:
    M CHANGELOG.md
    A docs/_posts/2018-03-15-42.2.2-release.md
    M release_notes_filter.pl

  Log Message:
  -----------
  docs: release notes for 42.2.2 (#1142)

[ci-skip]


Compare: https://github.com/pgjdbc/pgjdbc/compare/e53838cd79a9...ad7fd77fc53b