Skip to content

Commit

Permalink
[CALCITE-5220] Release Avatica 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
F21 committed Jul 26, 2022
1 parent 0c097b6 commit 71fc0ab
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README
@@ -1,4 +1,4 @@
Apache Calcite Avatica release 1.21.0
Apache Calcite Avatica release 1.22.0

# Overview
This is a source or binary distribution of Avatica, a framework for
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -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.21.0
calcite.avatica.version=1.22.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>
Expand Down
28 changes: 14 additions & 14 deletions site/_docs/docker_images.md
Expand Up @@ -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.21.0:
each release. Here is the layout for release 1.22.0:

```
avatica-docker-1.21.0/
avatica-docker-1.21.0/hypersql/
avatica-docker-1.21.0/mysql/
avatica-docker-1.21.0/postgresql/
avatica-docker-1.21.0/Dockerfile
avatica-docker-1.21.0/hypersql/build.sh
avatica-docker-1.21.0/hypersql/Dockerfile
avatica-docker-1.21.0/mysql/build.sh
avatica-docker-1.21.0/mysql/docker-compose.yml
avatica-docker-1.21.0/mysql/Dockerfile
avatica-docker-1.21.0/postgresql/build.sh
avatica-docker-1.21.0/postgresql/docker-compose.yml
avatica-docker-1.21.0/postgresql/Dockerfile
avatica-docker-1.22.0/
avatica-docker-1.22.0/hypersql/
avatica-docker-1.22.0/mysql/
avatica-docker-1.22.0/postgresql/
avatica-docker-1.22.0/Dockerfile
avatica-docker-1.22.0/hypersql/build.sh
avatica-docker-1.22.0/hypersql/Dockerfile
avatica-docker-1.22.0/mysql/build.sh
avatica-docker-1.22.0/mysql/docker-compose.yml
avatica-docker-1.22.0/mysql/Dockerfile
avatica-docker-1.22.0/postgresql/build.sh
avatica-docker-1.22.0/postgresql/docker-compose.yml
avatica-docker-1.22.0/postgresql/Dockerfile
```

#### Running
Expand Down
27 changes: 27 additions & 0 deletions site/_docs/history.md
Expand Up @@ -28,6 +28,33 @@ 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.22.0">1.22.0</a> / 2022-07-XX
{: #v1-22-0}

Apache Calcite Avatica 1.22.0 is a maintenance release to resolve `CVE-2022-36364`: Apache Calcite Avatica JDBC driver
`httpclient_impl` connection property can be used as an RCE vector. Users of previous versions of Avatica MUST upgrade
to mitigate this vulnerability.

Compatibility: This release is tested
on Linux, macOS, Microsoft Windows;
using Oracle JDK 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18;
using IBM Java 8;
Guava versions 14.0.1 to 31.1-jre;
other software versions as specified in `gradle.properties`.

Contributors to this release:
Francis Chuang (Release Manager),
Ruben Quesada Lopez

Features and bug fixes

* [<a href="https://issues.apache.org/jira/browse/CALCITE-5218">CALCITE-5218</a>]
Verify HTTP client class before instantiating it

Build and tests

* Checkout release svn repository when promoting a release using the docker script

## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.21.0">1.21.0</a> / 2022-05-08
{: #v1-21-0}

Expand Down
4 changes: 2 additions & 2 deletions site/_docs/howto.md
Expand Up @@ -43,8 +43,8 @@ Unpack the source distribution `.tar.gz` file,
then build using Gradle:

{% highlight bash %}
$ tar xvfz apache-calcite-avatica-1.21.0-src.tar.gz
$ cd apache-calcite-avatica-1.21.0-src
$ tar xvfz apache-calcite-avatica-1.22.0-src.tar.gz
$ cd apache-calcite-avatica-1.22.0-src
$ gradle build
{% endhighlight %}

Expand Down

0 comments on commit 71fc0ab

Please sign in to comment.