Skip to content

Latest commit

 

History

History
106 lines (80 loc) · 5.25 KB

CHANGELOG.md

File metadata and controls

106 lines (80 loc) · 5.25 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

[0.11.1]

Changed

  • Extend the supported engines to node <= 15

[0.11.0]

Changed

  • Switch from the deprecated grpc library to @grpc/grpc-js. This does not affect the user-facing API.
  • Support NodeJS 12. NodeJS 10 is still supported but you are encouraged to upgrade as NodeJS 10 will be out of support in April 2021.
  • The source code of this library is now distributed as ES6 rather than ES5. This was required by the switch to @grpc/grpc-js which is also only distributed as ES6. If you use typescript, change the target in your own tsconfig.json to es6.
  • All NPM dependencies have been updated to their latest version.

[0.10.0]

Removed

  • ledgerEffectiveTime and maximumRecordTime have been dropped by commands #107
  • maxTtl and minTtl have been dropped by ledger configuration #107

Added

  • supports SDK 1.0.0 #110
  • maxDeduplicationTime has been added to the ledger configuration response #107

Fixed

  • the knownSince field is now correctly encoded into a plain object #107

[0.9.1]

Added

  • add support for enum values from SDK 0.13.13 #97
  • add support for signatories and observers in created events from SDK 0.13.8 #96
  • add support for contract keys in created events from SDK 0.12.25 #95
  • add support for DAML-LF 1.8 (and earlier) #98
  • the call to getTransactionTrees is now verbose by default (mirroring getTransactions) #102
  • LedgerClientOptions now has an optional grpcOption key where options for the gRPC clients can be passed; options are passed as is, refer to the official gRPC documentation #16

[0.9.0]

Changed

  • support SDK 0.13.55 #92

Removed

  • BREAKING: ExercisedEvent no longer exposes the field contractCreatingEventId as it's been dropped by the SDK.

[0.8.3]

  • fix bug to expose package management client from SDK 0.12.25 #88

[0.8.2]

  • complete support for package management by adding support for list know packages and upload dar file from SDK 0.12.25 #85

[0.8.1]

  • complete support for party management by adding support for participant identifier retrieval from SDK 0.12.25 #83

[0.8.0]

Added

  • add support for party allocation and listing from SDK 0.12.25 #79

[0.7.0]

Added

  • add "promisified" version for all relevant endpoints #72

[0.6.1]

Fixed

  • fix validation of optional DAML values #68

[0.6.0]

Changed

  • make offset in completion stream requests optional to reflect the Ledger API #60

Added

  • the bindings representation of ledger and DAML values is not thoroughly documented #58
  • catch invalid string representation of integer values #57
  • add value helpers #34
  • added agreement text to created events #54
  • improved error messages for missing cases for unknown union type cases #49
  • support for exercise result in ExercisedEvent from SDK 0.12.16 #20
  • support for SubmitAndWait with results from SDK 0.12.15 #19
  • support for text map values from SDK 0.11.32 #17
  • support for CreateAndExercise command from SDK 0.12.9 #12
  • support for GetFlatTransactionById and GetFlatTransactionByEventId from SDK 0.12.14 #18

Removed

  • BREAKING: ExercisedEvent has been removed from Event union #52

Fixed

  • add validation to GetTransactionById endpoint

[0.5.0]

Changed

  • support SDK >=0.12.x
  • use strings to represent numeric types to avoid precision loss
  • use type tags to discriminate unions like events, commands and values

Fixed

  • runtime type validation checks that timestamps are represented as strings