* split JSON API production setup doc to separate documents
CHANGELOG_BEGIN
CHANGELOG_END
* remove json-api and production-setup TOCs
- properly placed in digital-asset/docs.daml.com#55
- suggested by @garyverhaegen-da; thanks
* Success!
* Remove dead / unnecessary code from debugging
* Remove unused `userWrittenTuple` helper
* Import `GHC.Types.magic` where necessary
* Test for example in issue #15338
* satisfy changelog check
CHANGELOG_BEGIN
CHANGELOG_END
* Remove fst/snd lint tests, which weren't correct/useful anyways
* Update DocTest to import GHC.Types where necessary
* Update desugar tests
* Fix daml repl to include GHC.Types import
* Add GHC.Types to the doctest
* style improvement: if cond then action else pure () -> when cond action
* Point to merged GHC
* do the module collision check on generated item only
* Revert "do the module collision check on generated item only"
This reverts commit a6a38425ab.
* added test for detectModuleCollisions
* added test to reproduce issue #15341
* Revert "Revert "do the module collision check on generated item only""
This reverts commit cd4c5a24fd.
* fix test case
* use `daml.lf.language.Reference.Module` instead
* add change log
CHANGELOG_BEGIN
Bug fix: Module name collision check performed on modules which is not to be generated #15340#15341
CHANGELOG_END
* remove debug log
* Minor renaming
* refine name test case name
* add comment
* format
Co-authored-by: Fayi Femi-Balogun <fayimora.femibalogun@digitalasset.com>
* Precompute ScalaPB serializedSize for stream messages
changelog_begin
Introduces a gRPC streams optimization targeting complex protobuf payloads.
When enabled, it can allow up to 60-80% throughput increase for GetTransactions/GetTransactionTrees/GetActiveContracts.
The optimization is toggleable by an additional config parameter for the API server: `api-server.optimize-grpc-streams-throughput`
changelog_end
* Address Marton's review comment
* Update ledger/participant-integration-api/src/main/scala/platform/store/ScalaPbStreamingOptimizations.scala
Co-authored-by: mziolekda <marcin.ziolek@digitalasset.com>
* Rename to withPrecomputedSerializedSize
Co-authored-by: mziolekda <marcin.ziolek@digitalasset.com>
@ray-roestenburg-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>
* Retire changelog entries mechanism
It is no longer used these days, so it simply imposes unnecessary
work. If it ever becomes useful again, retrieving the relevant
scripts from history should be relatively easy.
* Remove references to `unreleased.sh`
* Re-add `unreleased.sh` for summarization -- feedback from @mziolekda`
The comments refer to 0.x and can be misleading for 2.x users
(since the default is not 1.8 anymore and have not been for a
long time at this point). Furthermore, I am also relatively
sure that 1.8 is not even an option at all for 2.x users.
changelog_begin
changelog_end
Somehow our setup doesn't work with puppeteer 19+.
CHANGELOG_BEGIN
- GSG: Several TypeScript warnings have been fixed in the final "Testing
Your Web App" section of the Getting Started Guide. The
`create-daml-app` template includes an updated `config.ts` file, and the
documentation page as been updated to pin the `puppeteer` version to a
known-working one and tweak the `index.test.ts` file.
CHANGELOG_END
* Replace '1.dev only'=>'Daml-LF >= 1.15' in docs for interface functions
* Define coerceInterfaceContractId
* Test coerceInterfaceContractId in InterfaceContractDoesNotImplementInterface
* Test coerceInterfaceContractId in InterfaceConversions
* Add entry for coerceInterfaceContractId in interface reference docs
* update *.EXPECTED.desugared-daml files
changelog_begin
- [Daml Standard Library] Added function ``coerceInterfaceContractId``
changelog_end
* Update contracts table to allow multiple rows per contract id
* Keep template id for deletes
* add tpid grouping to deleteContracts
* chunking implementation
* mention tpid for postgres ON CONFLICT
* Remove ByInterfaceId special case
* add changelog
CHANGELOG_BEGIN
- [JSON API] The JSON API query store database has changed schema and
needs to be reset. If you are migrating from a previous version,
either reset your database manually or start the HTTP JSON API with
one of the options that regenerate the schema (``create-only``,
``create-if-needed-and-start``, ``create-and-start``).
CHANGELOG_END
* add tpid to ignore_row_on_dupkey_index pragma
- came up in discussion with @ray-roestenburg-da; thanks
Co-authored-by: Stephen Compall <stephen.compall@daml.com>
* Added new method using contractUtil instead of filter so that creation of filter is not necessary in IouMain.
* public fields instead of private fields with getters
* delete getContracts
* var
* move ContractUtil to java binding
* to String
* update doc
* address comments
* address comment
* add change log
CHANGELOG_BEGIN
change quickstart java example to use typed acs stream and transaction.
CHANGELOG_END
* rename to response
* format
* update line number
* factor variant case handling to utility function
* factor record case handling to utility function
* remove unused import; reformat
* full internal api notes
CHANGELOG_BEGIN
CHANGELOG_END
* Extract helper _validate_dar in data_dependencies.bzl
* Generalize daml_script_test from daml_script.bzl
* Move regression test for #14291 into compatibility tests
changelog_begin
changelog_end
run-full-compat: true
* Expand the reference for the TypeScript library
The content is more or less there, I expanded some explanations and added a
reference to `create-daml-app`.
changelog_begin
changelog_end
* Fix link
* Update docs/source/app-dev/bindings-ts/index.rst
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Update docs/source/app-dev/bindings-ts/index.rst
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Update docs/source/app-dev/bindings-ts/index.rst
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
Co-authored-by: Jennifer Whyte <42810081+jwhyte-da@users.noreply.github.com>
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* add getContractTypeId to Contract
* add getContractTypeId to Template
* generate getCompanion methods for every Template
* hide ContractId#getCompanion
* test getting from interface Contract
* test getting from template and template contract
* add changelog
CHANGELOG_BEGIN
- [Java codegen] Template payloads and contract instances (including for
interface views) now support a ``getContractTypeId`` method that
returns the template or interface ID.
CHANGELOG_END
The problem is that `damlcForTarget tools depLfVer` could return an older damlc
than needed for `targetLfVer`.
The reason this didn't fail before is that the legacy damlc supports up to
LF=1.14, and `lfVersionTestPairs` never had `depLfVer < 1.14 && targetLfVer > 1.14`
changelog_begin
changelog_end