v0.13.13: Release 0.13.13 (#2170)
DAML Assistant
- Fix VSCode path for use if not already in PATH on mac
- BREAKING: remove
--replace=neweroption.
DAML Studio
- Fix a bug where the extension seemed to disappear every other
time VS Code was opened. - DAML Studio now displays a “Processing” indicator on the bottom
left while the IDE is doing work in the background.
Sandbox
- Fixing an issue around handling passTime in scenario loader
See #1953. - Remembering already loaded packages after reset
See #1979.
DAML-LF
-
Release version 1.6. This versions provides:
-
enumtypes. See issue #105 and DAML-LF 1 specification for more details. -
new builtins for (un)packing strings. See issue #16.
-
intern package IDs. See issue #1614.
-
BREAKING CHANGE Restrict contract key lookups. In short, when looking up or fetching a key, the transaction submitter must be one of the key maintainers. The restriction was done in the DAML-LF development version (
1.dev) until now.
See issue #1866.
This change is breaking, since this release makes DAML-LF1.6the default compiler output.
-
DAML Compiler
-
Add support for DAML-LF
1.6. In particular:-
BREAKING CHANGE Add support for
enumtypes. DAML variant types that look like enumerations (i.e., those variants without type parameters and without arguments) are compiled to the new DAML-LFenumtype when DAML-LF 1.6 target is selected. For instance the daml type declaration of the form:data Color = Red | Green | Bluewill produce a DAML-LF
enumtype instead of DAML-LFvarianttype. This change is breaking, since this release makes DAML-LF1.6the default compiler output. -
Add
DA.Text.toCodePointsandDA.Text.fromCodePointsprimitives to (un)pack strings. -
Add support for DAML-LF intern package IDs.
-
-
BREAKING CHANGE Make DAML-LF 1.6 the default output.
This change activates the support ofenumtype describes above, and the restriction about contract key lookup described in the DAML-LF section -
BREAKING CHANGE Drop support for DAML-LF 1.5. Compiling to DAML-LF 1.6 requires some changes regarding enum types to applications using the Ledger API, see above. (The ledger server still supports DAML-LF 1.5.)
Ledger API
- Add support for
enumtypes. Simple DAMLvarianttypes will be mapped to DAML-LFenumtypes when using a DAML-LF1.6archive. Ledger API Value Protobuf provides the newEnummessage. This message must be used to communicate this new data type through the API.
Java Codegen
- Add support for
enumtypes.enumtypes are mapped to standard java enum. See Generate Java code from DAML for more details.
Scala Codegen
- Add support for
enumtypes.
Navigator
- Add support for
enumtypes.
Extractor
- Add support for
enumtypes.
DAML Docs
- Added links to type signatures in generated docs. Check out the updated standard library docs.