Publish website for Avatica Go 5.0.0 release
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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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 @@
<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/07/16/release-avatica-go-5.0.0/index.html b/avatica/news/2020/07/16/release-avatica-go-5.0.0/index.html
new file mode 100644
index 0000000..d4ed460
--- /dev/null
+++ b/avatica/news/2020/07/16/release-avatica-go-5.0.0/index.html
@@ -0,0 +1,303 @@
+<!DOCTYPE HTML>
+<html lang="en-US">
+<head>
+ <meta charset="UTF-8">
+ <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">
+ <link rel="stylesheet" href="/avatica/css/screen.css">
+ <link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
+ <!--[if lt IE 9]>
+ <script src="/js/html5shiv.min.js"></script>
+ <script src="/js/respond.min.js"></script>
+ <![endif]-->
+</head>
+
+
+<body class="wrap">
+ <header role="banner">
+ <nav class="mobile-nav show-on-mobiles">
+ <ul>
+ <li class="">
+ <a href="/avatica/">Home</a>
+ </li>
+ <li class="">
+ <a href="/avatica/downloads/">Download</a>
+ </li>
+ <li class="">
+ <a href="/avatica/community/">Community</a>
+ </li>
+ <li class="">
+ <a href="/avatica/develop/">Develop</a>
+ </li>
+ <li class="current">
+ <a href="/avatica/news/">News</a>
+ </li>
+ <li class="">
+ <a href="/avatica/docs/">Docs</a>
+ </li>
+</ul>
+
+ </nav>
+ <div class="grid">
+ <div class="unit one-third center-on-mobiles">
+ <h1>
+ <a href="/avatica/">
+ <span class="sr-only">Apache Calcite Avatica</span>
+ <img src="/avatica/img/logo.png" width="226" height="140" alt="Calcite Logo">
+ </a>
+ </h1>
+ </div>
+ <nav class="main-nav unit two-thirds hide-on-mobiles">
+ <ul>
+ <li class="">
+ <a href="/avatica/">Home</a>
+ </li>
+ <li class="">
+ <a href="/avatica/downloads/">Download</a>
+ </li>
+ <li class="">
+ <a href="/avatica/community/">Community</a>
+ </li>
+ <li class="">
+ <a href="/avatica/develop/">Develop</a>
+ </li>
+ <li class="current">
+ <a href="/avatica/news/">News</a>
+ </li>
+ <li class="">
+ <a href="/avatica/docs/">Docs</a>
+ </li>
+</ul>
+
+ </nav>
+ </div>
+</header>
+
+
+ <section class="news">
+ <div class="grid">
+
+ <div class="docs-nav-mobile unit whole show-on-mobiles">
+ <select onchange="if (this.value) window.location.href=this.value">
+ <option value="">Navigate the blog…</option>
+ <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>
+
+ <option value="/news/2019/05/16/release-avatica-go-4.0.0/">Release Avatica Go 4.0.0</option>
+
+ <option value="/news/2019/05/13/release-1.15.0/">Release 1.15.0</option>
+
+ <option value="/news/2019/04/29/release-1.14.0/">Release 1.14.0</option>
+
+ <option value="/news/2018/12/04/release-1.13.0/">Release 1.13.0</option>
+
+ <option value="/news/2018/09/18/release-avatica-go-3.2.0/">Release Avatica Go 3.2.0</option>
+
+ <option value="/news/2018/09/10/release-avatica-go-3.1.0/">Release Avatica Go 3.1.0</option>
+
+ <option value="/news/2018/06/24/release-1.12.0/">Release 1.12.0</option>
+
+ <option value="/news/2018/04/27/release-avatica-go-3.0.0/">Release Avatica Go 3.0.0</option>
+
+ <option value="/news/2018/03/09/release-1.11.0/">Release 1.11.0</option>
+
+ <option value="/news/2017/05/30/release-1.10.0/">Release 1.10.0</option>
+
+ <option value="/news/2017/03/31/new-avatica-repository/">New Avatica Repository</option>
+
+ <option value="/news/2016/11/01/release-1.9.0/">Release 1.9.0</option>
+
+ <option value="/news/2016/06/04/release-1.8.0/">Release 1.8.0</option>
+
+ <option value="/news/2016/03/18/release-1.7.1/">Release 1.7.1</option>
+
+ <option value="/news/2016/03/03/separate-project/">Splitting Avatica from Calcite</option>
+
+ </optgroup>
+ </select>
+</div>
+
+
+ <div class="unit four-fifths">
+ <article>
+ <h2>
+ 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">
+ 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/history.html#v5-0-0">release notes</a>;
+ <a href="/avatica/downloads/avatica.html#source-releases">download</a> the release.</p>
+
+
+ </div>
+</article>
+
+ </div>
+
+ <div class="unit one-fifth hide-on-mobiles">
+ <aside>
+ <ul>
+ <li class="">
+ <a href="/avatica/news/">All News</a>
+ </li>
+ <li class="">
+ <a href="/avatica/news/avatica-releases/">Avatica Releases</a>
+ </li>
+ <li class="">
+ <a href="/avatica/news/avatica-go-releases/">Avatica Go Releases</a>
+ </li>
+ </ul>
+ <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>
+
+ <li class="">
+ <a href="/avatica/news/2019/12/19/release-1.16.0/">avatica 1.16.0</a>
+ </li>
+
+ <li class="">
+ <a href="/avatica/news/2019/05/16/release-avatica-go-4.0.0/">avatica-go 4.0.0</a>
+ </li>
+
+ <li class="">
+ <a href="/avatica/news/2019/05/13/release-1.15.0/">avatica 1.15.0</a>
+ </li>
+
+ </ul>
+ <h4>Other News</h4>
+ <ul>
+
+ <li class="">
+ <a href="/avatica/news/2017/03/31/new-avatica-repository/">New Avatica Repository</a>
+ </li>
+
+ <li class="">
+ <a href="/avatica/news/2016/03/03/separate-project/">Splitting Avatica from Calcite</a>
+ </li>
+
+ </ul>
+ </aside>
+</div>
+
+
+ <div class="clear"></div>
+
+ </div>
+ </section>
+
+
+ <footer role="contentinfo">
+ <div id="poweredby">
+ <a href="http://www.apache.org/">
+ <span class="sr-only">Apache</span>
+ <img src="/avatica/img/feather.png" width="190" height="77" alt="Apache Logo"></a>
+ </div>
+ <div id="copyright">
+ <p>The contents of this website are © 2020
+ <a href="https://www.apache.org/">Apache Software Foundation</a>
+ under the terms of
+ the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">
+ Apache License v2</a>. Apache Calcite and its logo are
+ trademarks of the Apache Software Foundation.</p>
+ </div>
+</footer>
+
+ <script>
+ var anchorForId = function (id) {
+ var anchor = document.createElement("a");
+ anchor.className = "header-link";
+ anchor.href = "#" + id;
+ anchor.innerHTML = "<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>";
+ anchor.title = "Permalink";
+ return anchor;
+ };
+
+ var linkifyAnchors = function (level, containingElement) {
+ var headers = containingElement.getElementsByTagName("h" + level);
+ for (var h = 0; h < headers.length; h++) {
+ var header = headers[h];
+
+ if (typeof header.id !== "undefined" && header.id !== "") {
+ header.appendChild(anchorForId(header.id));
+ }
+ }
+ };
+
+ document.onreadystatechange = function () {
+ if (this.readyState === "complete") {
+ var contentBlock = document.getElementsByClassName("docs")[0] || document.getElementsByClassName("news")[0];
+ if (!contentBlock) {
+ return;
+ }
+ for (var level = 1; level <= 6; level++) {
+ linkifyAnchors(level, contentBlock);
+ }
+ }
+ };
+</script>
+
+
+</body>
+</html>
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 @@
<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 @@
<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 @@
<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 @@
<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 @@
-->
<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 @@
<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 @@
<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>