Release of Daml SDK 0.13.52
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
- Add a
HasTime
instance forScript
which allows you to get the current time (UTC in wallclock mode, UNIX epoch otherwise)
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.
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. - Rename JSON API endpoints. See issue #4289 and issue #3145.
/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.
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.