Commit Graph

458 Commits

Author SHA1 Message Date
Robin Krom
17e651c20a
release instructions: fix line numbers (#13162)
line numbers seem to have changed because of an added comment.

CHANGELOG_BEGIN
CHANGELOG_END
2022-03-07 21:48:57 +01:00
azure-pipelines[bot]
247ec1150e
rotate release duty after 2022-03-02 (#13119)
@robin-da is taking care of testing today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-03-04 14:29:03 +01:00
Gary Verhaegen
54dc19deb8
add release instructions to release notification (#13160)
Because we can't expect people to magically know where to find them.

CHANGELOG_BEGIN
CHANGELOG_END
2022-03-04 11:33:15 +00:00
Gary Verhaegen
091a5ac752
appr: add Stewart (#13116)
CHANGELOG_BEGIN
CHANGELOG_END
2022-03-01 23:11:54 +00:00
azure-pipelines[bot]
27b1703838
rotate release duty after 2022-02-23 (#13033)
@sofiafaro-da is taking care of testing today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-02-23 18:43:52 +01:00
azure-pipelines[bot]
065648b9e5
rotate release duty after 2022-02-16 (#12962)
@S11001001 is taking care of testing today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-02-17 09:50:23 -05:00
Stephen Compall
fceb9c1118
document Java 11 is needed; small release instruction problems found today (#12978)
In docs:

* doc that we require Java 11, not 8

In release instructions:

* mention everywhere that all-lowercase party entries should be made

* wrong line number for variable go-to-defn check

CHANGELOG_BEGIN
CHANGELOG_END
2022-02-16 20:38:31 +00:00
Samir Talwar
ac12112dad
ledger-api-tests: Remove the performance-testing functionality. (#12948)
* ledger-api-tests: Remove the performance-testing functionality.

This has been superseded by the Ledger API Bench Tool.

CHANGELOG_BEGIN
- [Ledger API Test Tool] The performance tests have been removed from
  this tool, in favor of the Ledger API Bench Tool, which is much more
  capable and configurable.
CHANGELOG_END

* ledger-on-sql/sandbox-on-x: Stop running performance tests.

We don't check the results anyway.
2022-02-15 17:06:23 +00:00
Samir Talwar
f3af828fb9
ledger-on-(memory|sql): Stop publishing to Maven. (#12947)
* ledger-on-(memory|sql): Stop publishing to Maven.

Nothing depends on these any more.

We plan on removing them entirely, but for now we can just make sure
they're not published.

CHANGELOG_BEGIN
CHANGELOG_END

* Changelog.

CHANGELOG_BEGIN
- [Maven] Two internal components, "ledger-on-memory" and
  "ledger-on-sql", are no longer published to Maven Central. If you were
  relying on these components to implement a simple ledger, we encourage
  you to migrate to the community edition of Canton.
CHANGELOG_END
2022-02-15 15:39:16 +00:00
Moritz Kiefer
4b0beda87c
Drop KV sandbox (#12937)
changelog_begin
changelog_end
2022-02-15 10:31:46 +00:00
tudor-da
307931d5b4
Extracted kvutils Config to //leger/ledger-runner-common [DPP-865] (#12889)
* Extracted kvutils Config to //leger/ledger-runner-config

changelog_begin
changelog_end

* Sandbox-on-X logback.xml does not depend on the kvutils/app one

* Remove unused dependencies

* Add copyright header back

* Remove dependency of SoX on kvutils
2022-02-14 13:52:06 +00:00
Moritz Kiefer
d6e6c568fe
Fold daml test-script under daml script --all (#12895)
I tried to keep the changes somewhat minimal and reuse what is already
there. I think there is a fair amount of cleanup we can do afterwards
but hopefully this way it’s easier to review.

fixes #12837

changelog_begin

- [Daml Script] `daml test-script` has been replaced by `daml script
  --all`. The option to spin up a ledger automatically has been
  removed and you always have to specify one.

changelog_end
2022-02-14 14:23:21 +01:00
azure-pipelines[bot]
ee004bcf21
rotate release duty after 2022-02-09 (#12832)
@ray-roestenburg-da is taking care of testing today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-02-10 16:15:05 +01:00
Gary Verhaegen
9409ed4d09
release steps: clarify last one (#12875)
Also, remove the need to post on two channels.

CHANGELOG_BEGIN
CHANGELOG_END
2022-02-10 16:07:44 +01:00
Samir Talwar
83ed13d799
Split the ledger-api-test-tool into libraries, under /ledger/ledger-api-tests. [KVL-1076] (#12771)
* Move //ledger/ledger-api-test-tool to //ledger/ledger-api-tests/tool.

And conformance.bzl to //ledger/ledger-api-tests.

* Move test tool infra to //ledger/ledger-api-tests/infrastructure.

* Split the ledger API test tool into smaller libraries.

There is no change to behavior.

CHANGELOG_BEGIN
CHANGELOG_END

* ledger-api-tests: Encapsulate performance tests.

* ledger-api-tests: Extract a "runner" library.

* ledger-api-tests: Publish libraries to Maven Central.

* ledger-api-tests: Fix Scaladoc so it compiles correctly.

Unfortunately I had to remove some Scaladoc in ActiveContractsServiceIT
which is incorrectly interpreted as not being attached to anything.
Fortunately, it's not actually that helpful.

* compatibility: Fix paths to the Ledger API Test Tool.

* Fix release types for ledger API test libraries.

* test-common: Publish generated Scala.

These libraries are dependencies of the ledger API tests components.

* ledger-api-tests: Use "com.daml" as the group ID everywhere.

* ledger-api-tests: Check that tests in `--additional` are valid.

* compatibility: Fix a reference to ledger-api-test-tool I missed.
2022-02-10 13:25:23 +00:00
Moritz Kiefer
0b64817fdb
Rename Canton repl to Canton console (#12866)
Product decided on console so console it is. Name bikeshedding will
not be accepted.

changelog_begin
changelog_end
2022-02-10 13:18:03 +00:00
Moritz Kiefer
ecaed8dcef
Rename Canton repl (#12863)
This is really somewhat specific to the Canton sandbox so we should
make that explcit.

changelog_begin
changelog_end
2022-02-10 12:36:10 +01:00
Gary Verhaegen
2e69c41ce0
release: update instructions (#12820)
CHANGELOG_BEGIN
CHANGELOG_END
2022-02-08 18:12:11 +00:00
Moritz Kiefer
8182602f67
Publish ledger API Java code (#12812)
Also includes a fix for the missing deps check which should have
caught this but didn’t.

changelog_begin
changelog_end
2022-02-08 13:23:05 +00:00
Moritz Kiefer
7547c20507
Fix path to JSON API logback file (#12809)
specifying a non-existent logback file is apparently not an error and
just silently produces garbage.

Probably should add a test that checks all logback files for existent
but that seems somewhat convoluted to setup so I’p prefer to skip that
for now.

changelog_begin
changelog_end
2022-02-08 10:46:56 +00:00
Gary Verhaegen
85977d13dc
Update RELEASE.md (#12794)
I suppose whoever fixed this forgot to update these instructions, but as of `2.0.0-snapshot.20220204.9165.0.225c58f4` I observed well-formed "Bob" and "Alice" values in the messaging dropdowns.
2022-02-07 17:08:16 +00:00
Adriaan Moors
fd49e1704b
Update release testing instructions for windows (#12730)
* Update release instructions for windows

CHANGELOG_BEGIN
CHANGELOG_END

* Apply suggestions from code review
2022-02-03 17:37:50 +01:00
Stefano Baghino
014eb36bcc
Add @ray-roestenburg-da to the release testing rotation (#12746)
changelog_begin
changelog_end
2022-02-03 17:33:10 +01:00
Sofia Faro
4995728213
Expose Canton Repl as "daml canton-repl" (#12736)
Fixes #12268

changelog_begin
changelog_end
2022-02-03 16:04:25 +00:00
azure-pipelines[bot]
372e77d1c1
rotate release duty after 2.0.0-snapshot.20220201.9111.0.53905056 (#12704)
@adriaanm-da is taking care of 2.0.0-snapshot.20220201.9111.0.53905056 (#12703), so they get pushed back to the end of the line.

Please do not merge this before #12703.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-02-03 13:22:33 +01:00
Moritz Kiefer
6ff7dc240a
Drop sandbox-kv from the SDK (#12717)
Depends on #12716 and #12625 (CI fails until they are merged & this
is rebased so no chance of merging this accidentally).

changelog_begin
changelog_end
2022-02-03 11:19:06 +00:00
Victor Peter Rouven Müller
aa45f48798
Upgrade to Scala 2.13.8 (#12506)
* Upgrade to Scala 2.13.8

changelog_begin
changelog_end

* Update hash for scala in nixpkgs

* update more hashes for scala upgrade

* Fix most warnings etc.

* Fix remaining errors etc.

* Fix formatting

* Resolve last errors hopefully

* Fix ledger api common build file

* Combine imports & revert accidental change that broke the CI run

* Rename exporting vals to scriptExport & minimize diff

* Remove more wrong changes

* moved warning around
2022-02-03 09:05:31 +00:00
Moritz Kiefer
0f4e952911
Update release instructions for Canton sandbox (#12718)
The issue with the message dropdown looking like garbage will
obviously be fixed. Just trying to reflect the current state.

changelog_begin
changelog_end
2022-02-02 16:40:52 +00:00
Stefano Baghino
8bd908e77f
Document to test releases with the Canton-based sandbox (#12702)
This could not be achieved previously due to an issue that has
been fixed by https://github.com/DACH-NY/canton/pull/8475.

The next release should be tested again with the Canton-based
sandbox to ensure it works on both Windows and MacOS/Linux.

changelog_begin
changelog_end
2022-02-02 09:46:34 +00:00
Remy
2ac76fd4fe
LF: Gracefully handle serialization error of Values beyond 2GB (#12638)
fixes #12392

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-31 21:10:27 +00:00
tudor-da
bb5722cd1b
Move sandbox-classic test lib and IT tests to Sandbox-on-x (#12641)
* Moved SandboxFixture and IT tests to Sandbox-on-X

changelog_begin
changelog_end

* Addressed review comments
2022-01-31 12:49:46 +01:00
Stefano Baghino
13acf66da6
Point out to run release manual tests on Windows with the KV sandbox (#12608)
The Canton sandbox currently has a startup issue that
has to be fixed that causes an unusually long startup
time on Windows that ends up triggering a timeout.

Can be reverted once https://github.com/DACH-NY/canton/issues/8331
is fixed.

changelog_begin
changelog_end
2022-01-26 23:35:23 +01:00
Sofia Faro
4d698c111a
Update windows testing instructions (#12504)
The navigator templates list shows extra templates because of canton.

changelog_begin
changelog_end
2022-01-20 10:35:07 +00:00
Gary Verhaegen
350fe5c1c6
Update RELEASE.md (#12481)
CHANGELOG_BEGIN
CHANGELOG_END
2022-01-19 14:11:32 +00:00
mziolekda
82534f9155
Remove the reset service from the ledger api and the documentation [DPP-804] (#12472)
* Remove reset service from grpc and documentation [DPP-804]

CHANGELOG_BEGIN
Remove reset service from the ledger api protocol and the documentation
CHANGELOG_END

* remove reset service from two left-over places

* remove reset service from the protobuf structure test
2022-01-19 14:46:50 +01:00
azure-pipelines[bot]
4885e610e6
rotate release duty after 2.0.0-snapshot.20220118.8919.0.d0813e61 (#12468)
@garyverhaegen-da is taking care of 2.0.0-snapshot.20220118.8919.0.d0813e61 (#12467), so they get pushed back to the end of the line.

Please do not merge this before #12467.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-01-19 13:38:08 +00:00
Sofia Faro
2500d4fd9f
Make quickstart-java template work with canton sandbox. (#12453)
* Make quickstart-java template work with canton

Also update the quickstart-java release test instructions to use the new sandbox. This is a bit more involved than before, because of the party names being different every time, but I hope this is not too much of a burden. The test here is similar to what gets tested in the assistant integration test for quickstart-java.

changelog_begin
changelog_end

* try to fix indentation
2022-01-18 11:49:52 +00:00
Sofia Faro
430f86b4c2
Make skeleton template work with canton sandbox (#12451)
And change the relevant release test instructions to make it clear this
isn't a quickstart-java project, but a project that uses the default
template (skeleton).

changelog_begin
changelog_end
2022-01-18 10:11:15 +00:00
Sofia Faro
b988a3c47e
Use --sandbox-kv in create-daml-app release tests. (#12450)
Was a bit too eager in the last PR, and changed the release test to use
`daml start` instead of `daml start --sandbox-kv`. This PR reverts this
until we make create-daml-app work with the new sandbox.

changelog_begin
changelog_end
2022-01-18 09:58:45 +00:00
Sofia Faro
b2a7f9e640
Change default sandbox to canton (#12438)
* Change default sandbox to canton.

Some progress on #11831

* made `daml start` use canton sandbox by default
  * changed the non-ledger api ports to use free ports by default
    (still haven't tried using port 0 instead of `getFreePort`).
* renamed `daml sandbox-canton` to `daml sandbox`
* implement a `--static-time` option for `daml sandbox` that sets the
  canton clock type parameter to `sim-clock`
* moved the quickstart-java integration test to use the new sandbox
  * the test uses `--static-time`, but doesn't really depend on it

changelog_begin
changelog_end

* fix parens

* fix hot reload test

* reinstant --sandbox-kv in create-daml-app test for now

* fix damlStart test
2022-01-18 09:10:58 +00:00
Moritz Kiefer
29ba8e6433
Drop sandbox classic from the SDK tarball (#12410)
🔥

changelog_begin
changelog_end
2022-01-17 11:40:25 +00:00
Moritz Kiefer
93aa5abef3
Upgrade to NodeJS 14 (#12429)
NodeJS 12 is eol in April and there are already packages (e.g. vsce)
that dropped support. We probably should upgrade even further but for
now I’m going with the most conservative approach.

changelog_begin
changelog_end
2022-01-17 12:05:53 +01:00
Sofia Faro
a0aee0f248
Rename daml sandbox to daml sandbox-kv (#12394)
* Rename daml sandbox to daml sandbox-kv

Also drop the default sandbox on `daml start`

Part of #11831

changelog_begin
changelog_end

* update release test instructions

* try to fix a couple compat tests

* dont need special 0.0.0 logic

* buildifier-fixx
2022-01-17 10:36:06 +00:00
tudor-da
27b8ca0f17
Publish Sandbox-on-X app lib jar (#12414)
changelog_begin
changelog_end
2022-01-14 09:30:08 +01:00
Moritz Kiefer
2005068e3e
Drop platform-version support from daml.yaml (#12397)
* Drop `platform-version` support from `daml.yaml`

Doesn’t work properly with Canton sandbox, nobody uses it and product
agreed to deleting it.

changelog_begin
changelog_end

* drop run-platform-jar

changelog_begin
changelog_end

* fix run-jar commands

changelog_begin
changelog_end
2022-01-13 16:32:24 +00:00
Gary Verhaegen
e34ac20d23
offboarding Akshay (#12396)
😿

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-13 14:40:44 +01:00
Moritz Kiefer
b7ded08614
Publish sandbox on x as a standalone JAR (#12386)
Checked with @tudor-da that pkvutils does not rely on this being
available as a thin library.

changelog_begin
changelog_end
2022-01-13 11:47:57 +01:00
Simon Maxen
3a08380b44
Add report metering protobuf definition [DPP-815] (#12303)
* Add report metering protobuf definition

changelog_begin
Added experimental GRPC endpoint for the reporting of metering 
changelog_end

* Update with review comments

* add changes from joint review by Simon and Simon :D

* Update with review comments

* Update with review comments

Co-authored-by: Simon Meier <simon@digitalasset.com>
2022-01-10 14:05:17 +00:00
Moritz Kiefer
b8c03e36b5
Add a test for the file listing of the released protobufs (#12269)
We messed that up in the past and lost the hierarchical structure so
adding a test seems reasonable and these change sufficiently rarely
that updating it isn’t an issue.

changelog_begin
changelog_end
2022-01-05 16:01:52 +00:00
azure-pipelines[bot]
797b40e438
rotate release duty after 2.0.0-snapshot.20220104.8767.0.d3101e01 (#12264)
@stefanobaghino-da is taking care of 2.0.0-snapshot.20220104.8767.0.d3101e01 (#12263), so they get pushed back to the end of the line.

Please do not merge this before #12263.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-01-05 11:17:04 +01:00