Skip to content

v0.13.13: Release 0.13.13 (#2170)

Compare
Choose a tag to compare
@garyverhaegen-da garyverhaegen-da released this 16 Jul 18:23

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-LF 1.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-LF enum 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-LF variant type. This change is breaking, since this release makes DAML-LF 1.6 the default compiler output.

    • Add DA.Text.toCodePoints and DA.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 of enum 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 DAML variant types will be mapped to DAML-LF enum types when using a DAML-LF 1.6 archive. Ledger API Value Protobuf provides the new Enum message. This message must be used to communicate this new data type through the API.

Java Codegen

Scala Codegen

  • Add support for enum types.

Navigator

  • Add support for enum types.

Extractor

  • Add support for enum types.

DAML Docs