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 2.0.0-snapshot.20220127.9042.0.4038d0a7 #12614

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

stefanobaghino-da
Copy link
Contributor

@stefanobaghino-da stefanobaghino-da commented Jan 27, 2022

@stefanobaghino-da is in charge of this release

changelog:

- [Daml Studio] The minimum supported vscode version is now 1.52.0.

- [Typescript Bindings] All methods for user management have been added to the bindings (createUser, deleteUser, getUser, listUsers, listUserRights, grantUserRight, revokeUserRight)

[Java bindings] Deprecate `DamlLedgerClient.Builder.withExpectedLedgerId`
Transaction Metering now persisted to database
- [Ledger API Test Tool] More command deduplication tests have been
  enabled by default. This should not affect testing a fully functioning
  ledger. If any tests fail, they can be temporarily excluded.

- [HTTP-JSON] Added endpoint /user/rights that if called with POST will return user rights of the user specified via the payload

- [HTTP-JSON] Added endpoints user/rights/grant & user/rights/revoke which allow granting & revoking user rights for a specific user

Add experimental Daml assistant support for ledger metering
[Java bindings] `DamlLedgerClient.forLedgerIdAndHost` and `DamlLedgerClient.forHostWithLedgerIdDiscovery` static methods
and the constructor taking a `ManagedChannel`, which were all deprecated since 0.13.38, have been removed.
- [Ledger API Test Tool] The retired test suites, ``LotsOfPartiesIT``
  and ``TransactionScaleIT``, have been removed in favor of more
  targeted benchmarking tests. If you are actively including these tests
  in your test run, you will need to remove them. These tests are
  disabled by default so it is likely that no change will be needed.
- [Ledger API Test Tool] The ``ParticipantPruningIT`` test case has
  been enabled by default. You may need to disable specific test cases
  accordingly.
Sandbox: Participant server now supports '--feature-user-management' flag to turn on or off user management feature.
- [Ledger API Test Tool] The ``MultiPartySubmissionIT`` test case has
  been enabled by default. You will most likely not need to change
  anything.
- [Ledger API Test Tool] The "ContractIdIT" test is now run by default,
  using ledger feature flags to determine which test cases are run. You
  will need to configure the ``StandaloneApiService`` accordingly.

commits:

