From 13035662c7bae7804707f014d5e02eb70bfaa296 Mon Sep 17 00:00:00 2001 From: Bohdan Khorolets Date: Wed, 9 Oct 2024 13:30:31 +0300 Subject: [PATCH] chore: 0.3.0 update CHANGELOG and bump the version --- CHANGELOG.md | 14 ++++++++++++++ Cargo.lock | 22 +++++++++++----------- Cargo.toml | 2 +- 3 files changed, 26 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b80cb0e0..c5071ae5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://github.com/near/read-rpc/compare/main...develop) +## [0.3.0](https://github.com/near/read-rpc/releases/tag/v0.2.17) + +### BREAKING CHANGES + +Please, see the [PostgreSQL & ShardLayout Pull Request](https://github.com/near/read-rpc/pull/282) for details. This is a completely new version of the ReadRPC with a new data storage layout and a new data storage engine. The main changes are: +- **Migrate from ScyllaDB to PostgreSQL for storing the data**. We adopted the ShardLayout from the `nearcore` and split the data to separate PostgreSQL databases for each shard. +- Changed the way we store `TransactionDetails` (JSON blobs again, but it might change soon) + +All the work in this release allowed us to increase the performance of the ReadRPC and make it more reliable. We are still working on the performance improvements and will continue to work on the ReadRPC to make it even better. + +### Supported Nearcore Version (not changed) +- nearcore v2.2.1 +- rust v1.79.0 + ## [0.2.16](https://github.com/near/read-rpc/releases/tag/v0.2.16) ### Supported Nearcore Version - nearcore v2.2.1 diff --git a/Cargo.lock b/Cargo.lock index bc518b61..808755d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1419,7 +1419,7 @@ dependencies = [ [[package]] name = "cache-storage" -version = "0.2.16" +version = "0.3.0" dependencies = [ "anyhow", "futures", @@ -1612,7 +1612,7 @@ dependencies = [ [[package]] name = "configuration" -version = "0.2.16" +version = "0.3.0" dependencies = [ "anyhow", "aws-credential-types", @@ -2102,7 +2102,7 @@ dependencies = [ [[package]] name = "database" -version = "0.2.16" +version = "0.3.0" dependencies = [ "anyhow", "async-trait", @@ -3702,7 +3702,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "logic-state-indexer" -version = "0.2.16" +version = "0.3.0" dependencies = [ "actix-web", "anyhow", @@ -4969,7 +4969,7 @@ dependencies = [ [[package]] name = "near-state-indexer" -version = "0.2.16" +version = "0.3.0" dependencies = [ "actix", "actix-web", @@ -6121,7 +6121,7 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "perf-testing" -version = "0.2.16" +version = "0.3.0" dependencies = [ "anyhow", "chrono", @@ -6641,7 +6641,7 @@ dependencies = [ [[package]] name = "read-rpc-server" -version = "0.2.16" +version = "0.3.0" dependencies = [ "actix-cors 0.7.0", "actix-http", @@ -6685,7 +6685,7 @@ dependencies = [ [[package]] name = "readnode-primitives" -version = "0.2.16" +version = "0.3.0" dependencies = [ "anyhow", "borsh 1.5.1", @@ -7955,7 +7955,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "state-indexer" -version = "0.2.16" +version = "0.3.0" dependencies = [ "anyhow", "clap", @@ -8727,7 +8727,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tx-details-storage" -version = "0.2.16" +version = "0.3.0" dependencies = [ "anyhow", "google-cloud-storage", @@ -8735,7 +8735,7 @@ dependencies = [ [[package]] name = "tx-indexer" -version = "0.2.16" +version = "0.3.0" dependencies = [ "actix-web", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 847cc6ee..cdaaf846 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.2.16" +version = "0.3.0" authors = ["Near Inc "] edition = "2021" rust-version = "1.79.0"