All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Extend the supported engines to node <= 15
- 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 owntsconfig.json
toes6
. - All NPM dependencies have been updated to their latest version.
ledgerEffectiveTime
andmaximumRecordTime
have been dropped by commands #107maxTtl
andminTtl
have been dropped by ledger configuration #107
- supports SDK 1.0.0 #110
maxDeduplicationTime
has been added to the ledger configuration response #107
- the
knownSince
field is now correctly encoded into a plain object #107
- 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 (mirroringgetTransactions
) #102 LedgerClientOptions
now has an optionalgrpcOption
key where options for the gRPC clients can be passed; options are passed as is, refer to the official gRPC documentation #16
- support SDK 0.13.55 #92
- BREAKING:
ExercisedEvent
no longer exposes the fieldcontractCreatingEventId
as it's been dropped by the SDK.
- fix bug to expose package management client from SDK 0.12.25 #88
- complete support for package management by adding support for list know packages and upload dar file from SDK 0.12.25 #85
- complete support for party management by adding support for participant identifier retrieval from SDK 0.12.25 #83
- add support for party allocation and listing from SDK 0.12.25 #79
- add "promisified" version for all relevant endpoints #72
- fix validation of optional DAML values #68
- make offset in completion stream requests optional to reflect the Ledger API #60
- 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
- BREAKING:
ExercisedEvent
has been removed fromEvent
union #52
- add validation to GetTransactionById endpoint
- 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
- runtime type validation checks that timestamps are represented as strings