346a61d79c0574f4a045d46b7e39a99217f44da4 release 2.0.0-snapshot.20220127.9042.0.4038d0a7
4038d0a7e3694305ba477cd9a4268400c39c20cd Fix VSCode extension (#12611)
13acf66da67d3576d42e007a5b6be28bdfd39e19 Point out to run release manual tests on Windows with the KV sandbox (#12608)
7305a8c297789506c9fcab96709565b250dace86 Color and typography edits (#12609)
4a6729eb703cc14c454794420d7a7fb01aa11ffe Fix a bug in user management caching (#12605)
3e16e5ec98b78503035cfc243ac93d0047e44f77 Handle ledger bridge Queue errors (#12510)
b1a917596c49925a6c291c25a1a0af23575f7c2e ci: reduce Windows capacity (#12607)
53edac1fd72a93c872a6734ef7c9d42ee24aa5cb Move some daml-script compat tests to sandbox-on-x (#12595)
6b902fdaafed955e7ba733c26e53adc955ea448a [TS-Bindings] Complete support for user management (#12576)
f04dcfad4ef559df28f1e503f39ec8cb5eb1c82d release 2.0.0-snapshot.20220126.9029.0.42cf70b1 (#12603)
403efa70ba3327fcffb36544cf6c1f3ce6fac5cf Add support for interfaces through data-dependencies (#12516)
ea62021eafb3ac1099ea579127d4ed0c976dd0cc Upgrade ghcide (#12579)
98e68427cb37b65b6431743850b75cb14e886d89 ci: pin Windows folders, step 1 (#12597)
01219d6cdcd3e19afe141d34dabfe337e23a8af8 ci: temporarily increase Windows capacity (#12599)
42cf70b18ec626a4294b25a2d2932f6b674c28cb ci: try to fix release process (#12600)
0579ebdd770ab0f6a8cbbd45a09726dc79e9daa7 Mark the `withExpectedLedgerId` method in `DamlLedgerClient.Builder` as deprecated (#12537)
deb7f3a628b9250630196b958336f00635e007f9 Move some trigger compat tests to sandbox-on-x (#12598)
5cdf9b95fb5ddafc08343e86e0bc5a57a00273f7 Remove some unecessary `implictly` with `Factory` (#12559)
9c3f1ce93a4ee15735d4c073d7e11233074dfae9 Drop dummy token from JSON API check (#12593)
3366c6f39b885ecebf7e61d117193b328c420887 compatibility: Exclude another command deduplication test. (#12592)
6b50abf1f7930d6b55d41afb20b22bd17c98111e release 2.0.0-snapshot.20220126.9013.0.54339ada (#12587)
ad7148b1d6f26e996d64048978be48d0131fe263 Tear down daml services gracefully (#12591)
16a4f0626b7604915a5ff8724a55ce7f7464d2a7 Avoid explicitly listing all Oracle tests in build.yml (#12594)
bc9fa282fe52c6d08e73b6857b88f2076b8fd068 Make ledger end non-optional (#12570)
122a487ac7c70ca04f3a4c1c1506bb385da09934 Fix static-time config in Canton (#12584)
7bcce7c1aab71aa0df87d4d1859eef17b0ece856 Upgrade rules-haskell (#12580)
159f38474e4c13e83365626ceb10214f7b0cf8a5 Drop 7zip from Windows dev-env (#12590)
215a63d55c8fcccd9db5a41a808f64154564ff86 correct deprecated options with newest synopsys-detect version (#12586)
84023ae1a03967b73403458658e24e4827f36fa8 update NOTICES file (#12589)
79864ef84f142da495281c915fee858cfff1700e Fix error codes for V1 cid rejections (#12571)
54339ada82342e04e7e4ebfd985c546b8c6ceb6c Safeguard Oracle CI tests with lockIdSeed [DPP-802] (#12573)
5cccec2fe31fcff83c1a9b74fd9ea1bfe3a096ae release: use-devenv (#12583)
90aacea36c6758fbf22ecd5b78fb2dd34a16a840 split-release (#12577)
cc19df44a832614caa38d6a69d298731a114bbf2 Persist transaction metering info [DPP-814,DPP-821] (#12274)
cb77c84cc76ee4abe00fc0c8e250225517cd6a49 damlc: Don't rely on worker for zero argument polymorphic type constructors (#12581)
ed33c0d5db7df914329791abb6e50830fc3f2af8 split: flat(ter) files in Artifactory (#12575)
e355832bc191b98c5ca42189d80703012970be8c split: do not push exe (#12574)
0afc4a5553f8c746d414f70569420036f89050c5 split: do not tag (#12569)
ebf79080079d48a580d8137b959649584b5f807c LF: check contracts are consumed when found them in the cache (#12527)
ce06eb00fbb0dfc21de92345eba4a53a94c6ae8d Add serializability check for interface payloads in Haskell (#12560)
aced78f0b4d383a693188d22f817b333728c1106 Drop dadew uninstall (#12566)
ac3ca1d20c5216dcc2489998d06fab73cb57f46e ledger-api-test-tool: Enable command deduplication tests by default [KVL-1261] (#12541)
5f58698ba6c60edc0843ee6fbb6dc440366ef37d [JSON-API] Add list-specific-users-rights, grant & revoke user rights endpoints (#12352)
42aadec073a7420fce4cf65c56a210b53d217ee1 Cleanup Haskell serializability check (#12565)
5d93eb93e8ca0ee42a598c201628c2b857b9300b Engine stacktraces are disabled by default (#12562)
42d86acd06857733694cd0ac405d7559701e48a1 [User management] Disabling user management in auth when user management feature is disabled [DPP-827] (#12503)
13153de88f456536594a53b3912cb32febbf7b89 update NOTICES file (#12564)
5bfe4ed58941c8982268112628e1e19940d8f3ba Wait for server process in client_server_test (#12551)
f1cd4b1c7c4c9fa0d96cf23043538c4d2d31a104 Remove dependencies on compatibility libraries (#12548)
dcd721da9939f2502b401c569f10b92179f2ede3 Drop scenarios (#12484)
170d839ed0183efd3e979fcfa3f52038190f00e2 Fix es (#12554)
8fa54c67ce32b1ef3a54a7ca83af653d9bb58254 Experimental daml assistant support for metering report [DPP-816] (#12485)
9802028380965d575be8edd7055f29a67d61712c Cut a new split release (#12547)
aec3390904ccc341648f4a9dc1761efb723d41b2 Replace silencer plugin with built-in warning configuration (#12543)
93cfe043f8523874e1603a56b6f3a2985f1bc103 Remove from the Java bindings constructors that were deprecated since 0.x (#12536)
8d65aa3b4d1e4209e498c920bc26f86ea5c691a2 Remove Sandbox classic stores and related unit tests (#12532)
24b2325d19125c5cadc7096d16a35229b51ae342 Bump node-fetch to address dependabot alerts (#12553)
fdb034ca948972099ec96ebab8d92f27c925a26f split-release: Canton dependencies to public GCS (#12552)
3f8ec07bdfb6dd40655722d4c2feab07704edf96 Upgrade to the latest Canton snapshot (#12544)
8692d80b33e8e3a6557aea49f5db0d9559fb8116 Fix trigger compat test for canton sandbox (#12549)
3ea8aded13685972427a23b7447fca927af68da8 LF: Test evaluation order of exercise and exercise_by_key (#12519)
36f8d67c599ec6e5fa2ac485d9ae7b647670d7e2 Upgrade `css-loader` to 5.2.7 (#12550)
a150737d170fe2589a870e1f99e70a830419f3a4 Upgrade msys2 (#12545)
01447fd48969c8a838e85cd712a7c4ba649847e4 docs: typos and minor clarification for authz docs (#12534)
fbf244e2f8df3938e27d761314d213eb0c95bd45 alert on invalid users in create-daml-app (#12518)
f2b4abe187e982519ec8cf2ee2a8a3992c70220f update NOTICES file (#12542)
bd0ae0239b69ee0078ec5a18447092c159ceda86 Startup initialization header for runners [DPP-860] (#12525)
15c0ad7efa1724b06cd8c8abe249f756576a4b76 Migration DB unit testing for PostgreSQL v111 to v116 [DPP-756] (#12517)
7218e6f95dfd05670158e2afa3fcf6795f363f2e ledger-api-test-tool: Remove retired tests. (#12535)
cbb4986e8905cb6637d34048c41b988c1e115585 Add Empty GRPC Metering Report Service [DPP-856] (#12515)
4d26f0899eb887cfd4321052773b277d04fce5a0 ledger-api-test-tool: Enable ParticipantPruningIT for everyone. [KVL-1261] (#12529)
3044958cdfa9efe06f2ccd898339b81b0fb27f1f ledger-api-test-tool: Remove deprecated options. (#12533)
5ab9eae033afbfb2e2fa7321484f4d15ae4f8146 Make mutable-contract-state-cache the default and only option (#12528)
89d95e6d6c403a6e9555842ea2b2d76719090fa3 user management: allow ':' in user ids (#12531)
f5d7821ace6cad3da43838858955ea919202c28f compatibility: Disable MultiParticipantIT for old versions. (#12526)
2deeabf3fac6ec6d75f9d779f4acde1c0dacc56b [User management] Add feature flag to enable user management [DPP-827] (#12420)
b8431175012cf8dc4ea4e131aa10e0ff3f648035 Drop feature flag for v0 cid support (#12522)
73277f4210f39d1cb3e32b84ce79b80c72177cbd Upgrade to oracle 19.14 image for ci (#12523)
cdde8df9fd32bd575689b83b4ada5ddf8a1d7891 ledger-api-test-tool: Add assertions and a test case for successful completions when converting deduplication durations to offsets [KVL-1220] (#12462)
2267d1a15d3927f29b4829f63ac219076d4376e4 sandbox-classic uses Sandbox-on-X internals [DPP-860] (#12466)
20cda0181a83979900e8c6603106dad6d24c46c7 specify that deduplication offsets are exclusive (#12488)
e9e1b06da558101b06ffc4b1c6d593c262a20f23 ledger-api-test-tool: Enable `MultiPartySubmissionIT` for everyone. [KVL-1261] (#12500)
a5f56e0671feb14235d72e6226dd61137488877e Use canton sandbox in script+trigger compat tests (#12514)
9c03e7908bbd85ab1f8686cc581d49cc93beea92 Build create-daml-app with -Werror (#12513)
688f1e1e0b4818c1f918199dfe11ab38de4a1f61 Drop v0 contract ids (#12464)
c35d34db3da262ebe20e203973883eea56db8393 Remove ResetService from the grpc documentation (#12512)
eb618935ffac10a82f6ea0b588dcf106846bdf0b resources: Remove ResettableResourceOwner. (#12499)
7880d5416deb456dfe62bc35737afdb8e5764d88 Add --port-file and --dar flags in daml sandbox (#12505)
3c8a6468fb16719f5a70195a9e70eac6f4605dc0 Tell users to use --install-assistant=yes (#12507)
36536fabfa3f429bd1605693425fc362604d839f LF: Test evaluation order of lookup_by_key (#12494)
ad7ce54075366f2b1509adce048fdf932e57e26a participant-integration-api: Factor out feature flags into a class. (#12496)
4d698c111a8b5cf5f0690a42b1aeb1b535fee0c7 Update windows testing instructions (#12504)
0f8e40c92d9853d10fd936c6a7934c7b0cf5cd25 user management: add reference docs (#12398)
96b8651863cebbe961d60d6b3bab8685a2ce2a2e Drop orphaned vim syntax files (#12502)
a6444065394eb9d9c9e3e76dcea7eb1aa4847b2a Avoid stale DAML_SDK_VERSION_LATEST in assistant (#12493)
7a1b37c1a142835f146467b8fce3f0b88993e8db [User management] Nullable primary_party and for_party (#12419)
cd30f017795e35c445441359fc16c796091e0821 update NOTICES file (#12498)
b11f11bde0a397cdaae5c43adf2035af36f35830 Drop support for no seeding in sandbox-classic (#12495)
5d2be1e1fd3b7f1c657b59aabea11f9ade661fbe ledger-api-test-tool-on-canton: Use `join` to clean up exclusions. (#12497)
072d57a831a03188162b53b14641e62e8497173f DPP-553 Consistently use anorm string interpolation (#12266)
f03fa6a5f178fb381f64dae5927cae9c4e0a2a17 ledger-api-test-tool: Govern ContractIdIT test runs through a feature. (#12454)
dd4fc1f755a3e60a1a80f8fb7236501b8dd90580 split release (#12492)
de2a8c0c049082f48b9a5b8e54a5943acbefbeff ci: use service account for Windows nodes (#12489)
644efd155d6d64f1426c54e99d7995292875e751 Lower log level to warn (#12490)

changelog_begin
changelog_end

Pull Request Checklist

  • Read and understand the contribution guidelines
  • Include appropriate tests
  • Set a descriptive title and thorough description
  • Add a reference to the issue this PR will solve, if appropriate
  • Include changelog additions in one or more commit message bodies between the CHANGELOG_BEGIN and CHANGELOG_END tags
  • Normal production system change, include purpose of change in description
  • If you mean to change the status of a component, please make sure you keep the Component Status page up to date.

NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with /AzurePipelines run to
trigger the build.

@stefanobaghino-da is in charge of this release

changelog:
```
- [Daml Studio] The minimum supported vscode version is now 1.52.0.

- [Typescript Bindings] All methods for user management have been added to the bindings (createUser, deleteUser, getUser, listUsers, listUserRights, grantUserRight, revokeUserRight)

[Java bindings] Deprecate `DamlLedgerClient.Builder.withExpectedLedgerId`
Transaction Metering now persisted to database
- [Ledger API Test Tool] More command deduplication tests have been
  enabled by default. This should not affect testing a fully functioning
  ledger. If any tests fail, they can be temporarily excluded.

- [HTTP-JSON] Added endpoint /user/rights that if called with POST will return user rights of the user specified via the payload

- [HTTP-JSON] Added endpoints user/rights/grant & user/rights/revoke which allow granting & revoking user rights for a specific user

Add experimental Daml assistant support for ledger metering
[Java bindings] `DamlLedgerClient.forLedgerIdAndHost` and `DamlLedgerClient.forHostWithLedgerIdDiscovery` static methods
and the constructor taking a `ManagedChannel`, which were all deprecated since 0.13.38, have been removed.
- [Ledger API Test Tool] The retired test suites, ``LotsOfPartiesIT``
  and ``TransactionScaleIT``, have been removed in favor of more
  targeted benchmarking tests. If you are actively including these tests
  in your test run, you will need to remove them. These tests are
  disabled by default so it is likely that no change will be needed.
- [Ledger API Test Tool] The ``ParticipantPruningIT`` test case has
  been enabled by default. You may need to disable specific test cases
  accordingly.
Sandbox: Participant server now supports '--feature-user-management' flag to turn on or off user management feature.
- [Ledger API Test Tool] The ``MultiPartySubmissionIT`` test case has
  been enabled by default. You will most likely not need to change
  anything.
- [Ledger API Test Tool] The "ContractIdIT" test is now run by default,
  using ledger feature flags to determine which test cases are run. You
  will need to configure the ``StandaloneApiService`` accordingly.
```

commits:
```
346a61d79c0574f4a045d46b7e39a99217f44da4 release 2.0.0-snapshot.20220127.9042.0.4038d0a7
4038d0a Fix VSCode extension (#12611)
13acf66 Point out to run release manual tests on Windows with the KV sandbox (#12608)
7305a8c Color and typography edits (#12609)
4a6729e Fix a bug in user management caching (#12605)
3e16e5e Handle ledger bridge Queue errors (#12510)
b1a9175 ci: reduce Windows capacity (#12607)
53edac1 Move some daml-script compat tests to sandbox-on-x (#12595)
6b902fd [TS-Bindings] Complete support for user management (#12576)
f04dcfa release 2.0.0-snapshot.20220126.9029.0.42cf70b1 (#12603)
403efa7 Add support for interfaces through data-dependencies (#12516)
ea62021 Upgrade ghcide (#12579)
98e6842 ci: pin Windows folders, step 1 (#12597)
01219d6 ci: temporarily increase Windows capacity (#12599)
42cf70b ci: try to fix release process (#12600)
0579ebd Mark the `withExpectedLedgerId` method in `DamlLedgerClient.Builder` as deprecated (#12537)
deb7f3a Move some trigger compat tests to sandbox-on-x (#12598)
5cdf9b9 Remove some unecessary `implictly` with `Factory` (#12559)
9c3f1ce Drop dummy token from JSON API check (#12593)
3366c6f compatibility: Exclude another command deduplication test. (#12592)
6b50abf release 2.0.0-snapshot.20220126.9013.0.54339ada (#12587)
ad7148b Tear down daml services gracefully (#12591)
16a4f06 Avoid explicitly listing all Oracle tests in build.yml (#12594)
bc9fa28 Make ledger end non-optional (#12570)
122a487 Fix static-time config in Canton (#12584)
7bcce7c Upgrade rules-haskell (#12580)
159f384 Drop 7zip from Windows dev-env (#12590)
215a63d correct deprecated options with newest synopsys-detect version (#12586)
84023ae update NOTICES file (#12589)
79864ef Fix error codes for V1 cid rejections (#12571)
54339ad Safeguard Oracle CI tests with lockIdSeed [DPP-802] (#12573)
5cccec2 release: use-devenv (#12583)
90aacea split-release (#12577)
cc19df4 Persist transaction metering info [DPP-814,DPP-821] (#12274)
cb77c84 damlc: Don't rely on worker for zero argument polymorphic type constructors (#12581)
ed33c0d split: flat(ter) files in Artifactory (#12575)
e355832 split: do not push exe (#12574)
0afc4a5 split: do not tag (#12569)
ebf7908 LF: check contracts are consumed when found them in the cache (#12527)
ce06eb0 Add serializability check for interface payloads in Haskell (#12560)
aced78f Drop dadew uninstall (#12566)
ac3ca1d ledger-api-test-tool: Enable command deduplication tests by default [KVL-1261] (#12541)
5f58698 [JSON-API] Add list-specific-users-rights, grant & revoke user rights endpoints (#12352)
42aadec Cleanup Haskell serializability check (#12565)
5d93eb9 Engine stacktraces are disabled by default (#12562)
42d86ac [User management] Disabling user management in auth when user management feature is disabled [DPP-827] (#12503)
13153de update NOTICES file (#12564)
5bfe4ed Wait for server process in client_server_test (#12551)
f1cd4b1 Remove dependencies on compatibility libraries (#12548)
dcd721d Drop scenarios (#12484)
170d839 Fix es (#12554)
8fa54c6 Experimental daml assistant support for metering report [DPP-816] (#12485)
9802028 Cut a new split release (#12547)
aec3390 Replace silencer plugin with built-in warning configuration (#12543)
93cfe04 Remove from the Java bindings constructors that were deprecated since 0.x (#12536)
8d65aa3 Remove Sandbox classic stores and related unit tests (#12532)
24b2325 Bump node-fetch to address dependabot alerts (#12553)
fdb034c split-release: Canton dependencies to public GCS (#12552)
3f8ec07 Upgrade to the latest Canton snapshot (#12544)
8692d80 Fix trigger compat test for canton sandbox (#12549)
3ea8ade LF: Test evaluation order of exercise and exercise_by_key (#12519)
36f8d67 Upgrade `css-loader` to 5.2.7 (#12550)
a150737 Upgrade msys2 (#12545)
01447fd docs: typos and minor clarification for authz docs (#12534)
fbf244e alert on invalid users in create-daml-app (#12518)
f2b4abe update NOTICES file (#12542)
bd0ae02 Startup initialization header for runners [DPP-860] (#12525)
15c0ad7 Migration DB unit testing for PostgreSQL v111 to v116 [DPP-756] (#12517)
7218e6f ledger-api-test-tool: Remove retired tests. (#12535)
cbb4986 Add Empty GRPC Metering Report Service [DPP-856] (#12515)
4d26f08 ledger-api-test-tool: Enable ParticipantPruningIT for everyone. [KVL-1261] (#12529)
3044958 ledger-api-test-tool: Remove deprecated options. (#12533)
5ab9eae Make mutable-contract-state-cache the default and only option (#12528)
89d95e6 user management: allow ':' in user ids (#12531)
f5d7821 compatibility: Disable MultiParticipantIT for old versions. (#12526)
2deeabf [User management] Add feature flag to enable user management [DPP-827] (#12420)
b843117 Drop feature flag for v0 cid support (#12522)
73277f4 Upgrade to oracle 19.14 image for ci (#12523)
cdde8df ledger-api-test-tool: Add assertions and a test case for successful completions when converting deduplication durations to offsets [KVL-1220] (#12462)
2267d1a sandbox-classic uses Sandbox-on-X internals [DPP-860] (#12466)
20cda01 specify that deduplication offsets are exclusive (#12488)
e9e1b06 ledger-api-test-tool: Enable `MultiPartySubmissionIT` for everyone. [KVL-1261] (#12500)
a5f56e0 Use canton sandbox in script+trigger compat tests (#12514)
9c03e79 Build create-daml-app with -Werror (#12513)
688f1e1 Drop v0 contract ids (#12464)
c35d34d Remove ResetService from the grpc documentation (#12512)
eb61893 resources: Remove ResettableResourceOwner. (#12499)
7880d54 Add --port-file and --dar flags in daml sandbox (#12505)
3c8a646 Tell users to use --install-assistant=yes (#12507)
36536fa LF: Test evaluation order of lookup_by_key (#12494)
ad7ce54 participant-integration-api: Factor out feature flags into a class. (#12496)
4d698c1 Update windows testing instructions (#12504)
0f8e40c user management: add reference docs (#12398)
96b8651 Drop orphaned vim syntax files (#12502)
a644406 Avoid stale DAML_SDK_VERSION_LATEST in assistant (#12493)
7a1b37c [User management] Nullable primary_party and for_party (#12419)
cd30f01 update NOTICES file (#12498)
b11f11b Drop support for no seeding in sandbox-classic (#12495)
5d2be1e ledger-api-test-tool-on-canton: Use `join` to clean up exclusions. (#12497)
072d57a DPP-553 Consistently use anorm string interpolation (#12266)
f03fa6a ledger-api-test-tool: Govern ContractIdIT test runs through a feature. (#12454)
dd4fc1f split release (#12492)
de2a8c0 ci: use service account for Windows nodes (#12489)
644efd1 Lower log level to warn (#12490)
```

changelog_begin
changelog_end
Copy link
Contributor

@cocreature cocreature left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@stefanobaghino-da stefanobaghino-da enabled auto-merge (squash) January 27, 2022 08:15
@stefanobaghino-da stefanobaghino-da merged commit 5810c25 into main Jan 27, 2022
@stefanobaghino-da stefanobaghino-da deleted the ste/release-pr-2022-01-27 branch January 27, 2022 11:07
@stefanobaghino-da
Copy link
Contributor Author

Manual tests passed on Windows.

@stefanobaghino-da
Copy link
Contributor Author

Manual tests passed on Linux.

azure-pipelines bot pushed a commit that referenced this pull request Feb 2, 2022
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.

@adriaanm-da is in charge of this release.

Commit log:
```
5390505 Remove participant-side command deduplication [DPP-848] (#12677)
85f2690 split release (#12700)
ed1bf24 LF: Check activeness of cached contracts inside FetchInterface (#12698)
aa2494f Speedy: check contract type after checking if they are consumed (#12691)
183f936 LF: Imporve safety of the Serialization of proto message. (#12686)
b4ed15b Changed product names in the documentation (#12668)
5caaf1f Switch github urls from zip to tar.gz (#12692)
6cdda6f Metering report [DPP-817] (#12604)
716cc22 Deduplication offset period errors handled in Sandbox-on-X [DPP-872] (#12652)
e4764cc Upgrade to GHC 9.0.2 (#12300)
1238e1b Update profiling documentation to Canton sandbox (#12680)
f1c7e9e Drop `daml ledger navigator` in favor of `daml navigator` (#12669)
7731324 Drop profile-dir validation for sandbox-kv (#12671)
1fa095a match Foldable.foldl1's argument order to DA.List.foldl1's order (#12685)
06b63e9 update NOTICES file (#12688)
2ac76fd LF: Gracefully handle serialization error of Values beyond 2GB (#12638)
0494731 Adjust response type for script JSON API user mgmt requests (#12683)
7aabc49 Update OpenTelemetry from 0.16.0 to 1.1.0 [KVL-1256] (#12568)
117c920 Bump sandbox-on-x-it-tests size (#12681)
100c59f [JSON-API] Docs for user management endpoints (#12432)
92938d5 Moved com.daml.platform.sandbox to com.daml.ledger.sandbox in SoX (#12675)
8d5d3bd [JSON-API] User management endpoint adjustments (#12578)
54c427f Expose documentation for user-management functions in daml-script. (#12674)
c1afabe [participant-state] Add earliest_offset metadata to pruned data error [kvl-1270] (#12546)
ef18bf4 DEV all caps needed to exclude dev dependencies (#12679)
3d3d84f User management in daml-script over json API (#12646)
182edde [compatiblity tests] Limit the exclusion to versions that have the CommandDeduplication:Participant* tests (#12660)
f08dfa3 Bump terraform (#12670)
366cd89 Add new interface serializability tests (#12666)
84cec38 Upgrade ghc-lib (#12664)
d215a01 Enable user management for the Canton sandbox (#12667)
bb5722c Move sandbox-classic test lib and IT tests to Sandbox-on-x (#12641)
c9a65d1 update NOTICES file (#12659)
1fa7f61 ci: pin workdirs on Windows (#12645)
dcbb398 Typecheck experimental primitives in damlc (#12650)
0d5443f Drop direct dependencies on system-filepath (#12658)
49f37b8 Allow defining ledger-begin and ledger-end offset conditions in ledger-api-bench-tool [DPP-836] (#12521)
f1560ce Support `implements` qualified interfaces (#12644)
20836b1 Address CVE-2022-0355 alert, resolve `simple-get` to 4.0.1 (#12655)
49e6646 Clean up unstable-types test (#12648)
214951e Fix log string interpolation in AkkaExecutionSequencer (#12647)
c72c27c [User management] Terminate ongoing streams when user state has changed [DPP-830] (#12437)
35eae89 Compiler: expose LF builtin ExerciseByKey (#12615)
dfdb7ce Remove DA.Generics (#12634)
14f43e4 update NOTICES file (#12642)
cfa8d30 [Sandbox-on-X] Ledger-side in-memory command deduplication [DPP-872] (#12596)
7567cf5 Add scala serializability checks for interfaces (#12631)
39a421e Drop unused silencer variable (#12640)
4ec336d [User management] Enforce 1k user rights limit [DPP-833] (#12558)
16a13e2 Remove redundant conformance tests from ledger-on-sql (#12639)
0610a44 daml-react: add an useUser hook (#12622)
579fb20 Reenable Canton contract id tests (#12637)
60a0f03 Hide primitiveInterface from docs (#12635)
536e493 Bump canton to latest snapshot (#12633)
613e070 Wrap client instead of runner in script test (#12630)
d5ede55 Turn name collision warnings for virtual modules into errors (#12627)
d5ae82d Bump cached-path-relative from 1.0.2 to 1.1.0 (#12632)
f4c2862 Split release 2022-01-27 (#12624)
9e5425e update NOTICES file (#12613)
fcb6124 Simplify Nix GHC derivation (#12620)
5a47223 ledger-on-memory: Do not create iterators on a mutable log. (#12626)
d2216b3 Clean up unused test and unnecessary flags in ledger-on-sql tests (#12623)
345e267 create-daml-app: Use alias templates for display names (#12390)
2e3ae0d Disable ghcide snapshot on Windows (#12621)
e55622e Remove a bunch of ledger-on-memory tests (#12618)
f5c9a67 Remove DA.Experimental.Interfaces (#12619)
5810c25 release 2.0.0-snapshot.20220127.9042.0.4038d0a7 (#12614)
f396da5 Run ledger-api-test-tool tests on ledger-on-sql with PostgreSQL (#12616)
89ce7d0 Remove conflict-checking logic from JdbcLedgerDao [DPP-808] (#12555)
```
Changelog:
```
with experimental support for non-aggregated metering reporting
- [Daml Standard Library] An argument order in the default
  implementation of ``Foldable.foldl1`` was reversed from that of
  ``DA.List.foldl1``; this incompatibly changes the former to match the
  latter.

- [HTTP-JSON] Added documentation for the new user management endpoints

- [HTTP-JSON] Adjusted the response for the createUser & deleteUser endpoint to an empty object instead of "true". This was done to allow possible future extensions to the return type without applying breaking changes.
- [HTTP-JSON] Made the field rights optional for the request body of the createUser endpoint. Now it is possible to create a user with just the userId (i.e. { "userId": "nice.user" }).

- [Integration Kit] - ledger-api-bench-tool allow to define ledger-begin and ledger-end offset boundaries for streams.
Ledger API Specification: When using user management based authorization streams will now get aborted on authenticated user's rights change.
- [Daml Standard Library] The DA.Generics module has been removed.
Ledger API Specification: Maximum number of user rights per user is now limited to 1000 and is added to UserManagementFeature in VersionService. getLedgerApiVersion endpoint.
[daml-react] A `useUser` react hook is added to the daml-react
TypeScript library. It allows for easy access to the currently logged in
user of a ledger participant node for ledgers supporting user
management.
```

CHANGELOG_BEGIN
CHANGELOG_END
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.

2 participants