You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2021/12/11 19:27:59 UTC

[calcite-avatica] branch stage updated (d9f4374 -> ec89091)

This is an automated email from the ASF dual-hosted git repository.

jhyde pushed a change to branch stage
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git.


    from d9f4374  [CALCITE-4797] Release Avatica 1.19.0
     add ef277ff  Update website for Avatica 1.19.0 release
     add e462b09  [CALCITE-4837] FLOOR/CEIL for DECADE, CENTURY, MILLENIUM return wrong results
     add 95c1eb0  [CALCITE-4828] Standard exception console output
     add c3a9192  [CALCITE-4152] Upgrade Avatica to use the configurable SPNEGO Jetty implementation
     add 57c254f  [CALCITE-4840] Make README easier to scan
     add 434cf00  [CALCITE-4877] Make the exception information more explicit for instantiate plugin.
     add 4cf769f  Disable Travis job that uses Calcite master until [CALCITE-4877] is fixed
     add 8f1d957  [CALCITE-4931] Upgrade SLF4J binding to Log4j2 version 2.15.0
     new ec89091  [CALCITE-4933] Release Avatica 1.20.0

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .travis.yml                                        |   8 -
 README                                             |  17 +-
 bom/build.gradle.kts                               |   4 +-
 core/build.gradle.kts                              |   1 +
 .../apache/calcite/avatica/AvaticaConnection.java  |   1 -
 .../org/apache/calcite/avatica/AvaticaUtils.java   |  46 ++--
 .../apache/calcite/avatica/util/DateTimeUtils.java |  12 +
 .../calcite/avatica/test/AvaticaUtilsTest.java     |  48 +++-
 .../calcite/avatica/util/DateTimeUtilsTest.java    |  18 ++
 core/src/test/resources/log4j.properties           |  26 ---
 gradle.properties                                  |   5 +-
 metrics/build.gradle.kts                           |   1 +
 metrics/src/test/resources/log4j.properties        |  26 ---
 server/build.gradle.kts                            |   2 +-
 .../avatica/server/AvaticaServerConfiguration.java |  20 ++
 ...oteUserExtractor.java => AvaticaUserStore.java} |  34 +--
 .../apache/calcite/avatica/server/HttpServer.java  | 134 ++++++++---
 .../apache/calcite/avatica/AvaticaSpnegoTest.java  |  10 +-
 .../apache/calcite/avatica/RemoteDriverTest.java   |   1 -
 .../org/apache/calcite/avatica/SpnegoTestUtil.java |   3 +-
 .../avatica/server/CustomAuthHttpServerTest.java   |  20 +-
 ...ueryStringParameterRemoteUserExtractorTest.java |   8 +
 .../avatica/server/HttpServerBuilderTest.java      | 146 ------------
 .../server/HttpServerSpnegoWithJaasTest.java       | 255 ---------------------
 .../server/HttpServerSpnegoWithoutJaasTest.java    |   6 +-
 server/src/test/resources/log4j.properties         |  30 ---
 .../src/test/resources/log4j2-test.xml             |  31 ++-
 site/_docs/docker_images.md                        |  28 +--
 site/_docs/history.md                              |  59 ++++-
 site/_docs/howto.md                                |  28 ++-
 site/_docs/security.md                             |  50 +++-
 ...ease-1.11.0.md => 2021-10-11-release-1.19.0.md} |  16 +-
 src/main/config/checkstyle/suppressions.xml        |   1 -
 src/main/config/licenses/slf4j-log4j12/LICENSE     |  21 --
 standalone-server/build.gradle.kts                 |   7 +-
 .../avatica/standalone/StandaloneServer.java       |  38 ++-
 .../src/main/resources/log4j.properties            |  26 ---
 .../src/main/resources/log4j2.xml                  |  31 ++-
 tck/build.gradle.kts                               |   4 +-
 tck/src/main/resources/log4j.properties            |  26 ---
 .../src/main/resources/log4j2.xml                  |  31 ++-
 41 files changed, 522 insertions(+), 757 deletions(-)
 delete mode 100644 core/src/test/resources/log4j.properties
 delete mode 100644 metrics/src/test/resources/log4j.properties
 copy server/src/main/java/org/apache/calcite/avatica/server/{HttpQueryStringParameterRemoteUserExtractor.java => AvaticaUserStore.java} (50%)
 delete mode 100644 server/src/test/java/org/apache/calcite/avatica/server/HttpServerBuilderTest.java
 delete mode 100644 server/src/test/java/org/apache/calcite/avatica/server/HttpServerSpnegoWithJaasTest.java
 delete mode 100644 server/src/test/resources/log4j.properties
 copy docker/src/assembly/docker-files.xml => server/src/test/resources/log4j2-test.xml (62%)
 copy site/_posts/{2018-03-09-release-1.11.0.md => 2021-10-11-release-1.19.0.md} (76%)
 delete mode 100644 src/main/config/licenses/slf4j-log4j12/LICENSE
 delete mode 100644 standalone-server/src/main/resources/log4j.properties
 copy docker/src/assembly/docker-files.xml => standalone-server/src/main/resources/log4j2.xml (62%)
 delete mode 100644 tck/src/main/resources/log4j.properties
 copy docker/src/assembly/docker-files.xml => tck/src/main/resources/log4j2.xml (62%)

[calcite-avatica] 01/01: [CALCITE-4933] Release Avatica 1.20.0

Posted by jh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jhyde pushed a commit to branch stage
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git

commit ec89091680430457b6fe0e1cbc141d78d97a3e1b
Author: Julian Hyde <jh...@apache.org>
AuthorDate: Sat Dec 11 11:24:45 2021 -0800

    [CALCITE-4933] Release Avatica 1.20.0
