release 2.0.0-snapshot.20220127.9042.0.4038d0a7 (#12614)

@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
4038d0a7e3 Fix VSCode extension (#12611)
13acf66da6 Point out to run release manual tests on Windows with the KV sandbox (#12608)
7305a8c297 Color and typography edits (#12609)
4a6729eb70 Fix a bug in user management caching (#12605)
3e16e5ec98 Handle ledger bridge Queue errors (#12510)
b1a917596c ci: reduce Windows capacity (#12607)
53edac1fd7 Move some daml-script compat tests to sandbox-on-x (#12595)
6b902fdaaf [TS-Bindings] Complete support for user management (#12576)
f04dcfad4e release 2.0.0-snapshot.20220126.9029.0.42cf70b1 (#12603)
403efa70ba Add support for interfaces through data-dependencies (#12516)
ea62021eaf Upgrade ghcide (#12579)
98e68427cb ci: pin Windows folders, step 1 (#12597)
01219d6cdc ci: temporarily increase Windows capacity (#12599)
42cf70b18e ci: try to fix release process (#12600)
0579ebdd77 Mark the `withExpectedLedgerId` method in `DamlLedgerClient.Builder` as deprecated (#12537)
deb7f3a628 Move some trigger compat tests to sandbox-on-x (#12598)
5cdf9b95fb Remove some unecessary `implictly` with `Factory` (#12559)
9c3f1ce93a Drop dummy token from JSON API check (#12593)
3366c6f39b compatibility: Exclude another command deduplication test. (#12592)
6b50abf1f7 release 2.0.0-snapshot.20220126.9013.0.54339ada (#12587)
ad7148b1d6 Tear down daml services gracefully (#12591)
16a4f0626b Avoid explicitly listing all Oracle tests in build.yml (#12594)
bc9fa282fe Make ledger end non-optional (#12570)
122a487ac7 Fix static-time config in Canton (#12584)
7bcce7c1aa Upgrade rules-haskell (#12580)
159f38474e Drop 7zip from Windows dev-env (#12590)
215a63d55c correct deprecated options with newest synopsys-detect version (#12586)
84023ae1a0 update NOTICES file (#12589)
79864ef84f Fix error codes for V1 cid rejections (#12571)
54339ada82 Safeguard Oracle CI tests with lockIdSeed [DPP-802] (#12573)
5cccec2fe3 release: use-devenv (#12583)
90aacea36c split-release (#12577)
cc19df44a8 Persist transaction metering info [DPP-814,DPP-821] (#12274)
cb77c84cc7 damlc: Don't rely on worker for zero argument polymorphic type constructors (#12581)
ed33c0d5db split: flat(ter) files in Artifactory (#12575)
e355832bc1 split: do not push exe (#12574)
0afc4a5553 split: do not tag (#12569)
ebf7908007 LF: check contracts are consumed when found them in the cache (#12527)
ce06eb00fb Add serializability check for interface payloads in Haskell (#12560)
aced78f0b4 Drop dadew uninstall (#12566)
ac3ca1d20c ledger-api-test-tool: Enable command deduplication tests by default [KVL-1261] (#12541)
5f58698ba6 [JSON-API] Add list-specific-users-rights, grant & revoke user rights endpoints (#12352)
42aadec073 Cleanup Haskell serializability check (#12565)
5d93eb93e8 Engine stacktraces are disabled by default (#12562)
42d86acd06 [User management] Disabling user management in auth when user management feature is disabled [DPP-827] (#12503)
13153de88f update NOTICES file (#12564)
5bfe4ed589 Wait for server process in client_server_test (#12551)
f1cd4b1c7c Remove dependencies on compatibility libraries (#12548)
dcd721da99 Drop scenarios (#12484)
170d839ed0 Fix es (#12554)
8fa54c67ce Experimental daml assistant support for metering report [DPP-816] (#12485)
9802028380 Cut a new split release (#12547)
aec3390904 Replace silencer plugin with built-in warning configuration (#12543)
93cfe043f8 Remove from the Java bindings constructors that were deprecated since 0.x (#12536)
8d65aa3b4d Remove Sandbox classic stores and related unit tests (#12532)
24b2325d19 Bump node-fetch to address dependabot alerts (#12553)
fdb034ca94 split-release: Canton dependencies to public GCS (#12552)
3f8ec07bdf Upgrade to the latest Canton snapshot (#12544)
8692d80b33 Fix trigger compat test for canton sandbox (#12549)
3ea8aded13 LF: Test evaluation order of exercise and exercise_by_key (#12519)
36f8d67c59 Upgrade `css-loader` to 5.2.7 (#12550)
a150737d17 Upgrade msys2 (#12545)
01447fd489 docs: typos and minor clarification for authz docs (#12534)
fbf244e2f8 alert on invalid users in create-daml-app (#12518)
f2b4abe187 update NOTICES file (#12542)
bd0ae0239b Startup initialization header for runners [DPP-860] (#12525)
15c0ad7efa Migration DB unit testing for PostgreSQL v111 to v116 [DPP-756] (#12517)
7218e6f95d ledger-api-test-tool: Remove retired tests. (#12535)
cbb4986e89 Add Empty GRPC Metering Report Service [DPP-856] (#12515)
4d26f0899e ledger-api-test-tool: Enable ParticipantPruningIT for everyone. [KVL-1261] (#12529)
3044958cdf ledger-api-test-tool: Remove deprecated options. (#12533)
5ab9eae033 Make mutable-contract-state-cache the default and only option (#12528)
89d95e6d6c user management: allow ':' in user ids (#12531)
f5d7821ace compatibility: Disable MultiParticipantIT for old versions. (#12526)
2deeabf3fa [User management] Add feature flag to enable user management [DPP-827] (#12420)
b843117501 Drop feature flag for v0 cid support (#12522)
73277f4210 Upgrade to oracle 19.14 image for ci (#12523)
cdde8df9fd ledger-api-test-tool: Add assertions and a test case for successful completions when converting deduplication durations to offsets [KVL-1220] (#12462)
2267d1a15d sandbox-classic uses Sandbox-on-X internals [DPP-860] (#12466)
20cda0181a specify that deduplication offsets are exclusive (#12488)
e9e1b06da5 ledger-api-test-tool: Enable `MultiPartySubmissionIT` for everyone. [KVL-1261] (#12500)
a5f56e0671 Use canton sandbox in script+trigger compat tests (#12514)
9c03e7908b Build create-daml-app with -Werror (#12513)
688f1e1e0b Drop v0 contract ids (#12464)
c35d34db3d Remove ResetService from the grpc documentation (#12512)
eb618935ff resources: Remove ResettableResourceOwner. (#12499)
7880d5416d Add --port-file and --dar flags in daml sandbox (#12505)
3c8a6468fb Tell users to use --install-assistant=yes (#12507)
36536fabfa LF: Test evaluation order of lookup_by_key (#12494)
ad7ce54075 participant-integration-api: Factor out feature flags into a class. (#12496)
4d698c111a Update windows testing instructions (#12504)
0f8e40c92d user management: add reference docs (#12398)
96b8651863 Drop orphaned vim syntax files (#12502)
a644406539 Avoid stale DAML_SDK_VERSION_LATEST in assistant (#12493)
7a1b37c1a1 [User management] Nullable primary_party and for_party (#12419)
cd30f01779 update NOTICES file (#12498)
b11f11bde0 Drop support for no seeding in sandbox-classic (#12495)
5d2be1e1fd ledger-api-test-tool-on-canton: Use `join` to clean up exclusions. (#12497)
072d57a831 DPP-553 Consistently use anorm string interpolation (#12266)
f03fa6a5f1 ledger-api-test-tool: Govern ContractIdIT test runs through a feature. (#12454)
dd4fc1f755 split release (#12492)
de2a8c0c04 ci: use service account for Windows nodes (#12489)
644efd155d Lower log level to warn (#12490)
```

changelog_begin
changelog_end
This commit is contained in:
Stefano Baghino 2022-01-27 12:07:00 +01:00 committed by GitHub
parent f396da5da7
commit 5810c25ce5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
LATEST
View File

@ -1,4 +1,4 @@
42cf70b18ec626a4294b25a2d2932f6b674c28cb 2.0.0-snapshot.20220126.9029.0.42cf70b1
4038d0a7e3694305ba477cd9a4268400c39c20cd 2.0.0-snapshot.20220127.9042.0.4038d0a7
ed33c0d5db7df914329791abb6e50830fc3f2af8 2.0.0-snapshot.20220125.9008.0.ed33c0d5 SPLIT_RELEASE
1724373fd395bb1fc604ea8628dce89110d1467f 1.18.1
2c945fcb3a2ca0972fbf8f222420b286f20b29e7 1.18.0