Release of Daml SDK v0.13.30
Daml Standard Library
- Add
DA.Action.State
module containing aState
action that can be used for computations that modify a state variable. - Add
createAndExercise
.
Daml Compiler
- Fixed the location of interface files when the
source
field indaml.yaml
points to a file. This is mainly important for when you want to use the created.dar
in thedependencies
field of another package. See issue #3135.
Daml-LF
- Breaking Rename Daml-LF Archive protobuf package from
com.digitalasset.daml_lf
tocom.digitalasset.daml_lf_dev
. This will only affect you do not use the Daml-LF Archive reader provided with the SDK but a custom one based on code generation by protoc. - Breaking Some bintray/maven packages are renamed:
com.digitalasset.daml-lf-proto
becomescom.digitalasset.daml-lf-dev-archive-proto
com.digitalasset.daml-lf-archive
becomescom.digitalasset:daml-lf-dev-archive-java-proto
com.digitalasset.daml-lf-archive-scala
becomescom.digitalasset.daml-lf-archive-reader
- Add immutable bintray/maven packages for handling Daml-LF archive up to version 1.6 in a stable way:
com.digitalasset.daml-lf-1.6-archive-proto
This package contains the archive protobuf definitions as they were introduced when 1.6 was frozen. These definitions can be used to read Daml-LF archives up to version 1.6.The main advantage of this package over thedev
version (com.digitalasset.daml-lf-dev-archive-proto
) is that it is immutable (it is guaranteed to never changed once introduced in the SDK). In other words one can used it without suffering frequent breaking changes introduced in thedev
version.Going forward the SKD will contain a similar immutable package containning the proto definition for at least each Daml-LF version the compiler supports.We strongly advise anyone reading Daml-LF Archive directly to use this package (or thecom.digitalasset:daml-lf-1.6-archive-java-proto
package described below). Breaking changes to thedev
version may be introduced frequently and without further notice in the release notes.com.digitalasset:daml-lf-1.6-archive-java-proto
This package contains the java classes generated from the packagecom.digitalasset.daml-lf-1.6-archive-proto
Daml-SDK Docker Image
- This release contains a first version of an experimental Daml triggers feature that allows you to implement off-ledger automation in Daml.
Daml-SDK Docker Image
- The image now contains a
daml
user and the SDK is installed to/home/daml/.daml
./home/daml/.daml/bin
is automatically added toPATH
.
JSON API - Experimental
- Support for automatic package reload See issue #2906.
JSON API - Experimental
- Add helper to prepare transformer for
Bot.wire
. See issue #3097.
Java Bindings
- The ledger api index server starts only after the indexer has finished initializing the database.
Ledger
- The ledger api index server starts only after the indexer has finished initializing the database.
Sandbox
- Filter contracts or contracts keys in the database query for parties that cannot see them.
Scala Bindings
- Fixed a bug in the retry logic of
LedgerClientBinding#retryingConfirmedCommands
. Commands are now only retried when the server responds with statusRESOURCE_EXHAUSTED
orUNAVAILABLE
.
Scala Codegen
- Fixes for StackOverflowErrors in reading large LF archives. See issue #3104
SQL Extractor
- The format used for storing Optional and Map values found in contracts as JSON has been replaced with :doc:
/json-api/lf-value-specification
. See issue #3066 for specifics.