Release of Daml SDK v0.13.23
Daml Integration Kit
- The reference implementation can now spin up multiple nodes, either scaling a single participant horizontally or adding new participants. Check the CLI
--help
option. - The test tool now runs the double spend test on a shared contract in a multi-node setup (as well as single-node).
- The test tool can now run all semantic test in a multi-node setup.
Daml Standard Library
- BREAKING CHANGE The
(/)
operator was moved out of theFractional
typeclass into a separateDivisible
typeclass, which is now the parent class ofFractional
. TheInt
instance ofFractional
is discontinued, but there is anInt
instance ofDivisible
. This change will break projects that rely on theFractional Int
instance. To fix that, change the code to rely onDivisible Int
instead. This change will also break projects where aFractional
instance is defined. To fix that, add aDivisible
instance and move the definition of(/)
there.
Daml Assistant
- The HTTP JSON API is now integrated with the assistant and distributed with the SDK. It can either be launched via
daml json-api
or viadaml start
. You can find more information in the README. - The
daml.yaml
file now supports an additional fieldbuild-options
, which you can use to list cli options you want added to invocations ofdaml build
anddaml ide
.
JSON API
- BREAKING CHANGE The
/contracts/search
request payload must use"%templates"
in place of"templateIds"
to select which templates' contracts are returned. See issue #2777.
Daml Compiler
- BREAKING CHANGE Move the Daml-LF produced by generic template instantiations closer to the surface syntax. See the documentation on How Daml types are translated to Daml-LF for details.