Commit Graph

10134 Commits

Author SHA1 Message Date
Stefano Baghino
f734b2eeb4
Move @sofiafaro-da to the top of ROTATION (#13778)
changelog_begin
changelog_end
2022-05-03 10:13:08 +01:00
tudor-da
83e6ad2696
Fix flaky RecoveringIndexerIntegrationSpec (#13777)
changelog_begin
changelog_end
2022-05-03 08:39:49 +00:00
nickchapman-da
804a399115
Tests for stack-safety of type-checking (#13729)
* Tests for stack-safety of type-checking

changelog_begin
changelog_end

* remove testcases app[123]of3

* typecheck returns Option[ValidationError]

* remove LARGE testset, which only has non-overflow because of ill-typed examples causing early exit

* ensure all test examples are well-typed

* fix TODO issue links
2022-05-03 08:59:12 +01:00
carrielaben-da
58c615a251
Updating Titles and Headings (#13592)
* Updating Titles and Headings

Conforming titles and headings to best practices:

- Making them descriptive and non-repetitive
- Title case for first two levels of headings on a given page, sentence case for lower levels (in keeping with DA style guide)
- Typo fixes

[CHANGELOG_BEGIN]

[CHANGELOG_END]

* Updating Titles and Headings 2

Incorporating Stefano's comments throughout.

[CHANGELOG_BEGIN]

[CHANGELOG_END]

* Update docs/source/daml/intro/10_Functional101.rst

* Update docs/source/daml/intro/10_Functional101.rst

* Update docs/source/daml/intro/10_Functional101.rst

* Update docs/source/daml/reference/contract-keys.rst

fixing the 'Specify Maintainers' link

[CHANGELOG_BEGIN]

[CHANGELOG_END]

Co-authored-by: carrie-laben <91496516+carrie-laben@users.noreply.github.com>
2022-05-02 15:22:51 -04:00
Moritz Kiefer
d3280ac87d
Add queryFilter to triggers (#13769)
* Add queryFilter to triggers

changelog_begin

- [Daml Triggers] Add `queryFilter` matching Daml Script’s
  `queryFilter` which queries contracts of a given template and filters
  them down to those where the predicate holds.

changelog_end

fixes #13746

* Update triggers/daml/Daml/Trigger.daml
2022-05-02 17:36:57 +00:00
Moisés Ackerman
61cb257225
Make disclosure explicit in Daml Studio tree view (#13735)
changelog_begin
* Daml Studio: transaction tree view now differentiates between disclosed and divulged contracts
changelog_end
2022-05-02 09:18:46 +02:00
azure-pipelines[bot]
7297fe9dce
update NOTICES file (#13760)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-01 19:09:19 +02:00
azure-pipelines[bot]
e29ba712ac
bump canton to 20220429 (#13758)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-05-01 19:08:55 +02:00
Victor Peter Rouven Müller
2e6dbefa8c
Add optional ledgerApiError details to responses (#13751)
* Add optional ledgerApiError details to responses

* Finally get some proper error details

* Cleaning up the code

* Less bad words in the code

* Better deserialization error msg

changelog_begin

- [JSON-API] The response of the json api now includes a field ledgerApiError that contains extended information in the case of ledger errors. See issue https://github.com/digital-asset/daml/issues/9834 for more details.

changelog_end

* Reformat!

* Remove debug logging statements

* also update security evidence file

* more cleanup

* Improve Json decoder & encoder

* Add test for json encoder&decoder

* Add test which ensures that the LedgerApiError field in the response is filled with valid information

* Fix failing failure tests
2022-04-29 21:44:37 +02:00
Hubert Slojewski
281de9ac2e
Publish daml-lf encoder, parser and error-test-lib [KVL-1424] (#13730) 2022-04-29 13:59:19 +02:00
Gary Verhaegen
eeeff66769
release instructions: no published snapshot docs (#13747)
CHANGELOG_BEGIN
CHANGELOG_END
2022-04-29 11:06:31 +00:00
azure-pipelines[bot]
90cecbcd1f
update NOTICES file (#13744)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-04-29 12:20:10 +02:00
azure-pipelines[bot]
4a1e2a9b8e
bump canton to 20220428 (#13743)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-04-29 12:19:46 +02:00
Robert Autenrieth
31015b68fc
DPP-748 Remove Java migrations (#13731)
* Remove Java migrations

changelog_begin
changelog_end

* Add test
2022-04-29 12:19:23 +02:00
Remy
615d2e6206
Daml-script: marking MultiParticipantIT as falky in windows (#13739)
The problem is tracked by #13737.

CHANGELOG_BEGIN
CHANGELOG_END
2022-04-28 16:09:23 +00:00
Andreas Herrmann
7a59176cdb
Add the configuration steps to the Windows instructions (#13736)
changelog_begin
changelog_end

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2022-04-28 15:40:45 +00:00
Robert Autenrieth
d75cacf0ef
Rename store backend template files (#13714)
... if they are not template files

changelog_begin
changelog_end
2022-04-28 16:10:19 +02:00
Hubert Slojewski
968ca24b17
Remove kvutils buf configuration and other leftovers [KVL-1427] (#13732)
CHANGELOG_BEGIN
CHANGELOG_END
2022-04-28 16:00:23 +02:00
Victor Peter Rouven Müller
fbead1a80d
Use correct ledger id "sandbox" in json api docs examples (#13723)
changelog_begin

- A bit of the json api documentation which still used the removed `--ledgerid` flag for starting the sandbox has been updated. This also includes updating the ledgerid to be the participant id which by default is "sandbox".

changelog_end
2022-04-28 14:19:56 +02:00
Robert Autenrieth
3e898e04d5
DPP-926 Move SimpleSqlAsVectorOf (#13711)
* Move SimpleSqlAsVectorOf

changelog_begin
changelog_end

* Restrict visibility
2022-04-28 13:26:43 +02:00
Nicu Reut
a792de39a5
Update scalafmt to 3.5.1. (#13584)
CHANGELOG_BEGIN
CHANGELOG_END
2022-04-28 09:57:04 +00:00
azure-pipelines[bot]
0404aa242b
rotate release duty after 2022-04-27 (#13708)
@adriaanm-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>
2022-04-28 11:49:49 +02:00
azure-pipelines[bot]
001350981d
update NOTICES file (#13727)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-04-28 10:16:19 +02:00
Robert Autenrieth
2f625dff2c
Merge append-only tests (#13713)
changelog_begin
changelog_end
2022-04-28 10:16:00 +02:00
azure-pipelines[bot]
81e7f301ff
bump canton to 20220427 (#13726)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-04-28 10:15:43 +02:00
Nicu Reut
c2b44b0764
Remove override for definitive answer from KVError [kvl-1369] (#13728) 2022-04-28 07:55:34 +00:00
Robert Autenrieth
f0303b698e
Rename appendonlydao to dao (#13715)
* Rename appendonlydao to dao

changelog_begin
changelog_end

* fmt
2022-04-27 22:12:40 +02:00
Moisés Ackerman
9fb7f11316
Replace more instances of 'scenario' with 'script' (#13651)
* Replace more instances of 'scenario' with 'script'

changelog_begin
* Remove Daml Studio 'scenario' snippet
* Add Daml Studio 'script' snippet
* Update documentation for 'daml test' command
changelog_end

* remove 'test' snippet

changelog_begin
* Remove Daml Studio 'test' snippet
changelog_end
2022-04-27 17:49:32 +02:00
Stephen Compall
782f90a77d
don't overwrite interface properties with template properties (#13720)
* test for all varieties of mistaken interface assignment
* fresh object for templates, do not mutate interfaces

CHANGELOG_BEGIN
- [daml codegen js] Some interface IDs were overwritten with template
  IDs, making exercise by interface ID impossible in those cases; this
  has been fixed.  Prior codegen output is invalid; codegen must be
  re-run to get the fix.
  See `issue #13720 <https://github.com/digital-asset/daml/pull/13720>`__.
CHANGELOG_END
2022-04-27 15:43:06 +00:00
Nicu Reut
04f991a340
[kvutils] - Add errors for post execution conflicts and out of time bounds [KVL-1369] (#13710) 2022-04-27 15:07:23 +00:00
Victor Peter Rouven Müller
f74a8543ea
Revert "Remove usages of Flowable.fromFuture and Single.fromFuture (#12425)" (#13717)
This reverts commit 98c9461b72.

changelog_begin

- [Java bindings] The Single resulting from calling several of the services
exposed by the bindings are blocking again because the implementation was causing deadlocks. See https://github.com/digital-asset/daml/issues/13645

changelog_end
2022-04-27 10:23:22 -04:00
Stephen Compall
26add4af76
type pairs of Texts in TypeScript codegen (#13683)
* newtypes for genTypeCon's return values
* type genType's result to eliminate some fst/snds
* note that genTypeCon returns constructors, not full types/serializers
  - suggested by @cocreature; thanks

CHANGELOG_BEGIN
CHANGELOG_END
2022-04-27 09:26:02 -04:00
Hubert Slojewski
61be3a5e39
Move kvutils out of the SDK [KVL-1245] (#13704) 2022-04-27 15:21:28 +02:00
nickchapman-da
30f83bae46
Small cleanup to the bazel testing setup for daml-lf/interpreter and daml-lf/validation (#13716)
changelog_begin
changelog_end
2022-04-27 13:27:17 +01:00
Moisés Ackerman
9af86bcc2c
Update reference and docstrings for fromInterfaceContractId and fetchFromInterface (#13712)
changelog_begin
changelog_end
2022-04-27 14:10:17 +02:00
azure-pipelines[bot]
40e34ad7c3
bump canton to 20220426 (#13707)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-04-27 11:15:27 +02:00
azure-pipelines[bot]
39dd84c309
update NOTICES file (#13709)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-04-27 11:14:51 +02:00
carrielaben-da
00c944ae7f
TOC update for the Java Bindings tutorial (#13688)
* TOC update for the Java Bindings tutorial

An adjustment to the TOC to make our Java Bindings tutorial easier to find.

[CHANGELOG_BEGIN]

[CHANGELOG_END]

* Update docs/source/building-applications.rst

Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>

Co-authored-by: carrie-laben <91496516+carrie-laben@users.noreply.github.com>
Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
2022-04-26 16:50:34 -04:00
pbatko-da
6d6c46596a
[ETQ] Add an integration test for Benchtool's command submission [DPP-972] (#13533)
changelog_begin
changelog_end
2022-04-26 19:19:33 +02:00
Gary Verhaegen
5101487385
redirect old trigger-service page (#13699)
It still exist (clenup is not perfect on the docs bucket) and is wrong.
Another option would be to manually delete the file on s3, but since
people seem to still find it somehow, I think a redirect to the correct
page is better than a 404.

CHANGELOG_BEGIN
CHANGELOG_END
2022-04-26 18:48:19 +02:00
Gary Verhaegen
9a98fa04f5
fix compat bump (#13702)
CHANGELOG_BEGIN
CHANGELOG_END
2022-04-26 15:46:46 +00:00
Stephen Compall
c8b37a1ddf
different representation of Leibniz and Liskov in Scala codegen base library (#13687)
* replace TemplateCompanion#describesTemplate with <:<
* replace TextMap.leibniz === with =:=

CHANGELOG_BEGIN
- [Scala codegen] The signatures of Scala codegen's base classes have
  changed; existing Scala codegen output must be recompiled.  The
  functions ``describesTemplate`` and ``TextMap.leibniz`` have different
  types; it is extremely unlikely that users have used these functions
  directly, but will need to adjust any callers if they have.
  See `issue #13687 <https://github.com/digital-asset/daml/pull/13687>`__.
CHANGELOG_END
2022-04-26 15:22:34 +00:00
azure-pipelines[bot]
dffacd8552
bump canton to 20220425 (#13690)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-04-26 17:02:05 +02:00
azure-pipelines[bot]
c93adfa52c
update NOTICES file (#13691)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-04-26 17:01:50 +02:00
Remy
7dfbf58147
Daml-script: Use curly braces notation for records in ledger export (#13634)
instead of `with` notation

fixes #13620

CHANGELOG_BEGIN
- [Daml-script] fix a bug in daml-script export formatting
  See https://github.com/digital-asset/daml/issues/13620
CHANGELOG_END
2022-04-26 16:36:18 +02:00
nickchapman-da
aeda7159cf
clarify entry points to type checking code (#13697)
changelog_begin
changelog_end
2022-04-26 15:34:38 +01:00
Remy
0be64a8dd0
LF: Structure stable packages (#13682)
CHANGELOG_BEGIN
CHANGELOG_END
2022-04-26 12:47:06 +00:00
Moisés Ackerman
482fb040a4
Ensure MultiTest.waitForCid actually waits (#13698)
changelog_begin
changelog_end
2022-04-26 12:17:44 +00:00
Hubert Slojewski
35b68962e8
Remove remaining kvutils dependencies [KVL-1245] (#13695)
CHANGELOG_BEGIN
CHANGELOG_END
2022-04-26 13:42:18 +02:00
Hubert Slojewski
d700fc9e76
Move kvutils test dar file lib to participant-state [KVL-1245] (#13696)
CHANGELOG_BEGIN
CHANGELOG_END
2022-04-26 13:42:04 +02:00