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-site.git
The following commit(s) were added to refs/heads/master by this push:
new d4a5764 Publish website for Avatica Go 5.0.0 release
d4a5764 is described below
commit d4a57644f72beeaff8de015a175d77522d219060
Author: Francis Chuang <[email protected]>
AuthorDate: Thu Jul 16 10:49:19 2020 +1000
Publish website for Avatica Go 5.0.0 release
---
avatica/develop/avatica-go.html | 18 ++---
avatica/docs/go_client_reference.html | 2 +-
avatica/docs/go_history.html | 66 +++++++++++++++++++
avatica/downloads/avatica-go.html | 6 ++
avatica/downloads/avatica.html | 8 +--
.../news/2016/03/03/separate-project/index.html | 10 +--
avatica/news/2016/03/18/release-1.7.1/index.html | 10 +--
avatica/news/2016/06/04/release-1.8.0/index.html | 10 +--
avatica/news/2016/11/01/release-1.9.0/index.html | 10 +--
.../2017/03/31/new-avatica-repository/index.html | 10 +--
avatica/news/2017/05/30/release-1.10.0/index.html | 10 +--
avatica/news/2018/03/09/release-1.11.0/index.html | 10 +--
.../2018/04/27/release-avatica-go-3.0.0/index.html | 10 +--
avatica/news/2018/06/24/release-1.12.0/index.html | 10 +--
.../2018/09/10/release-avatica-go-3.1.0/index.html | 10 +--
.../2018/09/18/release-avatica-go-3.2.0/index.html | 10 +--
avatica/news/2018/12/04/release-1.13.0/index.html | 10 +--
avatica/news/2019/04/29/release-1.14.0/index.html | 10 +--
avatica/news/2019/05/13/release-1.15.0/index.html | 10 +--
.../2019/05/16/release-avatica-go-4.0.0/index.html | 12 ++--
avatica/news/2019/12/19/release-1.16.0/index.html | 10 +--
avatica/news/2020/06/22/release-1.17.0/index.html | 10 +--
.../07/16/release-avatica-go-5.0.0}/index.html | 50 +++++++-------
avatica/news/avatica-go-releases/index.html | 77 ++++++++++++++++++++--
avatica/news/avatica-releases/index.html | 12 ++--
avatica/news/index.html | 75 +++++++++++++++++++--
26 files changed, 365 insertions(+), 121 deletions(-)
diff --git a/avatica/develop/avatica-go.html b/avatica/develop/avatica-go.html
index ed917dc..86ea84b 100644
--- a/avatica/develop/avatica-go.html
+++ b/avatica/develop/avatica-go.html
@@ -147,17 +147,13 @@ during development allows us to not have to manually
execute the test suite on s
<h3 id="manual-set-up">Manual set up</h3>
<ol>
- <li>Install <a href="https://golang.org/doc/install">Go</a>.</li>
-</ol>
-
-<p>For Go 1.10 and below, install the dependencies (skip these steps if using
Go 1.11 and above):
-1a. Install <a href="https://github.com/golang/dep">dep</a>: <code
class="highlighter-rouge">go get -u github.com/golang/dep/cmd/dep</code></p>
-
-<p>1b. Install dependencies by running <code class="highlighter-rouge">dep
ensure -v</code> from the root of the repository.</p>
-
-<ol>
- <li>The test suite requires access to an instance of Avatica running HSQLDB
and an instance of Apache Phoenix running the
-Phoenix Query Server.</li>
+ <li>
+ <p>Install <a href="https://golang.org/doc/install">Go</a>.</p>
+ </li>
+ <li>
+ <p>The test suite requires access to an instance of Avatica running HSQLDB
and an instance of Apache Phoenix running the
+Phoenix Query Server.</p>
+ </li>
</ol>
<p>You should then set the <code class="highlighter-rouge">HSQLDB_HOST</code>
and <code class="highlighter-rouge">PHOENIX_HOST</code> environment variables.
For example:</p>
diff --git a/avatica/docs/go_client_reference.html
b/avatica/docs/go_client_reference.html
index 694ce6d..085f164 100644
--- a/avatica/docs/go_client_reference.html
+++ b/avatica/docs/go_client_reference.html
@@ -732,7 +732,7 @@ hood.</p>
<code class="highlighter-rouge">database/sql</code> package and the driver:</p>
<figure class="highlight"><pre><code class="language-go" data-lang="go"><span
class="k">import</span><span class="x"> </span><span
class="s">"database/sql"</span><span class="x">
-</span><span class="k">import</span><span class="x"> </span><span
class="n">_</span><span class="x"> </span><span
class="s">"github.com/apache/calcite-avatica-go/v4"</span><span class="x">
+</span><span class="k">import</span><span class="x"> </span><span
class="n">_</span><span class="x"> </span><span
class="s">"github.com/apache/calcite-avatica-go/v5"</span><span class="x">
</span><span class="n">db</span><span class="p">,</span><span class="x">
</span><span class="n">err</span><span class="x"> </span><span
class="o">:=</span><span class="x"> </span><span class="n">sql</span><span
class="o">.</span><span class="n">Open</span><span class="p">(</span><span
class="s">"avatica"</span><span class="p">,</span><span class="x"> </span><span
class="s">"http://localhost:8765"</span><span
class="p">)</span></code></pre></figure>
diff --git a/avatica/docs/go_history.html b/avatica/docs/go_history.html
index 2d5fe20..2c9616c 100644
--- a/avatica/docs/go_history.html
+++ b/avatica/docs/go_history.html
@@ -710,6 +710,72 @@
Downloads are available on the
<a href="/avatica/downloads/avatica-go.html">downloads page</a>.</p>
+<h2 id="v5-0-0"><a
href="https://github.com/apache/calcite-avatica-go/releases/tag/v5.0.0">5.0.0</a>
/ 2020-07-16</h2>
+
+<p>Apache Calcite Avatica Go 5.0.0 is a major release of Avatica Go with a
number of improvements and a breaking change.
+As Go modules has been available since Go 1.11 (3 versions back as of
writing), users of this library should
+install it using Go modules as support for dep has been removed.</p>
+
+<p>This release also introduces the <code
class="highlighter-rouge">batching</code> query string parameter in the DSN,
which allows updates to the server using
+a prepared statement to be batched together and executed once <code
class="highlighter-rouge">Close()</code> is called on the statement.</p>
+
+<p><strong>Breaking change for connection metadata (<a
href="https://issues.apache.org/jira/browse/CALCITE-3248">CALCITE-3248</a>):</strong>
+Previously, it is possible to set the HTTP username and password using the
<code class="highlighter-rouge">username</code> and <code
class="highlighter-rouge">password</code> parameters in the
+query string of the DSN. These parameters were confusing and didn’t signal the
intent and effect of the parameters in addition
+to clashing with the <code class="highlighter-rouge">avaticaUser</code> and
<code class="highlighter-rouge">avaticaPassword</code> parameters. The <code
class="highlighter-rouge">username</code> and <code
class="highlighter-rouge">password</code> parameters have now been
+removed as CALCITE-3248 implements the <a
href="https://golang.org/pkg/database/sql/driver/#Connector">Connector
interface</a> via the
+<code class="highlighter-rouge">NewConnector()</code> method, which allows the
driver to be instantiated with a custom HTTP client. Subsequently, it is now
+possible to set up the driver with a custom HTTP client and decorate it with
the <code class="highlighter-rouge">WithDigestAuth()</code>, <code
class="highlighter-rouge">WithBasicAuth()</code>,
+<code class="highlighter-rouge">WithKerberosAuth()</code> and <code
class="highlighter-rouge">WithAdditionalHeaders()</code> methods.</p>
+
+<p>Features and bug fixes</p>
+
+<ul>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3248">CALCITE-3248</a>]
+Add Connector implementation and remove <code
class="highlighter-rouge">username</code> and <code
class="highlighter-rouge">password</code> query string parameters from DSN
(Tino Rusch)</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3253">CALCITE-3253</a>]
+Check server address exists before returning it in an Avatica response error
(Tino Rusch)</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3264">CALCITE-3264</a>]
+Add catch-all type for unknown types in all adapters instead of panicking
(Tino Rusch)</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3275">CALCITE-3275</a>]
+Add nil checks to error parsing (Tino Rusch)</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2499">CALCITE-2499</a>]
+Drop support for dep</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3320">CALCITE-3320</a>]
+Use transitional x/xerrors package when working with errors</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3903">CALCITE-3903</a>]
+Upgrade protobuf generation dependencies and regenerate avatica protobufs</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3905">CALCITE-3905</a>]
+Upgrade gokrb5 to v8</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3906">CALCITE-3906</a>]
+Pin witch version in tools.go file</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-4067">CALCITE-4067</a>]
+Add support for ExecuteBatchRequest in prepared statement (chenhualin)</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3359">CALCITE-3359</a>]
+Update dependencies</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-4078">CALCITE-4078</a>]
+Move import path from v4 to v5 for 5.0.0 release</li>
+</ul>
+
+<p>Tests</p>
+
+<ul>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3356">CALCITE-3356</a>]
+Use Github Actions for continuous integration</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3902">CALCITE-3902</a>]
+Upgrade Go to 1.13 and 1.14</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-3904">CALCITE-3904</a>]
+Upgrade Github Actions dependencies</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-4076">CALCITE-4076</a>]
+Test against Avatica 1.17.0 and regenerate protobuf</li>
+</ul>
+
+<p>Web site and documentation:</p>
+
+<ul>
+ <li>Clean up documentation and remove references to dep</li>
+</ul>
+
<h2 id="v4-0-0"><a
href="https://github.com/apache/calcite-avatica-go/releases/tag/v4.0.0">4.0.0</a>
/ 2019-05-16</h2>
<p>Apache Calcite Avatica Go 4.0.0 is a major release of Avatica Go with a
number of improvements and a breaking change.
diff --git a/avatica/downloads/avatica-go.html
b/avatica/downloads/avatica-go.html
index b9ea424..dbcba21 100644
--- a/avatica/downloads/avatica-go.html
+++ b/avatica/downloads/avatica-go.html
@@ -99,6 +99,12 @@
</thead>
<tbody>
<tr>
+ <td style="text-align: left"><a
href="/avatica/docs/go_history.html#v5-0-0">5.0.0</a></td>
+ <td style="text-align: left">16 Jul 2020</td>
+ <td style="text-align: left"><a
href="https://github.com/apache/calcite-avatica-go/commit/0e3f5df">0e3f5df</a></td>
+ <td style="text-align: left"><a
href="https://www.apache.org/dyn/closer.lua?filename=calcite/apache-calcite-avatica-go-5.0.0/apache-calcite-avatica-go-5.0.0-src.tar.gz&action=download">tar</a>
(<a
href="https://www.apache.org/dist/calcite/apache-calcite-avatica-go-5.0.0/apache-calcite-avatica-go-5.0.0-src.tar.gz.sha512">sha512</a>
<a
href="https://www.apache.org/dist/calcite/apache-calcite-avatica-go-5.0.0/apache-calcite-avatica-go-5.0.0-src.tar.gz.asc">pgp</a>)</td>
+ </tr>
+ <tr>
<td style="text-align: left"><a
href="/avatica/docs/go_history.html#v4-0-0">4.0.0</a></td>
<td style="text-align: left">16 May 2019</td>
<td style="text-align: left"><a
href="https://github.com/apache/calcite-avatica-go/commit/3790ef5">3790ef5</a></td>
diff --git a/avatica/downloads/avatica.html b/avatica/downloads/avatica.html
index 522878e..c6ec260 100644
--- a/avatica/downloads/avatica.html
+++ b/avatica/downloads/avatica.html
@@ -104,7 +104,7 @@
<td style="text-align: left"><a
href="/avatica/docs/history.html#v1-17-0">1.17.0</a></td>
<td style="text-align: left">22 Jun 2020</td>
<td style="text-align: left"><a
href="https://github.com/apache/calcite-avatica/commit/d56fcd0">d56fcd0</a></td>
- <td style="text-align: left"><a
href="https://www.apache.org/dyn/closer.lua?filename=calcite/apache-calcite-avatica-1.17.0/apache-calcite-avatica-1.17.0-src.tar.gz&action=download">tar</a>
(<a
href="https://www.apache.org/dist/calcite/apache-calcite-avatica-1.17.0/apache-calcite-avatica-1.17.0-src.tar.gz.sha512">sha512</a>
<a
href="https://www.apache.org/dist/calcite/apache-calcite-avatica-1.17.0/apache-calcite-avatica-1.17.0-src.tar.gz.asc">pgp</a>)</td>
+ <td style="text-align: left"><a
href="https://archive.apache.org/dist/calcite/apache-calcite-avatica-1.17.0/apache-calcite-avatica-1.17.0-src.tar.gz">tar</a>
(<a
href="https://archive.apache.org/dist/calcite/apache-calcite-avatica-1.17.0/apache-calcite-avatica-1.17.0-src.tar.gz.sha512">sha512</a>
<a
href="https://archive.apache.org/dist/calcite/apache-calcite-avatica-1.17.0/apache-calcite-avatica-1.17.0-src.tar.gz.asc">pgp</a>)</td>
</tr>
<tr>
<td style="text-align: left"><a
href="/avatica/docs/history.html#v1-16-0">1.16.0</a></td>
@@ -214,12 +214,12 @@ releases). For more information why this must be done,
please read <a href="http
<span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.calcite.avatica<span
class="nt"></groupId></span>
<span class="nt"><artifactId></span>avatica<span
class="nt"></artifactId></span>
- <span class="nt"><version></span>1.17.0<span
class="nt"></version></span>
+ <span class="nt"><version></span>5.0.0<span
class="nt"></version></span>
<span class="nt"></dependency></span>
<span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.calcite.avatica<span
class="nt"></groupId></span>
<span class="nt"><artifactId></span>avatica-server<span
class="nt"></artifactId></span>
- <span class="nt"><version></span>1.17.0<span
class="nt"></version></span>
+ <span class="nt"><version></span>5.0.0<span
class="nt"></version></span>
<span class="nt"></dependency></span>
<span class="nt"></dependencies></span></code></pre></figure>
@@ -229,7 +229,7 @@ releases). For more information why this must be done,
please read <a href="http
<span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.calcite.avatica<span
class="nt"></groupId></span>
<span class="nt"><artifactId></span>avatica-core<span
class="nt"></artifactId></span>
- <span class="nt"><version></span>1.17.0<span
class="nt"></version></span>
+ <span class="nt"><version></span>5.0.0<span
class="nt"></version></span>
<span class="nt"></dependency></span>
<span class="nt"></dependencies></span></code></pre></figure>
diff --git a/avatica/news/2016/03/03/separate-project/index.html
b/avatica/news/2016/03/03/separate-project/index.html
index b1c248d..073b0de 100644
--- a/avatica/news/2016/03/03/separate-project/index.html
+++ b/avatica/news/2016/03/03/separate-project/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -186,6 +188,10 @@ features in the other.</p>
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -201,10 +207,6 @@ features in the other.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2016/03/18/release-1.7.1/index.html
b/avatica/news/2016/03/18/release-1.7.1/index.html
index ac96b27..e5fdba5 100644
--- a/avatica/news/2016/03/18/release-1.7.1/index.html
+++ b/avatica/news/2016/03/18/release-1.7.1/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -244,6 +246,10 @@ upgrading to this version.</p>
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -259,10 +265,6 @@ upgrading to this version.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2016/06/04/release-1.8.0/index.html
b/avatica/news/2016/06/04/release-1.8.0/index.html
index 236c0e7..3fa3daf 100644
--- a/avatica/news/2016/06/04/release-1.8.0/index.html
+++ b/avatica/news/2016/06/04/release-1.8.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -242,6 +244,10 @@ The wire API documentation for Protocol Buffers continues
to receive updates as
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -257,10 +263,6 @@ The wire API documentation for Protocol Buffers continues
to receive updates as
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2016/11/01/release-1.9.0/index.html
b/avatica/news/2016/11/01/release-1.9.0/index.html
index 9993574..9d38204 100644
--- a/avatica/news/2016/11/01/release-1.9.0/index.html
+++ b/avatica/news/2016/11/01/release-1.9.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -201,6 +203,10 @@ and
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -216,10 +222,6 @@ and
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2017/03/31/new-avatica-repository/index.html
b/avatica/news/2017/03/31/new-avatica-repository/index.html
index 2315c7e..3c73be4 100644
--- a/avatica/news/2017/03/31/new-avatica-repository/index.html
+++ b/avatica/news/2017/03/31/new-avatica-repository/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -189,6 +191,10 @@ with a mirrored-copy also available on Github at <a
href="https://github.com/apa
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -204,10 +210,6 @@ with a mirrored-copy also available on Github at <a
href="https://github.com/apa
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2017/05/30/release-1.10.0/index.html
b/avatica/news/2017/05/30/release-1.10.0/index.html
index 035f3b5..9b25b88 100644
--- a/avatica/news/2017/05/30/release-1.10.0/index.html
+++ b/avatica/news/2017/05/30/release-1.10.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -201,6 +203,10 @@ and over 20 <a
href="/avatica/docs/history.html#v1-10-0">other new features and
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -216,10 +222,6 @@ and over 20 <a
href="/avatica/docs/history.html#v1-10-0">other new features and
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2018/03/09/release-1.11.0/index.html
b/avatica/news/2018/03/09/release-1.11.0/index.html
index 26db686..79ae4a3 100644
--- a/avatica/news/2018/03/09/release-1.11.0/index.html
+++ b/avatica/news/2018/03/09/release-1.11.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -186,6 +188,10 @@ support for JDK 7. There are more than 20
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -201,10 +207,6 @@ support for JDK 7. There are more than 20
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2018/04/27/release-avatica-go-3.0.0/index.html
b/avatica/news/2018/04/27/release-avatica-go-3.0.0/index.html
index 00f2be3..65c1291 100644
--- a/avatica/news/2018/04/27/release-avatica-go-3.0.0/index.html
+++ b/avatica/news/2018/04/27/release-avatica-go-3.0.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -193,6 +195,10 @@ as further development will take place in the <code
class="highlighter-rouge">ap
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -208,10 +214,6 @@ as further development will take place in the <code
class="highlighter-rouge">ap
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2018/06/24/release-1.12.0/index.html
b/avatica/news/2018/06/24/release-1.12.0/index.html
index 3e470af..2bb3e3d 100644
--- a/avatica/news/2018/06/24/release-1.12.0/index.html
+++ b/avatica/news/2018/06/24/release-1.12.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -186,6 +188,10 @@ ZIP archives will no longer be produced from this release
onwards.</p>
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -201,10 +207,6 @@ ZIP archives will no longer be produced from this release
onwards.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2018/09/10/release-avatica-go-3.1.0/index.html
b/avatica/news/2018/09/10/release-avatica-go-3.1.0/index.html
index 1110b53..ad4abf0 100644
--- a/avatica/news/2018/09/10/release-avatica-go-3.1.0/index.html
+++ b/avatica/news/2018/09/10/release-avatica-go-3.1.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -191,6 +193,10 @@ Go modules where possible.</p>
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -206,10 +212,6 @@ Go modules where possible.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2018/09/18/release-avatica-go-3.2.0/index.html
b/avatica/news/2018/09/18/release-avatica-go-3.2.0/index.html
index 720fb56..6da8595 100644
--- a/avatica/news/2018/09/18/release-avatica-go-3.2.0/index.html
+++ b/avatica/news/2018/09/18/release-avatica-go-3.2.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -192,6 +194,10 @@ import path rather than the <code
class="highlighter-rouge">"github.com/apache/c
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -207,10 +213,6 @@ import path rather than the <code
class="highlighter-rouge">"github.com/apache/c
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2018/12/04/release-1.13.0/index.html
b/avatica/news/2018/12/04/release-1.13.0/index.html
index eb32b8b..219cd3c 100644
--- a/avatica/news/2018/12/04/release-1.13.0/index.html
+++ b/avatica/news/2018/12/04/release-1.13.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -185,6 +187,10 @@
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -200,10 +206,6 @@
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2019/04/29/release-1.14.0/index.html
b/avatica/news/2019/04/29/release-1.14.0/index.html
index c13fceb..874874e 100644
--- a/avatica/news/2019/04/29/release-1.14.0/index.html
+++ b/avatica/news/2019/04/29/release-1.14.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -189,6 +191,10 @@ Avatica users are encouraged to upgrade to 1.14.0 where
practical.</p>
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -204,10 +210,6 @@ Avatica users are encouraged to upgrade to 1.14.0 where
practical.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="current">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2019/05/13/release-1.15.0/index.html
b/avatica/news/2019/05/13/release-1.15.0/index.html
index 7419c9b..324c255 100644
--- a/avatica/news/2019/05/13/release-1.15.0/index.html
+++ b/avatica/news/2019/05/13/release-1.15.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -191,6 +193,10 @@ for more information.</p>
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -206,10 +212,6 @@ for more information.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2019/05/16/release-avatica-go-4.0.0/index.html
b/avatica/news/2019/05/16/release-avatica-go-4.0.0/index.html
index c06b075..89edffb 100644
--- a/avatica/news/2019/05/16/release-avatica-go-4.0.0/index.html
+++ b/avatica/news/2019/05/16/release-avatica-go-4.0.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -155,7 +157,7 @@
-->
<p>Apache Calcite Avatica Go 4.0.0 is a major release with numerous
improvements and a breaking change for Apache Phoenix.
-As this a a new major version, users of this package will need to upgrade
their import paths to
+As this is a new major version, users of this package will need to upgrade
their import paths to
<code
class="highlighter-rouge">"github.com/apache/calcite-avatica-go/v4"</code>.</p>
<p><strong>Breaking change for Apache Phoenix (<a
href="https://issues.apache.org/jira/browse/CALCITE-2724">CALCITE-2763</a>):</strong>
@@ -200,6 +202,10 @@ used by this package have also been upgraded.</p>
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -215,10 +221,6 @@ used by this package have also been upgraded.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2019/12/19/release-1.16.0/index.html
b/avatica/news/2019/12/19/release-1.16.0/index.html
index 69bc71f..6e92478 100644
--- a/avatica/news/2019/12/19/release-1.16.0/index.html
+++ b/avatica/news/2019/12/19/release-1.16.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -189,6 +191,10 @@ for more information.</p>
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -204,10 +210,6 @@ for more information.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2020/06/22/release-1.17.0/index.html
b/avatica/news/2020/06/22/release-1.17.0/index.html
index 92fb408..0bf8759 100644
--- a/avatica/news/2020/06/22/release-1.17.0/index.html
+++ b/avatica/news/2020/06/22/release-1.17.0/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -188,6 +190,10 @@ for more information.</p>
<h4>Recent Releases</h4>
<ul>
+ <li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
<li class="current">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -204,10 +210,6 @@ for more information.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/2019/05/16/release-avatica-go-4.0.0/index.html
b/avatica/news/2020/07/16/release-avatica-go-5.0.0/index.html
similarity index 75%
copy from avatica/news/2019/05/16/release-avatica-go-4.0.0/index.html
copy to avatica/news/2020/07/16/release-avatica-go-5.0.0/index.html
index c06b075..d4ed460 100644
--- a/avatica/news/2019/05/16/release-avatica-go-4.0.0/index.html
+++ b/avatica/news/2020/07/16/release-avatica-go-5.0.0/index.html
@@ -2,7 +2,7 @@
<html lang="en-US">
<head>
<meta charset="UTF-8">
- <title>Release Avatica Go 4.0.0</title>
+ <title>Release Avatica Go 5.0.0</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="generator" content="Jekyll v3.7.3">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -127,8 +129,8 @@
<div class="unit four-fifths">
<article>
<h2>
- Release Avatica Go 4.0.0
- <a href="/news/2019/05/16/release-avatica-go-4.0.0/" class="permalink"
title="Permalink">∞</a>
+ Release Avatica Go 5.0.0
+ <a href="/news/2020/07/16/release-avatica-go-5.0.0/" class="permalink"
title="Permalink">∞</a>
</h2>
<span class="post-category">
<span class="label">
@@ -137,7 +139,7 @@
</span>
<div class="post-meta">
<span class="post-date">
- 16 May 2019
+ 16 Jul 2020
</span>
@@ -154,27 +156,31 @@
-->
-<p>Apache Calcite Avatica Go 4.0.0 is a major release with numerous
improvements and a breaking change for Apache Phoenix.
-As this a a new major version, users of this package will need to upgrade
their import paths to
-<code
class="highlighter-rouge">"github.com/apache/calcite-avatica-go/v4"</code>.</p>
+<p>Apache Calcite Avatica Go 5.0.0 is a major release with numerous
improvements and a breaking change.
+As this is a new major version, users of this package will need to upgrade
their import paths to
+<code
class="highlighter-rouge">"github.com/apache/calcite-avatica-go/v5"</code>.</p>
+
+<p>Since Go modules have been available since Go 1.11 (3 versions back as of
writing), users of this library should
+install it using Go modules as support for dep has been removed.</p>
-<p><strong>Breaking change for Apache Phoenix (<a
href="https://issues.apache.org/jira/browse/CALCITE-2724">CALCITE-2763</a>):</strong>
-In Apache Phoenix, null and empty strings are equivalent. For some background
on why this is the case, see
-<a href="https://issues.apache.org/jira/browse/PHOENIX-947">PHOENIX-947</a>.
In version 3 of Avatica-Go and below, null and empty
-strings are returned as an empty string <code
class="highlighter-rouge">""</code> to the client. This prevented
database/sql’s built in NullString type from
-working correctly. From 4.0.0 onwards, null and empty strings will be returned
as a <code class="highlighter-rouge">nil</code>. This allows the usage of the
-<code class="highlighter-rouge">sql.NullString</code> type.</p>
+<p>This release also introduces the <code
class="highlighter-rouge">batching</code> query string parameter in the DSN,
which allows updates to the server using
+a prepared statement to be batched together and executed once <code
class="highlighter-rouge">Close()</code> is called on the statement.</p>
-<p>For this release, both <a href="https://github.com/golang/dep">dep</a> and
Go modules are supported for package management. As
-Go modules will be turned on by default in Go 1.13.0 (estimated to be released
in September/October 2019), it is highly
-recommended that users of this package start migrating to using Go modules to
ease the transition.</p>
+<p><strong>Breaking change for connection metadata (<a
href="https://issues.apache.org/jira/browse/CALCITE-3248">CALCITE-3248</a>):</strong>
+Previously, it is possible to set the HTTP username and password using the
<code class="highlighter-rouge">username</code> and <code
class="highlighter-rouge">password</code> parameters in the
+query string of the DSN. These parameters were confusing and didn’t signal the
intent and effect of the parameters in addition
+to clashing with the <code class="highlighter-rouge">avaticaUser</code> and
<code class="highlighter-rouge">avaticaPassword</code> parameters. The <code
class="highlighter-rouge">username</code> and <code
class="highlighter-rouge">password</code> parameters have now been
+removed as CALCITE-3248 implements the <a
href="https://golang.org/pkg/database/sql/driver/#Connector">Connector
interface</a> via the
+<code class="highlighter-rouge">NewConnector()</code> method, which allows the
driver to be instantiated with a custom HTTP client. Subsequently, it is now
+possible to set up the driver with a custom HTTP client and decorate it with
the <code class="highlighter-rouge">WithDigestAuth()</code>, <code
class="highlighter-rouge">WithBasicAuth()</code>,
+<code class="highlighter-rouge">WithKerberosAuth()</code> and <code
class="highlighter-rouge">WithAdditionalHeaders()</code> methods.</p>
<p>The Calcite team recommends users of this package to upgrade to this
version, where practical, as the dependencies being
used by this package have also been upgraded.</p>
- <p>See the <a href="/avatica/docs/history.html#v4-0-0">release
notes</a>;
+ <p>See the <a href="/avatica/docs/history.html#v5-0-0">release
notes</a>;
<a
href="/avatica/downloads/avatica.html#source-releases">download</a> the
release.</p>
@@ -199,6 +205,10 @@ used by this package have also been upgraded.</p>
<h4>Recent Releases</h4>
<ul>
+ <li class="current">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
<li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -207,7 +217,7 @@ used by this package have also been upgraded.</p>
<a href="/avatica/news/2019/12/19/release-1.16.0/">avatica 1.16.0</a>
</li>
- <li class="current">
+ <li class="">
<a
href="/avatica/news/2019/05/16/release-avatica-go-4.0.0/">avatica-go 4.0.0</a>
</li>
@@ -215,10 +225,6 @@ used by this package have also been upgraded.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/avatica-go-releases/index.html
b/avatica/news/avatica-go-releases/index.html
index c35c0db..9eeb19e 100644
--- a/avatica/news/avatica-go-releases/index.html
+++ b/avatica/news/avatica-go-releases/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -131,6 +133,71 @@
+
+<article>
+ <h2>
+ <a href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">
+ Release Avatica Go 5.0.0
+ </a>
+ </h2>
+ <span class="post-category">
+ <span class="label">
+ release
+ </span>
+ </span>
+ <div class="post-meta">
+ <span class="post-date">
+ 16 Jul 2020
+ </span>
+
+
+
+ <a href="http://github.com/F21" class="post-author">
+ <img src="http://github.com/F21.png"
+ class="avatar" alt="francischuang avatar"
+ width="24" height="24">
+ francischuang
+ </a>
+ </div>
+ <div class="post-content">
+ <!--
+
+-->
+
+<p>Apache Calcite Avatica Go 5.0.0 is a major release with numerous
improvements and a breaking change.
+As this is a new major version, users of this package will need to upgrade
their import paths to
+<code
class="highlighter-rouge">"github.com/apache/calcite-avatica-go/v5"</code>.</p>
+
+<p>Since Go modules have been available since Go 1.11 (3 versions back as of
writing), users of this library should
+install it using Go modules as support for dep has been removed.</p>
+
+<p>This release also introduces the <code
class="highlighter-rouge">batching</code> query string parameter in the DSN,
which allows updates to the server using
+a prepared statement to be batched together and executed once <code
class="highlighter-rouge">Close()</code> is called on the statement.</p>
+
+<p><strong>Breaking change for connection metadata (<a
href="https://issues.apache.org/jira/browse/CALCITE-3248">CALCITE-3248</a>):</strong>
+Previously, it is possible to set the HTTP username and password using the
<code class="highlighter-rouge">username</code> and <code
class="highlighter-rouge">password</code> parameters in the
+query string of the DSN. These parameters were confusing and didn’t signal the
intent and effect of the parameters in addition
+to clashing with the <code class="highlighter-rouge">avaticaUser</code> and
<code class="highlighter-rouge">avaticaPassword</code> parameters. The <code
class="highlighter-rouge">username</code> and <code
class="highlighter-rouge">password</code> parameters have now been
+removed as CALCITE-3248 implements the <a
href="https://golang.org/pkg/database/sql/driver/#Connector">Connector
interface</a> via the
+<code class="highlighter-rouge">NewConnector()</code> method, which allows the
driver to be instantiated with a custom HTTP client. Subsequently, it is now
+possible to set up the driver with a custom HTTP client and decorate it with
the <code class="highlighter-rouge">WithDigestAuth()</code>, <code
class="highlighter-rouge">WithBasicAuth()</code>,
+<code class="highlighter-rouge">WithKerberosAuth()</code> and <code
class="highlighter-rouge">WithAdditionalHeaders()</code> methods.</p>
+
+<p>The Calcite team recommends users of this package to upgrade to this
version, where practical, as the dependencies being
+used by this package have also been upgraded.</p>
+
+
+
+ <p>See the <a href="/avatica/docs/go_history.html#v5-0-0">release
notes</a>;
+ <a
href="/avatica/downloads/avatica-go.html#source-releases">download</a> the
release.</p>
+
+
+ </div>
+</article>
+
+
+
+
@@ -167,7 +234,7 @@
-->
<p>Apache Calcite Avatica Go 4.0.0 is a major release with numerous
improvements and a breaking change for Apache Phoenix.
-As this a a new major version, users of this package will need to upgrade
their import paths to
+As this is a new major version, users of this package will need to upgrade
their import paths to
<code
class="highlighter-rouge">"github.com/apache/calcite-avatica-go/v4"</code>.</p>
<p><strong>Breaking change for Apache Phoenix (<a
href="https://issues.apache.org/jira/browse/CALCITE-2724">CALCITE-2763</a>):</strong>
@@ -392,6 +459,10 @@ as further development will take place in the <code
class="highlighter-rouge">ap
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -407,10 +478,6 @@ as further development will take place in the <code
class="highlighter-rouge">ap
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/avatica-releases/index.html
b/avatica/news/avatica-releases/index.html
index 85fc11f..68ea0f8 100644
--- a/avatica/news/avatica-releases/index.html
+++ b/avatica/news/avatica-releases/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -131,6 +133,8 @@
+
+
<article>
<h2>
@@ -832,6 +836,10 @@ upgrading to this version.</p>
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -847,10 +855,6 @@ upgrading to this version.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>
diff --git a/avatica/news/index.html b/avatica/news/index.html
index 19fa1a8..5e3fa3d 100644
--- a/avatica/news/index.html
+++ b/avatica/news/index.html
@@ -85,6 +85,8 @@
<option value="/avatica/news/">Home</option>
<optgroup label="v1.x">
+ <option value="/news/2020/07/16/release-avatica-go-5.0.0/">Release
Avatica Go 5.0.0</option>
+
<option value="/news/2020/06/22/release-1.17.0/">Release 1.17.0</option>
<option value="/news/2019/12/19/release-1.16.0/">Release 1.16.0</option>
@@ -133,6 +135,69 @@
<article>
<h2>
+ <a href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">
+ Release Avatica Go 5.0.0
+ </a>
+ </h2>
+ <span class="post-category">
+ <span class="label">
+ release
+ </span>
+ </span>
+ <div class="post-meta">
+ <span class="post-date">
+ 16 Jul 2020
+ </span>
+
+
+
+ <a href="http://github.com/F21" class="post-author">
+ <img src="http://github.com/F21.png"
+ class="avatar" alt="francischuang avatar"
+ width="24" height="24">
+ francischuang
+ </a>
+ </div>
+ <div class="post-content">
+ <!--
+
+-->
+
+<p>Apache Calcite Avatica Go 5.0.0 is a major release with numerous
improvements and a breaking change.
+As this is a new major version, users of this package will need to upgrade
their import paths to
+<code
class="highlighter-rouge">"github.com/apache/calcite-avatica-go/v5"</code>.</p>
+
+<p>Since Go modules have been available since Go 1.11 (3 versions back as of
writing), users of this library should
+install it using Go modules as support for dep has been removed.</p>
+
+<p>This release also introduces the <code
class="highlighter-rouge">batching</code> query string parameter in the DSN,
which allows updates to the server using
+a prepared statement to be batched together and executed once <code
class="highlighter-rouge">Close()</code> is called on the statement.</p>
+
+<p><strong>Breaking change for connection metadata (<a
href="https://issues.apache.org/jira/browse/CALCITE-3248">CALCITE-3248</a>):</strong>
+Previously, it is possible to set the HTTP username and password using the
<code class="highlighter-rouge">username</code> and <code
class="highlighter-rouge">password</code> parameters in the
+query string of the DSN. These parameters were confusing and didn’t signal the
intent and effect of the parameters in addition
+to clashing with the <code class="highlighter-rouge">avaticaUser</code> and
<code class="highlighter-rouge">avaticaPassword</code> parameters. The <code
class="highlighter-rouge">username</code> and <code
class="highlighter-rouge">password</code> parameters have now been
+removed as CALCITE-3248 implements the <a
href="https://golang.org/pkg/database/sql/driver/#Connector">Connector
interface</a> via the
+<code class="highlighter-rouge">NewConnector()</code> method, which allows the
driver to be instantiated with a custom HTTP client. Subsequently, it is now
+possible to set up the driver with a custom HTTP client and decorate it with
the <code class="highlighter-rouge">WithDigestAuth()</code>, <code
class="highlighter-rouge">WithBasicAuth()</code>,
+<code class="highlighter-rouge">WithKerberosAuth()</code> and <code
class="highlighter-rouge">WithAdditionalHeaders()</code> methods.</p>
+
+<p>The Calcite team recommends users of this package to upgrade to this
version, where practical, as the dependencies being
+used by this package have also been upgraded.</p>
+
+
+
+ <p>See the <a href="/avatica/docs/go_history.html#v5-0-0">release
notes</a>;
+ <a
href="/avatica/downloads/avatica-go.html#source-releases">download</a> the
release.</p>
+
+
+ </div>
+</article>
+
+
+
+<article>
+ <h2>
<a href="/avatica/news/2020/06/22/release-1.17.0/">
Release 1.17.0
</a>
@@ -258,7 +323,7 @@ for more information.</p>
-->
<p>Apache Calcite Avatica Go 4.0.0 is a major release with numerous
improvements and a breaking change for Apache Phoenix.
-As this a a new major version, users of this package will need to upgrade
their import paths to
+As this is a new major version, users of this package will need to upgrade
their import paths to
<code
class="highlighter-rouge">"github.com/apache/calcite-avatica-go/v4"</code>.</p>
<p><strong>Breaking change for Apache Phoenix (<a
href="https://issues.apache.org/jira/browse/CALCITE-2724">CALCITE-2763</a>):</strong>
@@ -1116,6 +1181,10 @@ of the website.</p>
<ul>
<li class="">
+ <a
href="/avatica/news/2020/07/16/release-avatica-go-5.0.0/">avatica-go 5.0.0</a>
+ </li>
+
+ <li class="">
<a href="/avatica/news/2020/06/22/release-1.17.0/">avatica 1.17.0</a>
</li>
@@ -1131,10 +1200,6 @@ of the website.</p>
<a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
</li>
- <li class="">
- <a href="/avatica/news/2019/04/29/release-1.14.0/">avatica 1.14.0</a>
- </li>
-
</ul>
<h4>Other News</h4>
<ul>