Commit Graph

426 Commits

Author SHA1 Message Date
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
Stefano Baghino
d31066bd68
Make @garyverhaegen-da skip this week's release rotation (#12252)
changelog_begin
changelog_end
2022-01-04 09:28:51 +00:00
Gary Verhaegen
d2e2c21684
update copyright headers (#12240)
New year, new copyright, new expected unknown issues with various files
that won't be covered by the script and/or will be but shouldn't change.

I'll do the details on Jan 1, but would appreciate this being
preapproved so I can actually get it merged by then.

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-03 16:36:51 +00:00
azure-pipelines[bot]
2546af359c
rotate release duty after 2.0.0-snapshot.20211214.8692.0.63940872 (#12148)
@cocreature is taking care of 2.0.0-snapshot.20211214.8692.0.63940872 (#12147), so they get pushed back to the end of the line.

Please do not merge this before #12147.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-01-03 16:16:11 +01:00
Hubert Slojewski
56baf036b7
Rename kv-transaction-support library [KVL-1168] (#12212)
CHANGELOG_BEGIN
CHANGELOG_END
2021-12-20 16:33:36 +01:00
Moritz Kiefer
606a8ef08e
Drop code to upload to com.digitalasset (#12203)
We didn’t have any artifacts there since SDK 1.0 and we’re not
planning to add any. We suspect that the permission denied errors
might come from the fact that we need a different profile id for that
and while we don’t use the repo to upload anything we still create the
staging repo so this might fix that issue.

changelog_begin
changelog_end
2021-12-20 10:16:53 +01:00
Moritz Kiefer
5de5eb06d8
Update Maven profile id (#12200)
Apparently the profile id changed with the switch to the new host.

changelog_begin
changelog_end
2021-12-18 12:18:12 +01:00
Stefano Baghino
52110e31a3
Remove Extractor (#12188)
* Remove Extractor

Extractor is being removed after a long time being in Labs status.

This should improve the flakiness on CI.

🔥

changelog_begin
Extractor has been removed from the SDK
changelog_end

* Remove Extractor documentation

* Remove Extractor from CODEOWNERS

* Remove Extractor references in Daml-LF build files

* Remove Extractor references in the Daml SDK assistant

* Remove Extractor from the SDK

* Remove Extractor reference from CONTRIBUTING.md
2021-12-17 13:43:23 +00:00
Stefano Baghino
42adfdc857
Get rid of deprecated components (#12167)
* Get rid of deprecated components

Removes:
- mentions of the Node.js bindings
- mentions of the Scala bindings
- usage of the Scala codegen as an SDK tool
- Java bindings "reactive components"

changelog_begin
The Node.js bindings are no longer supported as part of the Daml SDK
The Scala bindings are no longer supported as part of the Daml SDK
The Java bindings reactive components are no longer supported as part of the Daml SDK
The `daml codegen` command has dropped support for Scala
changelog_end

* Fix typo noticed by @cocreature

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Address https://github.com/digital-asset/daml/pull/12167#issuecomment-995714093

* Remove quickstart-scala from the SDK tarballs

* Fix failing codegen test

* Address https://github.com/digital-asset/daml/pull/12167#pullrequestreview-833991243

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2021-12-16 16:55:19 +00:00
Moritz Kiefer
101356ba36
Bump sonatype timeout to absurdity (#12162)
changelog_begin
changelog_end
2021-12-16 09:38:03 +00:00
azure-pipelines[bot]
e9217a63b4
rotate release duty after 2.0.0-snapshot.20211207.8608.0.c4d82f72 (#12037)
@akrmn is taking care of 2.0.0-snapshot.20211207.8608.0.c4d82f72 (#12036), so they get pushed back to the end of the line.

Please do not merge this before #12036.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2021-12-08 18:39:02 +01:00
Gerolf Seitz
a27a53978c
Warn against using latest node during release testing. (#11980)
CHANGELOG_BEGIN
CHANGELOG_END
2021-12-06 12:48:18 +01:00
azure-pipelines[bot]
614da7b734
rotate release duty after 2.0.0-snapshot.20211130.8536.0.683ab871 (#11935)
@SamirTalwar-DA is taking care of 2.0.0-snapshot.20211130.8536.0.683ab871 (#11934), so they get pushed back to the end of the line.

Please do not merge this before #11934.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2021-12-01 14:03:48 +01:00
Remy
58e69ade1a
LF: replace "dev" LF version by "1.dev" in bazel files (#11894)
the more consistent, as asked by Moritz in review of #11820

CHANGELOG_BEGIN
CHANGELOG_END
2021-11-26 12:23:17 +00:00
Moritz Kiefer
132c277bda
Add a Canton sandbox to the SDK (#11881)
This is only the first step so we have something to use in tests,
eventually `daml sandbox` should map to this Sandbox.

part of #11831

changelog_begin
changelog_end
2021-11-26 11:27:41 +01:00
Remy
d66ecc90c9
LF: Drop Archive Snapshot for LF < 1.14 (#11820)
CHANGELOG_BEGIN
CHANGELOG_END
2021-11-26 09:18:52 +01:00
azure-pipelines[bot]
da8dd7ee2f
rotate release duty after 1.18.0-snapshot.20211123.8463.0.bd2a6852 (#11845)
@nickchapman-da is taking care of 1.18.0-snapshot.20211123.8463.0.bd2a6852 (#11844), so they get pushed back to the end of the line.

Please do not merge this before #11844.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2021-11-24 19:35:46 +00:00
Moritz Kiefer
39c596621b
Drop aherrman-da from release rotation (#11756)
changelog_begin
changelog_end
2021-11-18 10:01:12 +01:00
azure-pipelines[bot]
d60cf70e41
rotate release duty after 1.18.0-snapshot.20211116.8395.0.ccbf7140 (#11734)
@victormueller-da is taking care of 1.18.0-snapshot.20211116.8395.0.ccbf7140 (#11733), so they get pushed back to the end of the line.

Please do not merge this before #11733.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2021-11-17 18:45:24 +01:00
Moritz Kiefer
bb19c0de91
Drop Scala 2.12 support (#11619)
* Drop Scala 2.12 support

This only includes the CI/build system infrastructure
changes. Dropping compatibility layers from our code for 2.12 can be
done separately.

This is fine even in the context of backport builds since we already
disable the Scala 2.12 job for those anyway.

fixes #11315

changelog_begin
changelog_end

* Update bazel-java-deps.bzl

Co-authored-by: pbatko-da <pawel.batko@digitalasset.com>

Co-authored-by: pbatko-da <pawel.batko@digitalasset.com>
2021-11-17 18:38:43 +01:00
Stefano Baghino
bf4f9f7eea
Document ./release.sh new snapshot (#11730)
changelog_begin
changelog_end
2021-11-17 09:10:43 +01:00
azure-pipelines[bot]
ebdab313e9
rotate release duty after 1.18.0-snapshot.20211109.8328.0.92181161 (#11624)
@remyhaemmerle-da is taking care of 1.18.0-snapshot.20211109.8328.0.92181161 (#11623), so they get pushed back to the end of the line.

Please do not merge this before #11623.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2021-11-12 16:52:46 +01:00
tudor-da
c5a1f0bb61
Republish error codes generator lib (#11633)
* Republish error codes generator libraries
* Additionally, add kvutils to classpath for generating KVErrors docs

CHANGELOG_BEGIN
CHANGELOG_END

* Use a new annotation (DeprecatedDocs) instead of @deprecated

* Needed for adding descriptions to the error groups docs. Needed for allowing cross-compilation
to 2.12 and 2.13, not possible due to the reflections machinery of extracting
the message from @deprecated
2021-11-10 19:08:33 +01:00
azure-pipelines[bot]
699c28f59e
rotate release duty after 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11522)
@robin-da is taking care of 1.18.0-snapshot.20211102.8257.0.7391a3cd (#11521), so they get pushed back to the end of the line.

Please do not merge this before #11521.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2021-11-04 19:49:41 +01:00
azure-pipelines[bot]
5a85881cfa
rotate release duty after 1.18.0-snapshot.20211026.8179.0.e474b2d1 (#11422)
@akshayshirahatti-da is taking care of 1.18.0-snapshot.20211026.8179.0.e474b2d1 (#11421), so they get pushed back to the end of the line.

Please do not merge this before #11421.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2021-10-29 14:02:50 +02:00
Moritz Kiefer
82f987390e
Rotate release rotation (#11394)
We forgot to do that last week because the automation didn’t create
the PR.

changelog_begin
changelog_end
2021-10-26 06:43:18 +00:00
Moritz Kiefer
9b00a1aab5
Rotate release rotation (#11291)
changelog_begin
changelog_end
2021-10-19 14:47:39 +00:00
Stefano Baghino
eb834907d7
Add @stefanobaghino-da and @adriaanm-da for approval of stable releases (#11203)
Also a couple of tweaks to `CODEOWNERS`

changelog_begin
changelog_end
2021-10-12 08:42:43 +00:00
Stefano Baghino
265e36255c
Add a notice to the release testing rotation file (#11142)
Reminds people adding new users to the rotation that they should also
be added to DACH-NY/daml-language-ad-hoc to have a box in the cloud
for Windows testing.

Adds the possibility of adding comments at the beginning of the rotation file.

changelog_begin
changelog_end
2021-10-06 21:08:11 +00:00
azure-pipelines[bot]
1e9089552f
rotate release duty after 1.18.0-snapshot.20211006.8003.0.cfcdc13c (#11135)
@adriaanm-da is taking care of 1.18.0-snapshot.20211006.8003.0.cfcdc13c (#11134), so they get pushed back to the end of the line.

Please do not merge this before #11134.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines DAML Build <support@digitalasset.com>
2021-10-06 17:13:01 +02:00
Gary Verhaegen
4cb521b406
don't remove Standard-Change label on failed releases (#11126)
CHANGELOG_BEGIN
CHANGELOG_END
2021-10-06 12:12:11 +02:00
azure-pipelines[bot]
554b36c817
rotate release duty after 1.18.0-snapshot.20210928.7948.0.b4d00317 (#11059)
@stefanobaghino-da is taking care of 1.18.0-snapshot.20210928.7948.0.b4d00317 (#11058), so they get pushed back to the end of the line.

Please do not merge this before #11058.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines DAML Build <support@digitalasset.com>
2021-09-29 13:13:39 +02:00
azure-pipelines[bot]
a043926c30
rotate release duty after 1.17.0-snapshot.20210921.7889.0.1b473c2b (#10972)
@garyverhaegen-da is taking care of 1.17.0-snapshot.20210921.7889.0.1b473c2b (#10971), so they get pushed back to the end of the line.

Please do not merge this before #10971.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines DAML Build <support@digitalasset.com>
2021-09-23 13:41:45 +02:00