Extend user store to support user modification with concurrent change control.
Make user's primary party modifiable and add isDeactivated modifiable attribute
Add user annotations.
Add party record store on par with user store.
changelog_begin
changelog_end
* declare Interface, ToInterface, FromInterface in @daml/types library
* generate ToInterface and FromTemplate companion declarations
* add toInterface and unsafeFromInterface to template companion implementations
* declare marker types for every interface
* remove type parameter from interface companions' types
* add the union for forward implements
CHANGELOG_BEGIN
- [TypeScript codegen] To exercise an interface choice on a
template-typed contract ID, you must now explicitly convert the
contract ID to an interface-typed ID. For example, where ``cid:
ContractId<TemplateName>``, you can use
``TemplateName.toInterface(InterfaceName, cid)`` to produce a
``ContractId<InterfaceName>``.
Interface contract IDs are also now typed as shown above; for example,
the former type ``ContractId<InterfaceNameInterface<TemplateName>>``
would now simply be ``ContractId<InterfaceName>``.
CHANGELOG_END
* fixes#14822, added test case to ensure retroactive implements works in java code gen
CHANGELOG_BEGIN
CHANGELOG_END
* fixes#14822, added test case to ensure retroactive implements works in java code gen
* format
* address Stephen's comment
* fmt
* fixes#14821, added test case to ensure retroactive implements works in json-api
CHANGELOG_BEGIN
CHANGELOG_END
* address Stephen's comment
CHANGELOG_BEGIN
CHANGELOG_END
* Implement usage of disclosed contracts in command interpretation
* NOTE: No actual disclosed contracts can be passed at this point
since command validation disallows it
changelog_begin
changelog_end
* Update ledger/participant-integration-api/src/test/suite/scala/platform/apiserver/execution/ResolveMaximumLedgerTimeSpec.scala
Co-authored-by: Sergey Kisel <98825453+skisel-da@users.noreply.github.com>
* Update ledger/participant-integration-api/src/test/suite/scala/platform/apiserver/execution/ResolveMaximumLedgerTimeSpec.scala
Co-authored-by: Sergey Kisel <98825453+skisel-da@users.noreply.github.com>
Co-authored-by: Sergey Kisel <98825453+skisel-da@users.noreply.github.com>
changelog_begin
changelog_end
1. Document that the fetch-by-contract-ID endpoint can take a template ID
2. Reinforce the point made in #14601 and always specify the package ID
* Add newtype for interface viewtype docs
* Change type of InterfaceDoc field if_viewtype to Maybe InterfaceViewtypeDoc
* Extract interface viewtype in distributeInstanceDocs
changelog_begin
changelog_end
* new names in daml-script/runner
* new names in json-api
* new names in Scala bindings/codegen
* new names in Java bindings/codegen
* new names in daml-lf interpreter tests
* more new names in daml-script tests
* new names in navigator backend
* deprecate all iface symbols and old method names
CHANGELOG_BEGIN
- [Scala API] ``com.daml.lf.iface`` has been deprecated, as discussed
further in
`issue #14783 <https://github.com/digital-asset/daml/pull/14783>`__.
Use the deprecation warnings as guidance to the new names.
CHANGELOG_END
* prefix cases in OrderingSpec
- suggested by @remyhaemmerle-da; thanks
* percolate Resolved/Definite status
* propagate resolution through the queries, DB updates, and domain resolutions
* include Definite in the definition of Resolved, everywhere
CHANGELOG_BEGIN
CHANGELOG_END
* document how to enable dev on both Daml and Canton
changelog_begin
changelog_end
* Update docs/source/daml/reference/interfaces.rst
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Update docs/source/daml/reference/interfaces.rst
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Update docs/source/daml/reference/interfaces.rst
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
* Update docs/source/daml/reference/interfaces.rst
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
* change the link reference to a ref
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
* pass retroImplements from Ast.DefInterface to DefInterface and addted test case
CHANGELOG_BEGIN
CHANGELOG_END
* added todo
CHANGELOG_BEGIN
CHANGELOG_END
* fixed findTemplate , added test cases
CHANGELOG_BEGIN
CHANGELOG_END
* add test data
CHANGELOG_BEGIN
CHANGELOG_END
* add copyright
CHANGELOG_BEGIN
CHANGELOG_END
@basvangijzel-DA is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.
Please do not merge this before the release is fully tested.
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
* Add version 1.15 - move interfaces into them
* Update Ast/Version & docs for 1.15, split interface into simple/extended
* Stage 1.15 protobuf
* Remove references to dev from 1.15 protobufs
* Add Tests file for 1.15 in ledger API testtool
* Update Version 1.15 changelog with Call/implements
* Make 1.14 default again
* Add 1.15 as preview version
* Add 1.15 test suite to testtool
* Reinclude 1.15 in COMPILER_LF_VERSIONS to build model-tests-1.15
* Move v1_15 ledger-api-tests into own suite
* Fix InterfaceNotSupported message to 1.15 or higher
* satisfy changelog check
CHANGELOG_BEGIN
CHANGELOG_END
* Update tests with extended interface features to only run on 1.dev
* Allow unsafe_from_interface and interface_template_type_rep in 1.15
* Fix StableVersions back to 1.14, make EarlyAccessVersions 1.15
* Run retroactive implements tests only in extended interfaces
* lint
* Temporarily disable 1.15 conformance tests - handle in another PR
* Also disable conformance-test-tls1.2-or-newer-1.15
* Disable PureConfigReaderWriter tests that assume early-access == stable
* lint
* Temporarily disable decode extended interface primitives test
* Use dictionary comprehension to generate ledger/test-common test_names
* Move InterfaceSubscriptionsIT test back into 1.dev suite
* lint
* Make exercise guards nullable, ignore Nothing in decode/encode
* Desugar UExerciseInterface[Guarded] differently, point to updated GHC
* Update to new GHC revision, removes pred argument from `exercise`
* Attach correct range to guard support error (if any)
Co-Authored-By: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
* Rename interface features
Co-Authored-By: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
* Remove unnecessary mention of v1_14 from supportedInputVersions
Co-Authored-By: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
* Clarify purpose of `Maybe Expr` type for exercise guard
Co-Authored-By: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
* Remove guarded exercise when Extended Interfaces are not enabled
* Remove all instances of guarded exercises in versions <= 1.15
* Add check for isId to splitDFunId
* Exclude via $cexerciseGuarded check - ClassOpId approach did not work
* Run damlc interface tests w/o requires when since DAML_INTERFACE
* Update desugared daml for UExerciseInterface[Guarded] generation
* Temporarily disable failing damlc tests
* Remove 1.dev-only references from 1.15 protobuf
Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
* added graphql resolve field
CHANGELOG_BEGIN
CHANGELOG_END
* render interface prefix; add interface in the route path; added graphql resolve field
* pass in interface id if the choice exercised via interface
* render interface choice in popup when click wrench icon
* Add daml-doc EXPECTED.{md,rst} files for QualifiedInterface.daml
* Add daml-doc EXPECTED.{md,rst} files for {,Qualified}RetroactiveInterfaceInstance.daml
* 'implements' in templates are now rendered as 'interface instance's
* Update daml-test-files {,Qualified}Interface.daml EXPECTED daml-doc output
* daml-doc now includes interface instances in interfaces
* Update daml-test-files {,Qualified}RetroactiveInterfaceInstance.daml EXPECTED daml-doc
* Add daml-doc test case for interface instance in interface
* Generalize runDamldoc to runDamldocMany
* Generalize damldocExpect to damldocExpectMany
* Add daml-doc test cases for qualified interface instance anchors
* Extract interface viewtypes in daml-doc
* Render interface viewtypes in daml-doc
* Update EXPECTED daml-doc for daml-test-files with interface viewtypes
* Add comment for use of partial function (Data.Map.Strict.!)
changelog_begin
changelog_end
* Added internal interface case class
CHANGELOG_BEGIN
CHANGELOG_END
* resolveRetroImplements WIP
* remove not used def
* added astInterfaces in PackageRegistry
* provide implementedInterfaces set
* Use def from interface library to resolve choice interface and retroactive implements
* use resolvedChoices instead of directChoices to get resolved choices from template.
* renming AstInterface -> Interface
* Address Stephen's comment
* format
* use new names in json-api
* use new names in java codegen
* use new names in Scala codegen
* use new names in TypedValueGenerators
CHANGELOG_BEGIN
CHANGELOG_END