Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 1.16.0-snapshot.20210727.7476.0.b5e9d861 #10428

Merged
merged 1 commit into from
Jul 28, 2021

Conversation

azure-pipelines[bot]
Copy link
Contributor

@azure-pipelines azure-pipelines bot commented Jul 28, 2021

This PR has been created by a script, which is not very smart
and does not have all the context. Please do double-check that
the version prefix is correct before merging.

@remyhaemmerle-da is in charge of this release.

Commit log:

b5e9d8611427305d7787cedd41bdcb333c4963c7 Moved DamlSubmission* into separate proto file [KVL-980] (#10362)
0da814d2501f87d45c525cb34454bf9fc4832f11 Let stable packages bypass LF version restrictions. (#10377)
c97cbcabfd8b2700893b03cfdee3b6595bac1508 [JSON-API] Validate schema version & add minimal options for schema creation (#10374)
ebb8fab97e40dd4751102df10e26e7c0451ce718 Add a ContractDao benchmark for payload queries (#10426)
85af078085d53b3a89034566fe5bbbed24c6c198 LF: parser for LF versions (#10424)
b976c9cf4cdba0fa854ada557f95af03902ff7e6 Disable autocommit for hikariCP for http-json-api db conn (#10427)
3ca46a4bcba592052bffdf34c0cb9ea061fe2bb2 Removed unused import. (#10425)
4d1249390edc01833a7319439c3a861c7ff399d1 Introduce buf checks [KVL-980] (#10411)
1c4ae5023dcb6d114155db18980329d742beb42b Revert "Upgrade hikari to latest jdk8 version (#10406)" (#10421)
fe1b642e02ea720ce142f9dd0c3cac03b3c1539d Don't fail if logs directory exists already (#10423)
7c88b56e16ca70337e6b44304e8274ab1ff29c48 participant-integration-api: Fix completion debug log output. (#10415)
fc305e6c2e0e1b78edb4aeb555d48fefead5ddff [JSON-API] Shutdown on startup if the db connection is invalid (#10360)
6db58695adccded1052419b26f3056af5094ea9d Update vcredist (#10417)
4b55f1ab6a7734886bb6ecc4bec5568119ccf17b Connection pool for Contract Dao (#10359)
72cf2f36d3507dbfb3ed714336e9a521bbce9cc2 LF: replace bazel keyword stable by default (#10410)
2bdcb7b69fa6cb07b14e1f7a99391db822d8766b update NOTICES file (#10414)
39c6e0b329d96c4b034f76db123676a87f86988d Fix oracle message too long error (#10413)
2094e24f282c83c36b84c077c4aaebac79c4148a Indexer ValidateAndWaitOnly startup mode for canton participant HA (#10290)
ad13a86947df7fcb9746a3579cfcd92011f1e9e6 Windows dev-env Powershell 7 compatibility (#10408)
3cedd83447dfee067653ef151e394b79650963bf Easy to parse ledger-api-bench-tool logs (#10320)
16ff20c04f846cfda52d506e4da81766e0ff2988 Fix links in changelog (#10409)
b325e8a8b8c4c255b4a80148d3c8a7c384f42c72 participant-state: Remove `WriteService#rejectSubmission`. (#10407)
9be520c3e858ec6cfae3aa696002cc4db5674afe Keep the participant-state API prefixed. [KVL-1002] (#10405)
d88dc7129bb721f3573be819b2daddc3656bb86d Upgrade hikari to latest jdk8 version (#10406)
8b337bda4b98382935350cdec104c70cd0a34b4f Publish ledger-indexer-benchmark (#10401)
9e05f38f51c9379e3a3565b45f0d65799f316a7e ledger-api-domain: Store the deduplication duration in `Commands`. [KVL-1002] (#10403)
9c064dac3528fda98fd29ee93a03ae24e87d17bb Allow imports of internal modules (#10397)
b9518ce2f4c6e76741096dfea52f423135b85a9e participant-state-metrics: Add wrappers for v2. (#10404)
c3a3d600832bf1926a2421302e31abc1219c8f5a don't call Gary, he's on holiday (#10400)
221d0a0689c0569c8ffabf1bd23666923d7eb0e0 use doobie 0.9.0 Fragment-in-Fragment interpolation in json-api db-backend (#10399)
17709b5ba34fcaac5d57691eaecd5a64872ed60f use a single SQL query for any number of json-api query pairs (#10344)
6a166841c5db527ba4c5c2f836f00cb33d94d03a Stop publishing the db-backend artifact (#10396)
1bed05fec20099c3d7fce85c5126446e96da1fee Treat KeyWithMaintainers field structurally in all node types. (#10392)
d7077e154ff582f2e42eb53606f7d0b4ec616636 Introduce locally-defined `Rejection` reasons instead of the participant-state rejection reason type. [KVL-1002] (#10376)
96f048330a52cc4be71ee451e752a008cf11e604 [Divulgence pruning] Conformance tests implementation [DPP-484] (#10385)
28c5e9a435078d256148dc29af03fd6062acfbd4 update NOTICES file (#10386)
387945298d45e541a5935bf5c5af82bcf29966bb fix cut&paste typo bug; there are no insig lookup tweaks! (#10389)
7df9758c2fafa090ae0803638f4e02d23541ec7c Daml export: make paths relative to daml.yaml (#10388)
90c3582ee84cc23f277f9297dd404a490bc5eb70 treat exerciseResult structurally for isReplayedBy (#10381)
27a0c694bca5b7e41ba0a74c9c1e282e9454402e Stop swallowing error message in non-repudiation conformance tests (#10387)
22b6101bc8e51d7947071101a5d3cb5f17a41e62 rotate release duty after 1.16.0-snapshot.20210720.7404.0.b7cf42d1 (#10346)
5242e2c618b4d016a6d833675456a179f3b93b62 LF: drop old serializability check for Values (#10382)
ee755306fe2671400aa8de3f7312c37db1788c50 LF: Specify nesting constraint for serialized values. (#10375)
4a33c03f72db1a77adb063945f07f5f9f761f67c LF: Add check of nesting in SValue.toValue (#10370)
91529ee43d38cef5b46168e499e95bcdde8f5db8 clear up record specifications in http-json integration tests (#10366)
e8247afc6e8f3129fddd9d8fdfac7c1fc1c302fb update compat versions for 1.16.0-snapshot.20210720.7404.0.b7cf42d1 (#10354)
74751ba9a823b42b6f5cb3becb4c6ee3dbed15d9 Populate workflow-id in the test-tool scenarios (#10372)
da9f8e30074ed1aa34ae36342e8ea5ca337ded5f clean-up perf tests (#10355)
42b70ad31d4d14f6a971e2d3c25df37b5718979a Fetch actingParties always non-empty for supported versions (>=1.6) (#10357)
37ff1a60fecc0c6def00aeb24f10527dfd6d3b2c ledger-configuration: Return a structured error from checkTime. [KVL-1002] (#10373)
66284c17f2d1ccc6725b60ef75908fe361b7c944 Limit length of package ids to 64 characters (#10368)
a56cfead286201ddf1eabc67a0ebe569ca0bad5e even earlier mount failure detection (#10371)
1bc0ccdac792b60e4530718ca602a54827aab4ca update NOTICES file (#10367)
9c9b91eca7d5e8e9d391dec8000868ca4300f736 Support deletion of a large number of contracts (#10353)
1b5f99e0518eb8fac515ea6b3e9bbb5a1bca6611 Stop printing stacktrace on logging setup failures (#10364)
c0a24fe9b6031809e52a8f4bcc8b37fee6d1133a HA PoC behind a feature flag [DPP-426] (#10227)
63739fa7129a8563fcee32dde96df0aae4cf0204 Add conformance test for deeply nested values (#10319)
faf479e8c8926b42d14cd2950b8dc5ee7bdadb8b LF: add context in LookupError (#10314)
68dcda0f29cd3911a88e16c080a522da41d819a4 Drop unused textType from JSON API Oracle queries (#10356)
49745f6e47415aa171f8518356ea753cb3cb769c Re-add `application_id` to `DamlCommandDedupKey` [KVL-1000] (#10341)
27d439d546689e8cebb8885971b2fa1d1dca86c6 LF: Compile netsed ELets using constant stack (#10337)
628aa22f51aa405a8b193bbeb382e14344452fa8 kvutils: Refined transaction validation [KVL-1015] (#10066)
d1e84c85637fa23ea638aab36584369ac6c2b3d8 participant-integration-api: Fill out stubs in ApiSubmissionServiceSpec. (#10349)
905d8add44135210575813b1d320d73add302962 remove duplicated rule in create-daml-app dlint (#10352)
bdc3e509b328cea50168198cc27004e111dbb128 Separate ledger export related message from other kvutils messages [KVL-980] (#10343)
70e8ff46dae70e845c8b1157e14b72fb254770b4 participant-integration-api: De-spacify PostCommitValidationSpec. (#10350)
186d279c81c8d7261237d7939594eb528e0ade77 release 1.16.0-snapshot.20210720.7404.0.b7cf42d1 (#10345)
e58c7ba3b422ceaa14dfaee7796aaf8f8aa58d05 fix template dot-files (#10342)
cf2b61e6ac173642081d553550ad89cbd2367cb2 participant-state: Remove the aliases to `Ref.LedgerString`. (#10325)
814813725940a2646392f39db6ebaaf6549c0327 [JSON-API] Include the logging context in the ledger client for consistent logging (#10332)
c9666c7fe03ff645ef7a7a576bff1ee720fad67d Drop unnecessary mutability from speedy OnLedger state (#10340)
60dd96a3ebdbb85d88ee481a722edd7c9862aa7e update NOTICES file (#10347)

Changelog:

[Integration Kit] Moved definitions of `DamlSubmission` and `DamlSubmissionBatch` to a separate proto file under the package `com.daml.ledger.participant.state.kvutils.wire`. In case you are directly referencing these messages you will have to update your imports.

- [JSON-API] Schema versioning was introduced to the db schema. Because of this the field `createSchema` in the jdbcConfig was deprecated. Via the field `start-mode` you can specify:
   1. `create-only`: This is equal to the behaviour of `createSchema=true` so the db schema is created and then the application terminates.
   2. `start-only`: With this the schema version is checked and if no version or an version was found which is not equal to the internal schema version then the application terminates. This is also the replacement of `createsSchema=false`.
   3. `create-if-needed-and-start`: With this the schema version is checked and if no version or an version was found which is not equal to the internal schema version then the schema will be created/updated and the application proceeds with the startup.
   4. `create-and-start`: Similar to the first option but instead of terminating the application proceeds with the startup.


- [JSON-API] The json api now correctly shutdowns at startup if the provided db connection is invalid in case of `createSchema=false`

simplify oracle migration scripts
- [Daml Compiler] Imports of internal modules from stable packages are
  no longer illegal. Previously, the compiler raised an error when it
  encountered imports of internal modules such as
  `DA.Internal.Template`. Such imports are now accepted by the compiler.
  Note, however, that internal modules are still not part of the stable
  API. Fixes https://github.com/digital-asset/daml/issues/10379
[Integration kit] Extended the Ledger API test tool with tests for the pruning of all divulgence events.
- [Daml export] The generated paths to data-dependencies DALFs are now
  relative to the generated daml.yaml. Fixes
  https://github.com/digital-asset/daml/issues/10378.
- [JSON API] Fix an error where transactions that delete a large
  number of contracts resulted in stackoverflows with the PostgreSQL
  backend and database errors with Oracle.
[Integration Kit] The command de-duplication key now also includes the daml application ID
* [Integration Kit] Made `daml_kvutils.proto`'s location follow its proto package and moved `LedgerExportEntry` into a separate proto file. You may have to update your proto import statements in case you are directly importing proto files from the kvutils library.

- [JSON-API] Connection tries from the json api to the ledger now include the logging context, more specifically the instance_uuid is included in each logging statement.

This PR has been created by a script, which is not very smart
and does not have all the context. Please do double-check that
the version prefix is correct before merging.

@remyhaemmerle-da is in charge of this release.

Commit log:
```
b5e9d86 Moved DamlSubmission* into separate proto file [KVL-980] (#10362)
0da814d Let stable packages bypass LF version restrictions. (#10377)
c97cbca [JSON-API] Validate schema version & add minimal options for schema creation (#10374)
ebb8fab Add a ContractDao benchmark for payload queries (#10426)
85af078 LF: parser for LF versions (#10424)
b976c9c Disable autocommit for hikariCP for http-json-api db conn (#10427)
3ca46a4 Removed unused import. (#10425)
4d12493 Introduce buf checks [KVL-980] (#10411)
1c4ae50 Revert "Upgrade hikari to latest jdk8 version (#10406)" (#10421)
fe1b642 Don't fail if logs directory exists already (#10423)
7c88b56 participant-integration-api: Fix completion debug log output. (#10415)
fc305e6 [JSON-API] Shutdown on startup if the db connection is invalid (#10360)
6db5869 Update vcredist (#10417)
4b55f1a Connection pool for Contract Dao (#10359)
72cf2f3 LF: replace bazel keyword stable by default (#10410)
2bdcb7b update NOTICES file (#10414)
39c6e0b Fix oracle message too long error (#10413)
2094e24 Indexer ValidateAndWaitOnly startup mode for canton participant HA (#10290)
ad13a86 Windows dev-env Powershell 7 compatibility (#10408)
3cedd83 Easy to parse ledger-api-bench-tool logs (#10320)
16ff20c Fix links in changelog (#10409)
b325e8a participant-state: Remove `WriteService#rejectSubmission`. (#10407)
9be520c Keep the participant-state API prefixed. [KVL-1002] (#10405)
d88dc71 Upgrade hikari to latest jdk8 version (#10406)
8b337bd Publish ledger-indexer-benchmark (#10401)
9e05f38 ledger-api-domain: Store the deduplication duration in `Commands`. [KVL-1002] (#10403)
9c064da Allow imports of internal modules (#10397)
b9518ce participant-state-metrics: Add wrappers for v2. (#10404)
c3a3d60 don't call Gary, he's on holiday (#10400)
221d0a0 use doobie 0.9.0 Fragment-in-Fragment interpolation in json-api db-backend (#10399)
17709b5 use a single SQL query for any number of json-api query pairs (#10344)
6a16684 Stop publishing the db-backend artifact (#10396)
1bed05f Treat KeyWithMaintainers field structurally in all node types. (#10392)
d7077e1 Introduce locally-defined `Rejection` reasons instead of the participant-state rejection reason type. [KVL-1002] (#10376)
96f0483 [Divulgence pruning] Conformance tests implementation [DPP-484] (#10385)
28c5e9a update NOTICES file (#10386)
3879452 fix cut&paste typo bug; there are no insig lookup tweaks! (#10389)
7df9758 Daml export: make paths relative to daml.yaml (#10388)
90c3582 treat exerciseResult structurally for isReplayedBy (#10381)
27a0c69 Stop swallowing error message in non-repudiation conformance tests (#10387)
22b6101 rotate release duty after 1.16.0-snapshot.20210720.7404.0.b7cf42d1 (#10346)
5242e2c LF: drop old serializability check for Values (#10382)
ee75530 LF: Specify nesting constraint for serialized values. (#10375)
4a33c03 LF: Add check of nesting in SValue.toValue (#10370)
91529ee clear up record specifications in http-json integration tests (#10366)
e8247af update compat versions for 1.16.0-snapshot.20210720.7404.0.b7cf42d1 (#10354)
74751ba Populate workflow-id in the test-tool scenarios (#10372)
da9f8e3 clean-up perf tests (#10355)
42b70ad Fetch actingParties always non-empty for supported versions (>=1.6) (#10357)
37ff1a6 ledger-configuration: Return a structured error from checkTime. [KVL-1002] (#10373)
66284c1 Limit length of package ids to 64 characters (#10368)
a56cfea even earlier mount failure detection (#10371)
1bc0ccd update NOTICES file (#10367)
9c9b91e Support deletion of a large number of contracts (#10353)
1b5f99e Stop printing stacktrace on logging setup failures (#10364)
c0a24fe HA PoC behind a feature flag [DPP-426] (#10227)
63739fa Add conformance test for deeply nested values (#10319)
faf479e LF: add context in LookupError (#10314)
68dcda0 Drop unused textType from JSON API Oracle queries (#10356)
49745f6 Re-add `application_id` to `DamlCommandDedupKey` [KVL-1000] (#10341)
27d439d LF: Compile netsed ELets using constant stack (#10337)
628aa22 kvutils: Refined transaction validation [KVL-1015] (#10066)
d1e84c8 participant-integration-api: Fill out stubs in ApiSubmissionServiceSpec. (#10349)
905d8ad remove duplicated rule in create-daml-app dlint (#10352)
bdc3e50 Separate ledger export related message from other kvutils messages [KVL-980] (#10343)
70e8ff4 participant-integration-api: De-spacify PostCommitValidationSpec. (#10350)
186d279 release 1.16.0-snapshot.20210720.7404.0.b7cf42d1 (#10345)
e58c7ba fix template dot-files (#10342)
cf2b61e participant-state: Remove the aliases to `Ref.LedgerString`. (#10325)
8148137 [JSON-API] Include the logging context in the ledger client for consistent logging (#10332)
c9666c7 Drop unnecessary mutability from speedy OnLedger state (#10340)
60dd96a update NOTICES file (#10347)
```
Changelog:
```
[Integration Kit] Moved definitions of `DamlSubmission` and `DamlSubmissionBatch` to a separate proto file under the package `com.daml.ledger.participant.state.kvutils.wire`. In case you are directly referencing these messages you will have to update your imports.

- [JSON-API] Schema versioning was introduced to the db schema. Because of this the field `createSchema` in the jdbcConfig was deprecated. Via the field `start-mode` you can specify:
   1. `create-only`: This is equal to the behaviour of `createSchema=true` so the db schema is created and then the application terminates.
   2. `start-only`: With this the schema version is checked and if no version or an version was found which is not equal to the internal schema version then the application terminates. This is also the replacement of `createsSchema=false`.
   3. `create-if-needed-and-start`: With this the schema version is checked and if no version or an version was found which is not equal to the internal schema version then the schema will be created/updated and the application proceeds with the startup.
   4. `create-and-start`: Similar to the first option but instead of terminating the application proceeds with the startup.

- [JSON-API] The json api now correctly shutdowns at startup if the provided db connection is invalid in case of `createSchema=false`

simplify oracle migration scripts
- [Daml Compiler] Imports of internal modules from stable packages are
  no longer illegal. Previously, the compiler raised an error when it
  encountered imports of internal modules such as
  `DA.Internal.Template`. Such imports are now accepted by the compiler.
  Note, however, that internal modules are still not part of the stable
  API. Fixes #10379
[Integration kit] Extended the Ledger API test tool with tests for the pruning of all divulgence events.
- [Daml export] The generated paths to data-dependencies DALFs are now
  relative to the generated daml.yaml. Fixes
  #10378.
- [JSON API] Fix an error where transactions that delete a large
  number of contracts resulted in stackoverflows with the PostgreSQL
  backend and database errors with Oracle.
[Integration Kit] The command de-duplication key now also includes the daml application ID
* [Integration Kit] Made `daml_kvutils.proto`'s location follow its proto package and moved `LedgerExportEntry` into a separate proto file. You may have to update your proto import statements in case you are directly importing proto files from the kvutils library.

- [JSON-API] Connection tries from the json api to the ledger now include the logging context, more specifically the instance_uuid is included in each logging statement.

```

CHANGELOG_BEGIN
CHANGELOG_END
azure-pipelines bot pushed a commit that referenced this pull request Jul 28, 2021
@remyhaemmerle-da is taking care of 1.16.0-snapshot.20210727.7476.0.b5e9d861 (#10428), so they get pushed back to the end of the line.

Please do not merge this before #10428.

CHANGELOG_BEGIN
CHANGELOG_END
@remyhaemmerle-da remyhaemmerle-da merged commit c587e06 into main Jul 28, 2021
@remyhaemmerle-da remyhaemmerle-da deleted the auto-release-pr-2021-07-28 branch July 28, 2021 07:52
@remyhaemmerle-da
Copy link
Collaborator

Manual tests passed on Windows.

@remyhaemmerle-da
Copy link
Collaborator

remyhaemmerle-da commented Jul 28, 2021

Manual tests passed on Linux.

cocreature pushed a commit that referenced this pull request Jul 28, 2021
…10429)

@remyhaemmerle-da is taking care of 1.16.0-snapshot.20210727.7476.0.b5e9d861 (#10428), so they get pushed back to the end of the line.

Please do not merge this before #10428.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines DAML Build <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant