You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2021/04/07 22:57:48 UTC

[calcite-avatica] branch master updated: [CALCITE-4488] Prepare for Avatica 1.18.0 release

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

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


The following commit(s) were added to refs/heads/master by this push:
     new a27b975  [CALCITE-4488] Prepare for Avatica 1.18.0 release
a27b975 is described below

commit a27b9753c24f3cf5b40bcb8675b1e5accd6a37f3
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Thu Apr 8 08:57:11 2021 +1000

    [CALCITE-4488] Prepare for Avatica 1.18.0 release
---
 NOTICE                      |  2 +-
 README                      |  2 +-
 gradle.properties           |  2 +-
 site/_docs/docker_images.md | 28 +++++++++++++-------------
 site/_docs/history.md       | 48 ++++++++++++++++++++++++++++++++++++++++++++-
 site/_docs/howto.md         |  4 ++--
 6 files changed, 66 insertions(+), 20 deletions(-)

diff --git a/NOTICE b/NOTICE
index b6529d7..23bb772 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache Calcite -- Avatica
-Copyright 2012-2020 The Apache Software Foundation
+Copyright 2012-2021 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/README b/README
index 8e65aab..781e947 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Apache Calcite Avatica release 1.17.0
+Apache Calcite Avatica release 1.18.0
 
 This is a source or binary distribution of Avatica, a framework for
 building database drivers. Avatica is a sub-project of Apache Calcite.
diff --git a/gradle.properties b/gradle.properties
index e122584..1e3db05 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -23,7 +23,7 @@ kotlin.parallel.tasks.in.project=true
 # This is version for Calcite Avatica 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
-calcite.avatica.version=1.17.0
+calcite.avatica.version=1.18.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>
diff --git a/site/_docs/docker_images.md b/site/_docs/docker_images.md
index f99863d..f8b9e63 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.17.0:
+each release. Here is the layout for release 1.18.0:
 
 ```
-avatica-docker-1.17.0/
-avatica-docker-1.17.0/hypersql/
-avatica-docker-1.17.0/mysql/
-avatica-docker-1.17.0/postgresql/
-avatica-docker-1.17.0/Dockerfile
-avatica-docker-1.17.0/hypersql/build.sh
-avatica-docker-1.17.0/hypersql/Dockerfile
-avatica-docker-1.17.0/mysql/build.sh
-avatica-docker-1.17.0/mysql/docker-compose.yml
-avatica-docker-1.17.0/mysql/Dockerfile
-avatica-docker-1.17.0/postgresql/build.sh
-avatica-docker-1.17.0/postgresql/docker-compose.yml
-avatica-docker-1.17.0/postgresql/Dockerfile
+avatica-docker-1.18.0/
+avatica-docker-1.18.0/hypersql/
+avatica-docker-1.18.0/mysql/
+avatica-docker-1.18.0/postgresql/
+avatica-docker-1.18.0/Dockerfile
+avatica-docker-1.18.0/hypersql/build.sh
+avatica-docker-1.18.0/hypersql/Dockerfile
+avatica-docker-1.18.0/mysql/build.sh
+avatica-docker-1.18.0/mysql/docker-compose.yml
+avatica-docker-1.18.0/mysql/Dockerfile
+avatica-docker-1.18.0/postgresql/build.sh
+avatica-docker-1.18.0/postgresql/docker-compose.yml
+avatica-docker-1.18.0/postgresql/Dockerfile
 ```
 
 #### Running
