- Fix default backoff function for full jitter method. The backoff time between retries will sleep shorter periods of time. PR 182
- Update the minimum version of the driver's Ion dependency to 1.2.2
- This dependency update includes a fix to a JSON decimal conversion issue
- Update the minimum version of the driver's Ion Hash dependency to 1.1.1
- Update the minimum version of the driver's Ion Object Mapper dependency to 1.0.0
- Update the minimum version of the driver's logging dependency to 6.0.0
v1.3 adds support for passing in parameters and retrieving rows to and from QLDB as native C# types, bypassing the need to use IIonValue
!
See Serialization for a quick tutorial and examples.
v1.2 adds the asynchronous version of the driver. C# version updated to 9.0.0 minimum for development of the driver.
- Added
AsyncQldbDriver
,AsyncQldbDriverBuilder
, and various other classes to support asynchronous workflows - Improved retry logic to now handle more types of failure
- Fixed some resource leaks upon calling
Dispose
on the driver - Fixed a rare race condition when calling
Execute
on the driver - Added a safeguard to release resources when user-passed functions threw exceptions in
retryAction
andIBackoffStrategy.CalculateDelay
- Update the minimum version of the driver's logging dependency to 2.0.0
- Update the minimum version of the driver's AWS SDK dependency to 3.5.2
- Fixed a bug where it was throwing NullReferenceException after session expiry.
v1.1 adds support for obtaining basic server-side statistics on individual statement executions.
- Added
IOUsage
andTimingInformation
struct types containing information on server-side statistics- IOUsage contains
long ReadIOs
- TimingInformation contains
long ProcessingTimeMilliseconds
- IOUsage contains
- Added
IOUsage? GetConsumedIOs()
andTimingInformation? GetTimingInformation()
to theIResult
interface- IOUsage and TimingInformation are stateful, meaning the statistics returned by the method reflect the state at the time of method execution
- Fixed the bug which leads to infinite number of retries on expired long running transactions.
- Merged in the ION Hash fix on ION structs with multiple fields.
- Customized exceptions in a transaction will abort the transaction immediately.
- Added
Execute
methods that take a customizedRetryPolicy
object. It allows customer to set the retry limit and also create customized 'IBackoffStrategy'. - Added
QldbDriverBuilder.WithRetryLogging
to enable logging retries.
- The
Execute
methods in theIQldbDriver
class that take aretryAction
parameter are deprecated, and will be removed in the future release.
We have reworked the driver to deliver the next set of changes:
- Added the
getTableNames
method to theQldbDriver
class. For more details please read the release notes. - Support for .NET Core
- Improve the performance of the driver by removing unnecessary calls to QLDB.
-
PooledQldbDriver
has been removed in favor of theQldbDriver
. For more details please read the release notes. -
QldbSession
andTransaction
classes are not accessible anymore. Please useQldbDriver
instead to execute transactions. For more details please read the release notes. -
QldbDriver.Execute(String)
method has been removed. Please useQldbDriver.Execute<T>(Func<TransactionExecutor, T> func)
orQldbDriver.Execute(Action<TransactionExecutor> action)
methods instead.
v0.1.0-beta - 2020-03-13
Preview release of the Amazon QLDB Driver for .NET.
- Provides the PooledQldbDriver to access QLDB and execute transactions.