daml/LATEST

29 lines
1.4 KiB
Plaintext
Raw Normal View History

release 1.17.0-snapshot.20210907.7759.0.35a853fd (#10808) 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. @akrmn is in charge of this release. Commit log: ``` 35a853fd30bd394b64c8a390c7e3c14c3ad40a62 Async logging for http-json-perf tests and publish logs as a pipeline artifact (#10803) a349217f781ae12928e492fe5c4a46226a8629ec get oracle perf test output (#10800) 5f448f26031191789b6aa81907475f7f65ba8eb4 Cleanup DataSource initialization (#10794) 0e250d02e3bc104747a340db3232a81c88e03caf Fix parallel ingestion initialization (#10797) b8bd5e639971e9b7c6fc0226e3e0a97911f88d76 interface PoC: protobuf definitions (#10796) a1da025b785fd5de0dead172c92494c3d304850f FreePort draw from outside ephemeral port range (#10774) 945a86c3f25f0ac37746c40c160947fce28e40c5 Fix a race in a test of the RecoveringIndexer (#10792) 4093bbd58c8b395ea4d2d9661b751829737cf67e fix macOS Bazel cache (#10795) ed99fe5aa58e3e59b36db537ad66486fd5859e10 ParticipantPruningIT added events for canton safe-pruning and multi-node synchronization (#10775) 5b28aefbce011e366bc8c80a35b88324ccc6aa59 Deprecate kvutils rejections generated only by participant state v1 [KVL-1090] (#10791) 116d6a59940382aa9941b49db5a59aea163e61cf DPP-577 Use BIGINT instead of TIMESTAMP (#10761) cdf4bf1138496f63be640949770580660b0b19b8 Check compatibility of timestamps (#10793) 098a08c58bd54d12a1bd796dfd42433c9b9b9c8a Add Moisés to release rotation (#10789) 7ae199f02771bc88f7834c9892e2badecf1c9498 Follow-up to h2 storage backend user/password in url: Review feedback switch to regex and move to pure function (#10541) a5999abf8e607b6edea867641fdd8fd724d314e9 remove dead code (#10765) 4b7391b0d59b2d4dd637e86e44032947477da976 LedgerApiTestTool prints skipped (excluded) tests (#10726) a0f0fb36845354236079ab5cd8d73164da213b29 [DPP-418] Enable outstanding test case for private key decryption (#10778) d750666f8e5ce285857435d44cfb17c0c67ced6f Do not drop details when converting between gRPC `Status` classes [KVL-1084] (#10745) 5ec9a234db97d9ab10f66e7324fe935cd0d9768f Fix link to the gRPC health checks in the driver for PostgreSQL docs (#10779) 8538fe97b4c6453b86fee44acf8a5ed751a2590e HA protected ledger initialization for append only schema [DPP-551] (#10705) 23b0fe7ac27331edfb71f6d3e10fb6b47a59dd5e Fix exclusions for command service tests (#10777) c4e0a755d4dae31172a38ea5fcd4c7b034f77cdd LF: drop ad-hoc ImmArray builders (#10763) 303ba90595380f3ad564465e139bc0d0cdf34259 participant-state: Re-enable integration test for command deduplication [KVL-1089] (#10751) 793253ca87b25d1c016e6f6699d5fe91231f3269 bump cleanup threshold (#10771) 4d6768473703e1e01229223fea662043d3b4592a Fix flaky DBLock tests (#10770) 751587125ff7943f95467d6eb18f368e7eac89be Fix exclusions for command dedup in compat tests (#10767) 50fecfb9efb574cdd4afe8916218a625f0a6ad6b Wrap missing label names in quotes (#10749) b1c6e87803f1012bf91ecaf01a5dc36e78250150 fix claims check in auth middleware (#10768) 5595d55c795a0174a90de188ea89a49841a61ba2 [JSON-API] Use the token from incoming requests to update the package list (#10602) dbafea0e487cd9bca91bf5b292944743475157c1 Add unit tests for DBLockStorageBackend [DPP-495] (#10746) e5a6d701827aa33f10a5ce79487970f1bf677c50 Added buffer size metrics for getTransactions/getTransactionTrees (#10744) f76c868ee40b4f837957c962e56ae32b5652a20f update NOTICES file (#10762) bb908d04fbccaec181504a242fd9c32d36979f7a Create a link to party management service in main Ledger API page. (#10138) e45d852ed45e45aaa682f0042bf914ea89bb1054 Fixes participant to do retries on startup as waiting for DB connectivity (#10759) f68a12930be52b5544610da99343bc16ce624915 Report some oracle_json_perf numbers on slack (#10754) 7270ee3c716f993a9cb4c781f5e9370226c2844d Handle dynamic port in auth middleware client (trigger service) (#10755) ff1308ee3d0cbc6057760c3d3990b670073930ae [Docs] Add info on logs on Kubernetes & metrics in the ops section (#10525) d26739087f6cc29b1833ce74072fda9e42026b3a Update buf image [kvl-1049] (#10752) d2180cf60bd02a664f5901d1ac073bb463d1f6be Update exclusion for command deduplication to include full version range (#10750) 41881ba2baff3003a6b1a8ea4ebfb94f611972f1 Command dedup: migrate kvutils to use v2 services [KVL-1049] (#10679) 4525b8c26557e87f7135f5cf89473442cdb79724 [JSON-API] vanilla oracle_perf ci job (#10688) 16df8a5e35ea0d87c052542aed5e8ecab7d060fe [Short] Remove unused code (#10719) b28afcf7aec5413932f0ea2bb21fdaee0d19dc1f [DPP-438] Update docs on metrics that no longer use <party_name> in their name (#10728) 0662025f4ce8f8214244e8c826df219d2fef810a Clarify what the `buf` image is and how it should be used (#10741) 9071a05c763c9869ad59ce1680f91014b4c2d01e sandbox-classic: Reintroduce SqlLedger tests for the mutable index. (#10722) f576cdfd06cf33686385ad61df1583a8e0668d44 fix flaky test in RecoveringIndexer (#9619) f6a75b42f351cb1d6310cad3298117661969d79f ledger-api-common: Do not mock final classes. (#10733) e9c8af50247e67526f3f58da8148f6123984c61a Bump ghc-lib to include dropped parsing code for generic templates (#10735) 862a2901fb9813f52141bcf654ff98694ba4423b rotate release duty after 1.17.0-snapshot.20210831.7702.0.f058c2f1 (#10731) 12cb92b43167675f71f02f6223d84655aa1fa877 update compat versions for 1.17.0-snapshot.20210831.7702.0.f058c2f1 (#10737) 73c0de8db4384ba4ed7bff664bd2a981a4d0cba4 [DPP-578] Temporarily disable flaky test - Mockito plugin issue (#10734) 963bcb17eb6ca967b8b2bca84d82ab5863a8ca75 release 1.17.0-snapshot.20210831.7702.0.f058c2f1 (#10730) c11323ddb199393f587ccd6026aa953e53f6cc10 LF: Refactor engine test reinterpret (#10724) a995fa3cd2ad5718beacd9ef38e25093d29668ee [DPP-574] Update docs about TLS: encrypted private key (#10727) 66970b72265a5d45887e952be811902f79b5441e Not sharing the absolute Deadline object. (#10713) c6c304b778ed4b99655470dfca8fe94b1ab217cb Improve script error on invalid script identifier format (#10702) b748fd6b676a5331d0e6679dbb5ec08ef08894d1 Support TLS in Daml Helper --json-api requests (#10709) ``` Changelog: ``` kvutils - protobuf rejections generated by the participant state v1 API are deprecated (Inconsistent, Disputed, ResourcesExhausted, PartyNotKnownOnLedger) [Docs] Fixed link to the gRPC health checks in the driver for PostgreSQL docs participant-state: Emit completions (CommandRejected) for duplicate commands when using pre-execution - Fix a bug in the auth middleware where insufficient credentials could still give access to list of running triggers. - [JSON API] The cli option `--access-token-file` is now deprecated. It is not needed anymore and you can safely remove it. Reason is that the operations which prior required a token at startup are now done on demand using the token of the incoming request. - [Docs] Information was added in the `Operating Daml` section on how to aggregate logs on Kubernetes in conjuction with Daml services & what options exists for exporting metrics from daml services (not Kubernetes specific) participant-state: - Migrate to use only v2 Read/Write Services. This includes the use of new models for rejections/updates/submission results. - Calculate deduplicate until for committer side deduplication based on the submitter given deduplication period - if using the deprecated deduplicateUntil then just set the given timestamp - if using duration then calculate the new deduplicateUntil by using the formula (submissionTime + deduplicationDuration + minSkew) - if using offset deduplication then calculate deduplicateUntil by using the formula (submissionTime + maxDeduplicationDuration + minSkew) - if the deduplication period is not set then we don't set deduplicateUntil - Emit completions with status `ALREADY_EXISTS` for duplicate commands - [Java Bindings] DamlLedgerClient.Builder allows to set a timeout for command using `withTimeout`. - [Daml Assistant] The `daml ledger` commands now accepts `--tls` in combination with `--json-api` to access a JSON API behind a TLS reverse proxy. ``` CHANGELOG_BEGIN CHANGELOG_END Co-authored-by: Azure Pipelines DAML Build <support@digitalasset.com>
2021-09-08 11:27:20 +03:00
35a853fd30bd394b64c8a390c7e3c14c3ad40a62 1.17.0-snapshot.20210907.7759.0.35a853fd
48050ad7836b9825c9dc7bd96fbc980b8eb9b6e5 1.16.0
aca22721f709d879a49fa958a1eb0b532fcbde54 1.15.0
aa2978400dd88a6011db18a62fb71c23ebd9d20b 1.14.2
d1b54ff0a0213d0f88a30078dacae06744529773 1.14.0
5f5323806b9ee704dc7f5bed5c458ee9d0c431f7 1.13.1
9ae787d005a5ea5c3c65aef9f56a56082ea4c167 1.13.0
631db446f0e5f24845b9837ffcf8ea6061f91f4f 1.12.0
a08f6ea24245461e912f2be5676009dcbea05634 1.11.2
7cd6380e156810ec7a19abbb3b967f45acab00b9 1.11.1
d3d5042ac04f4c0f755df7e87bc191716fdecc4c 1.11.0
80d080ef9f1c63de6f94d22592f89d623bfb1fa6 1.10.2
19bf4031f551334ff70a77bbf469b8af8e061bf2 1.10.0
5b3663a500e6840109e0e3e21cd6dea3c546573d 1.9.0
d443707c1893b58206f2f2ba62a18cd25e1ff53c 1.8.0-snapshot.20210303.5843.0.d443707c
59f5d40754bebf76f0530d94eb4c723cba21a21b 1.8.1
38455e8ca91ca3c351a6d15bd9ec25070386fc6c 1.8.0
e75d42ddc3150c0e054c35cc8c5afcf523ed5702 1.7.0
547abc97d96ad9ab4ed6e5fb6acf4c05ae85b639 1.6.1
d21cb496b7373dcf5c7afcc373b7898cbe54019e 1.6.0
eb68e680f649bc7c2b6b2c3b8a4c7a664f52ecec 1.5.0
224ab3621c8c3745aa5af78f655b4676794d7a5f 1.4.0
8e10c7a7338d72b907ae72f77c03b06cbe8426af 1.3.0
11b5c36282407284122326c4d80cb7a6015ed825 1.3.0-snapshot.20200610.4413.0.11b5c362
1c18058f019229cd0af64669af0de31d0cec916d 1.2.0
trigger all releases from master (#6016) trigger all releases from master The 1.1.0 release went wrong and we had to trash it and release 1.1.1 instead. This is an attempt at identifying and correcting the root cause behind that incident. To understand the situation, we need to know how releases worked before 1.0. We had a one-line file called `LATEST` that specifies the git SHA and version tag for the latest release. A change to that file triggered a release with the specified release tag, built from the source tree of the specified commit. The `LATEST` file looked something like: ``` f050da78c9c8727b889bdac286156f19e2f938c4 1.0.0-snapshot.20200411.3905.0.f050da78 ``` To mark a release as stable, we would change it to look like this: ``` f050da78c9c8727b889bdac286156f19e2f938c4 1.0.0 ``` i.e. simply drop the `-snapshot...` suffix. Even though the commit (and thus the entire source tree we build from) is the same, we would need to rebuild almost all of our release artifacts, as they embed the version tag in various places and ways. That worked well as long as we could assume we were doing trunk-based development, i.e. all releases would always come from the same (`master`) branch. When we released 1.0, and started work on 1.1, we had a few bug reports for 1.0 that we decided should be resolved in a point release. We decided that the best way to handle that would be to have a branch starting on the release commit for 1.0, and then backport patches from `master` to that branch. We adapted our build process to also watch the `release/1.0.x` branch and, in particular, trigger a new release build if the `LATEST` file in that branch changed. That worked well. The plan going forward was to keep doing regular snapshot releases from the `master` branch, and create support, point releases ("patch" releases in semver) from dedicated branches. On April 30, we made a snapshot release as an RC for 1.1.0, by changing the `LATEST` file in the `master` branch. That release was built on commit 681c862d. On May 6, we decided to take a new snapshot as the RC for 1.1.0; we changed `LATEST` in `master` to designate 7e448d81 as the new latest release. On May 11, we noticed an issue that broke our builds. Without going into details, an external artifact we depend on had changed in incompatible ways. After fixing that on `master`, we reasoned that this would also break the build of the final 1.1.0 release if we just tried to build 7e448d81 again. But as the target release date was May 13, we did not want to take a new snapshot after that fix, as that would have included one more week of work in the release, and given us no time to test it. So we did what we did for the 1.0 branch, as it had worked well: we created a branch that forked from `master` at commit 7e448d81 and called it `release/1.1.x`, then cherry-picked the one fix to our build process to work around the broken download. When the time came to make the final 1.1.0 build on May 13, we naturally picked the `LATEST` file from the `release/1.1.x` branch and dropped the `-snapshot...` suffix. Importantly, we did not need to update the target commit to include the "broken download" fix as, in the meantime, the internet had fixed itself, and we thus reasoned we should go for the exact code of the RC rather than include an unnecessary, albeit seemingly harmless, change. Everything went well with the release process. Tests went well too. Then we got a report that an application that worked against the latest RC broke with the final 1.1.0. The issue was that we had built the wrong commit: by branching off at the point of the _target_ commit for the latest snapshot, we did not have the change to the `LATEST` file that designated that commit as the target. So the `LATEST` file in `release/1.1.x` was still pointing to 681c862d. I believe the root cause for this issue is the fact that we have scattered our release process over multiple branches, meaning there is no linear history of what was released and we are relying on people being able to mentally manage multiple timelines. Therefore, I propose to fix our release process so this should not happen again by linearizing the release process, i.e. getting back to a situation where all releases are made from a single branch, `master`. Because we do want to be able to release _for_ multiple release branches (to provide backports and bugfixes), we still need some way to accommodate that. Having a single `LATEST` file in the same format as before would not really work well: keeping track of interleaved release streams on a single file would not really be easier than keeping track of multiple branches. My proposed solution is to instead have a multiline LATEST file, so that all the release branch "tips" can be observed at the same time, and, as long as we take care to only advance one release branch at a time, we can easily keep track of each of them. This is what this PR does. This required a few changes to our release process. Most notably: - Obviously, as this is the main point of this PR, the build process has once again been restricted to only trigger new releases from the `master` branch. - As our CI machinery cannot easily be made to produce multiple releases from a single build, the `check_for_release` step will only recognize a commit as a release trigger if it changes a single line in the `LATEST` file. This restriction comes in addition to the existing one that a release commit is only allowed to change either just the `LATEST` file or both the `LATEST` and `docs/source/support/release-notes.rst` files. - The docs publication process has been changed to update _all_ published versions to display the _latest_ release notes page. This means that the release notes page will always show you all published versions, regardless of which version of the documentation you're looking at. This also means that interleaving release notes correctly on that page is a manual exercise. - As per the intention of the new process, the `LATEST` file has been updated to contained all existing post-1.0 stable releases. It should also include all existing snapshot releases should we have more than one at a time (say, should we discover an issue with 1.1.1 that required us to work on a 1.1.2). - The `release.sh` script has been dramatically simplified as I felt it was trying to do too much and porting its existing functionality to a multi-line `LATEST` file would be too hard. CHANGELOG_BEGIN CHANGELOG_END
2020-05-19 20:18:10 +03:00
7e448d810c1134c39afa2c555e85964b68976446 1.1.1
160936905d393a6f8fb35ea02ad6b3c401820dad 1.0.1
f050da78c9c8727b889bdac286156f19e2f938c4 1.0.0