---
 README                      |  2 +-
 site/_docs/docker_images.md | 28 ++++++++++++-------------
 site/_docs/history.md       | 51 +++++++++++++++++++++++++++++++++++++++++++++
 site/_docs/howto.md         |  4 ++--
 4 files changed, 68 insertions(+), 17 deletions(-)

diff --git a/README b/README
index 724b87a..3ad304e 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Apache Calcite Avatica release 1.19.0
+Apache Calcite Avatica release 1.20.0
 
 # Overview
 This is a source or binary distribution of Avatica, a framework for
diff --git a/site/_docs/docker_images.md b/site/_docs/docker_images.md
index ff55e81..b784350 100644
--- a/site/_docs/docker_images.md
+++ b/site/_docs/docker_images.md
@@ -70,22 +70,22 @@ file will start an instance of PostgreSQL and an instance of the Avatica server,
 exposing an Avatica server configured against a "real" PostgreSQL database.
 
 All of the `Dockerfile` and `docker-compose.yml` files are conveniently provided in an archive for
-each release. Here is the layout for release 1.19.0:
+each release. Here is the layout for release 1.20.0:
 
 ```
-avatica-docker-1.19.0/
-avatica-docker-1.19.0/hypersql/
-avatica-docker-1.19.0/mysql/
-avatica-docker-1.19.0/postgresql/
-avatica-docker-1.19.0/Dockerfile
-avatica-docker-1.19.0/hypersql/build.sh
-avatica-docker-1.19.0/hypersql/Dockerfile
-avatica-docker-1.19.0/mysql/build.sh
-avatica-docker-1.19.0/mysql/docker-compose.yml
-avatica-docker-1.19.0/mysql/Dockerfile
-avatica-docker-1.19.0/postgresql/build.sh
-avatica-docker-1.19.0/postgresql/docker-compose.yml
-avatica-docker-1.19.0/postgresql/Dockerfile
+avatica-docker-1.20.0/
+avatica-docker-1.20.0/hypersql/
+avatica-docker-1.20.0/mysql/
+avatica-docker-1.20.0/postgresql/
+avatica-docker-1.20.0/Dockerfile
+avatica-docker-1.20.0/hypersql/build.sh
+avatica-docker-1.20.0/hypersql/Dockerfile
+avatica-docker-1.20.0/mysql/build.sh
+avatica-docker-1.20.0/mysql/docker-compose.yml
+avatica-docker-1.20.0/mysql/Dockerfile
+avatica-docker-1.20.0/postgresql/build.sh
+avatica-docker-1.20.0/postgresql/docker-compose.yml
+avatica-docker-1.20.0/postgresql/Dockerfile
 ```
 
 #### Running
diff --git a/site/_docs/history.md b/site/_docs/history.md
index 0f98f8f..88578ad 100644
--- a/site/_docs/history.md
+++ b/site/_docs/history.md
@@ -28,6 +28,57 @@ For a full list of releases, see
 Downloads are available on the
 [downloads page]({{ site.baseurl }}/downloads/avatica.html).
 
+## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.20.0">1.20.0</a> / 2021-12-13
+{: #v1-20-0}
+
+Apache Calcite Avatica 1.20.0
+<a href="https://issues.apache.org/jira/browse/CALCITE-4931">upgrades Log4j2 to version 2.15.0</a>
+to address
+<a href"http://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-44228">CVE-2021-44228</a>
+and makes the SPNEGO protocol
+<a href="https://issues.apache.org/jira/browse/CALCITE-4152">much more efficient</a>.
+
+Compatibility: This release is tested
+on Linux, macOS, Microsoft Windows;
+using Oracle JDK 8, 9, 10, 11, 12, 13, 14, 15;
+using IBM Java 8;
+Guava versions 14.0.1 to 31.0.1-jre;
+other software versions as specified in `gradle.properties`.
+
+Contributors to this release:
+Jacques Nadeau,
+Jincheng Sun,
+Josh Elser,
+Julian Hyde (release manager),
+NobiGo,
+Sergey Nuyanzin,
+Stamatis Zampetakis.
+
+Features and bug fixes
+
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4931">CALCITE-4931</a>]
+  Upgrade SLF4J binding to Log4j2 version 2.15.0
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4877">CALCITE-4877</a>]
+  Make the exception information more explicit for instantiate plugin
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4152">CALCITE-4152</a>]
+  Upgrade Avatica to use the configurable SPNEGO Jetty implementation
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4828">CALCITE-4828</a>]
+  Standard exception console output
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4837">CALCITE-4837</a>]
+  `FLOOR` and `CEIL` functions return wrong results for `DECADE`, `CENTURY`,
+  `MILLENNIUM`
+
+Build and tests
+
+* Disable Travis job that uses Calcite master until
+  [<a href="https://issues.apache.org/jira/browse/CALCITE-4877">CALCITE-4877</a>]
+  is fixed
+
+Web site and documentation
+
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4840">CALCITE-4840</a>]
+  Make `README` easier to scan
+
 ## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.19.0">1.19.0</a> / 2021-10-11
 {: #v1-19-0}
 
diff --git a/site/_docs/howto.md b/site/_docs/howto.md
index a9454fa..b620a4b 100644
--- a/site/_docs/howto.md
+++ b/site/_docs/howto.md
@@ -43,8 +43,8 @@ Unpack the source distribution `.tar.gz` file,
 then build using Gradle:
 
 {% highlight bash %}
-$ tar xvfz apache-calcite-avatica-1.19.0-src.tar.gz
-$ cd apache-calcite-avatica-1.19.0-src
+$ tar xvfz apache-calcite-avatica-1.20.0-src.tar.gz
+$ cd apache-calcite-avatica-1.20.0-src
 $ gradle build
 {% endhighlight %}