DAML Stdlib
Restrict the
(>>)operator to instances ofActionand make it lazy in its second argument. This gives expressions of the formdo A; Bthe desirable semantics of only runningBwhenAis a successful action.Remove the
ActionandActionFailinstances forValidationinDA.Validation. Please enable theApplicativeDolanguage extension if you want to useValidationwithdo-notation and replacefailwithDA.Validation.invalid.
DAML Ledger Integration Kit
Enforce that all parties referenced as stakeholders, actors, or maintainers in a transaction have been allocated.
Ledger API Test Tool default tests modified. Use
--listfor the updated list of default tests. Time service test dropped from the suite.
Sandbox
Static time mode is being deprecated in the future. A warning has been added to notify users of this fact.
Scenarios for ledger initialization are being deprecated in the future, in favor of DAML Script. A warning has been added to notify users of this fact. Scenarios can still be used for testing in DAML studio.
Participant index contract lookups simplified. This should speed up command interpretation.
If authentication is enabled, requests without a valid authentication are going to be rejected with an
UNAUTHENTICATEDreturn code instead ofPERMISSION_DENIED.
JSON API - Experimental
- Add
{"live": true}to WebSocket streams to mark the beginning of "live" data. See #4461. This marker is a placeholder feature; issue #4509 bookmarks in query streams will obsolete this marker, after which it will no longer be emitted. When building features on the marker, be aware of this forthcoming replacement.
DAML Standard Library
- Add a
subtractfunction which is useful as a replacement for sections of(-), e.g.,subtract 1is equivalent to\x -> x - 1.