Release 0.13.52 - 2020-02-12
DAML Assistant
-
The assistant can now do completions for SDK commands, e.g.,
daml ledger upl<TAB>
will complete todaml ledger upload-dar
. -
The new behavior introduced in
0.13.51
to shut down when stdin is closed is now disabled unless you explicitly enable it by passing--shutdown-stdin-close
.
DAML Script - Experimental
-
The time mode must now always be specified explicitly. Use
--static-time
to recover the previous default time mode. -
Add a sleep function that pauses the script for the given duration. This is primarily useful in tests where you repeatedly call query until a certain state is reached.
-
Add a
HasTime
instance forScript
which allows you to get the current time (UTC in wallclock mode, UNIX epoch otherwise)
DAML SDK
- Fix computation of witnesses of top-level fetch nodes in scenario results ("known to").
DAML Studio
- You can now open DAML Studio in the root of a multi-package project instead of opening it separately for each package. Take a look at the documentation for details on how to set this up.
DAML Triggers - Experimental
- The time mode must now always be specified explicitly. Use
--static-time
to recover the previous default time mode.
JSON API - Experimental
-
wrap Streaming API events in JSON object:
{ "events": [ E1, E2, ... ] }
. See issue #4384. -
The format of
archived
responses from WebSocket endpoints has changed to include template IDs, similar to exercise responses. See issue #4383.
/command/create => /v1/create
/command/exercise => /v1/exercise
/contracts/lookup => /v1/fetch
/contracts/search => /v1/query
/contracts/searchForever => /v1/stream/query
/contracts/lookupForever => /v1/stream/fetch
/parties => /v1/parties
-
Exercise response field "contracts" renamed to "events". See issue #4385.
-
Added streaming version of fetch by key:
/stream/fetch
. See issue #4705. -
/contracts/searchForever
accepts multiple queries, and includes with eachcreated
result thematchedQueries
indicating which queries matched. See issue #4363. -
Added a command line option to allow overriding default TTL. See issue #3848.
--default-ttl <value>
Optional Time to Live interval to set if not provided in the command. Examples: 30s, 1min, 1h. Defaults to 30 seconds
Sandbox
-
Fixed a memory leak when using the ResetService; not everything was cleaned up correctly.
-
Preliminary work to rebuild Sandbox on top of the DAML Ledger Integration Kit. Currently not exposed through the CLI.