From f7540065ae8925803ba0b0870940e99d740c70f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enis=20Bayramo=C4=9Flu?= Date: Tue, 17 Jan 2023 20:45:26 +0100 Subject: [PATCH] Bump v2.1.0 (#120) This PR updates the `chainweb-data` package version to `2.1.0` and adds the change notes for the new release. * Bump chainweb-data version to 2.1.0 * Add the v2.1.0 change log * Add #123 to changelog * Fix reference to random_page_cost PR * Mention the last minute PRs 124 & 125 --- ChangeLog.md | 26 +++++++++++++++++++++++++- chainweb-data.cabal | 2 +- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 472ed022..8656348b 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,30 @@ # Changelog -## 2.0.0 (pending) +## 2.1.0 (2023-01-05) + +This release drops the officiall support for Ubuntu 18.04 and adds support for Ubuntu 22.04 (see #100) + +This is the last version that uses `beam-automigrate` for managing the database schema, from this version on, we'll switch to managing the schema using incremental migration scripts (see #101, #102, #104). When future versions of `chainweb-data` need to migrate the database from a version earlier than 2.1.0, they will ask the user to first run 2.1.0 to prepare their database for incremental migrations. + +- A new `/txs/account` endpoint for fetching the incoming and outgoing transfers of a Kadena or non-Kadena account. #76 (also #83, #96, #103, #110, #114, #117, #124, #125) +- All search endpoints (`/txs/{account,events,search}`) now support an optional (at the discretion of the HTTP gateway) "bounded execution" workflow (#109, also #118) +- The event search endpoint `/txs/event` now accepts 2 new arguments to narrow down the search results (#74): + - `modulename`: Narrows down the search to events whose modules names match this value **exactly** + - `minheight`: The minimum block height of the search window +- A _hidden_ new `--serve-swagger-ui` CLI argument that can be passed to `chainweb-data` to make it serve a Swagger UI for an auto-generated OpenAPI 3 spec for the `chainweb-data` HTTP API. The CLI argument is hidden because this spec is rudimentary and unofficial at the time of this release. Future releases will improve it. +- A new `--ignore-schema-diff` CLI argument to `chainweb-data` to make it ignore any unexpected database schema changes. This can be used by `chainweb-data` operators to make schema changes to their database and keep running `chainweb-data`, but such ad-hoc database schema changes are not officially supported since they can cause a wide variety of errors under unpredictable conditions. +- A new `migrate` command for the `chainweb-data` CLI that can be used to run the database migrations and exit. +- A new `/txs/txs` endpoint similar to `/txs/tx`, but it returns a list of `TxDetail` objects, which can contain more than one entry when a transaction is introduced multiple times into the blockchain on independent branches. #71 #72 +- Code search and event search query optimization (#67) +- Add requestkey indexes on `events` and `transactions` tables (#98) +- Refactor richlist generation (#89) +- Load-based throttling for search endpoints (#116) +- Optimize the recent transactions query at server start up (#119) +- Coin circulation calculation fix #97 +- Set random_page_cost to 0 for CW-D connections #122 + + +## 2.0.0 (2021-08-18) This is a major backwards-incompatible update. All chainweb-data users need to delete their DB and rebuild from scratch. Major changes include: diff --git a/chainweb-data.cabal b/chainweb-data.cabal index 5dfba897..69cf8902 100644 --- a/chainweb-data.cabal +++ b/chainweb-data.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: chainweb-data -version: 2.0.1 +version: 2.1.0 description: Data ingestion for Chainweb. homepage: https://github.com/kadena-io/chainweb-data author: Colin Woodbury