1.9.2
Notable changes
(All user-visible changes are worth to be noted, but ones below deserve more
then one-line description.)
TarantoolClientImpl now can be created in simpler way: without user-defined
socket provider. The default socket provider can be configured with
connectionTimeout and retryCount configuration option. TarantoolClusterClient
also supports these options and applies them to one instance connection
attempts.
A user-provided socket provider still can be used to implement more complex
retry strategy. Starting from this release it gains ability to report a
transient error, so the strategy itself may be written in simpler way.
TarantoolClusterClient gains support of auto refreshing nodes list using a Lua
function defined on the Tarantool side. This feature allows to update a
cluster client with a new topology with zero downtime. It is implemented in
the general way to support a built-in Tarantool replication cluster, a set of
vshard frontends or a Tarantool Enterprise cluster.
Breaking changes
The minimal version of Tarantool to work via JDBC becomes
2.1.1-423-g4007436aa. The criteria here is passing all JDBC tests we have
currently. The version elevates from 2.1.1-372-g0d0f53aa0 in connector-1.9.1,
because of SCALAR type support for storing / fetching binary strings. Features
of the previous release should continue work with the old tarantool version.
TarantoolClusterClient doesn't use operationExpiryTimeMillis configuration
option as a connection timeout anymore, but connectionTimeout option instead.
The cluster client also applies retryCount configuration option to connection
attempts to one instance rather then to the whole attempt count.
New features
Misc
- Added support of auto refresh a list of cluster nodes (#34).
- Apply connection timeout for each connection attempt, apply retry count for
each address in TarantoolClusterClient (#167). - Added minimal documentation for TarantoolClusterClient (see README.md).
JDBC (alpha)
- Added support of a result set holdability (HOLD_CURSORS_OVER_COMMIT only)
(#87). - Added support of isWrapperFor() and unwrap() methods (#73).
- Improved SQLException subclasses and SQLSTATE support (#119).
- Added support of storing and fetching binary strings from / to SCALAR fields
(#45). - Added support of Connection.isValid() (#75).
- Added support of Statement.NO_GENERATED_KEYS option (#78).
- Added support of nullsAreSorted*() methods group (#120).
- Added support of a result set type (FORWARD_ONLY and INSENSITIVE) and
concurrency (READ_ONLY only) (#85, #86).
Bugfixes
Misc
- Fixed broken SQL operations in TarantoolClientImpl and TarantoolConnection
(regression from connector-1.9.0). JDBC is not affected. (#141) - Fixed race conditions in TarantoolClientImpl that could appear during
reconnection (#142).
JDBC (alpha)
- Raise SQLException on methods of a closed Connection (#72).