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=newer
option.
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:
-
enum
types. 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.6
the default compiler output.
-
DAML Compiler
-
Add support for DAML-LF
1.6
. In particular:-
BREAKING CHANGE Add support for
enum
types. DAML variant types that look like enumerations (i.e., those variants without type parameters and without arguments) are compiled to the new DAML-LFenum
type when DAML-LF 1.6 target is selected. For instance the daml type declaration of the form:data Color = Red | Green | Blue
will produce a DAML-LF
enum
type instead of DAML-LFvariant
type. This change is breaking, since this release makes DAML-LF1.6
the default compiler output. -
Add
DA.Text.toCodePoints
andDA.Text.fromCodePoints
primitives 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 ofenum
type 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
enum
types. Simple DAMLvariant
types will be mapped to DAML-LFenum
types when using a DAML-LF1.6
archive. Ledger API Value Protobuf provides the newEnum
message. This message must be used to communicate this new data type through the API.
Java Codegen
- Add support for
enum
types.enum
types are mapped to standard java enum. See Generate Java code from DAML for more details.
Scala Codegen
- Add support for
enum
types.
Navigator
- Add support for
enum
types.
Extractor
- Add support for
enum
types.
DAML Docs
- Added links to type signatures in generated docs. Check out the updated standard library docs.