Commit Graph

246 Commits

Author SHA1 Message Date
Moritz Kiefer
de21dbf1ae
Release SDK 2.0.0 (#13110)
changelog_begin
changelog_end
2022-03-01 19:06:51 +00:00
Moritz Kiefer
1783146c9e
Release new 2.0.0 RC (#13096)
changelog_begin
changelog_end
2022-02-25 20:36:26 +00:00
Moritz Kiefer
99bd3d9095
Bump releases on main to 2.1.0 (#13035)
Our nightly snapshots pick up the top line here so cutting a release
to make sure that starting from tomorrow those will be labeled as
2.1.0. I won’t test this release so treat it the same as a nightly.

changelog_begin
changelog_end
2022-02-23 11:01:37 +00:00
Moritz Kiefer
a30b7b9dda
New split release including jdbc downgrade (#12843)
changelog_begin
changelog_end
2022-02-09 13:52:16 +00:00
Gary Verhaegen
c93bcd6295
split release (#12814)
This is an out-of-schedule releasee to get the breaking changes in
f2b7902c68 (#12682) in a PR so Canton can
build on it and make a release we can depend on to f i x #12808.

Or something like that.

CHANGELOG_BEGIN
CHANGELOG_END
2022-02-08 15:36:18 +00:00
Gary Verhaegen
b0d81e79f1
split: release (#12769)
Mostly to get a version with `info.json`, but I guess this could also be
used to get the ball rolling on that testing we want to do on Monday.

CHANGELOG_BEGIN
CHANGELOG_END
2022-02-04 17:30:20 +00:00
Gary Verhaegen
85f269004c
split release (#12700)
I want to try a complete release through the split process. We might as
well use a recent commit.

CHANGELOG_BEGIN
CHANGELOG_END
2022-02-01 20:55:40 +01:00
Moritz Kiefer
f4c2862e81
Split release 2022-01-27 (#12624)
Mostly just trying to make sure we don’t lag behind there and can test
the same stuff (as in not older, don’t care about the exact commit) in
Canton and the assembly repo that we have with the regular process.

changelog_begin
changelog_end
2022-01-27 15:27:09 +00:00
Stefano Baghino
5810c25ce5
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
2022-01-27 11:07:00 +00:00
Stefano Baghino
f04dcfad4e
release 2.0.0-snapshot.20220126.9029.0.42cf70b1 (#12603)
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.

@stefanobaghino-da is in charge of this release.

Commit log:
```
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)
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)
ebd3827c4a Make UserId properly opaque by defining it as a variant (#12476)
3159d60444 LF: more tests for evaluation order of fetch (#12471)
96f454acdd update compat versions for 1.18.1 (#12430)
82639a1360 Fix get-daml.sh installation script (#12487)
e222c35512 Enhance conformance test: ACS coverage [DPP-672] (#11334)
244389152f Remove /user/delete GET endpoint (#12486)
681f8fca6b Add missing serializability checks for interfaces (#12483)
7c59728146 Remove reset service support from the storage backend [DPP-804] (#12477)
f7e2faf5aa [User management] Addressing outstanding code review comments from https://github.com/digital-asset/daml/pull/12344# (#12479)
350fe5c1c6 Update RELEASE.md (#12481)
82534f9155 Remove the reset service from the ledger api and the documentation [DPP-804] (#12472)
4885e610e6 rotate release duty after 2.0.0-snapshot.20220118.8919.0.d0813e61 (#12468)
9518f15408 Fix sandbox on x compat test switch (#12478)
66494a26aa [User management] created_at and granted_at in Oracle (#12417)
6fbaac467f Remove user-management error cases from scenario-service proto. (#12460)
1f1e8bfe2e [DPP-829] Make ledger-id field optional in requests (#12243)
74e9efcc85 release 2.0.0-snapshot.20220118.8919.0.d0813e61 (#12467)
d0cbccb4d3 Explicitly name coalesced columns (#12377)
954bc5e0d4 Remove the reset service from sandbox-classic and sandbox [DPP-804] (#12448)
e40c221b8e Fix compatibility tests. (#12465)
```
Changelog:
```
[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.

- [HTTP-JSON] Removed the /user/delete GET endpoint. Please use the /user/delete POST endpoint with the own user ID if you need to delete the user associated with the current token

Remove reset service from the ledger api protocol and the documentation
The field "ledger_id" in all request to Participant API is now optional (was required).
Reset service has been removed from the sandbox-classic, sandbox and daml-on-sql
```

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-26 16:37:25 +00:00
azure-pipelines[bot]
6b50abf1f7
release 2.0.0-snapshot.20220126.9013.0.54339ada (#12587)
* release 2.0.0-snapshot.20220126.9013.0.54339ada

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:
```
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)
ebd3827c4a Make UserId properly opaque by defining it as a variant (#12476)
3159d60444 LF: more tests for evaluation order of fetch (#12471)
96f454acdd update compat versions for 1.18.1 (#12430)
82639a1360 Fix get-daml.sh installation script (#12487)
e222c35512 Enhance conformance test: ACS coverage [DPP-672] (#11334)
244389152f Remove /user/delete GET endpoint (#12486)
681f8fca6b Add missing serializability checks for interfaces (#12483)
7c59728146 Remove reset service support from the storage backend [DPP-804] (#12477)
f7e2faf5aa [User management] Addressing outstanding code review comments from https://github.com/digital-asset/daml/pull/12344# (#12479)
350fe5c1c6 Update RELEASE.md (#12481)
82534f9155 Remove the reset service from the ledger api and the documentation [DPP-804] (#12472)
4885e610e6 rotate release duty after 2.0.0-snapshot.20220118.8919.0.d0813e61 (#12468)
9518f15408 Fix sandbox on x compat test switch (#12478)
66494a26aa [User management] created_at and granted_at in Oracle (#12417)
6fbaac467f Remove user-management error cases from scenario-service proto. (#12460)
1f1e8bfe2e [DPP-829] Make ledger-id field optional in requests (#12243)
74e9efcc85 release 2.0.0-snapshot.20220118.8919.0.d0813e61 (#12467)
d0cbccb4d3 Explicitly name coalesced columns (#12377)
954bc5e0d4 Remove the reset service from sandbox-classic and sandbox [DPP-804] (#12448)
e40c221b8e Fix compatibility tests. (#12465)
```
Changelog:
```
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.

- [HTTP-JSON] Removed the /user/delete GET endpoint. Please use the /user/delete POST endpoint with the own user ID if you need to delete the user associated with the current token

Remove reset service from the ledger api protocol and the documentation
The field "ledger_id" in all request to Participant API is now optional (was required).
Reset service has been removed from the sandbox-classic, sandbox and daml-on-sql
```

CHANGELOG_BEGIN
CHANGELOG_END

* bump release commit

changelog_begin
changelog_end

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2022-01-26 12:33:11 +01:00
Gary Verhaegen
90aacea36c
split-release (#12577)
The main goal here is to discover how I screwed up in #12574 and #12575.

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-25 19:11:41 +00:00
Moritz Kiefer
9802028380
Cut a new split release (#12547)
* Cut a new split release

I want one including the latest docs tweaks so I can pick them up in
the assembly repo.

changelog_begin
changelog_end

* bump to include msys fix

changelog_begin
changelog_end
2022-01-24 16:23:35 +01:00
Gary Verhaegen
dd4fc1f755
split release (#12492)
CHANGELOG_BEGIN
CHANGELOG_END
2022-01-19 20:09:03 +00:00
azure-pipelines[bot]
74e9efcc85
release 2.0.0-snapshot.20220118.8919.0.d0813e61 (#12467)
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.

@garyverhaegen-da is in charge of this release.

Commit log:
```
d0813e61f1 Factor out version check in docs cron (#12459)
ca3b11ce85 Upgrade H2 to v2.1.210 (#12461)
eb2281dd73 Move more docs post processing to non-sphinx docs (#12463)
83b99bace5 [ledger-api-test-tool] - Add test cases for invalid deduplication periods [KVL-1222] (#12434)
995c8bdfe3 Unpin the `self-signed` resolution (#12446)
01b0b76807 Support split releases in the docs cronjob (#12456)
4fe6e53b9d [User management] Persistence with caching (#12344)
f07791e580 Upgrade typescript and typedoc (#12457)
2640bc6ab7 user management: require appropriate scope in user access tokens (#12428)
0c13a4f1fd Error handling for User Management exposed via daml-script (#12416)
530509afa5 Add sanity check in quickstart-java assistant test (#12455)
2500d4fd9f Make quickstart-java template work with canton sandbox. (#12453)
25ddfcdcb4 LF: Add tests for evaluation order on fetches (#12411)
430f86b4c2 Make skeleton template work with canton sandbox (#12451)
4af48bbccc Split channel configuration from LedgerClientConfiguration (#12433)
b988a3c47e Use --sandbox-kv in create-daml-app release tests. (#12450)
27bfd40365 Split Daml cron executable into separate modules (#12449)
b2a7f9e640 Change default sandbox to canton (#12438)
ab16a545ef update NOTICES file (#12447)
e6fe718090 trigger split-release (#12444)
69a8b6797e Fix reported vulnerabilities (#12443)
b996e5e3fa Support user tokens in Daml Script over JSON API (#12368)
36a93ef0bf try to fix paths in split-release (#12442)
5922df63f2 trigger split-release (#12436)
98c9461b72 Remove usages of `Flowable.fromFuture` and `Single.fromFuture` (#12425)
502b21f830 split-release: publish temp files to artifactory (#12435)
bf39f4890c Upgrade vsce and markdown-it (#12431)
e5b400d667 [Sandbox-on-X unit test] PrepareSubmissionSpec (#12383)
5a7b2bae12 ledger-api - Rename error method to invalidDeduplicationPeriod [KVL-1222] (#12424)
553ce22f95 ledger-api-test-tool: Add assertions for deduplication period, use them in existing tests [KVL-1220] (#12250)
29ba8e6433 Drop sandbox classic from the SDK tarball (#12410)
93aa5abef3 Upgrade to NodeJS 14 (#12429)
a0aee0f248 Rename daml sandbox to daml sandbox-kv (#12394)
8baaf729ac Migrate migration tests to Sandbox on X (#12407)
903f47391b kvutils - Handle deduplication periods specified by offsets > ledger end [KVL-1222] (#12423)
6a3ef80312 [Sandbox-on-X unit test] SequencerStateSpec [DPP-841] (#12380)
6d6b433d0a Bump shelljs from 0.8.4 to 0.8.5 in /language-support/ts/packages (#12426)
84d413ec0b Release SDK 1.18.1 (#12415)
952a939620 Bump follow-redirects from 1.14.0 to 1.14.7 in /navigator/frontend (#12418)
d9806f219c [Sandbox-on-X unit test] SequenceSpec [DPP-841] (#12362)
0eb500dc94 update NOTICES file (#12413)
27b8ca0f17 Publish Sandbox-on-X app lib jar (#12414)
5716d99cd2 Disable printer sharing (#12408)
33bc6fea26 LF: Wrongly typed local contract is not a internal error (#12406)
ce624915d5 Fix damlc warnings & compile flags (#12404)
b21c960232 Make Daml Script user mgmt tests order independent (#12409)
9cc2a6ed49 Support UserManagementService on the Java bindings (#12403)
ea2d4bc7de LF: factorize typeAndCompile in Speedy tests (#12402)
8663b7b89d kvutils: Remove unused proto import (#12405)
2005068e3e Drop `platform-version` support from `daml.yaml` (#12397)
82bdfa5222 ledger-api-auth: remove SupportedJWTPayload (#12343)
d04ea6c94e Rerelease 1.18.1 RC (#12395)
f94e24b089 Bump follow-redirects from 1.13.3 to 1.14.7 (#12400)
c027a616e9 Increase timeout on an integration-test query. (#12399)
846bc385f8 Switch ledger-api-test-tool compat tests to sandbox on x (#12393)
8d31e93f2e Drop unused vars from bazel-haskell-deps (#12387)
e34ac20d23 offboarding Akshay (#12396)
bb8f455e2d Add test coverage for validateTokenParties (#12370)
6aa9409e6e split-releases: gcs accounts for assembly & canton (#12373)
dfe22b865e Release SDK 1.18.1 RC 2 (#12385)
e9e673c393 Drop scenario compat helpers (#12389)
b7ded08614 Publish sandbox on x as a standalone JAR (#12386)
1193f5dd47 Changes to disable multiplexing for websockets (#12384)
903df7c230 Bump flyway to version 8.4.1 (#12379)
8e9f9934f6 Convert storage backend tests to AnyFlatSuite (#12278)
9513c64b7e Fix compat test exclusions (#12378)
a90122ef06 Fix crash when stream closed without producing an element [DPP-853] (#12363)
ae547ef463 kvutils/app: Add tests for health checks when starting with the Runner. (#12376)
bfdf6e73a1 kvutils/app: Create a test case for the Runner. [KVL-663] (#12374)
249ba2259b Be explicit in the usage of feature descriptors (#12356)
0a8568f19d Attempt to make ConcurrencyLimiterSpec less flaky (#12371)
9c77a3c94b kvutils: Remove the DAR upload parameters from the runner. (#12366)
da55bd48d8 Simplify sphinx -Werror (#12372)
09013eb501 Add eager timeouts to the polling functions used in daml start and assistant integration tests. (#12361)
8bc5804520 Add feature descriptor for the support for max deduplication duration [KVL-1218] (#12355)
ba2af23e90 Drop kvutils export (#12359)
c6e5fc8d00 [Sandbox-on-X] ConflictCheckWithCommittedSpec (#12358)
62b61c0d51 ledger api auth: polish error messages (#12350)
31bc1a712e Use nanos for deduplication duration comparison [KVL-1218] (#12360)
8bc5ff06a7 Clarify unhandled exception error message (#12353)
e5dcea1084 design guidelines for JSON API endpoints (#12340)
606019e4d4 local import cleanup in json-api (#12335)
ba422bf529 resources: Add more test coverage for parallel acquisition. (#12357)
30300fdac6 LF: Revert #7742 (#12354)
631aa5cc76 Create a new split release (#12351)
8a2449b87f TagWithLedgerEndSpec (#12346)
b84558732a Make create-daml-app setup idempotent (#12320)
98b7ad7bab [SoX unit testing] Refactored for testing [DPP-841] (#12337)
a7c51efa7a version-service - Move command deduplication feature descriptors into the experimental features [kvl-1218] (#12318)
421155738f Add string interning benchmark (#12237)
fafb86b389 Add static time feature flag and test tool coverage [DPP-849] (#12336)
7ec55d7f33 LF: Cache field index inside structural record projection builtin (#12338)
4deee3fd19 Add get & delete user endpoints (#12332)
79428bb7b4 Add artifactory & SDK EE artifacts to split-release process (#12345)
e4dbde3f18 [JSON-API] Add list users endpoint (#12323)
50deee3ef1 [ledger-api-test-tool] - Merge KVCommandDeduplicationIT and CommandDeduplicationIT (#12257)
c7c86d2168 LF: Benchmark for structural record projection (#12329)
d653ca9c21 Release SDK 1.18.1 RC (#12339)
c8753b527d Switch to H2 BINARY LARGE OBJECT to work around a limitation with BYTEA (#12334)
fdee5cb256 update NOTICES file (#12342)
50de6e3639 [JSON-API] HOCON config json api (#12236)
9f5a2f9778 Fix terraform (#12333)
face7d303b Remove unused line as reported in #12325 (#12331)
37680be310 Add sha256sum to dev-env (#12328)
83d2d98e89 Release SDK v2.0.0-snapshot.20220110.8812.0.3a08380b (#12327)
ca33990005 Use canton port file in daml start and tests. (#12324)
c8bbeed0d2 Switch to daml-data gcs bucket for split-releases (#12322)
```
Changelog:
```
[Scala bindings] The channel configuration has been split from the
LedgerClientConfiguration class. Provide the gRPC channel specific
configuration separately or use a builder. The channel configuration
no longer overrides the builder.
[Java bindings] The Single resulting from calling several of the services
exposed by the bindings are no longer blocking. For further details, see
https://github.com/digital-asset/daml/issues/12193.
[Java bindings] User management service client added

- [HTTP-JSON] Added endpoints:
    - /user/delete that if called with GET will delete the current user & with POST will delete the user specified via the payload
    - /user that if called with POST will now return user info about the user specified via the payload

- [HTTP-JSON] Added an endpoint /users which returns the available users on the ledger.

[ledger-api-test-tool] - Merge command deduplication ledger API tests (`KVCommandDeduplicationIT`, `CommandDeduplicationIT`) into a single suite(`CommandDeduplicationIT`) which uses feature descriptors to handle different participant behaviors
JSON-API can now be started supplying a HOCON application config file using the `--config` option.
All CLI flags except `logging` and `non-repudiation` one's are now deprecated and will be cleaned up in some future releases.
```

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-01-19 09:16:17 +00:00
Gary Verhaegen
e6fe718090
trigger split-release (#12444)
See #12442.

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-17 19:27:55 +00:00
Gary Verhaegen
5922df63f2
trigger split-release (#12436)
Testing #12435.

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-17 16:36:02 +00:00
Moritz Kiefer
84d413ec0b
Release SDK 1.18.1 (#12415)
changelog_begin
changelog_end
2022-01-17 09:51:13 +01:00
Moritz Kiefer
d04ea6c94e
Rerelease 1.18.1 RC (#12395)
The first attempt ended up with a bricked Windows installer. No idea
why but last time it fixed itself when trying again.

changelog_begin
changelog_end
2022-01-13 16:26:53 +01:00
Moritz Kiefer
dfe22b865e
Release SDK 1.18.1 RC 2 (#12385)
changelog_begin
changelog_end
2022-01-13 11:50:00 +00:00
Moritz Kiefer
631aa5cc76
Create a new split release (#12351)
This time (assuming it succeeds which it won’t) including artifactory
& EE SDK.

changelog_begin
changelog_end
2022-01-11 15:22:22 +00:00
Moritz Kiefer
d653ca9c21
Release SDK 1.18.1 RC (#12339)
changelog_begin
changelog_end
2022-01-11 09:12:21 +01:00
Kamil Bozek
83d2d98e89
Release SDK v2.0.0-snapshot.20220110.8812.0.3a08380b (#12327)
CHANGELOG_BEGIN
CHANGELOG_END
2022-01-10 17:24:03 +01:00
Moritz Kiefer
2e735c3228
Release RC for SDK 1.18.1 (#12302)
This includes create-daml-app updates for the new daml hub domain and
a fix for the script results timeout issue.

changelog_begin
changelog_end
2022-01-06 19:48:52 +00:00
Moritz Kiefer
cf45255a0e
New split release (#12270)
Just to give Canton a chance to test against something recent.

changelog_begin
changelog_end
2022-01-05 17:37:59 +00:00
azure-pipelines[bot]
c6a55f476f
release 2.0.0-snapshot.20220104.8767.0.d3101e01 (#12263)
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.

@stefanobaghino-da is in charge of this release.

Commit log:
```
d3101e019d Add Flyway validation log line (#12256)
c673d1fe56 add lf extension to copyright script (#12259)
ea55ea2d14 Further copyright updates (#12249)
93e616475e Update ci nodes for copyright update (#12255)
4b4fbf8c2a [ledger-api-test-tool] - adapt the command deduplication conformance to use participant deduplication feature descriptor [kvl-1218] (#12222)
7c011cfb38 Fix tracking of party references (#12253)
cd9911b066 daml-lf, kvutils: Move Daml-LF `Archive` decoding to `kv-support` [KVL-1168] (#12241)
d31066bd68 Make @garyverhaegen-da skip this week's release rotation (#12252)
d2e2c21684 update copyright headers (#12240)
2546af359c rotate release duty after 2.0.0-snapshot.20211214.8692.0.63940872 (#12148)
0e30d468f9 expand CI cluster back (#12239)
d6d473db67 update NOTICES file (#12247)
a51f75d193 give a break to CI (#12238)
4cc4b3baf4 update compat versions for 1.18.0 (#12068)
2141bfbea5 DPP-769 cap internal state (#12135)
e1b4c30132 daml-lf / kvutils: Move Daml-LF proto conversions into kv-support [KVL-1168] (#12216)
51a1f47b43 update NOTICES file (#12232)
8f43c034ec Add transaction statistics to completion info (#12224)
dc6fdaaca9 revert back to running latest blackduck detect 6.9.0 (#12177)
994b2317a1 Add a test for daml start --sandbox-canton (#12223)
9102b0919a [ledger-api-test-tool] - add participant deduplication feature descriptor [kvl-1218] (#12213)
f847767e36 Avoid nix result-* symlinks on CI (#12220)
830497ae34 Add --sandbox-canton option in daml start (#12192)
d922a562a8 DPP-752 refactor event strategy (#12008)
ba0c6c9841 Set --enable-scenarios to False by default (#12156)
56baf036b7 Rename kv-transaction-support library [KVL-1168] (#12212)
5b142eba63 [ledger-api-test-tool] - use offset support feature descriptor [kvl-1218] (#12211)
0142c6a34e Add forM_ compat definition (#12209)
99f9776dd4 New split release for docs tests (#12186)
e182fc5026 [ledger-api] - Move deduplication duration validation into the KV WriteService (#12151)
53d55784a4 [ledger-api] - Add command deduplication features as a feature descriptor [KVL-1218] (#12181)
040f1a933f Release attempt over 9000 (#12206)
```
Changelog:
```
ledger-api - Remove validation for duration deduplication periods, which was validating that the deduplication duration is smaller than the max deduplication duration. This is now up to the ledger to enforce.
```

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-01-05 09:08:14 +01:00
Moritz Kiefer
99f9776dd4
New split release for docs tests (#12186)
Release using the split release process so I can test the docs changes
I made.

changelog_begin
changelog_end
2021-12-20 13:44:04 +00:00
Moritz Kiefer
040f1a933f
Release attempt over 9000 (#12206)
https://www.youtube.com/watch?v=dQw4w9WgXcQ

changelog_begin
changelog_end
2021-12-20 11:23:00 +00:00
Moritz Kiefer
f057765cd2
Snapshot release attempt (#12201)
I don’t even know which attempt this is anymore.

changelog_begin
changelog_end
2021-12-18 13:29:48 +00:00
Moritz Kiefer
1329fde631
Release another 2.0 snapshot (#12182)
This time with the new maven host.

changelog_begin
changelog_end
2021-12-17 11:42:25 +00:00
Moritz Kiefer
98d4e177cf
Release 2.0 snapshot (#12164)
This time with the increased Maven timeout which is hopefully enough
to get it to succeed.

changelog_begin
changelog_end
2021-12-16 12:21:48 +00:00
azure-pipelines[bot]
9a1fa5ab10
release 2.0.0-snapshot.20211214.8692.0.63940872 (#12147)
* release 2.0.0-snapshot.20211214.8692.0.63940872

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.

@cocreature is in charge of this release.

Commit log:
```
6394087280 Add transaction statistics to CompletionInfo (#12139)
a03df88f7c DPP-721 Remove old ACS implementation (#12045)
81990bc8b3 Fix #12133: correct error for tokens with invalid user-ids (#12134)
717772850d Update Logback to 1.2.8 (#12141)
8c1173c8f1 User management application id defaulting (#12100)
259be4340b kvutils: Move `TransactionUtils` from `pkvutils` [KVL-1166] (#12138)
83bb84a73f kvutils: Change `NodeId` from `String` to a value class (#11943)
798137964b Add requires keyword for syntax highlighting (#12113)
d1fb5e442c interfaces: Implement 'requires' syntax (#12105)
01364f2863 Enable Daml Script user management tests (#12130)
75863c392f Fix #12129: allow users' access to their own info (#12132)
f146bc814b Escape daml-lf tracelog messages (#12116)
6c7e33cafe Add Ledger API feature descriptor for user management. (#12095)
9a931854b2 add docs for command dedup (#11928)
f07596cb38 KV: `VALIDATION_ERROR` is not an internal error as it can also be caused by pruned contracts [KVL-1207] (#12108)
f223528bfb Implement PoC of user management for Ledger API server (fix #12014) (#12063)
787dccb3d5 Bump TriggerServiceTest timeout (#12127)
78a0677fb1 Fix command in triggers docs (#12123)
77a37cf213 Drop damlc code for LF <= 1.11 (#12121)
caa8072d91 Drop unused primitives for interface contract id conversion (#12114)
82465e2e85 Drop Decimal completely from damlc (#12120)
e1a2da0771 [ledger-api] - Add deduplication_offset as a valid deduplication period for commands [KVL-1172] (#12041)
9ff8851488 Fix a docs display issue with Safari and Firefox (#12035)
36106c39de Drop featureNumeric (#12119)
4cc88a2fc3 `ledger-api-bench-tool` - item rate SLO [DPP-790] (#12033)
7f76cf1bdf Drop featureAnyType and featureTypeRep (#12112)
c5708c96c5 es: mitigate log4j vuln (#12118)
b6b6ecd669 repair ES cluster (#12117)
937849b101 Define asciiToLower and asciiToUpper in DA.Text (#12109)
124f8854f0 daml-docs: Refactor context type (#12111)
778def6f48 Drop non-type synonym code from LF conversion (#12110)
25ae69eb01 [DPP-657] Make error codes docs nicer (#12079)
8c87a0e327 LF: Factorize interpretation loop emulation spread in multiple tests. (#12102)
9f8e640b1a Use ExecutionContext.parasitic instead of DirectExecutionContext. (#11783)
9a01bb9b86 Fix filters in ExceptionRaceConditionIT (#12106)
3fae3b2e3e Stop flyway from printing sensitive jdbc string at info level (#12088)
ae8c2788b8 Split release test with cross-platform damlc (#12107)
8011d602c8 Support multiple participant in daml script’s user management (#12091)
1989a2def9 LF: Check non circularity of `requires` Interface field
```
Changelog:
```
- [Ledger API]: as a convenience when using JWT authentication, a
  request's application_id field can be left empty to ask the server to
  set the field to the id of the authenticated user or the application-id
  in the custom token. There are three services that currently specify
  application_id's in the request: CommandService,
  CommandSubmissionService, and CommandCompletionService.
- [Ledger API]: introduce a feature descriptor for whether the ledger supports user management
Documentation on the new command deduplication mechanism
- [Integration Kit] "VALIDATION_ERROR" is not an internal error anymore as it can also be caused by pruned contracts
- [User Management]: add support for managing participant node users and authenticating
  requests as these users using standard JWT tokens.
[ledger-api] - Add `deduplication_offset` as a valid type for the command deduplication period
- [Integration Kit] - A minimum count rate objective can be defined for a stream in the ledger-api-bench-tool
```

CHANGELOG_BEGIN
CHANGELOG_END

* Update LATEST

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2021-12-15 12:06:00 +01:00
Moritz Kiefer
ae8c2788b8
Split release test with cross-platform damlc (#12107)
changelog_begin
changelog_end
2021-12-10 14:30:13 +00:00
Gary Verhaegen
800f374102
split release attempt n (#12093)
getting YAML changes from #12085

CHANGELOG_BEGIN
CHANGELOG_END
2021-12-10 08:45:46 +01:00
Moritz Kiefer
458ecfade8
Split release including #12072 (#12074)
changelog_begin
changelog_end
2021-12-09 14:58:53 +00:00
Moritz Kiefer
6863b1e983
Release SDK 1.18.0 (#12038)
changelog_begin
changelog_end
2021-12-08 19:26:33 +00:00
azure-pipelines[bot]
bf76e47268
release 2.0.0-snapshot.20211207.8608.0.c4d82f72 (#12036)
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:
```
c4d82f724c new 2.12-removal-enabled features for NonEmpty (#11933)
9e5bea193c LF: Node statistics of a transaction (#12018)
43c8641215 interfaces: add up/downcast expressions in proto (#12030)
9d7eb07745 LF: Add "requires" field to Scala Ast. (#12028)
a159b50f1d Test release for split release process (attempt 3) (#12019)
1dd813170d interfaces: Add "requires" field in Haskell AST. (#12016)
ef23593ee1 update compat versions for 1.11.3 (#12012)
be088c6c68 pipeline: fix pie failure (#12017)
c493c46a94 Test release for split release process (attempt 2) (#12007)
8df9a42f29 Interface desugaring cont. (#11964)
ef4ae931d1 Add Ledger API scala client for user management (#12000)
444b3ac88e Rerelease 1.11.3 (#12006)
c63a2c835f Drop 1.11.3 release to allow for a retry (#12005)
505a37fb01 Fix yaml again … (#12004)
4099dff791 Promote 1.11.3-snapshot.20211123.6448.0.c679b4ab to release (#11999)
00d3326ebe Remove source code specific to Scala 2.12 (#12003)
fa88836b10 Fix main build after broken yaml config (#12002)
1c4151ba5e Test release for split release process (#11992)
47ce5267ab update NOTICES file (#11995)
```
Changelog:
```
CHANGELOG_EN
- [Scala bindings] add methods to call the user management API
```

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2021-12-08 13:26:19 +01:00
Moritz Kiefer
08836f1424
Test release for split release process (attempt 4) (#12039)
Needs to be merged after #12034

changelog_begin
changelog_end
2021-12-08 09:50:34 +00:00
Moritz Kiefer
a159b50f1d
Test release for split release process (attempt 3) (#12019)
No need to change the commit, the issue was in the yaml files.

changelog_begin
changelog_end
2021-12-07 17:19:47 +00:00
Moritz Kiefer
c493c46a94
Test release for split release process (attempt 2) (#12007)
This time with an actual working CI on `main` which might help.

changelog_begin
changelog_end
2021-12-07 13:24:55 +00:00
Moritz Kiefer
444b3ac88e
Rerelease 1.11.3 (#12006)
changelog_begin
changelog_end
2021-12-07 13:28:15 +01:00
Moritz Kiefer
c63a2c835f
Drop 1.11.3 release to allow for a retry (#12005)
changelog_begin
changelog_end
2021-12-07 11:07:50 +00:00
Stefano Baghino
4099dff791
Promote 1.11.3-snapshot.20211123.6448.0.c679b4ab to release (#11999)
changelog_begin
changelog_end

The snapshot was released with https://github.com/digital-asset/daml/pull/11981
2021-12-07 10:22:03 +00:00
Moritz Kiefer
1c4151ba5e
Test release for split release process (#11992)
changelog_begin
changelog_end
2021-12-07 10:00:17 +01:00
Stefano Baghino
8290c12789
Release 1.11.3-snapshot.20211123.6448.0.c679b4ab (#11981)
Changelog
---------

```

- [JSON-API] added metrics to separately track:
    - time taken to update query-store ACS (from ledger)
    - lookup times for the query store

[HTTP/JSON API]
- metrics reporting can now be chosen via the command line option --metrics-reporter (currently hidden), valid options are console, csv://, graphite:// and prometheus://
- metrics reporting interval can also now be chosen via a command line option --metrics-reporting-interval (currently hidden)

- [Ledger HTTP Json Service] Logging output can now be in JSON either via providing the cli option `--log-encoder json` or via setting the env var `LOG_FORMAT_JSON=true`

[HTTP-JSON]
- fixed that json log output could not be enabled via cli options except via usage of env vars

- [Ledger HTTP Json service] Logging can now be configured via the `--log-level` cli argument. Valid values are `error`, `warn`, `info` (default), `debug`, `trace`

- [Ledger HTTP Json Service] Logging now also tells service name if log level was changed.

http-json:
- add contextual id as logging context to distinguish different application runs in logs
- add request id as logging context to distinguish different http requests within an application run
- add for non-static endpoints trace logs which show how long processing it took in ns

- [JSON API] Fix an error where transactions that delete a large
  number of contracts resulted in stackoverflows with the PostgreSQL
  backend and database errors with Oracle.

- [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>`__.
Backport of Hikari connection pool for 1.11.x plus addition of configurable connection pool properties to jdbcConfig 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
[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".
For every update in the index db log the full context at the INFO level.
[Integration Kit] The state of the participant indexer can now be checked via the GRPC health endpoint
```

Commits
-------

```
c679b4ab23 [1.11.x] Metrics for investigating  json api performance (#11769)
437c3d4639 Bump Windows postgres (#11806)
382168b7f0 Add metrics to the http json service (#9923) (#11768)
b7fc305427 [Backport] Add cli option & system property to enable json only logging for the json api (#11717)
17cacb05f1 [Backport] Add logging command line option to ledger http service (#9581) (#11699)
56531e8610 Backport: Support deletion of a large number of contracts (#11646)
6bf19fce82 Backport: limit contract insertion/deletion batching on backpressure (#11647)
eed4ad32b7 Backport signing tool changes (#11651)
ee7547ed88 [JSON-API] Backport of connection pool for 1.11.x , configurable db options needs forward porting (#11615)
632ba5a7b3 Backport: Avoid collision in execution log postfix (#11644)
cf4f1a1d8f Backport: add tar to dev-env (#10173) (#11636)
b78fa8c4a3 Backport: Restart the submission interpretation in case of a race [DPP-737] (#11578)
5c3220d2db Fix build of release/1.11.x branch (#11582)
cce7c79ec5 Log context of all updates written to the database (#10057)
a9d0473473 Adds Indexer state to GRPC health checks [DPP-434] (#9951) (#9961)
```

changelog_begin
changelog_end
2021-12-06 17:53:12 +01:00
Moritz Kiefer
3922bfaa18
Release 1.18.0 RC 3 (#11977)
changelog_begin
changelog_end
2021-12-06 12:39:04 +00:00
Gerolf Seitz
be7e377d79
Release 1.17.2-snapshot.20211124.7857.0.b33b94b8 (#11953)
CHANGELOG_BEGIN
CHANGELOG_END
2021-12-02 10:22:48 +00:00
azure-pipelines[bot]
18dc85680a
release 2.0.0-snapshot.20211130.8536.0.683ab871 (#11934)
* release 2.0.0-snapshot.20211130.8536.0.683ab871

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.

@SamirTalwar-DA is in charge of this release.

Commit log:
```
683ab87143 Move ghc-lib{,-parser} to bazel-haskell-deps (#11775)
9350632eae Fix releasing of resources in case connection initialization failed (#11915)
e1559af313 Update `ModelConformanceValidator` comments and prevent them from getting outdated easily (#11924)
16a41f7da2 Avoid package validation in speedy compilation benchmark. (#11927)
16135e6f7c Limit supported input versions in damlc to >= LF 1.8 (#11905)
0ee4154972 Use Absolute-indexes as keys for the Env-mapping during closure-conversion (#11912)
1d7bca801e Add optional typerep argument in UExerciseInterface. (#11910)
c2c22f8dea kvutils: Protos no longer depend on the Daml-LF transaction proto [KVL-1166] (#11909)
5641948410 [Docs] Add labels to error codes to support references to them (#11913)
0e776769ee Update protobuf docs template to handle oneOf (#11887)
5a9481f9d8 unify heading markup according to README.md (#11919)
61334cff77 kvutils - Add Writer which can handle deduplication periods as offsets [KVL-1172] (#11900)
0b9d57b95e Add ContractDoesntImplementInterface error. (#11884)
49e5d415f6 align index.rst files for HTML and PDF (#11907)
dbbb05fe2e Split daml-lf encode/decode Haskell libraries (#11906)
e5d3902372 iface: support for fixed choices in TS codegen (#11630)
31cc540cf9 Turn package name & version warnings into an error (#11859)
4e50060021 self-service compat: set branch name to not main (#11902)
2f4aa4797e refactor to avoid impossible code path (#11901)
a81995c82e switch dev images to Temurin (#11895)
f3a0e2eba1 Set scalafmt dialect explicitly (#11898)
60e372dcd2 Don't run pruning tests on H2, they time-out (#11897)
58e69ade1a LF: replace "dev" LF version by "1.dev" in bazel files (#11894)
8ef348dab0 Use absolute stack locations in SExpr1 (#11877)
071bcf7639 update NOTICES file (#11892)
a1705d669a participant-state - Add an implicit logging context to the write service [kvl-1072] (#11838)
9ff64f7faa Change daml script’s sleep to sleep for a minimum amount of time (#11886)
132c277bda Add a Canton sandbox to the SDK (#11881)
68a23436e8 Only run self-service compat job on PRs (#11893)
c27406cdcf [DPP-762][Self-service error codes] Automate generation of inventory of error categories. #11879
13797229cf Adapt the compatibility exclusions (#11872)
d66ecc90c9 LF: Drop Archive Snapshot for LF < 1.14 (#11820)
abc141b57e Increase pruning tests timeout (#11891)
66b407467f Update protobuf docs plugin (#11880)
b0dda53868 LF check stable proto with buf and md5sum. (#11888)
056fc52706 Log while processing base64 encoded server key [DPP-761] (#11835)
dbda67ba81 bump JVM in Docker image (#11883)
f69bd688cc ledger-api-bench-tool: Fix flaky `MetricsCollectorSpec` (#11750)
cb758e8d91 Fix call to experimental interface signatory builtin (#11882)
024400b9e4 Error when fetching the wrong template id (via fetch by interface). (#11862)
0852c8f6fa Make DA.List.Total return Optional instead (#11878)
df373466dc [JSON-API] Add query store metrics (#11809)
2f8f69e7cb Drop DA.Next.Set and DA.Next.Map (#11864)
5f3a4d2067 [Self-service error codes] Fix section numbering in pdf for error codes section by moving it a level higher. (#11867)
cf3ac011ca [Self-service error codes] Do not return error code id and definite_answer in metadata for security sensitive errors (#11828)
026b92a8b1 Add gRPC definitions for participant user management service (#11818)
2fde30d916 Disable writing volatile bits in Scala statsfile (#11875)
4ed9deda39 Remove xxd from dev-env (#11876)
eaded41aca remove mergify (#11866)
3cd5028b61 fix a few more things in the daml-lf spec (#11851)
beca0ee3e9 Refactor StandaloneApiServer factory (#11842)
6356f13cde Properly upgrade gRPC to 1.41.0 (#11858)
f6accd3a2f Release 1.18 RC2 (#11869)
d858873c44 fix main (#11868)
da8dd7ee2f rotate release duty after 1.18.0-snapshot.20211123.8463.0.bd2a6852 (#11845)
066da4f30c [Self-service error codes] Small fixes for docs/scripts/live-preview.sh (#11856)
258fb65d1c Document how to deal with HTTP JSON API schema changes (#11336)
b8937ad81b ci: self-service compat test start (#11853)
de8d15fb1e fix Nix install on macOS nodes (#11696)
b3d1d40b50 Expose submissionId via the Java bindings (#11839) (#11847)
86da6e8eef LF: Test scala interface type checking (#11833)
5f52f00afb increase linux cluster size (#11860)
5c12d757f4 Add a guard when exercising by interface. (#11836)
7c3a2a7801 Add a new KV submission failure error (#11854)
aebc5a734f All packages must be valid (#11850)
0374843143 speedy compilation benchmark (#11852)
393893a601 LF encoder: make package validation optional (#11849)
25b476fdb2 DPP-726 Add string interning unit tests (#11841)
59eb0d2eff kvutils - For duplicate command rejections, add the submission id as metadata [KVL-1175] (#11848)
970243dd46 Ensure stack-safety during closure-conversion. (#11778)
e63c80dddd update LATEST (#11846)
db425216d1 libs-scala: Change `SourceQueueResourceOwner` to `BoundedSourceQueueResourceOwner` [KVL-1177] (#11832)
109b60613c Make the `InstrumentedSource.queue` use the `BoundedSourceQueue` [KVL-1177] (#11807)
```
Changelog:
```

- [Daml Compiler] The supported input LF versions for
  data-dependencies are now limited to LF 1.8 and newer.

- [Daml2js] DARs with LF version < 1.8 are no longer supported.

- [Integration Kit] kvutils protos no longer depend on the Daml-LF transaction proto

- [Daml Standard Library] DA.List.Total functions now return Optional
  instead of being polymorphic in the return type. DA.Optional.Total
  has been removed.

- [JSON-API] added metrics to separately track:
    - time taken to update query-store ACS (from ledger)
    - lookup times for the query store

- [Daml Standard Library] DA.Next.Map and DA.Next.Set have been removed
  after being deprecated since Daml-LF 1.11

- [Ledger API] Introduce gRPC definitions for experimental user
  managament service to manage users and their rights for interacting
  with the Ledger API served by a participant node.

[HTTP JSON API] [Docs] Document lack of data continuity guarantees and how to deal with schema changes
[Java Bindings] submissionId is now exposed via the bindings, see issue #11705
[Integration Kit] Add a new SUBMISSION_FAILED internal error
kvutils - For duplicate command rejections, the submission id of the already accepted transaction is returning as part of the gRPC metadata. The submission id will be included under the key `existing_submission_id`.

- [Integration Kit] `SourceQueueResourceOwner` has been renamed to `BoundedSourceQueueResourceOwner` and takes a `BoundedSourceQueue` from now on

- [Integration Kit] InstrumentedSource.queue.offer no longer returns a Future

```

CHANGELOG_BEGIN
CHANGELOG_END

* bump to include fix for damlc package validation

changelog_begin
changelog_end

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2021-12-01 11:26:59 +01:00
tudor-da
f6accd3a2f
Release 1.18 RC2 (#11869)
CHANGELOG_BEGIN
CHANGELOG_END
2021-11-25 08:36:05 +01:00
nickchapman-da
e63c80dddd
update LATEST (#11846)
CHANGELOG_BEGIN
CHANGELOG_END
2021-11-24 11:18:34 +00:00