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.18.0-snapshot.20211102.8257.0.7391a3cd #11521

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

azure-pipelines[bot]
Copy link
Contributor

@azure-pipelines azure-pipelines bot commented Nov 3, 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.

@Robin-da is in charge of this release.

Commit log:

7391a3cdcd3f8a154e8c3318802726ff8bfafd0a Migrate language-support codegen tests to sandbox (#11508)
da76e2825b4b1c78766d8db0a4a68359e95c681e iface: check for interface implementations precond (#11494)
9e045c105bed20fdd6399aa6d36040ad3463a891 Remove a leftover from `check-protobuf-stability.sh` (#11513)
17c2fa91224fe8ebf99e076cb6c4968d489c28aa ErrorCodeDocumentationGenerator uses multiple prefixes for scanning classpaths (#11504)
a8ae4d6f9cb1bc2826997a99891ea46ae9e99b58 LF: Rename GenNode to Node (#11469)
73b6f8b6138671a6bcc3032c5a9a69d3f6b6e90b Fixed ledger-api-bench-tool random distribution in submission phase. (#11507)
92495b0662d429d323ad359799c9129914625500 Upgrade nixpkgs (#11490)
48afb7b5ea58940004609d68d3ded9cbc97cff33 interface: Add inherited choice names in scala AST (#11503)
9f8b039be33b0e159f1010cca6f3820f33cd3339 [Trigger-Service] Migrate tests to sandbox (#11501)
6bafeb03e832fde06bd49486519c9482eb194046 DPP-662 Support archivals in bench tool (#11474)
63d855f2024fd0b7f6ba23a809fafb76ba62a1de Pass `damlc build` logs through daml logger (#11485)
565dfac2e5f7ff97fdc637ecabba11f49ba94343 Bump rules_nodejs to 4.4.2 (#11495)
9214956218af41042cf95ada8e3cdc555b3acba4 Enable experimental nix command (#11498)
f81d880bcc73ba684e43f3e7d41e7c7f3f79edcd LF: drop com.daml.lf.transaction.Transaction.Transaction type alias. (#11470)
505a7f59f32af64220463e720e1afd131787c1b9 Extend debug logging around dependencies/data-dependencies (#11488)
55d35e5521d9232178f2d20fe7bca92138aee37d Drop TLA+ from dev-env (#11492)
3a5cb18e7f81c8a89ba6ecf99c442cbf9d486cab [Self-service error codes] Adapt all grpc assertions to additionally take self-service error codes [DPP-680] (#11437)
98e7461fc5af950699014aa9b4ef5c7369547caf LF: ContractInstance should be a CidContainer (#11487)
9afb3b36bd8d94f3a0b8314ef4a100c4b845dc44 Add and wire ledger-end-cache [DPP-703] (#11480)
cdd2accc2686940deb88f6f3ccbb82aae8e9bf8a Explicitly import Java runtime from Nix/dadew (#11411)
b5540a9c3b4fb78216a0585d25ed7311bbc463e3 Evidence for contract-key testing (#11479)
78735a8d272501ee8e49657ef42313c49770e34a Less logging on //docs:generate-error-codes-json (#11486)
d8898b8c80805eb48ae4cdf8906040f25c8ff37c Check fixed choices in name collision checker (#11481)
7a0198ba529cf299be382bb410d609821ab0cac0 daml-react: allow for React 17 (#11463)
c415d9d1eefe19db2488409a70dbb1e573dad05f Migrate trigger tests from sandbox-classic to sandbox (#11478)
f9ec12be12519b66658363613c2cc7c36e8674e4 Add cocreature as a codeowner of the docs (#11450)
a79cc08687344e8ecf71e2e48a1daca9866a6d69 DbDispatcher handles SQL exceptions with self-service error codes [DPP-690] (#11435)
164cdbbd7d845f3354c377c906cc6fd2892aa16d update compat versions for 1.18.0-snapshot.20211026.8179.0.e474b2d1 (#11426)
741a6e75a7cea674ccb79d87b2946fbab9d4caba interfaces: Add list of fixed choices in TemplateImplements structure. (#11364)
79505b5474592fec2469de355ef53c35cd98bb54 oracle debug (#11386)
257d5365c2fc4f942b4a71458efe743d0d01b135 Switch from sandbox to sandbox-classic in daml test-script (#11476)
e91ced54f3f828a1b2fa6e059d4da0b363ef36fe KV: generate self-service error docs [KVL-1148] (#11431)
8ffd835f248d934363e111956cd9d98ff2d544ab Migrate daml script tests to Sandbox next (#11472)
df65d02c4ee883d66cd781fe265d91451168293b Exclude dedup tests affected by current changes (#11471)
45beaf7aac1894695df1384f41fc65988ec02b23 interfaces: typecheck for precond, haskell side. (#11468)
e445fe1aee70b1971a22360a137ccf70d6fe37bc LfEngineToApi conversions do not have to deal with version. (#11414)
d3712745e2255075883f37e3a9f506725750ed2d Sandbox-classic: contracts sent to the engine do not need enrichment (#11416)
05312f1ca00d986376f45c551f6adc7403de84bd Lift out constraint tuples to synonyms in dfun contexts (#11467)
a492a6cad0dc1d0e3f21510b11dcb4572f311454 [DPP-636] Update docs on MacOS firewall issue when running tests (#11460)
5a85881cfa045cff301a3b40c5f33b95e329bd2e rotate release duty after 1.18.0-snapshot.20211026.8179.0.e474b2d1 (#11422)
1096f9144b7965fac776a0d2de071542147f289c Adds default keepalive support for postgreSQL [DPP-697] (#11453)
379996348feca0783521d26858d21788e423430c Fix akka-streams shutdown at LedgerConfigurationSubscriptionFromIndex (#11462)
e89da7c1edd026542e9ef533231b0e26b3b6f695 Move non-repudiation proxy conformance tests to their own package (#11464)
b98a3ade29742052cbd2fbf04918400b090c923d interfaces: precondition, scala ast, decoder/encoder (#11452)
fd973e6b8648810145db80e162e28c863b4a486c Drop assistant integration tests for relative/absolute DAML_PROJECT (#11461)
05505e3d03894f315d9a16fcb94314007dee36ef Multiplex multiple virtual query streams through a single web socket (#10221)
3098b70624a3c36f0db001e67d5118a63f75c852 pretty print contract IDs properly (#11359)
bb4f4c5a40356cd6c8d51979af57e32ae3f8ff31 DPP-665 Make in-flight commands configurable (#11456)
bf00956143f2d72ee01eb3d9e1052ac6c3a24408 replace OneAnd party Sets with NonEmpty Set (#11420)
570160b7189dac04bd760ca554ab04963421ec03 Add LoggingValue instance for Time.Timestamp (#11444)
bad50a51e90e7bbcbc02e0a8247e0d6741f6dd00 Type reexports explicitly use 'type' namespace (#11451)
d3b9c84908ce0f255613087f1698bf641def52eb ifaces: preconditions, proto changes (#11448)
73718a22fa443d605c516e0832bfbed510eb6b06 Mark script export tests as flaky (#11449)
22e9e6b56e46368f784b4089d5def7a14d402a2f Multi-observer command submission in the ledger-api-bench-tool [DPP-660] (#11413)
3eacbf9d67952535e98f4b63ffcfe9c13d9956b2 Bazel cache retry on connection reset by peer (#11445)
fcc7e581cfaba7ad2edfe6d2648941fc0fc415ea Make stable packages dependent on supported LF versions (#11382)
6c45f099bbdedf25804a98f96c4f7f86eb34938a Remove TODO (#11446)
d8b92b7c9964cf2f035fcfc8e309a829bd4259c5 Drop flaky marker from lsp-tests (#11442)
68f44325a63d801779647bbb07fb3f9e77ee888a Improve evidence of testing (#11428)
6126fc22308afbaf97283b4a6600b7722f68aa21 Remove append only prefix from conformance tests [KVL-1152] (#11424)
926655d3c3ac6235341971a8e447e202f36f736c Drop daml ledger timeout tests from compat tests (#11441)
15cb84093b3275d976b2de12ffe6a8b5eec99b4d Switch back to binary execution logs (#11440)
ac28e615b89f048f46718444c86eebd96a245ff0 Update ScalaPB to the latest version (0.11.6) (#11409)
a71a8f999efabf7a76346df8eac004c191742612 Prevent overflow in DeduplicationPeriod (#11432)
6c88e555095625ea003a296de763aa116e3a4131 Pass submission id as correlation id to error codes in Ledger API (#11381)
ba106873b9c3c06c241c8ace5b983a1f8f8112e9 Replace 1.14 min version conformance test by custom test (#11433)
a600f75c9f06ecae9bb8ebd7ee9c800810e1b4f1 Bump bazel memory limit to 3gb (#11436)
ebe742098d73cfc633431aaeb98a3b74981ad87c fix es ingest: file too large (#11415)
d86eca0b05bd20aaa0f15324f38fb7f7a50dd8ea Add documentation annotations to KV self-service errors [KVL-1144] (#11385)
46d31d5d48af22a987e8f67ae8af0a93eccf34c1 [DPP-676][Self-service error codes] Adapt ApiConfigManagementService (#11402)
927b2378c333231d476e0ce92801d15853c8d095 Make Oracle tests exclusive (#11408)
68d7f83a5fbb8de9084202ae5a8295a050d0ca32 Switch bazel exec logs to json format (#11430)
12e782b1eab40eab62da413b3fb3bb0e4bf91649 ifaces: update ghc-parser (#11383)
503e39160dfe12fbfc1cf690bf1816b010f1be24 [Short] Typo (#11410)
303119099424400cd102e95131ebc68d032f8f85 [DPP-676][Self-service error codes] Adapt request validators (#11379)
b412f7191d6e34d714584f46707d14903cf2cd4a Fix MonotonicRecordTimeIT for pruned participants (#11423)
500e5b068eac0cca366dba9201e0d0112207ed43 release 1.18.0-snapshot.20211026.8179.0.e474b2d1 (#11421)
d678a4046d5a61bf4059cec77f669cc7c62b4be9 LF: remove type parameter from ContractInstance (#11419)

Changelog:


- [@daml/react] Our React bindings now request the `react` library as a
  peer dependency, and will accept React 17 in addition to the current
  React 16. For new projects, the `create-daml-app` template now uses
  React 17.

- [Integration Kit] Document KV-specific self-service errors

[TS bindings] When using daml-react and daml-ledger, all streaming request to the query endpoint will be multiplexed through a single web socket.
[daml LF] - Add LoggingValue instance for Time.Timestamp
- [Integration Kit] - ledger-api-bench-tool can generate synthetic contracts with multiple observers
[api-test-tool] - remove AppendOnly prefix from test suites as the append-only schema is the only one left

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.

@Robin-da is in charge of this release.

Commit log:
```
7391a3c Migrate language-support codegen tests to sandbox (#11508)
da76e28 iface: check for interface implementations precond (#11494)
9e045c1 Remove a leftover from `check-protobuf-stability.sh` (#11513)
17c2fa9 ErrorCodeDocumentationGenerator uses multiple prefixes for scanning classpaths (#11504)
a8ae4d6 LF: Rename GenNode to Node (#11469)
73b6f8b Fixed ledger-api-bench-tool random distribution in submission phase. (#11507)
92495b0 Upgrade nixpkgs (#11490)
48afb7b interface: Add inherited choice names in scala AST (#11503)
9f8b039 [Trigger-Service] Migrate tests to sandbox (#11501)
6bafeb0 DPP-662 Support archivals in bench tool (#11474)
63d855f Pass `damlc build` logs through daml logger (#11485)
565dfac Bump rules_nodejs to 4.4.2 (#11495)
9214956 Enable experimental nix command (#11498)
f81d880 LF: drop com.daml.lf.transaction.Transaction.Transaction type alias. (#11470)
505a7f5 Extend debug logging around dependencies/data-dependencies (#11488)
55d35e5 Drop TLA+ from dev-env (#11492)
3a5cb18 [Self-service error codes] Adapt all grpc assertions to additionally take self-service error codes [DPP-680] (#11437)
98e7461 LF: ContractInstance should be a CidContainer (#11487)
9afb3b3 Add and wire ledger-end-cache [DPP-703] (#11480)
cdd2acc Explicitly import Java runtime from Nix/dadew (#11411)
b5540a9 Evidence for contract-key testing (#11479)
78735a8 Less logging on //docs:generate-error-codes-json (#11486)
d8898b8 Check fixed choices in name collision checker (#11481)
7a0198b daml-react: allow for React 17 (#11463)
c415d9d Migrate trigger tests from sandbox-classic to sandbox (#11478)
f9ec12b Add cocreature as a codeowner of the docs (#11450)
a79cc08 DbDispatcher handles SQL exceptions with self-service error codes [DPP-690] (#11435)
164cdbb update compat versions for 1.18.0-snapshot.20211026.8179.0.e474b2d1 (#11426)
741a6e7 interfaces: Add list of fixed choices in TemplateImplements structure. (#11364)
79505b5 oracle debug (#11386)
257d536 Switch from sandbox to sandbox-classic in daml test-script (#11476)
e91ced5 KV: generate self-service error docs [KVL-1148] (#11431)
8ffd835 Migrate daml script tests to Sandbox next (#11472)
df65d02 Exclude dedup tests affected by current changes (#11471)
45beaf7 interfaces: typecheck for precond, haskell side. (#11468)
e445fe1 LfEngineToApi conversions do not have to deal with version. (#11414)
d371274 Sandbox-classic: contracts sent to the engine do not need enrichment (#11416)
05312f1 Lift out constraint tuples to synonyms in dfun contexts (#11467)
a492a6c [DPP-636] Update docs on MacOS firewall issue when running tests (#11460)
5a85881 rotate release duty after 1.18.0-snapshot.20211026.8179.0.e474b2d1 (#11422)
1096f91 Adds default keepalive support for postgreSQL [DPP-697] (#11453)
3799963 Fix akka-streams shutdown at LedgerConfigurationSubscriptionFromIndex (#11462)
e89da7c Move non-repudiation proxy conformance tests to their own package (#11464)
b98a3ad interfaces: precondition, scala ast, decoder/encoder (#11452)
fd973e6 Drop assistant integration tests for relative/absolute DAML_PROJECT (#11461)
05505e3 Multiplex multiple virtual query streams through a single web socket (#10221)
3098b70 pretty print contract IDs properly (#11359)
bb4f4c5 DPP-665 Make in-flight commands configurable (#11456)
bf00956 replace OneAnd party Sets with NonEmpty Set (#11420)
570160b Add LoggingValue instance for Time.Timestamp (#11444)
bad50a5 Type reexports explicitly use 'type' namespace (#11451)
d3b9c84 ifaces: preconditions, proto changes (#11448)
73718a2 Mark script export tests as flaky (#11449)
22e9e6b Multi-observer command submission in the ledger-api-bench-tool [DPP-660] (#11413)
3eacbf9 Bazel cache retry on connection reset by peer (#11445)
fcc7e58 Make stable packages dependent on supported LF versions (#11382)
6c45f09 Remove TODO (#11446)
d8b92b7 Drop flaky marker from lsp-tests (#11442)
68f4432 Improve evidence of testing (#11428)
6126fc2 Remove append only prefix from conformance tests [KVL-1152] (#11424)
926655d Drop daml ledger timeout tests from compat tests (#11441)
15cb840 Switch back to binary execution logs (#11440)
ac28e61 Update ScalaPB to the latest version (0.11.6) (#11409)
a71a8f9 Prevent overflow in DeduplicationPeriod (#11432)
6c88e55 Pass submission id as correlation id to error codes in Ledger API (#11381)
ba10687 Replace 1.14 min version conformance test by custom test (#11433)
a600f75 Bump bazel memory limit to 3gb (#11436)
ebe7420 fix es ingest: file too large (#11415)
d86eca0 Add documentation annotations to KV self-service errors [KVL-1144] (#11385)
46d31d5 [DPP-676][Self-service error codes] Adapt ApiConfigManagementService (#11402)
927b237 Make Oracle tests exclusive (#11408)
68d7f83 Switch bazel exec logs to json format (#11430)
12e782b ifaces: update ghc-parser (#11383)
503e391 [Short] Typo (#11410)
3031190 [DPP-676][Self-service error codes] Adapt request validators (#11379)
b412f71 Fix MonotonicRecordTimeIT for pruned participants (#11423)
500e5b0 release 1.18.0-snapshot.20211026.8179.0.e474b2d1 (#11421)
d678a40 LF: remove type parameter from ContractInstance (#11419)
```
Changelog:
```

- [@daml/react] Our React bindings now request the `react` library as a
  peer dependency, and will accept React 17 in addition to the current
  React 16. For new projects, the `create-daml-app` template now uses
  React 17.

- [Integration Kit] Document KV-specific self-service errors

[TS bindings] When using daml-react and daml-ledger, all streaming request to the query endpoint will be multiplexed through a single web socket.
[daml LF] - Add LoggingValue instance for Time.Timestamp
- [Integration Kit] - ledger-api-bench-tool can generate synthetic contracts with multiple observers
[api-test-tool] - remove AppendOnly prefix from test suites as the append-only schema is the only one left
```

CHANGELOG_BEGIN
CHANGELOG_END
@azure-pipelines azure-pipelines bot assigned ghost Nov 3, 2021
azure-pipelines bot pushed a commit that referenced this pull request Nov 3, 2021
@Robin-da is taking care of 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11521), so they get pushed back to the end of the line.

Please do not merge this before #11521.

CHANGELOG_BEGIN
CHANGELOG_END
@garyverhaegen-da garyverhaegen-da merged commit d6fb67c into main Nov 3, 2021
@garyverhaegen-da garyverhaegen-da deleted the auto-release-pr-2021-11-03 branch November 3, 2021 10:56
@ghost
Copy link

ghost commented Nov 3, 2021

manual tests passed on windows.

@ghost
Copy link

ghost commented Nov 3, 2021

manual tests passed on linux.

garyverhaegen-da pushed a commit that referenced this pull request Nov 4, 2021
…11522)

@Robin-da is taking care of 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11521), so they get pushed back to the end of the line.

Please do not merge this before #11521.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <[email protected]>
azure-pipelines bot pushed a commit that referenced this pull request Nov 10, 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:
```
9218116 LF: Abstract VersionedValue and VersionedContractInstance (#11533)
b87acab foldLeft, foldRight, other Foldable specializations (#11592)
92dfcde [Self-service error codes] Use error validators in ApiPackageManagementService (#11575)
6372d41 limit contract insertion/deletion batching on backpressure (#11589)
3588284 Fix screenshots in daml intro 2 (#11617)
ef3fc0e Cache type synonym expansion in safeToReexport (#11612)
70b2fe3 Provide byInterface fields for fetch, exercise. (#11607)
830779f LF: drop useless class com.daml.lf.transaction (#11601)
7c92cab Cache type synonym expansion in isDuplicate (#11611)
cfd521f Fix GHC build errors on macOS (#11560)
a7559d0 LF: Rename GenTransaction to Transaction (#11599)
3b61a1b LF: allow exercise command by template for inherited choice. (#11584)
af1bee7 precondition lf conversion (#11538)
f722cf1 Bump extractor init timeout to 60s (#11598)
1e0a221 Set symlink_node_modules = False (#11606)
ac19c8c Synchronize in multi-participant script tests (#11594)
dd1b034 Restart the submission interpretation in case of a race [DPP-737] (#11579)
8d2b1b9 [JSON-API] Port of http-perf-test to sandbox(aka next) (#11543)
56a6db8 codeowners: reflect change in onwership of meiersi-da (#11505)
d433651 fix a few typos in Daml-LF spec (#11583)
5dee88b Refactoring store factories [DPP-709] (#11572)
41fb289 Port LedgerApiServer rate limiter interface from canton (#11577)
04cc5d7 Mark JSON API integration tests as flaky (#11586)
3bed7a9 Drop unused defaultFeatureFlags (#11580)
cbc3c8c Add by_interface field in Create, Fetch, & Exercise transaction nodes. (#11576)
7d68e05 Remove virtual choices (#11482)
9b94fa9 [ledger-api] - metadata for invalid deduplication period [KVL-1170] (#11534)
e7eb60f update compat versions for 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11531)
a3d04ca Migrate matches-docs tests to sandbox on postgres (#11573)
21c9745 [Self-service error codes] ValueSwitch parameterized method (#11567)
6a0b84e Run Script export tests against BR (#11574)
a3195fd fix link to blog (#11570)
0823601 Self-service errors: generate error deprecation docs [KVL-1187] (#11539)
8d48cf6 DPP-664 Create contracts in batches (#11515)
9ef2eaf Remove parameter table join from SQL queries [DPP-705] (#11562)
af7f7f3 Fix LF coedowners (#11563)
4450311 Exclude/fix compatibility tests (#11529)
699c28f rotate release duty after 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11522)
4d4869f interfaces: Improve fixed choice lookup (#11551)
ba96bf7 Add DbDtoToStringsForInterning [DPP-708] (#11557)
692dac6 LF: deprecate remaining type alias in Transaction (#11554)
7bc0f82 [kvutils] - Extract command deduplication steps from the TransactionCommitter [KVL-1174] (#11547)
0e95ccb Wire LedgerEndCache to relevant StorageBackend factories [DPP-704] (#11549)
73cb42e LF: deprecate ensureNoCid and assertNoCid in CidContainer (#11502)
30bfee9 Upgrade canton for conformance tests (#11550)
b84a914 Extractor: replace `sandbox-classic`-based fixtures with `sandbox`-based ones (#11489)
d86fe92 ledger-api-bench-tool - flexible stream filters [DPP-667] (#11458)
214c7ab Self-service errors: generate groups documentation [KVL-1186] (#11526)
60dc286 Avoid unnecessarily decoding DALFs during dependency installation (#11541)
afd79b6 Improve logging for dependency installation (#11540)
fdde535 fix hoogle by pinning nixpkgs (#11548)
5e93df6 Full conformance test with self-service error codes on ledger-on-memory (#11524)
efaf20b update NOTICES file (#11546)
c7bb94b Modify contract key attribute age for createAndExercise to avoid contract key violation on slow running tests (#11530)
541d07c Add string-interning data access [DPP-707] (#11484)
6c94164 Switching to composition at StorageBackend [DPP-704] (#11520)
d006ad0 Add string-interning view primitives [DPP-702] (#11475)
a917520 Save the submission time in the command deduplication value [KVL-1173] (#11509)
669186f Add priority-queue based worker Source [DPP-717] (#11500)
2091f59 Remove cats from kvutils (#11537)
b83af37 Fix recache log statement (#11536)
776790e Add choice collisions in scala name collision checker (#11528)
2efcb21 Extract the setting of the time bounds on the commit context [KVL-1173] (#11516)
9bb1d64 [ledger-api] - Return FAILED_PRECONDITION gRPC status code for invalid deduplication duration [KVL-1170] (#11483)
c098d75 Add a --log-level flag to damlc (#11514)
afee948 Bump rules_nixpkgs (#11517)
d6fb67c release 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11521)
ac49d69 Ensure that -Werror converts parser warnings into errors (#11511)
bda35ca ledger-offset: Add a conversion to ByteString. (#11491)
8a9f15b [DPP-686][Self-service error codes] Removing default error factories (#11403)
bb37eef Switch script & trigger tests to postgres-backed Sadbonx (#11525)
```
Changelog:
```
- [JSON API] While updating the contract table for a query, if the DB appears to be slow,
  JSON API will slow down its own inserts and deletes at some point rather than construct
  ever-larger INSERT and DELETE batch commands.
  See `issue #11589 <https://github.com/digital-asset/daml/pull/11589>`__.
[Ledger API] Retry the interpretation of a command in case of a race
with other transactions. This fix drastically reduces the likelihood of the error
"Could not find a suitable ledger time after 0 retries".
[ledger-api] - Return max_deduplication_duration as part of the metadata sent with the gRPC status for commands rejected because of invalid deduplication periods

- [Integration Kit] - ledger-api-bench-tool - added flexible party and template filters for transactions, transaction trees and active contract streams

[ledger-api] - Return FAILED_PRECONDITION gRPC status code, instead of INVALID_ARGUMENT, for an invalid command deduplication duration
```

CHANGELOG_BEGIN
CHANGELOG_END
remyhaemmerle-da pushed a commit that referenced this pull request Nov 10, 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:
```
9218116 LF: Abstract VersionedValue and VersionedContractInstance (#11533)
b87acab foldLeft, foldRight, other Foldable specializations (#11592)
92dfcde [Self-service error codes] Use error validators in ApiPackageManagementService (#11575)
6372d41 limit contract insertion/deletion batching on backpressure (#11589)
3588284 Fix screenshots in daml intro 2 (#11617)
ef3fc0e Cache type synonym expansion in safeToReexport (#11612)
70b2fe3 Provide byInterface fields for fetch, exercise. (#11607)
830779f LF: drop useless class com.daml.lf.transaction (#11601)
7c92cab Cache type synonym expansion in isDuplicate (#11611)
cfd521f Fix GHC build errors on macOS (#11560)
a7559d0 LF: Rename GenTransaction to Transaction (#11599)
3b61a1b LF: allow exercise command by template for inherited choice. (#11584)
af1bee7 precondition lf conversion (#11538)
f722cf1 Bump extractor init timeout to 60s (#11598)
1e0a221 Set symlink_node_modules = False (#11606)
ac19c8c Synchronize in multi-participant script tests (#11594)
dd1b034 Restart the submission interpretation in case of a race [DPP-737] (#11579)
8d2b1b9 [JSON-API] Port of http-perf-test to sandbox(aka next) (#11543)
56a6db8 codeowners: reflect change in onwership of meiersi-da (#11505)
d433651 fix a few typos in Daml-LF spec (#11583)
5dee88b Refactoring store factories [DPP-709] (#11572)
41fb289 Port LedgerApiServer rate limiter interface from canton (#11577)
04cc5d7 Mark JSON API integration tests as flaky (#11586)
3bed7a9 Drop unused defaultFeatureFlags (#11580)
cbc3c8c Add by_interface field in Create, Fetch, & Exercise transaction nodes. (#11576)
7d68e05 Remove virtual choices (#11482)
9b94fa9 [ledger-api] - metadata for invalid deduplication period [KVL-1170] (#11534)
e7eb60f update compat versions for 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11531)
a3d04ca Migrate matches-docs tests to sandbox on postgres (#11573)
21c9745 [Self-service error codes] ValueSwitch parameterized method (#11567)
6a0b84e Run Script export tests against BR (#11574)
a3195fd fix link to blog (#11570)
0823601 Self-service errors: generate error deprecation docs [KVL-1187] (#11539)
8d48cf6 DPP-664 Create contracts in batches (#11515)
9ef2eaf Remove parameter table join from SQL queries [DPP-705] (#11562)
af7f7f3 Fix LF coedowners (#11563)
4450311 Exclude/fix compatibility tests (#11529)
699c28f rotate release duty after 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11522)
4d4869f interfaces: Improve fixed choice lookup (#11551)
ba96bf7 Add DbDtoToStringsForInterning [DPP-708] (#11557)
692dac6 LF: deprecate remaining type alias in Transaction (#11554)
7bc0f82 [kvutils] - Extract command deduplication steps from the TransactionCommitter [KVL-1174] (#11547)
0e95ccb Wire LedgerEndCache to relevant StorageBackend factories [DPP-704] (#11549)
73cb42e LF: deprecate ensureNoCid and assertNoCid in CidContainer (#11502)
30bfee9 Upgrade canton for conformance tests (#11550)
b84a914 Extractor: replace `sandbox-classic`-based fixtures with `sandbox`-based ones (#11489)
d86fe92 ledger-api-bench-tool - flexible stream filters [DPP-667] (#11458)
214c7ab Self-service errors: generate groups documentation [KVL-1186] (#11526)
60dc286 Avoid unnecessarily decoding DALFs during dependency installation (#11541)
afd79b6 Improve logging for dependency installation (#11540)
fdde535 fix hoogle by pinning nixpkgs (#11548)
5e93df6 Full conformance test with self-service error codes on ledger-on-memory (#11524)
efaf20b update NOTICES file (#11546)
c7bb94b Modify contract key attribute age for createAndExercise to avoid contract key violation on slow running tests (#11530)
541d07c Add string-interning data access [DPP-707] (#11484)
6c94164 Switching to composition at StorageBackend [DPP-704] (#11520)
d006ad0 Add string-interning view primitives [DPP-702] (#11475)
a917520 Save the submission time in the command deduplication value [KVL-1173] (#11509)
669186f Add priority-queue based worker Source [DPP-717] (#11500)
2091f59 Remove cats from kvutils (#11537)
b83af37 Fix recache log statement (#11536)
776790e Add choice collisions in scala name collision checker (#11528)
2efcb21 Extract the setting of the time bounds on the commit context [KVL-1173] (#11516)
9bb1d64 [ledger-api] - Return FAILED_PRECONDITION gRPC status code for invalid deduplication duration [KVL-1170] (#11483)
c098d75 Add a --log-level flag to damlc (#11514)
afee948 Bump rules_nixpkgs (#11517)
d6fb67c release 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11521)
ac49d69 Ensure that -Werror converts parser warnings into errors (#11511)
bda35ca ledger-offset: Add a conversion to ByteString. (#11491)
8a9f15b [DPP-686][Self-service error codes] Removing default error factories (#11403)
bb37eef Switch script & trigger tests to postgres-backed Sadbonx (#11525)
```
Changelog:
```
- [JSON API] While updating the contract table for a query, if the DB appears to be slow,
  JSON API will slow down its own inserts and deletes at some point rather than construct
  ever-larger INSERT and DELETE batch commands.
  See `issue #11589 <https://github.com/digital-asset/daml/pull/11589>`__.
[Ledger API] Retry the interpretation of a command in case of a race
with other transactions. This fix drastically reduces the likelihood of the error
"Could not find a suitable ledger time after 0 retries".
[ledger-api] - Return max_deduplication_duration as part of the metadata sent with the gRPC status for commands rejected because of invalid deduplication periods

- [Integration Kit] - ledger-api-bench-tool - added flexible party and template filters for transactions, transaction trees and active contract streams

[ledger-api] - Return FAILED_PRECONDITION gRPC status code, instead of INVALID_ARGUMENT, for an invalid command deduplication duration
```

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <[email protected]>
stefanobaghino-da added a commit that referenced this pull request Nov 11, 2021
changelog_begin
changelog_end

CHANGELOG ENTRIES

```
[TS-Bindings] Ws multiplexing for stream queries is disabled by default as we investigate issues
of intermittent websocket closures.

* There is now an Early Access Helm chart to start all of the Connect components on a Kubernetes cluster.

[JSON-API] Make certain Hikari cp connection pool properties configurable via jdbc conf string, the properties are listed below
poolSize -- specifies the max pool size for the database connection pool
minIdle -- specifies the min idle connections for database connection pool
connectionTimeout -- long value, specifies the connection timeout for database connection pool
idleTimeout -- long value, specifies the idle timeout for the database connection pool
- [Integration Kit] - ledger-api-bench-tool can run a workflow consisting of the command submission phase and stream benchmark phase.
- [JSON API] While updating the contract table for a query, if the DB appears to be slow,
  JSON API will slow down its own inserts and deletes at some point rather than construct
  ever-larger INSERT and DELETE batch commands.
  See `issue #11589 <https://github.com/digital-asset/daml/pull/11589>`__.
[Ledger API] Retry the interpretation of a command in case of a race
with other transactions. This fix drastically reduces the likelihood of the error
"Could not find a suitable ledger time after 0 retries".
[ledger-api] - Return max_deduplication_duration as part of the metadata sent with the gRPC status for commands rejected because of invalid deduplication periods

- [Integration Kit] - ledger-api-bench-tool - added flexible party and template filters for transactions, transaction trees and active contract streams
```

COMMITS

```
d938a44 ws multiplexing is disabled by default as we investigate issues with intermittent web socket closures (#11657)
0f0a865 Make string interning available at ingestion [DPP-711] (#11645)
7296ba4 Move closureConvert and validate compiler phases into separate files. (#11656)
87f282c interfaces: Preserve/provide by_interface data for create actions. (#11639)
a9de728 Update rules_scala (#11616)
f468969 document helm chart (#11648)
55d4a03 Release 1.11.3 snapshot (#11652)
2dd5289 different types for different speedy phases (#11605)
44d604d Release new 1.18 snapshot (#11642)
e69a871 [JSON-API] Configurable Hikari connection pool props  (#11621)
cb7099b release 1.11.3 snapshot (#11628)
fd61d0b String interning read integration [DPP-706] (#11638)
c5a1f0b Republish error codes generator lib (#11633)
a6f745f Add two phase retrieval merge function [DPP-718] (#11571)
743ee46 ledger-api-bench-tool - command submission and stream reading complete workflow [DPP-668] (#11544)
f8f8807 Activate interning write side [DPP-710] (#11614)
93c07f4 Extend synonym expansion caching in data-dependencies (#11629)
cf445b2 Skip platform independence tests on release PRs (#11631)
b8f384e LF: Drop typeparameter from KeyWithMaintainers (#11625)
d0c313d Share dependencyInfo in data-dependencies (#11620)
4eed1d9 release 1.18.0-snapshot.20211109.8328.0.92181161 (#11623)
9218116 LF: Abstract VersionedValue and VersionedContractInstance (#11533)
b87acab foldLeft, foldRight, other Foldable specializations (#11592)
92dfcde [Self-service error codes] Use error validators in ApiPackageManagementService (#11575)
6372d41 limit contract insertion/deletion batching on backpressure (#11589)
3588284 Fix screenshots in daml intro 2 (#11617)
ef3fc0e Cache type synonym expansion in safeToReexport (#11612)
70b2fe3 Provide byInterface fields for fetch, exercise. (#11607)
830779f LF: drop useless class com.daml.lf.transaction (#11601)
7c92cab Cache type synonym expansion in isDuplicate (#11611)
cfd521f Fix GHC build errors on macOS (#11560)
a7559d0 LF: Rename GenTransaction to Transaction (#11599)
3b61a1b LF: allow exercise command by template for inherited choice. (#11584)
af1bee7 precondition lf conversion (#11538)
f722cf1 Bump extractor init timeout to 60s (#11598)
1e0a221 Set symlink_node_modules = False (#11606)
ac19c8c Synchronize in multi-participant script tests (#11594)
dd1b034 Restart the submission interpretation in case of a race [DPP-737] (#11579)
8d2b1b9 [JSON-API] Port of http-perf-test to sandbox(aka next) (#11543)
56a6db8 codeowners: reflect change in onwership of meiersi-da (#11505)
d433651 fix a few typos in Daml-LF spec (#11583)
5dee88b Refactoring store factories [DPP-709] (#11572)
41fb289 Port LedgerApiServer rate limiter interface from canton (#11577)
04cc5d7 Mark JSON API integration tests as flaky (#11586)
3bed7a9 Drop unused defaultFeatureFlags (#11580)
cbc3c8c Add by_interface field in Create, Fetch, & Exercise transaction nodes. (#11576)
7d68e05 Remove virtual choices (#11482)
9b94fa9 [ledger-api] - metadata for invalid deduplication period [KVL-1170] (#11534)
e7eb60f update compat versions for 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11531)
a3d04ca Migrate matches-docs tests to sandbox on postgres (#11573)
21c9745 [Self-service error codes] ValueSwitch parameterized method (#11567)
6a0b84e Run Script export tests against BR (#11574)
a3195fd fix link to blog (#11570)
0823601 Self-service errors: generate error deprecation docs [KVL-1187] (#11539)
8d48cf6 DPP-664 Create contracts in batches (#11515)
9ef2eaf Remove parameter table join from SQL queries [DPP-705] (#11562)
af7f7f3 Fix LF coedowners (#11563)
4450311 Exclude/fix compatibility tests (#11529)
699c28f rotate release duty after 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11522)
4d4869f interfaces: Improve fixed choice lookup (#11551)
ba96bf7 Add DbDtoToStringsForInterning [DPP-708] (#11557)
692dac6 LF: deprecate remaining type alias in Transaction (#11554)
7bc0f82 [kvutils] - Extract command deduplication steps from the TransactionCommitter [KVL-1174] (#11547)
0e95ccb Wire LedgerEndCache to relevant StorageBackend factories [DPP-704] (#11549)
73cb42e LF: deprecate ensureNoCid and assertNoCid in CidContainer (#11502)
30bfee9 Upgrade canton for conformance tests (#11550)
b84a914 Extractor: replace `sandbox-classic`-based fixtures with `sandbox`-based ones (#11489)
d86fe92 ledger-api-bench-tool - flexible stream filters [DPP-667] (#11458)
214c7ab Self-service errors: generate groups documentation [KVL-1186] (#11526)
60dc286 Avoid unnecessarily decoding DALFs during dependency installation (#11541)
afd79b6 Improve logging for dependency installation (#11540)
fdde535 fix hoogle by pinning nixpkgs (#11548)
5e93df6 Full conformance test with self-service error codes on ledger-on-memory (#11524)
efaf20b update NOTICES file (#11546)
c7bb94b Modify contract key attribute age for createAndExercise to avoid contract key violation on slow running tests (#11530)
541d07c Add string-interning data access [DPP-707] (#11484)
6c94164 Switching to composition at StorageBackend [DPP-704] (#11520)
d006ad0 Add string-interning view primitives [DPP-702] (#11475)
a917520 Save the submission time in the command deduplication value [KVL-1173] (#11509)
669186f Add priority-queue based worker Source [DPP-717] (#11500)
2091f59 Remove cats from kvutils (#11537)
b83af37 Fix recache log statement (#11536)
776790e Add choice collisions in scala name collision checker (#11528)
2efcb21 Extract the setting of the time bounds on the commit context [KVL-1173] (#11516)
9bb1d64 [ledger-api] - Return FAILED_PRECONDITION gRPC status code for invalid deduplication duration [KVL-1170] (#11483)
c098d75 Add a --log-level flag to damlc (#11514)
afee948 Bump rules_nixpkgs (#11517)
d6fb67c release 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11521)
ac49d69 Ensure that -Werror converts parser warnings into errors (#11511)
bda35ca ledger-offset: Add a conversion to ByteString. (#11491)
8a9f15b [DPP-686][Self-service error codes] Removing default error factories (#11403)
bb37eef Switch script & trigger tests to postgres-backed Sadbonx (#11525)
```

Since `v1.18.0-snapshot.20211102.8257.0.7391a3cd`
mergify bot pushed a commit that referenced this pull request Nov 12, 2021
changelog_begin
changelog_end

CHANGELOG ENTRIES

```
[TS-Bindings] Ws multiplexing for stream queries is disabled by default as we investigate issues
of intermittent websocket closures.

* There is now an Early Access Helm chart to start all of the Connect components on a Kubernetes cluster.

[JSON-API] Make certain Hikari cp connection pool properties configurable via jdbc conf string, the properties are listed below
poolSize -- specifies the max pool size for the database connection pool
minIdle -- specifies the min idle connections for database connection pool
connectionTimeout -- long value, specifies the connection timeout for database connection pool
idleTimeout -- long value, specifies the idle timeout for the database connection pool
- [Integration Kit] - ledger-api-bench-tool can run a workflow consisting of the command submission phase and stream benchmark phase.
- [JSON API] While updating the contract table for a query, if the DB appears to be slow,
  JSON API will slow down its own inserts and deletes at some point rather than construct
  ever-larger INSERT and DELETE batch commands.
  See `issue #11589 <https://github.com/digital-asset/daml/pull/11589>`__.
[Ledger API] Retry the interpretation of a command in case of a race
with other transactions. This fix drastically reduces the likelihood of the error
"Could not find a suitable ledger time after 0 retries".
[ledger-api] - Return max_deduplication_duration as part of the metadata sent with the gRPC status for commands rejected because of invalid deduplication periods

- [Integration Kit] - ledger-api-bench-tool - added flexible party and template filters for transactions, transaction trees and active contract streams
```

COMMITS

```
d938a44 ws multiplexing is disabled by default as we investigate issues with intermittent web socket closures (#11657)
0f0a865 Make string interning available at ingestion [DPP-711] (#11645)
7296ba4 Move closureConvert and validate compiler phases into separate files. (#11656)
87f282c interfaces: Preserve/provide by_interface data for create actions. (#11639)
a9de728 Update rules_scala (#11616)
f468969 document helm chart (#11648)
55d4a03 Release 1.11.3 snapshot (#11652)
2dd5289 different types for different speedy phases (#11605)
44d604d Release new 1.18 snapshot (#11642)
e69a871 [JSON-API] Configurable Hikari connection pool props  (#11621)
cb7099b release 1.11.3 snapshot (#11628)
fd61d0b String interning read integration [DPP-706] (#11638)
c5a1f0b Republish error codes generator lib (#11633)
a6f745f Add two phase retrieval merge function [DPP-718] (#11571)
743ee46 ledger-api-bench-tool - command submission and stream reading complete workflow [DPP-668] (#11544)
f8f8807 Activate interning write side [DPP-710] (#11614)
93c07f4 Extend synonym expansion caching in data-dependencies (#11629)
cf445b2 Skip platform independence tests on release PRs (#11631)
b8f384e LF: Drop typeparameter from KeyWithMaintainers (#11625)
d0c313d Share dependencyInfo in data-dependencies (#11620)
4eed1d9 release 1.18.0-snapshot.20211109.8328.0.92181161 (#11623)
9218116 LF: Abstract VersionedValue and VersionedContractInstance (#11533)
b87acab foldLeft, foldRight, other Foldable specializations (#11592)
92dfcde [Self-service error codes] Use error validators in ApiPackageManagementService (#11575)
6372d41 limit contract insertion/deletion batching on backpressure (#11589)
3588284 Fix screenshots in daml intro 2 (#11617)
ef3fc0e Cache type synonym expansion in safeToReexport (#11612)
70b2fe3 Provide byInterface fields for fetch, exercise. (#11607)
830779f LF: drop useless class com.daml.lf.transaction (#11601)
7c92cab Cache type synonym expansion in isDuplicate (#11611)
cfd521f Fix GHC build errors on macOS (#11560)
a7559d0 LF: Rename GenTransaction to Transaction (#11599)
3b61a1b LF: allow exercise command by template for inherited choice. (#11584)
af1bee7 precondition lf conversion (#11538)
f722cf1 Bump extractor init timeout to 60s (#11598)
1e0a221 Set symlink_node_modules = False (#11606)
ac19c8c Synchronize in multi-participant script tests (#11594)
dd1b034 Restart the submission interpretation in case of a race [DPP-737] (#11579)
8d2b1b9 [JSON-API] Port of http-perf-test to sandbox(aka next) (#11543)
56a6db8 codeowners: reflect change in onwership of meiersi-da (#11505)
d433651 fix a few typos in Daml-LF spec (#11583)
5dee88b Refactoring store factories [DPP-709] (#11572)
41fb289 Port LedgerApiServer rate limiter interface from canton (#11577)
04cc5d7 Mark JSON API integration tests as flaky (#11586)
3bed7a9 Drop unused defaultFeatureFlags (#11580)
cbc3c8c Add by_interface field in Create, Fetch, & Exercise transaction nodes. (#11576)
7d68e05 Remove virtual choices (#11482)
9b94fa9 [ledger-api] - metadata for invalid deduplication period [KVL-1170] (#11534)
e7eb60f update compat versions for 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11531)
a3d04ca Migrate matches-docs tests to sandbox on postgres (#11573)
21c9745 [Self-service error codes] ValueSwitch parameterized method (#11567)
6a0b84e Run Script export tests against BR (#11574)
a3195fd fix link to blog (#11570)
0823601 Self-service errors: generate error deprecation docs [KVL-1187] (#11539)
8d48cf6 DPP-664 Create contracts in batches (#11515)
9ef2eaf Remove parameter table join from SQL queries [DPP-705] (#11562)
af7f7f3 Fix LF coedowners (#11563)
4450311 Exclude/fix compatibility tests (#11529)
699c28f rotate release duty after 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11522)
4d4869f interfaces: Improve fixed choice lookup (#11551)
ba96bf7 Add DbDtoToStringsForInterning [DPP-708] (#11557)
692dac6 LF: deprecate remaining type alias in Transaction (#11554)
7bc0f82 [kvutils] - Extract command deduplication steps from the TransactionCommitter [KVL-1174] (#11547)
0e95ccb Wire LedgerEndCache to relevant StorageBackend factories [DPP-704] (#11549)
73cb42e LF: deprecate ensureNoCid and assertNoCid in CidContainer (#11502)
30bfee9 Upgrade canton for conformance tests (#11550)
b84a914 Extractor: replace `sandbox-classic`-based fixtures with `sandbox`-based ones (#11489)
d86fe92 ledger-api-bench-tool - flexible stream filters [DPP-667] (#11458)
214c7ab Self-service errors: generate groups documentation [KVL-1186] (#11526)
60dc286 Avoid unnecessarily decoding DALFs during dependency installation (#11541)
afd79b6 Improve logging for dependency installation (#11540)
fdde535 fix hoogle by pinning nixpkgs (#11548)
5e93df6 Full conformance test with self-service error codes on ledger-on-memory (#11524)
efaf20b update NOTICES file (#11546)
c7bb94b Modify contract key attribute age for createAndExercise to avoid contract key violation on slow running tests (#11530)
541d07c Add string-interning data access [DPP-707] (#11484)
6c94164 Switching to composition at StorageBackend [DPP-704] (#11520)
d006ad0 Add string-interning view primitives [DPP-702] (#11475)
a917520 Save the submission time in the command deduplication value [KVL-1173] (#11509)
669186f Add priority-queue based worker Source [DPP-717] (#11500)
2091f59 Remove cats from kvutils (#11537)
b83af37 Fix recache log statement (#11536)
776790e Add choice collisions in scala name collision checker (#11528)
2efcb21 Extract the setting of the time bounds on the commit context [KVL-1173] (#11516)
9bb1d64 [ledger-api] - Return FAILED_PRECONDITION gRPC status code for invalid deduplication duration [KVL-1170] (#11483)
c098d75 Add a --log-level flag to damlc (#11514)
afee948 Bump rules_nixpkgs (#11517)
d6fb67c release 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11521)
ac49d69 Ensure that -Werror converts parser warnings into errors (#11511)
bda35ca ledger-offset: Add a conversion to ByteString. (#11491)
8a9f15b [DPP-686][Self-service error codes] Removing default error factories (#11403)
bb37eef Switch script & trigger tests to postgres-backed Sadbonx (#11525)
```

Since `v1.18.0-snapshot.20211102.8257.0.7391a3cd`
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