Commit Graph

251 Commits

Author SHA1 Message Date
Stefano Baghino
e845b5913d Release 0.13.13 (#2170)
https://www.youtube.com/watch?v=4m1EFMoRFvY
2019-07-16 17:32:41 +00:00
Remy
3a93647eff improve doc about enum types (#2168)
* add a more meat to doc about enum types

* Update docs/source/app-dev/daml-lf-translation.rst

Co-Authored-By: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
2019-07-16 16:19:37 +00:00
Remy
e7bbf87692 Freeze DAML-LF version 1.6 (#1937)
* daml-lf: cosmetic

* daml-lf: release V1.6

* daml-lf: update spec

* update unreleased.rst

* Address Martin's comments

* damlc: active daml-lf-target 1.6

* lf-encoder: fix testing dar generation

* daml-lf spec: simplify 1.dev description

* daml-lf: fix engine test

* daml-lf: fix version timeline

* extractor: fix test

* Address Stephen's comments

* Add more meat to the release notes

* java-codegen: update docs

* damlc: set 1.6 as default output version

* java-codegen update integration tests

* undo replicating typo

* release notes

* scala-codegen: update test

* java-codegen: fix doc

* extractor: fix  test

* address Gerolf's comments

* realse-notes: cleanup unreleased.rst

* Address last comment from Stephen

+ cosmetic cleanup

* formatting
2019-07-12 19:06:44 +00:00
Beth Aitman
50997b3cbb Small docs fixes (#2086) 2019-07-10 11:42:08 +00:00
Rohan Jacob-Rao
8e1f0a75cb Prepare release (#2074) 2019-07-09 16:34:48 +00:00
Rohan Jacob-Rao
99e7cd71b0
Prepare new release (#2038) 2019-07-08 12:05:54 -04:00
Moritz Kiefer
edff8a416d
Move files in daml-foundations/daml-ghc to compiler/damlc (#2037)
* Move files in daml-foundations/daml-ghc to compiler/damlc

There is also a bit of refactoring going on to actually split things
apart into sensible targets. What is still missing is a cleanup of the
module hierarchy and a cleanup of the test targets but I’ll leave
those for separate PRs.

As a nice bonus, this also reduces dependencies between targets so it
will speed up compiles.

* Update .hie-bios
2019-07-08 17:55:51 +02:00
Andreas Herrmann
df7bff6288 Update to bazel-0.27 (#1957)
* Bazel: 0.24.0 -> 0.27.0

* Update rules_haskell for Bazel 0.27 compatibility

* Update bazel-deps and bazel-watcher

* Windows escape JVM flags

* load commands at top of .bzl file

Bazel 0.27 no longer allows load commands that are not at the beginning
of the file.

* Update Bazel rules

* subpackage boundary

* native is not defined in BUILD files

* yarn: @bazel/hide-bazel-files

Seems to be required since latest rules_nodejs version. Otherwise, yarn
fails with errors about existing BUILD or BUILD.bazel files.

* grpc-java plugin visibility

* Update fat_cc_library

* Nix Python3 toolchain

* Iteration over depset

* dev_env_package: Create symlinks one level deeper

To prevent symlinking the BUILD file as well. The nested BUILD file
confuses Bazel as of 0.27 and rules_nodejs cannot find the node
executable anymore.

* Update rules_nodejs

* Add managed_directories for node_modules

* hie-bios: Extract bazel-genfiles from bazel info

Bazel 0.27 changed the genfiles location which breaks the hie-core test
on macOS.

* update cc_wrapper to Bazel 0.27

* bazel info -> bazel info bazel-genfiles

* Fix typo in BUILD

Co-Authored-By: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
2019-07-05 14:04:47 +00:00
Francesco Mazzoli
ca5d045e62 check that submitter is in maintainers for lookup by key (#1967)
* check that submitter is in maintainers when looking up keys

Fixes #1866. Note that this limitation applies both for `lookupByKey`
and `fetchByKey` -- anything involving retrieving a key is affected.

* add UNTIL-LF to run tests up to a certain version of DAML-LF

* name targets for DAML tests better

* add notes about DAML-LF changes

* commit Test.daml with DAML-LF 1.5 rather than compiling it on the fly

* add scenario tests for #1866

* add warnings about future key behavior in docs

* use flag rather than version when executing
2019-07-05 09:34:26 +00:00
Moritz Kiefer
bc20ace034
Make the gRPC timeout used for the scenario service configurable (#2000)
Given that we already made the max message size configurable it only
seems reasonable to also make the timeout configurable and on very
large projects, we do sometimes hit this.
2019-07-04 11:01:01 +02:00
Beth Aitman
5daf3f55f3 Improve java install step (#1997) 2019-07-03 21:50:38 +02:00
Beth Aitman
29299d55e9 Docs fixes based on Mopinion feedback (#1973)
* Remove old introduction page

* Add PATH instruction links

* Changes based on quickskstart feedback

* Small fixes

* Fix link
2019-07-02 14:39:45 +00:00
Moritz Kiefer
c2a3d6ea28
Allow controlling the gRPC message limit via daml.yaml (#1970)
* Allow controlling the gRPC message limit via daml.yaml

We have had to raise that in the past since it caused issues on large
projects so it makes sense to make it configurable.

* Update unreleased.rst

Co-Authored-By: Beth Aitman <bethaitman@users.noreply.github.com>
2019-07-02 14:22:35 +02:00
Anup Kalburgi
37e616d0a1
Adding example for quickstart (#1796)
adding quickstart example for visual
2019-07-01 11:45:54 -04:00
Moritz Kiefer
6bd76d80e1 Use the default dar path in the quickstart-java example (#1963) 2019-07-01 15:43:53 +00:00
Moritz Kiefer
af795d14ca Combine all artifacts output by damlc in .daml (#1959)
Fixes #1241
2019-07-01 15:07:30 +00:00
Gabor Aranyossy
2bb8263a5e adapting docs to match state as is regarding not supporting dalf files (#1951)
* adapting docs to match state as is regarding not supporting dalf files

* patching release notes instead

* validating for ZIP files in Cli parser

* guarding for parsing non zipped archives

* Update release-notes.rst

* Update unreleased.rst

Co-Authored-By: Beth Aitman <bethaitman@users.noreply.github.com>

* Update unreleased.rst

* Update release-notes.rst

* Update release-notes.rst
2019-07-01 13:36:56 +00:00
Martin Huschenbett
158a6ad116
Move the daml-stdlib docs one level up in the table of contents (#1946)
This fixes #1821.
2019-06-28 18:26:18 +02:00
Moritz Kiefer
21644bd91d
Release 0.13.10 (#1936)
https://www.youtube.com/watch?v=dQw4w9WgXcQ
2019-06-28 13:34:32 +02:00
Michał Majcherski
2afefb7883
windows: root build (#1894)
* windows: root build

* windows: fixed haskell bindings tests

* windows: disable client_server_test test

* windows: marking daml_test flaky due to #1907

* windows: removing da-hs-damlc-app run from build.ps1

* windows: disable hie-core alias of currently disabled target
2019-06-28 12:55:31 +02:00
Moritz Kiefer
bcb48ae746 Release 0.13.9 (#1930)
Maybe I’ll get lucky this time …
2019-06-28 09:10:10 +00:00
Moritz Kiefer
4ae4c9b08b
Release 0.13.8 (#1914) 2019-06-27 14:48:01 +02:00
Brian Healey
4f60c7a452
Add Zulu JDK link (#1877)
* Add Zulu link for JDK in addition to Oracle link

* Oracle not Sun
2019-06-26 11:29:10 -04:00
Moritz Kiefer
0866616cee
Release 0.13.7 (#1887) 2019-06-26 14:05:49 +02:00
Brian Healey
c83db69828
Correct links and address suggested wording changes (#1817)
* Correct links and address wording changes from beth

* daml-integration-kit: clarify ledgers being built section

- drop separate Deployment Platform column, as it was confusing. Added
  as references to managed offerings for partners that have them.
- use an intra-doc reference instead of a reference via docs.daml.com
  for Sandbox docs
- reword intro for kit to position platform overview better
2019-06-25 14:36:32 -04:00
Fran
ce03f6a514
Remove navigator configs (#1859) 2019-06-25 12:32:03 +01:00
Moritz Kiefer
b859b5c059 Release SDK 0.13.6 (#1854)
The main reason for doing a release is that I want to unblock
@bame-da’s upgrade of the bond trading example but there have also
been a few useful fixes and improvements.
2019-06-25 07:54:17 +00:00
gleber
f63bb8a410 Ledger API: scale all timeLimits in tests with ScaledTimeSpans (#1843) 2019-06-24 13:26:04 +00:00
Brian Healey
4eb7373589 Add fabric, corda, aurora to daml integration kit roadmap (#1813)
* Add fabric, corda, aurora to daml integration kit roadmap

* correct syntax problem with links
2019-06-21 21:00:19 +00:00
Brian Healey
4a5b1732f8 Update Pipfile to python 3.7 for docs/scripts to avoid warnings (#1816)
* Update Pipfile to python 3.7

Update Pipfile to python 3.7

* Update Pipfile.lock for python37
2019-06-21 20:57:42 +00:00
Neil Mitchell
f154d15db2 Remove the feedback widget as a valid source of support (#1802) 2019-06-21 13:55:06 +00:00
Beth Aitman
2492c28501 Update roadmap now we're three months in (#1526)
* Update roadmap now we're three months in

* Edits after Neil discussion

* Remove comments

* Update docs/source/support/roadmap.rst

Co-Authored-By: Martin Huschenbett <martin.huschenbett@posteo.me>
2019-06-21 13:09:52 +00:00
Fran
15827d43ce
Fix up the release notes according to new guidelines. (#1786)
* Fix up the release notes according to new plan.

* Better note.

* Added an a
2019-06-20 15:24:20 +01:00
Moritz Kiefer
7848b760d5 Update the state of the Windows SDK (#1773)
The defender warning seems to be gone in my tests.
2019-06-20 07:25:51 +00:00
Stefano Baghino
b2d9095a3c
Move unreleased user-facing features to its own file (#1762)
* Move unreleased user-facing features to its own file

docs/source/support/release-notes.rst unfortunately represents a "global
lock" when it comes to submitting contributions: if another contribution
changed it while another was going through the CI/review process, the
latter would have to go again through the CI build after resolving the
conflict and merging the resulting commit.

The contributors originally tried to address this problem by letting the
system automatically performing this operation, but this failed because
release notes were moved to the wrong section by mistake.

This simple change would allow the contributors to let the system take
care of merging on its own, because existing release notes will no
longer be corrupted by the process.

There is a caveat: the automatic merging could result in invalid RST
(mostly because of missing newlines). This would push the task of
ensuring the release notes are valid RST to the release. I would argue
this can be done quite easily and that this is checked automatically
when rendering RST to HTML, so it could be a nuisance during release but
it would make the day-to-day contributions easier.

* Address https://github.com/digital-asset/daml/pull/1762#issuecomment-503540993

* Address https://github.com/digital-asset/daml/pull/1762#pullrequestreview-251676158

* Address https://github.com/digital-asset/daml/pull/1762#discussion_r295279530

* Remove HEAD section from release-notes.rst

* Address https://github.com/digital-asset/daml/pull/1762#pullrequestreview-251678791

* Address https://github.com/digital-asset/daml/pull/1762#issuecomment-503549896
2019-06-19 16:32:03 +02:00
Moritz Kiefer
d477b22727 Refactor handling of virtual resources (#1757) 2019-06-19 14:00:58 +00:00
Fran
728c1c9204
Implement daml install --install-assistant flag. (#1761)
* Add --install-assistant option

* Better doc on iActivate

* Determine whether to install assistant based on new flag

* Fix logic and update install warning

* Remove --activate from install.sh

* Add missing ]

* Change deprecation warning.

* Add release notes for new option.

* Update help text for install-assistant

* Fix release notes
2019-06-19 14:00:13 +01:00
Robert Autenrieth
c14b909c71 Implement package management API in the sandbox (#1610)
* store archive size in `DarReader`

* rename `SandboxTemplateStore` to `SandboxPackageStore`

* store package info in `SandboxPackageStore`

* introduce package upload / read to write / index services

not tested yet, just a ton of plumbing

* WIP test the package service

* Fix build errors after rebase

* Move packages service to v2

* Ledger API client uses ledger API types

* Fix ReflectionIT

* Correctly handle uploading invalid dar files

* Fix reading DAR entry file sizes

* Improve package management IT

* Improve handling of duplicate packages

* Fix language-support build

* Use unique party and command names

* Rename lfpackage to language

* Rename SandboxPackageStore to InMemoryPackageStore

* Remove getCurrentTime ledger method

* Improve package management IT

* Move InMemoryActiveContracts and InMemoryPackageStore

* Use case object for UploadDarResult.Ok

* Address review comments

* Update release notes

Fixes #1311

* Use BazelRunfiles in test
2019-06-19 12:31:53 +00:00
Nick Smith
fda517a3e9
Release SDK 0.13.5 (Fixes #1759) (#1760) 2019-06-19 14:19:55 +02:00
Nick Smith
5ca4674b5b
Fixes #1755: Carefully fix json message to release artefacts (#1756)
* Fixes #1755: Carefully fix json message to release artefacts
2019-06-19 12:23:22 +02:00
Stefano Baghino
656e456b78 Add ExerciseByKey command to Ledger API (#1724)
Fixes #1366

Also adds support for the new command to the Java bindings and codegen
2019-06-19 09:11:52 +00:00
Moritz Kiefer
f2e6705ed7
Send didClose notifications when the scenario view is closed (#1742)
This fixes #1606 which was caused by the fact that VSCode does not
send a close notification if the webview is closed.

The logic here is still a giant mess and has a bunch of stuff leftover
from previous VSCode APIs but I’ll clean it up in a separate PR.
2019-06-19 10:35:52 +02:00
Nick Smith
ab02dbbbe6
Release SDK 0.13.4 (#1752)
* Release SDK 0.13.4
2019-06-19 10:30:34 +02:00
Nick Smith
0d123a1d51
Fixes #1745: Fix JSON sent to release artefacts to Maven Central. (#1747)
* Fixes #1745: Fix JSON sent to release artefacts to Maven Central.
2019-06-19 08:33:07 +02:00
Davin K. Tanabe
a77c5216b5 sandbox: Fix a migration script. (#1684)
This fixes two issues with the sandbox database migration:
* A typo in the migration script
* Error deserializing transactions due to protobuf recursion limits

Fixes #1682
2019-06-18 23:48:15 +02:00
Stefano Baghino
02e950394d Support generic types as contract keys in codegen (#1743)
Fixes #1728
2019-06-18 14:54:23 +00:00
Nick Smith
7f57609aaa
Prepare for SDK release 0.13.3 (Fixes #1739) (#1740)
* Prepare for SDK release 0.13.3 (Fixes #1739)
2019-06-18 15:21:20 +02:00
Moritz Kiefer
17d758b2f0
Run IDE in parallel (#1733)
I am fairly sure that we used to do this but we definitely do not do
it now.
2019-06-18 14:07:51 +02:00
Nick Smith
4db34f042d
Fixes #1737: Fix broken URL for releasing uploaded artefacts to Maven… (#1738)
* Fixes #1737: Fix broken URL for releasing uploaded artefacts to Maven Central.

Additionally, skip opening and closing staging repositories if there are no
artefacts to be uploaded.
2019-06-18 13:28:47 +02:00
Bernhard Elsner
d88b8b471e
Daml intro (#1717)
* DAML Intro Sections 1 - 7

* Apply suggestions from code review

Co-Authored-By: Beth Aitman <bethaitman@users.noreply.github.com>

* Address Beth's comments

* Rebase and fix release notes

* Add suggestions for Haskell reading
2019-06-18 11:56:06 +02:00