From 0b6eed278db37784df92cedd85b30b0835ce8b46 Mon Sep 17 00:00:00 2001 From: ptrus Date: Thu, 19 Dec 2024 08:47:41 +0100 Subject: [PATCH] release v0.5.1 --- .changelog/832.feature.md | 5 ----- .changelog/835.bugfix.md | 3 --- .changelog/836.bugfix.md | 1 - .changelog/837.feature.md | 1 - .changelog/838.feature.md | 4 ---- .changelog/839.trivial.md | 1 - .punch_version.py | 2 +- CHANGELOG.md | 37 +++++++++++++++++++++++++++++++++++++ 8 files changed, 38 insertions(+), 16 deletions(-) delete mode 100644 .changelog/832.feature.md delete mode 100644 .changelog/835.bugfix.md delete mode 100644 .changelog/836.bugfix.md delete mode 100644 .changelog/837.feature.md delete mode 100644 .changelog/838.feature.md delete mode 100644 .changelog/839.trivial.md diff --git a/.changelog/832.feature.md b/.changelog/832.feature.md deleted file mode 100644 index f46b16678..000000000 --- a/.changelog/832.feature.md +++ /dev/null @@ -1,5 +0,0 @@ -storage: Mark postgresql address helpers functions as STABLE - -Marking these functions as STABLE allows them to be used in index expressions -and enables PostgreSQL to optimize queries by avoiding unnecessary -recomputations of the function during query execution. diff --git a/.changelog/835.bugfix.md b/.changelog/835.bugfix.md deleted file mode 100644 index a56d90254..000000000 --- a/.changelog/835.bugfix.md +++ /dev/null @@ -1,3 +0,0 @@ -consensus/api/validators: Skip latest block in signed blocks info - -Skip the latest block since signers are only processed in the following block. diff --git a/.changelog/836.bugfix.md b/.changelog/836.bugfix.md deleted file mode 100644 index 22c5023df..000000000 --- a/.changelog/836.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -storage: Update block proposer index to include height diff --git a/.changelog/837.feature.md b/.changelog/837.feature.md deleted file mode 100644 index e1d40c9d6..000000000 --- a/.changelog/837.feature.md +++ /dev/null @@ -1 +0,0 @@ -analyzers: add configurable `MaxBackoffTimeout` diff --git a/.changelog/838.feature.md b/.changelog/838.feature.md deleted file mode 100644 index b7d305034..000000000 --- a/.changelog/838.feature.md +++ /dev/null @@ -1,4 +0,0 @@ -Optimize `RuntimeEvmVerifiedContractEvents` query - -Optimizes the query by switching DECODE to ENCODE for address comparison -to leverage existing indexes on `chain.runtime_events` table. diff --git a/.changelog/839.trivial.md b/.changelog/839.trivial.md deleted file mode 100644 index 7485ebbed..000000000 --- a/.changelog/839.trivial.md +++ /dev/null @@ -1 +0,0 @@ -bisect: update internal doc link diff --git a/.punch_version.py b/.punch_version.py index 846b1a2ac..dc48a7490 100644 --- a/.punch_version.py +++ b/.punch_version.py @@ -1,3 +1,3 @@ major = 0 minor = 5 -patch = 0 +patch = 1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 327166f6c..0dacf7943 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,43 @@ The format is inspired by [Keep a Changelog]. +## 0.5.1 (2024-12-19) + +### Features + +- storage: Mark postgresql address helpers functions as STABLE + ([#832](https://github.com/oasisprotocol/nexus/issues/832)) + + Marking these functions as STABLE allows them to be used in index expressions + and enables PostgreSQL to optimize queries by avoiding unnecessary + recomputations of the function during query execution. + +- analyzers: add configurable `MaxBackoffTimeout` + ([#837](https://github.com/oasisprotocol/nexus/issues/837)) + +### Bug Fixes and Improvements + +- consensus/api/validators: Skip latest block in signed blocks info + ([#835](https://github.com/oasisprotocol/nexus/issues/835)) + + Skip the latest block since signers are only processed in the following block. + +- storage: Update block proposer index to include height + ([#836](https://github.com/oasisprotocol/nexus/issues/836)) + +- Optimize `RuntimeEvmVerifiedContractEvents` query + ([#838](https://github.com/oasisprotocol/nexus/issues/838)) + + Optimizes the query by switching DECODE to ENCODE for address comparison + to leverage existing indexes on `chain.runtime_events` table. + +### Deployment Notes + +This release includes two migrations that are automatically applied during +deployment. To prevent downtime, you can manually pre-apply the index changes +from migration `11_blocks_proposer_enitity_height_idx.up.sql` before starting +the upgrade. + ## 0.5.0 (2024-12-18) ### Features