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.
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 https://github.com/digital-asset/daml/pull/3356 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.
--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)
.
--static-content "directory=/full/path,prefix=static"
This configuration is NOT recommended for production deployment. See issue #2782.--query-store-jdbc-config
, you must rebuild the database by adding ,createSchema=true
. See issue #3461.
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.