diff --git a/site/_docs/history.md b/site/_docs/history.md
index 397315b..bf0c3c9 100644
--- a/site/_docs/history.md
+++ b/site/_docs/history.md
@@ -31,7 +31,17 @@ Downloads are available on the
 ## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.18.0">1.18.0</a> / 2021-04-XX
 {: #v1-18-0}
 
-### Breaking changes
+Apache Calcite Avatica 1.18.0 includes a few dependency upgrades, minor fixes and a breaking change.
+Please see below to determine how the breaking change will affect your project.
+
+Compatibility: This release is tested
+on Linux, macOS, Microsoft Windows;
+using Oracle JDK 8, 9, 10, 11, 12, 13, 14;
+using IBM Java 8;
+Guava versions 14.0 to 29.0;
+other software versions as specified in `gradle.properties`.
+
+***Breaking changes***
 * [<a href="https://issues.apache.org/jira/browse/CALCITE-4503">CALCITE-4503</a>] Order of fields in records should follow that of the SQL types
 
 `Meta#deduce(List<ColumnMetaData> columns, Class resultClazz)` now only derives the order of the fields from the list of provided column metadata `columns` when generating a record from the given Java class `resultClazz`, instead of relying on the field order provided by `Object#getFields()`, which is a JVM-dependent feature.
@@ -39,6 +49,42 @@ Downloads are available on the
 Before, the field names where not checked against the field names of the provided class. Now, if `resultClazz` is not null, the provided field names are expected to match existing fields in that class. If a column metadata has name `column`, and no public field in `resultClazz` with that name exists, the following exception is thrown:
 `java.lang.RuntimeException: java.lang.NoSuchFieldException: C`.
 
+Features and bug fixes
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4138">CALCITE-4138</a>]
+  Metadata operations via Avatica turn empty string args to null (Istvan Toth)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4095">CALCITE-4095</a>]
+  Update Jetty to 9.4.31.v20200723 and use `SslContextFactory.Server` instead of `SslContextFactory` (Peter Somogyi)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4196">CALCITE-4196</a>]
+  Consume all data from client before replying with HTTP/401
+* Upgrade gradle from 6.3 to 6.7
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4379">CALCITE-4379</a>]
+  Meta.Frame created with java float values in rows hits a ClassCastException in toProto() (Dmitri Bourlatchkov)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4181">CALCITE-4181</a>]
+  Avatica throws exception when select field is a List<Object> (Kent Nguyen)
+* Upgrade Gradle from 6.7 to 6.8.1
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4476">CALCITE-4476</a>]
+  DateTimeUtils.timeStringToUnixDate may produce wrong time (Vladimir Ozerov)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3401">CALCITE-3401</a>]
+  Assume empty keystore passwords by default (Istvan Toth, Alessandro Solimando)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3881">CALCITE-3881</a>]
+  DateTimeUtils.addMonths yields incorrect results (Zhenghua Gao)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3163">CALCITE-3163</a>]
+  Incorrect mapping of JDBC float/real array types to Java types (Ralph Gasser)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4503">CALCITE-4503</a>]
+  Order of fields in records should follow that of the SQL types (Alessandro Solimando)
+
+Tests
+* Remove files that change often from Travis cache and remove broken files automatically
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3163">CALCITE-3163</a>]
+  Improve test coverage for float/real/double array types (Alessandro Solimando)
+* Replace AssertTestUtils with custom Hamcrest matcher for accessors content
+
+Website and Documentation
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3841">CALCITE-3841</a>]
+  Change downloads page to use downloads.apache.org
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4367">CALCITE-4367</a>]
+  Correct Avatica protocol docs
+
 ## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.17.0">1.17.0</a> / 2020-06-22
 {: #v1-17-0}
 
diff --git a/site/_docs/howto.md b/site/_docs/howto.md
index 84ac1c0..0f4941c 100644
--- a/site/_docs/howto.md
+++ b/site/_docs/howto.md
@@ -37,8 +37,8 @@ Unpack the source distribution `.tar.gz` file,
 then build using maven:
 
 {% highlight bash %}
-$ tar xvfz apache-calcite-avatica-1.17.0-src.tar.gz
-$ cd apache-calcite-avatica-1.17.0-src
+$ tar xvfz apache-calcite-avatica-1.18.0-src.tar.gz
+$ cd apache-calcite-avatica-1.18.0-src
 $ ./gradlew build
 {% endhighlight %}