From f315a9003b179b78dc2b68cf9c474a84d1a09e14 Mon Sep 17 00:00:00 2001 From: "azure-pipelines[bot]" <36771401+azure-pipelines[bot]@users.noreply.github.com> Date: Wed, 20 Oct 2021 12:58:01 +0100 Subject: [PATCH] release 1.18.0-snapshot.20211019.8113.0.8ff347d8 (#11300) 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. @sofiafaro-da is in charge of this release. Commit log: ``` 8ff347d8edf2e48b7a4ac4b0b6af9fcfec4109c9 Expand type synonyms lazily (#11282) 2fd200fff8342e4d16f705beafcbf2241c0431e9 KV: support contextual logging in KeyValueConsumption [KVL-1143] (#11288) f4df1cc4d06eeb2c1de2677c35b5aa9bfb84c9fd converting server errors to proper client errors (#11184) 525e4ceb5ecec35d011e3df652c35b1ea1210671 Add GrpcStatus.toProto(JavaStatus) -> ScalaStatus conversion [KVL-1143] (#11292) 9b00a1aab5ac1f4b9058739a91ca02597d84dda5 Rotate release rotation (#11291) dd09c38f4a426bbb71a24d045ae125bd223a1e11 Upgrade rules-nodejs (#11290) 87f1418d91bf94349edd28ea485e437bf698038c [Short] Remove unnecessary traits from ApiSubmissionServiceSpec (#11254) 6b65a72577d9bddb739626ee345900f66edba997 Merge npm install steps in create-daml-app tests (#11287) a9f6afbfdeca9ae6f0e596588a8fb427ff1f6832 kvutils: Rename `VersionedOffset` to `KVOffset`. (#11286) 98cf8d86b30eb09d50645f0b49fc0c1bd02d2502 KV: introduce v2 error codes behind a CLI switch [KVL-1140] (#11224) 46f6877ee5688ec9bd3ff3229d7827af2e865eff Increase time model skew limits (#11273) 8f94cffdd1c9523fc0932f7e1931f474b52adc34 kvutils: Use `VersionedOffsetBuilder` where possible, and introduce `VersionedOffsetMutator`. [KVL-1154] (#11277) 81fde97b87b677a1ce67340a9e3c60c2c1a88ef5 Bazel: Call `_wrap_rule` directly when building the Scala REPL rule. (#11279) edb2b04abf137fecd9f97565d9f437ed53af8142 Document scaladoc usage in Bazel (#11278) 62558374a7e85b12ed52d40b0292da2d2b4e0b22 Data dependencies support for reexports (#11147) 2fc7490df285aa390a00d0218b9fa38309b64b8c [Self-service error codes] Adapt error factories [DPP-656] (#11270) b1a6b11d47a0d4b655a4c463cad470def1fb9790 ledger-api-test-tool: Add static time awareness [KVL-1156] (#11266) 243c120939057a6887c5d41fd917e89bba3af80b Add an LF typechecking benchmark (#11276) 2db8c138a8e12ff8a9e5a66dea7d5631ff3999e9 Test authorization within Exercise choice. (#11246) ec58ed68b3b0618ce7a48f4e59b575e75c95a7eb Typecheck nested LF type applications more efficiently (#11253) a940016f46254b902f4eab9b4b36f1c66998cdc8 Add debugRaw corresponding to traceM in Haskell (#11259) a9885797fe903649770a51471fa1f989ef41882f Fix Scala repl targets (#11272) e4808f620e65bbfeef4b392e7f658b55d6788827 Extract UtilLF module from daml-lf-conversion to its own library (#11263) 38712c0179d860a94f1a537d72665c319d561db5 sandbox-next - Disable participant command deduplication [KVL-1156] (#11264) 82fa2293853661d746c65bea1b1099eade3bb6c9 Add daml-util-ghc lib (#11260) 68a93cf70fb50cc92be0bf0f69f54f2ff2482891 kvutils - Use the ledger configured time for command dedup [KVL-1149] (#11239) c8cede074e28e8b3163826488a4ffaec2ae76369 Bump startup time in create-daml-app tests (#11261) 4fac87f112aea6f7cddc3bfee797fa4c6d5e6ed5 Bump the schema version for the JSON API (#11252) 55076700aefb78f85d1311888baded7d95a3dd46 update NOTICES file (#11256) 0063b1037f3e7e5fb584401a89d22c06de2762e0 Retry faster during startup (#11255) 04feb40a8f9a38257a6f2a2e7d6830faefbeb0f5 Improve reset service tests (#11240) b3375fd2a102d89001371f86f98208e9c663fe4b update compat versions for 1.18.0-snapshot.20211013.8071.0.514e8b50 (#11237) 9ed1eb3ce3ffd33b7a70677a82ea37e9fb8be8a3 Address security notice on `ansi-regex` (#11243) 387d0e8f6c84ed9f3a14f4d78755cd5b3abeae07 Make compatibility migrations `eternal` (#11242) be899b32a865d9afe74e2244129c622042d03c24 Extract rejection_reason.proto from daml_kvutils.proto [KVL-1090] (#11235) a1d94e10ba4f1a0682b429131ed4f4d29a4610d3 LF: Create special case class for VersionedContractInstance (#11127) b7389885e8ae2e97c34b8cdbc7dc7b11d9330c64 Release 1.18 snapshot (#11234) 3c26852226c92b6b2e172027a7a02f7dd369a146 LF: Use template Id in exercise node of fixed choice. (#11229) 139b6f3b9eb5a253baf9db9ad721f01628c87611 CI: Set `PROJ_DIR` inside the bash lib, not outside. (#11236) ce64cb2a13f2e1a3a75e6549c8e2a35fce395d2d interfaces: Do some TODOs (#11231) 7a88c7d97c68d07d7399e15cb87d3873e562d82a trigger-service: dev-mode-unsafe flag (#11233) 909a1bf896fe5f70176df132ef271ed9d1b386c2 [DPP-417][DDP-612] Adapt ApiSubmissionService to support V2 error codes (#11052) ``` Changelog: ``` - [JSON API] Several kinds of gRPC server errors are now reported with associated HTTP statuses; for example, a Daml-LF interpreter error now returns a 400 instead of a 500, and an exercise on an archived contract returns a 409 Conflict instead of a 500. Errors internal to JSON API (e.g. internal assertion failures) are no longer detailed in the HTTP response; their details are only logged. See `issue #11184 `__. - [Daml Stdlib] Add `debugRaw` as a convenience wrapper around `traceRaw` when used inside a do-block. `debugRaw` compares to `debug` like `traceRaw` compares to `trace` meaning it expects a `Text` instead of calling `show` on an expression. sandbox-next - Disable participant command deduplication kvutils - Command deduplication uses the configured time model (static/wall) and not running always using wall-clock [JSON API] Solving a bug that could cause the JSON API to return correct result if a contract with the same key is observed twice required a schema change. The JSON API data needs to be dropped and the query store needs to reset. If you are migrating from a previous version, either reset your database manually or start the HTTP JSON API with one of the options that regenerate the schema (`create-only`, `create-if-needed-and-start`, `create-and-start`). ``` CHANGELOG_BEGIN CHANGELOG_END Co-authored-by: Azure Pipelines Daml Build --- LATEST | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LATEST b/LATEST index 91660801f609..28dede77e6bf 100644 --- a/LATEST +++ b/LATEST @@ -1,4 +1,4 @@ -514e8b50a3f901cd82b96ce17ee00f0ddf90dab3 1.18.0-snapshot.20211013.8071.0.514e8b50 +8ff347d8edf2e48b7a4ac4b0b6af9fcfec4109c9 1.18.0-snapshot.20211019.8113.0.8ff347d8 e05be36512ade4d9cb6921614c23dadbde1747a3 1.17.1 49a75801fbafa1ffab3247ecfbb06a82925e8a0b 1.17.0 48050ad7836b9825c9dc7bd96fbc980b8eb9b6e5 1.16.0