hie-core v0.13.37 Release Notes

Release Date: 2019-11-20 // over 4 years ago
  • DAML Stdlib

    • โž• Added the NumericScale typeclass, which improves the type inference for Numeric literals, and helps catch the creation of out-of-bound Numerics earlier in the compilation process.
    • fromAnyChoice and fromAnyContractKey now take
      the template type into account.

    Navigator

    • ๐Ÿ›  Fixed a bug where Navigator becomes unresponsive if the ledger does not contain any DAML packages.

    Ledger-API

    • โž• Add field gen_map in Protobuf definition for ledger
      ๐Ÿ‘ api values. This field is used to support generic maps, an new
      ๐Ÿ”‹ feature currently in development. See issue #2256 for more details
      about generic maps.
      The Ledger API will send no messages where this field is set, when
      using a stable version of DAML-LF. However the addition of this
      โš  field may cause pattern-matching exhaustive warnings in the code of
      โš  ledger API clients. Those warnings can be safely ignored until
      GenMap is made stable in an upcoming version of DAML-LF.

    Extractor

    • The app can now work against a Ledger API server that requires client authentication.
      ๐Ÿ‘€ See issue #3157.

    DAML Compiler

    • ๐Ÿ’ฅ Breaking The default DAML-LF version is now 1.7. You can still
      ๐Ÿ— produce DAML-LF 1.6 by passing --target=1.6 to daml build. This removes the Decimal type in favor of a Numeric s type with a flexible scale. Decimal is now a synonym for
      Numeric 10. If you get errors about ambigous literals, you might
      need to add a type annotation, e.g., replace 1.0 by (1.0 : Decimal).

    JSON API - Experimental

    • ๐Ÿ”ง CLI configuration to enable serving static content as part of the JSON API daemon:
      --static-content "directory=/full/path,prefix=static"
      ๐Ÿš€ This configuration is NOT recommended for production deployment. See issue #2782.
    • The database schema has changed; if using
      --query-store-jdbc-config, you must rebuild the database by adding
      ,createSchema=true.
      ๐Ÿ‘€ See issue #3461.
    • ๐Ÿ‘€ Terminate process immediately after creating schema. See issue #3386.

    DAML Triggers - Experimental

    • emitCommands now accepts an additional argument
      that allows you to mark contracts as pending. Those contracts will
      be automatically filtered from the result of getContracts until
      we receive the corresponding completion/transaction.

    DAML Script - Experimental

    • ๐Ÿš€ This release contains a first version of an experimental DAML script
      ๐Ÿ”‹ feature that provides a scenario-like API that is run against an actual ledger.