hie-core v0.13.30 Release Notes

Release Date: 2019-10-16 // over 4 years ago
  • DAML Standard Library

    โž• Add DA.Action.State module containing a State action that
    can be used for computations that modify a state variable.

    โž• Add createAndExercise.

    DAML Compiler

    • ๐Ÿ›  Fixed the location of interface files when the
      source field in daml.yaml points to a file. This is mainly
      important for when you want to use the created .dar in the
      ๐Ÿ“ฆ dependencies field of another package.
      ๐Ÿ‘€ See issue #3135.

    DAML-LF

    ๐Ÿ’ฅ Breaking Rename DAML-LF Archive protobuf package from
    com.digitalasset.daml_lf to com.digitalasset.daml_lf_dev. This
    will only affect you do not use the DAML-LF Archive reader provided
    with the SDK but a custom one based on code generation by protoc.

    ๐Ÿ’ฅ Breaking Some bintray/maven packages are renamed:

    • com.digitalasset.daml-lf-proto becomes
      com.digitalasset.daml-lf-dev-archive-proto
    • com.digitalasset.daml-lf-archive becomes
      com.digitalasset:daml-lf-dev-archive-java-proto

    โž• Add immutable bintray/maven packages for handling DAML-LF archive up to version 1.6 in a stable way:

    com.digitalasset.daml-lf-1.6-archive-proto

    ๐Ÿ“ฆ This package contains the archive protobuf definitions as they
    were introduced when 1.6 was frozen. These definitions can be
    ๐Ÿ‘‰ used to read DAML-LF archives up to version 1.6.

    ๐Ÿ“ฆ The main advantage of this package over the dev version
    (com.digitalasset.daml-lf-dev-archive-proto) is that it is
    immutable (it is guaranteed to never changed once introduced
    in the SDK). In other words one can used it without suffering
    frequent breaking changes introduced in the dev version.

    ๐Ÿ“ฆ Going forward the SKD will contain a similar immutable package
    containning the proto definition for at least each DAML-LF
    ๐Ÿ”– version the compiler supports.

    We strongly advise anyone reading DAML-LF Archive directly to use
    ๐Ÿ“ฆ this package (or the
    ๐Ÿ“ฆ com.digitalasset:daml-lf-1.6-archive-java-proto package
    described below). Breaking changes to the dev version may be
    ๐Ÿš€ introduced frequently and without further notice in the release
    notes.

    com.digitalasset:daml-lf-1.6-archive-java-proto

    ๐Ÿ“ฆ This package contains the java classes generated from the package
    com.digitalasset.daml-lf-1.6-archive-proto

    DAML Triggers

    • ๐Ÿš€ This release contains a first version of an experimental DAML
      triggers feature that allows you to implement off-ledger automation
      in DAML.

    ๐Ÿณ DAML-SDK Docker Image

    • The image now contains a daml user and the SDK is installed to /home/daml/.daml.
      /home/daml/.daml/bin is automatically added to PATH.

    JSON API - Experimental

    ๐Ÿ‘Œ Support for automatic package reload
    ๐Ÿ‘€ See issue #2906.

    โž• Add --address CLI option. IP address that HTTP JSON API service listens on. Defaults to 0.0.0.0.

    Java Bindings

    • โž• Add helper to prepare transformer for Bot.wire. See issue #3097.

    Ledger

    • The ledger api index server starts only after the indexer has finished initializing the database.

    Sandbox

    • ๐Ÿ‘€ Filter contracts or contracts keys in the database query for parties that cannot see them.

    Scala Bindings

    • ๐Ÿ›  Fixed a bug in the retry logic of LedgerClientBinding#retryingConfirmedCommands. Commands are now only retried when the server responds with status RESOURCE_EXHAUSTED or UNAVAILABLE.

    Scala Codegen

    • ๐Ÿ›  Fixes for StackOverflowErrors in reading large LF archives. See issue #3104

    SQL Extractor

    • The format used for storing Optional and Map values found in contracts
      ๐Ÿ‘€ as JSON has been replaced with :doc:/json-api/lf-value-specification. See issue
      #3066 for specifics.