@chunlokling-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>
* Support for golden signals metrics on akka-http
Adds metrics support needed for throughput, error rate, latency,
and data size on both the classic http endpoints and
the websocket endpoints.
Installed the support on the JSON API endpoints.
CHANGELOG_BEGIN
JSON API - additional metrics for endpoints
daml_http_json_api_requests_total
daml_http_json_api_errors_total
daml_http_json_api_requests_duration_seconds
daml_http_json_api_requests_size_bytes
daml_http_json_api_responses_size_bytes
daml_http_json_api_websocket_messages_received_total
daml_http_json_api_websocket_messages_received_size_bytes
daml_http_json_api_websocket_messages_sent_total
daml_http_json_api_websocket_messages_sent_size_bytes
CHANGELOG_END
Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com>
CHANGELOG_BEGIN
* triggers may now control (via configuration) the rate at which they submit commands to the ledger. Command submission may be rate limited (to control trigger burst behaviour) and ledger submissions will *only* occur if in-flight command submissions are below threshold values.
CHANGELOG_END
* point to updated GHC
* satisfy changelog
CHANGELOG_BEGIN
CHANGELOG_END
* Point to updated GHC
* Expect new interface view error message in ImplementsNonInterface
* Add test for trying to implement a non-interface
* Point to GHC with better error suppression, fix tests
* Remove unused TryImplementNonInterface
* Point to merged GHC
* add Contract, ContractId type params to ContractTypeCompanion
* move fromCreatedEvent, toContractId to ContractTypeCompanion
* ContractFilter can be simpler with this
* javadoc for toContractId
* Extract Ledger API error definitions in //ledger/error-definitions
changelog_begin
SERVICE_INTERNAL_ERROR error code is created in CommonErrors and replaces the usage of LEDGER_API_INTERNAL_ERROR in ledger-api-client (as a fix).
changelog_end
* Tests in //ledger/error do not depend on //ledger/ledger-api-errors
* Remove unused dependency from //ledger/error
changelog_begin
changelog_end
* Address Martino's comment
* 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