From cc9c8ee3003b7c409c85c4a789c13fe7afb33ae2 Mon Sep 17 00:00:00 2001 From: Phuong Nguyen Date: Wed, 16 Nov 2022 16:55:05 -0800 Subject: [PATCH 1/4] Bump to 0.7.0 --- CHANGELOG.md | 12 +++++++++++- workspaces/Cargo.toml | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88e2f2b5..2e9aa0b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [0.7.0] + ### Added - [`view_*` asynchronous builders have been added which provides being able to query from a specific block hash or block height](https://github.com/near/workspaces-rs/pull/218) @@ -26,6 +28,13 @@ - `operations::Function` type no longer takes a lifetime parameter. - `operations::CallTransaction` type takes one less lifetime parameter. +### Fixed + +- [Changed the docs to reflect proper size of of rate limits on near.org RPC](https://github.com/near/workspaces-rs/pull/219) +- [Cached nonces now are per account-id and public-key instead of just public-key](https://github.com/near/workspaces-rs/pull/231) + - this didn't matter if only one KeyPair was being used per account, but could be problematic when there were multiple KeyPairs per account utilizing the same nonces. +- [Error message context wasn't being exposed properly by sandbox, so this fixed it](https://github.com/near/workspaces-rs/pull/236) + ## [0.6.1] ### Fixed @@ -185,7 +194,8 @@ - Fix race condition when installing sandbox and running multiples tests at the same time. https://github.com/near/workspaces-rs/pull/46 -[unreleased]: https://github.com/near/workspaces-rs/compare/0.6.1...HEAD +[unreleased]: https://github.com/near/workspaces-rs/compare/0.7.0...HEAD +[0.6.1]: https://github.com/near/workspaces-rs/compare/0.6.1...0.7.0 [0.6.1]: https://github.com/near/workspaces-rs/compare/0.6.0...0.6.1 [0.6.0]: https://github.com/near/workspaces-rs/compare/0.5.0...0.6.0 [0.5.0]: https://github.com/near/workspaces-rs/compare/0.4.1...0.5.0 diff --git a/workspaces/Cargo.toml b/workspaces/Cargo.toml index 5a1abb28..c803f7cb 100644 --- a/workspaces/Cargo.toml +++ b/workspaces/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "workspaces" -version = "0.6.1" +version = "0.7.0" edition = "2018" license = "MIT OR Apache-2.0" readme = "README.md" From 5bf22b985a21f649eac0d8f15905c96ac690a6dd Mon Sep 17 00:00:00 2001 From: Phuong Nguyen Date: Fri, 18 Nov 2022 14:34:11 -0800 Subject: [PATCH 2/4] Another entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e9aa0b2..781fa567 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - [`{CallTransaction, Transaction}::transact_async` for performing transactions without directly having to wait for it complete it on chain](https://github.com/near/workspaces-rs/pull/222) - [`view_chunk` added for querying into chunk related info on the network.](https://github.com/near/workspaces-rs/pull/234) - Adds `Chunk` and `ChunkHeader` type to reference specific chunk info. +- [`Error::{simple, message, custom}` are now public and usable for custom errors](https://github.com/near/workspaces-rs/pull/224) ### Changed From 941b11199ac20e9a50df18ab5d3fd68facbd5dc2 Mon Sep 17 00:00:00 2001 From: Phuong Nguyen Date: Tue, 29 Nov 2022 16:18:13 -0800 Subject: [PATCH 3/4] CHANGELOG entry for worker::call --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 781fa567..1c12ae51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,8 @@ - Changed `Worker::view_latest_block` to `Worker::view_block` as the default behavior is equivalent. - `operations::Function` type no longer takes a lifetime parameter. - `operations::CallTransaction` type takes one less lifetime parameter. +- [`Worker::call` signature changed to be more in line with `view_*` async builders. It will now return a builder like `{Account, Contract}::call`](https://github.com/near/workspaces-rs/pull/245) + - This `call` no longer accepts `Contract` since that was not as accessible. Instead a `InMemorySigner` is now required to sign transactions (which can be retrieved from `{Account, Contract}::signer` or `InMemorySigner::{from_secret_key, from_file}`). ### Fixed From 96fc382e392d7522674cd03b5a4a8b30f91f8034 Mon Sep 17 00:00:00 2001 From: Phuong Nguyen Date: Tue, 29 Nov 2022 16:19:12 -0800 Subject: [PATCH 4/4] Add addendum to CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c12ae51..09d0f7bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ - `operations::CallTransaction` type takes one less lifetime parameter. - [`Worker::call` signature changed to be more in line with `view_*` async builders. It will now return a builder like `{Account, Contract}::call`](https://github.com/near/workspaces-rs/pull/245) - This `call` no longer accepts `Contract` since that was not as accessible. Instead a `InMemorySigner` is now required to sign transactions (which can be retrieved from `{Account, Contract}::signer` or `InMemorySigner::{from_secret_key, from_file}`). + - `{Account, Contract}::signer` now exposed. ### Fixed