Commit Graph

10621 Commits

Author SHA1 Message Date
Carl Pulley
f9b166ab35
Restrict degree to which Speedy.Machine exposes its mutable state
* Restrict degree to which Speedy.Machine exposes its mutable state

CHANGELOG_BEGIN
CHANGELOG_END
2022-09-20 09:30:03 +01:00
azure-pipelines[bot]
cfa7a34022
bump canton to 20220919 (#15046)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-09-20 07:05:34 +00:00
Sergey Kisel
86cff50d1a
Ability to override participantId [DPP-1143] (#15029)
* Ability to override participantId [DPP-1143]

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com>

Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com>
2022-09-19 12:56:49 +00:00
azure-pipelines[bot]
09b395afdf
bump canton to 20220916 (#15038)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-09-19 08:18:11 +00:00
Nicu Reut
03256ddbf5
[lf kv lib] - Clean up transaction traversal [kvl-1566] (#15032)
* [lf kvlib] - Remove scalaz usages from transaction traversal

* Explicitly handle unsupported node types when traversing with witnesses

changelog_begin
changelog_end
2022-09-16 10:36:19 +02:00
fayi-da
51af09646c
add abstract class parents to type-parameterless records, variants, enums (#15023)
* Add abstract class parents to generated ordinary records and variants

* Add common supertype for generated enums

* Add abstract class parents to generated ordinary records and variants

CHANGELOG_BEGIN
- Ordinary Records and Variants now have a super class defining toValue()
- Generated enums now have a common supertype, DamlEnum<T>
CHANGELOG_END
2022-09-15 15:26:31 +01:00
dylant-da
8d40016012
Add dylant-da as a codeowner on compiler-related directories (#15030)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-15 13:35:51 +00:00
dylant-da
931734d59c
PoC: Custom errors, for Interfaces (#14950)
* Point to GHC version with custom typecheck interface error messages

* Fix tests for new messages

* satisfy changelog check

CHANGELOG_BEGIN
CHANGELOG_END

* Point to GHC revision with TcDaml module & minor fixes

* Add TcDaml to ghc-lib.cabal

* Point to GHC: better HasMethod msg, uses PrelNames

* Point at non-PrelNames approach - turns out that didn't work

* Point to GHC with multiple module checks

* Point to GHC with tentative PrelNames work fully removed

* Add tests for new "non existent method" and "view" error messages

* Point to merged GHC changes
2022-09-15 12:53:30 +00:00
azure-pipelines[bot]
a32d1c7bf8
rotate release duty after 2022-09-14 (#15015)
@nickchapman-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-09-15 12:10:38 +01:00
Gary Verhaegen
3d70c68952
docs: no index (#14985)
This removes the index.rst files from the repo, and instead generates a
placeholder index that just includes all the rst files at build time.

The reason for this change is that the ToC is defined in docs.daml.com,
and having one on both sides is both confusing and error-prone.

CHANGELOG_BEGIN
CHANGELOG_END
2022-09-15 12:12:12 +02:00
Gary Verhaegen
03051f3854
release testing: node 18 works (#15013)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-15 11:16:35 +02:00
azure-pipelines[bot]
cbfc45becc
bump canton to 20220914 (#15026)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-09-15 11:02:17 +02:00
Sergey Kisel
9006f841c5
Remove references to Sandbox-on-X from shared help [DPP-1204] (#15027)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-15 08:48:31 +00:00
Nicu Reut
3f06e322fd
[lf kvlib] - Handle rollback nodes when traversing transaction [KVL-1566] (#15020) (#15028)
We need to extract all the package party mappings found in a transaction, including the nodes that are under a rollback node
Rollback nodes have no informees of their own but we extract the children as expected

changelog_begin
changelog_end
2022-09-15 08:48:14 +00:00
Gary Verhaegen
32ef2a8a64
2.4.0-rc2 (#15024)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-15 09:58:23 +02:00
azure-pipelines[bot]
22c5e4ad2c
bump canton to 20220913 (#15016)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-09-15 00:24:53 +02:00
mziolekda
161e430482
Handle exception in hikari connection health check [DPP-1232] (#14998)
* handle error using error code framework

CHANGELOG_BEGIN
CHANGELOG_END

* handle error using standard logger

* clean up

* sort imports

* mute recurrent errors
2022-09-14 09:27:20 +02:00
Stephen Compall
36e49c737b
factor stream-starting code in websocket JSON API tests (#15008)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-13 19:26:59 +00:00
azure-pipelines[bot]
701ef722c3
bump canton to 20220912 (#15009)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-09-13 15:55:03 +02:00
Stephen Compall
5bec0ba4d2
remove redundant StatusCode checks from many tests (#15007)
* ensure Status is redundant for every parseResponse user
* make parseResponse test and discard the HTTP status
* use resultContractId more

CHANGELOG_BEGIN
CHANGELOG_END
2022-09-13 09:40:49 -04:00
Sergey Kisel
4a1e9f347e
Reverting as fix propagated to canton [DPP-1220] (#15011)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-13 11:04:17 +02:00
Brian Weir
b7208eae50
Add script for getting daml-finance libraries for WinOS users (#14997) 2022-09-13 08:57:52 +00:00
azure-pipelines[bot]
5612875fa3
update NOTICES file (#15010)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-09-13 10:21:13 +02:00
Gary Verhaegen
f801cd469e
daily compat: fix BlackDuck invocation (#15004)
From output of currently failed jobs:

```
The key 'detect.npm.dependency.types.excluded' in property source
'commandLineArgs' contained a value that could not be reasonably
converted to the properties type. The exception was: Unable to parse raw
value 'NON_PRODUCTION' and coerce it into type 'NoneEnum or
NpmDependencyType'. Value was must be one of NONE,DEV,PEER
```

It looks like I was a bit overeager on #14995.

CHANGELOG_BEGIN
CHANGELOG_END
2022-09-12 11:12:51 +00:00
azure-pipelines[bot]
e1ee5cd2a4
bump canton to 20220909 (#15001)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-09-12 10:16:53 +02:00
Chun Lok Ling
15c0610d63
Do not send archive commands if there is no active contract (#14978)
* do not send archive commands if there is no active contract

CHANGELOG_BEGIN
CHANGELOG_END

* use null instead of == []

CHANGELOG_BEGIN
CHANGELOG_END

* mis-spelling correction.

* let me try

* let me try again
2022-09-09 17:52:32 +01:00
azure-pipelines[bot]
5f22b9638b
bump canton to 20220908 (#14988)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-09-09 15:04:47 +00:00
carrielaben-da
a21da1be7a
Update quickstart.rst (#14267)
* Update quickstart.rst

Updated installation instructions

[CHANGELOG_BEGIN]
[CHANGELOG_END]

* Update quickstart.rst

To address Moritz's comment re: line 164

[CHANGELOG_BEGIN]

[CHANGELOG_END]

* Update docs/source/app-dev/bindings-java/quickstart.rst

[CHANGELOG_BEGIN]
[CHANGELOG_END]

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Update quickstart.rst

Another attempted update. As I walk through this, it's not clear to me that we need any step beyond step 3 ("In the browser, log in as alice...") for a beginning user working through the tutorial locally?

[CHANGELOG_BEGIN]
[CHANGELOG_END]

* Update docs/source/app-dev/bindings-java/quickstart.rst

[CHANGELOG_BEGIN]
[CHANGELOG_END]

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Quickstart.rst Maven edits

Hopefully final edits to this branch

[CHANGELOG_BEGIN]
[CHANGELOG_END]

* Integration w ledger update fix (#14983)

* fix Sphinx build

* update tree output

* remove non-existing ui-backend.conf reference

* update daml build output

* run through the whole thing

Co-authored-by: carrie-laben <91496516+carrie-laben@users.noreply.github.com>
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2022-09-09 09:33:46 -04:00
Gary Verhaegen
c8d938ed14
2.4.0-rc1 take 2 (#14996)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-09 13:28:07 +00:00
Gary Verhaegen
eb75f5b9ed
fix blackduck (#14995) 2022-09-09 11:01:46 +00:00
Brian Weir
33f2ea596d
Integrate daml finance (#14989) 2022-09-09 10:54:24 +00:00
mziolekda
dacb8f509f
Update Ledger API version and its documentation (#14986)
* Update Ledger API version and its documentation

CHANGELOG_BEGIN
Ledger API version bump to 2.1
CHANGELOG_END

* corrections post-review
2022-09-09 10:23:58 +00:00
Sergey Kisel
18d2571058
Document interface subscription capability [DPP-1221]. (#14982)
* Document interface subscription capability [DPP-1221].

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: mziolekda <marcin.ziolek@digitalasset.com>
2022-09-09 09:00:09 +00:00
Moisés Ackerman
66f03b17f4
Fix minimum Daml-LF version in interface reference docs (#14991)
changelog_begin
changelog_end
2022-09-09 08:48:41 +00:00
tudor-da
b7cd1e9691
Attempt to make BatchingParallelIngestionPipeSpec less flaky (#14987)
changelog_begin
changelog_end
2022-09-09 08:46:30 +02:00
Chun Lok Ling
419bf9b040
Fire a warning if both config file and cli opts found. (#14981)
* fire a warning if both config file and cli opts found.

* add change log

CHANGELOG_BEGIN
CHANGELOG_END

* fixes test case

* fmt
2022-09-08 21:22:25 +01:00
Gary Verhaegen
ba3d9ee397
bump prefix (#14980)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-08 20:28:28 +02:00
mziolekda
cdd8c45e17
drive a wooden stake through the heart of SSLv2Hello protocol [DPP-1218] (#14975)
* drive a wooden stake through the heart of SSLv2Hello protocol

CHANGELOG_BEGIN
CHANGELOG_END

* corrections from the code review
2022-09-08 17:55:02 +00:00
Stephen Compall
29313626e6
forbid interface choices for createAnd and byKey (#14971)
* ChoiceFrom intersection
* require ChoiceFrom in some functions
* codegen ChoiceFrom

CHANGELOG_BEGIN
- [TypeScript] Codegen output now uses the new ``ChoiceFrom`` interface;
  prior output that does not use this interface will not work with this
  version of ``@daml/types``.  If you use the type ``Choice`` in your
  own types and your code no longer type-checks, you must include
  ``ChoiceFrom`` in your declarations as well.
CHANGELOG_END
2022-09-08 12:29:20 -04:00
Sergey Kisel
ce5ef4b506
Provide FilterRelation input which does not force IMFO to invert for each sub-stream [DPP-1167] (#14914)
* Simplify FilterParams generation for the query

CHANGELOG_BEGIN
CHANGELOG_END
2022-09-08 18:01:16 +02:00
Simon Maxen
93000eb025
Add utility to verify metering reports [DPP-1105] (#14951)
* Add utility to verify metering reports

changelog_begin
changelog_end
2022-09-08 16:10:54 +01:00
fayi-da
54d9365158
Minor quality of life updates to the release instructions (#14979)
Minor quality of life updates to the release instructions

CHANGELOG_BEGIN
CHANGELOG_END
2022-09-08 13:49:53 +00:00
Marton Nagy
69f3ae0489
Remove LF Value Cache (#14684)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-08 14:58:22 +02:00
Gary Verhaegen
b97cd50497
2.4.0 rc1 (#14977)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-08 13:52:51 +02:00
azure-pipelines[bot]
c50f148290
rotate release duty after 2022-09-07 (#14954)
@fayi-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-09-08 12:11:47 +02:00
Nicu Reut
21e8ba089e
[daml-lf kvsupport] - Add transaction traversal for package party mappings [KVL-1566] (#14965)
changelog_begin
changelog_end
2022-09-08 11:31:24 +02:00
azure-pipelines[bot]
b1decc8c72
update NOTICES file (#14973)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-09-08 10:59:28 +02:00
Chun Lok Ling
5f8c9db7b8
Added Packages deduplication before module name collision check. (#14970)
* addressed #11457

CHANGELOG_BEGIN
Fixed #11457 bug of module name collision found in the same packages
CHANGELOG_END

* rename test
2022-09-08 09:45:23 +01:00
Simon Maxen
b90d681118
Cleanup metering report proto now clients have switched to using JSON [DPP-1203] (#14967)
* Cleanup metering report proto now clients have switched to using JSON.

changelog_begin
changelog_end

Breaks-Protobuf: true
2022-09-08 09:31:18 +01:00
Chun Lok Ling
9b73243eea
Remove : ResolvedQuery from pattern match (#14972)
Addressed #14966

CHANGELOG_BEGIN
CHANGELOG_END
2022-09-08 09:02:01 +01:00