You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@apache.org by Francis Chuang <fr...@apache.org> on 2020/07/16 00:57:14 UTC
[ANNOUNCE] Apache Calcite Avatica Go 5.0.0 released
The Apache Calcite team is pleased to announce the release of Apache
Calcite Avatica Go 5.0.0.
Avatica is a framework for building database drivers. Avatica
defines a wire API and serialization mechanism for clients to
communicate with a server as a proxy to a database. The reference
Avatica client and server are implemented in Java and communicate
over HTTP. Avatica is a sub-project of Apache Calcite.
The Avatica Go client is a Go database/sql driver that enables Go
programs to communicate with the Avatica server.
Apache Calcite Avatica Go 5.0.0 is a major release of the Avatica Go
client. Due to this, consumers of the package will need to update their
import paths to "github.com/apache/calcite-avatica-go/v5".
This release also features a breaking change for connection metadata
(CALCITE-3248): Previously, it is possible to set the HTTP username and
password using the username and password 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
avaticaUser and avaticaPassword parameters. The username and password
parameters have now been removed as CALCITE-3248 implements the
Connector interface via the NewConnector() 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 WithDigestAuth(), WithBasicAuth(), WithKerberosAuth() and
WithAdditionalHeaders() methods.
For this release, support for the `dep` dependency manager has been
removed and the recommended way to install this package is to use Go
modules.
This release includes updated dependencies, testing against more
targets as well as a batching support to improve performance when
working with large amount of changes using prepared statements. More
information is available in the release notes:
https://calcite.apache.org/avatica/docs/go_history.html#v5-0-0
The release is available here:
https://calcite.apache.org/avatica/downloads/avatica-go.html
We welcome your help and feedback. For more information on how to
report problems, and to get involved, visit the project website at
https://calcite.apache.org/avatica
or the Apache Calcite project website:
https://calcite.apache.org/
Francis Chuang, on behalf of the Apache Calcite Team