Commit Graph

10490 Commits

Author SHA1 Message Date
Sergey Kisel
71e627fb15
Update compatibility for the HOCON-related changes (#14543)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-27 11:01:47 +00:00
azure-pipelines[bot]
75e781c04a
bump canton to 20220726 (#14539)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-07-27 12:52:59 +02:00
Remy
88d4ff93f2
LF: remove precondition in interface (proto & scala side) (#14511)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-27 10:52:35 +02:00
shimonzerbib-da
d33370bedc
Update production-setup.rst (#14424)
* Update production-setup.rst

@carrielaben-da Minor edits

* Update docs/source/json-api/production-setup.rst

Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>

* Update docs/source/json-api/production-setup.rst

Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>

* Update docs/source/json-api/production-setup.rst

Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>

* Update docs/source/json-api/production-setup.rst

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>

Co-authored-by: ShimonZerbib <106097817+ShimonZerbib@users.noreply.github.com>
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
2022-07-27 07:48:12 +02:00
Stephen Compall
8586eb68da
suggest JSON API/JavaScript users use the bindings and codegen (#14536)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
2022-07-26 19:48:40 +00:00
Andreas Lochbihler
6f7077842e
add operations for non-empty sorted maps (#14527)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Stephen Compall <stephen.compall@daml.com>
2022-07-26 18:57:33 +00:00
Moisés Ackerman
1798a4017f
Controller can warning docs (#14535)
* Merge code-snippets-dev/Structure.daml into code-snippets/Structure.daml

* indentation docs/source/daml/code-snippets/*.daml

* Document controller-can migration path and warning

* update comment on choice observer support

changelog_begin
changelog_end
2022-07-26 17:03:23 +00:00
dylant-da
87938faaf7
DAML Views - Syntax Only (#14435)
* Point to new GHC version with viewtype and view syntax

* Make minimum modifications to erase newly generated view code

CHANGELOG_BEGIN
CHANGELOG_END

* Point to updated GHC - no longer requires viewtype/view at syntax level

* Add DA_Internal_Interface to convertTypeDef exclusion check

* Move desugared types/values for interface views into DA.Internal.Desugar

* Disable unused TypeFamilies extension in DA.Internal.Interface

* Point to updated GHC, "Remove shortViewName"

* Update to latest GHc view syntax changes

* Update GHC to merged view syntax changes
2022-07-26 16:57:51 +00:00
Stephen Compall
8309cfef1e
group JSON API tests by endpoint, other categories (#14522)
* group query tests
* group remaining abstract integration tests
* group user management tests
* group websocket tests

CHANGELOG_BEGIN
CHANGELOG_END
2022-07-26 11:50:04 -04:00
Johan Sjödin
3968bcf216
Fix DA.Logic.isBool comment (#14532)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-26 15:20:40 +00:00
azure-pipelines[bot]
a9d5367dbf
bump canton to 20220725 (#14524)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-07-26 16:33:43 +02:00
Sergey Kisel
17fba251c9
Support HOCON key-value overrides for legacy cli config (#14495)
* Support HOCON value parsing for legacy cli config

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: mziolekda <marcin.ziolek@digitalasset.com>
2022-07-26 13:58:38 +00:00
Gary Verhaegen
74b7878d6e
release: bump Dylan in rotation (#14528)
Both Ray and Victor are off this week.

CHANGELOG_BEGIN
CHANGELOG_END
2022-07-26 15:31:40 +02:00
tudor-da
af0c86609e
Temporarily disable TXTransientNotObservableNoSubmitters since it is flaky in Canton (#14531)
changelog_begin
changelog_end
2022-07-26 13:15:08 +00:00
nickchapman-da
76e9fd8658
Burn unused sub-classes of ValidationError (#14530)
changelog_begin
changelog_end
2022-07-26 13:33:45 +01:00
Remy
8a02a050b1
LF: Remove interface methods from collision check (#14513)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-26 13:31:55 +02:00
azure-pipelines[bot]
8a5118eb59
update NOTICES file (#14526)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-07-26 11:19:11 +02:00
Moritz Kiefer
93d9b767fd
Document audience-based token format (#14516)
* Document audience-based token format

changelog_begin
changelog_end

* Update docs/source/app-dev/authorization.rst

Co-authored-by: Sergey Kisel <98825453+skisel-da@users.noreply.github.com>

* Update docs/source/app-dev/authorization.rst

Co-authored-by: Sergey Kisel <98825453+skisel-da@users.noreply.github.com>
2022-07-26 07:03:16 +00:00
tudor-da
942a4d025a
[LLP] Implement support for point-wise transaction lookups from in-memory fan-out [DPP-1045] (#14500)
* [LLP] Implement support for point-wise transaction lookups from in-memory fan-out

changelog_begin
changelog_end

* Renamed EventsBuffer to InMemoryFanoutBuffer

* Refactoring

* Add missing interfaceId passing to TransactionTree/ExercisedEvent

* Added BufferedTransactionByIdReaderSpec

* Update missing docs

* Addressed Simon's review comments
2022-07-26 05:30:58 +00:00
Remy
6caedfb0ca
LF: Utility to enrich interface views (#14520)
CHANGELOG_BEGIN
CHANGELOG_END

* fix

* Add test
2022-07-25 17:36:40 +00:00
Stephen Compall
3a33b3bcde
make getInterfaceId optional (#14485)
* remove hasInterfaceId, add Optional to type

* add some missing properties in ExercisedEvent to equals, hashCode, toString

* mark ExercisedEvent final, as with other events

CHANGELOG_BEGIN
- [Java bindings] ``ExercisedEvent#getInterfaceId`` has a different type
  since 2.3.x, indicating its optionality.
CHANGELOG_END
2022-07-25 12:50:33 -04:00
Gary Verhaegen
903af76a66
release 2.3.2 (#14518)
This release is meant to include a fix on the Canton side. Because of
how our release process works at the moment, this means we have to
create a new release on this side too, even though there is no code
change.

So it is totally expected at this point that the 2.3.2 line points to
the same commit as the 2.3.1 line, even though it looks a bit strange.

CHANGELOG_BEGIN
CHANGELOG_END
2022-07-25 15:56:29 +02:00
azure-pipelines[bot]
847884ec67
update NOTICES file (#14509)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-07-25 15:51:11 +02:00
tudor-da
6a56f1b47c
Change fanout to fan-out in conformance test naming (#14517) 2022-07-25 13:30:28 +00:00
Simon Maxen
f26b9b2761
Add metering_report_json to GetMeteringReportResponse [DPP-1104] (#14496)
* Add metering_report_json to GetMeteringReportResponse

changelog_begin
changelog_end
2022-07-25 14:21:49 +01:00
Stefano Baghino
97b8308b2d
Remove spurious reference to ledger-parties.json (#14515)
The reference to the actual file has been moved above the
paragraph I edited. Removing the reference seems to work.

I also replaces an instance of non-capitalized ID since
I was there.

changelog_begin
changelog_end
2022-07-25 12:14:08 +00:00
atriantafyllos-da
447151915a
Aligns IMFO w/ persistence's handling of transient transctions [DPP-1077] (#14447)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-25 13:58:07 +02:00
nickchapman-da
1d18889fe1
[engine] improve ptx/sbuiltin interface w.r.t. abort handling (#14465)
* improve ptx/sbuiltin interface w.r.t. abort handling

changelog_begin
changelog_end

* hack fix script fail

* preserve existing behaviour for ScriptService test

* inline noteAuthFails

* Right before Left
2022-07-25 11:41:38 +00:00
Remy
7c89050c60
LF: Utility function to compute the relation interface/implementation (#14409)
in a package.

CHANGELOG_BEGIN
CHANGELOG_END
2022-07-25 11:20:42 +00:00
tudor-da
ac2b8a9601
Complete conformance tests for Sandbox-on-X (#14514)
changelog_begin
changelog_end
2022-07-25 13:13:04 +02:00
Rafael Guglielmetti
1e604e249c
Fix typo in documentation (#14512)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-25 12:10:42 +02:00
Remy
df21aad8af
LF: Make ExerciseInterface guard field optional (#14493)
in protobuf

CHANGELOG_BEGIN
CHANGELOG_END
2022-07-25 11:33:02 +02:00
azure-pipelines[bot]
be1ebb433f
rotate release duty after 2022-07-20 (#14476)
@remyhaemmerle-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) 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-07-25 11:11:18 +02:00
Sergey Kisel
c1b6af1357
Document all options in the HOCON config bundle [DPP-1121] (#14400)
* Document all options in the HOCON config bundle [DPP-1121]

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Tudor Voicu <tudor.voicu@digitalasset.com>
Co-authored-by: Marton Nagy <marton.nagy@digitalasset.com>
Co-authored-by: Simon Maxen <56595114+simonmaxen-da@users.noreply.github.com>
2022-07-25 08:48:23 +00:00
Remy
c3789e70c3
[LF] minor refactoring of the type chect to reduce stack consumption (#14510)
After this change //daml-lf/tests:test-scenario-stable-many-fields
does not seem to stack overflow anymore.

This is a workaround until we make the type checker stack safe, See #13410.

CHANGELOG_BEGIN
CHANGELOG_END
2022-07-25 08:26:05 +00:00
azure-pipelines[bot]
dabdc51cb5
bump canton to 20220722 (#14502)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-07-25 08:44:55 +02:00
tudor-da
9744c4ed02
[LLP] In memory fanout completions [DPP-1044] (#14422)
* Rename TransactionLogUpdate.Transaction to TransactionLogUpdate.TransactionAccepted

changelog_begin
changelog_end

* Implement command completions serving from in memory fanout

changelog_begin
changelog_end

* Refactor to use only one BufferedReader

* Renaming and docs

* Fix compilation issues

* Address review comments
2022-07-22 08:02:41 +02:00
Stephen Compall
67b47c6dff
replace custom toOptional in interface library with scala-library method (#14487)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-21 17:12:21 +00:00
dylant-da
8d93efdd12
Add EViewInterface to LF - stub compilation/interpretation in speedy (#14486)
* Add ViewInterface to LF - stub interpretation in speedy

* Remove templateId and viewtype from EViewInterface

* Fix lint
2022-07-21 15:10:53 +00:00
Remy
1cbc21e719
[LF] Cleanup Relation data structure (#14471)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-21 13:03:29 +02:00
Sergey Kisel
f871d8140c
Close the stream (#14473)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-21 10:37:28 +02:00
azure-pipelines[bot]
7e2946ada0
bump canton to 20220720 (#14489)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-07-21 09:13:44 +02:00
tudor-da
e023fcfc8c
Removes TransactionLogUpdate events Vector populated requirement (#14475)
changelog_begin
changelog_end
2022-07-19 20:27:35 +02:00
dylant-da
ab948dd8de
Update LF AST protobuf for interface viewtype and implementation view (#14439)
* Update protobuf to include viewtype and implementation view

* Stub interface viewtype and implements view in updated AST

* Set views on Java builders in DecodeV1Spec

CHANGELOG_BEGIN
Update LF AST protobuf for interface viewtype and implementation view -
not currently linked to syntax or engine changes, all stubbed out in
LFConversion.
CHANGELOG_END

* Add view field to CoImplements

* Update iterators & parsers to account for CoImplements view

* Replace uses of TBuiltin(BTUnit) with TUnit

* Remove superfluous "Available in versions >= 1.dev" comment

* Fix missing TUnit imports, missing view param in daml-lf/parser

* Remove unused imports from DecodeV1Spec

* Add stub view in AstSpec
2022-07-19 12:00:04 +00:00
Stefano Baghino
8c45e9b695
Remove scale from RST source in Daml Studio page (#14472)
changelog_begin
changelog_end

It ended up causing the images to be stretched. The formatting is taken
care of in the CSS and doesn't need to be adjusted in the RST.
2022-07-19 08:57:54 +00:00
Meriam Lachkar
f8ae4a2123
Adapt the setup script to show how you can create/get parties on canton (#14452)
* Adapt the setup script to show how you can create/get parties on canton

* address review comments

* Update templates/create-daml-app/daml/Setup.daml

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

* Update templates/create-daml-app/daml/Setup.daml

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

* Update templates/create-daml-app/daml/Setup.daml

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

* Update templates/create-daml-app/daml/Setup.daml

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

* address review comments

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2022-07-19 08:43:07 +00:00
Sergey Kisel
b72dcc0b93
Handle decoding and validating dar file in a separate thread [DPP-948] (#14454)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-19 10:02:21 +02:00
Sergey Kisel
c8400d820a
Read API version during service initialization rather than during first request [DPP-948] (#14455)
CHANGELOG_BEGIN
CHANGELOG_END
2022-07-19 09:45:52 +02:00
azure-pipelines[bot]
df139c6eb1
bump canton to 20220718 (#14468)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2022-07-19 07:03:06 +00:00
Gary Verhaegen
bf64e705e9
ci: unpin Docker (#14464)
When we set this up years ago (#1566), it was a way to get a more recent
Docker version than was then available through the default Ubuntu 16.04
apt repository. Nowadays, this actually makes us lag behind, to the
point where the 2.3.1 image isn't building.

CHANGELOG_BEGIN
CHANGELOG_END
2022-07-18 17:52:28 +00:00