Skip to content

Release v2.1.0 of the Amazon QLDB Driver for Node.js

Compare
Choose a tag to compare
@saumehta9 saumehta9 released this 22 Dec 23:11
· 240 commits to master since this release

Release v2.1.0 (December 22 , 2020)

Note: A bug has been discovered in this version which results in No open transaction or Transaction already open errors, please use v2.2.0.

Add support for obtaining basic server-side statistics on individual statement executions.

Enhancements

  • Added IOUsage and TimingInformation interface to provide server-side execution statistics
    • IOUsage provides getReadIOs(): number
    • TimingInformation provides getProcessingTimeMilliseconds(): number
    • Added getConsumedIOs(): IOUsage and getTimingInformation(): TimingInformation to the Result and ResultStream
    • getConsumedIOs(): IOUsage and getTimingInformation(): TimingInformation methods are stateful, meaning the statistics returned by them reflect the state at the time of method execution

Check Getting statement statistics for details.

Note: For using version 2.1.0 and above of the driver, the version of the aws-sdk should be >= 2.815