All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.13.0 - 2024-09-11
- [breaking] updates near-* dependencies to 0.26 release (#157)
0.12.0 - 2024-08-21
- updated near-* to 0.25.0 (#154)
0.11.0 - 2024-08-09
- updated near-* crates to allow 0.24.0 in addition to all the previously supported versions (#151)
0.10.1 - 2024-06-18
- Updated near-deps to 0.23.0 (#148)
0.10.0 - 2024-06-07
- expose
ChunkReference
type used in chunk call (#144) - [breaking] Upgraded libraries to the latest versions: near-* 0.22 and reqwest 0.12 (#145)
0.9.0 - 2024-04-22
- Upgrade near-primitives to 0.21.x and refactor the API adding
wait_until
flag, dropcheck_tx
method (#136)
- removed array creation for parameters in fn params() implementation for send_tx method (#142)
0.8.0 - 2024-01-21
- [breaking] Upgraded NEAR crates to 0.20.0 release (#137)
0.7.0 - 2024-01-07
- Added a new example to view contract state (#129)
- Fixed doc tests after the recent crate updates (#135)
- (docs) revise crate-level docs (#88)
- (docs) revise README docs (#91)
- (docs) revise module-level docs for RPC methods (#87)
- (docs) document the experimental
tx_status
RPC method (#63) - (docs) document the experimental
genesis_config
RPC method (#64) - (docs) document the
EXPERIMENTAL_protocol_config
RPC method (#65) - (docs) document the
EXPERIMENTAL_changes_in_block
RPC method (#66) - (docs) document the
EXPERIMENTAL_receipt
RPC method (#67) - (docs) document the
query
RPC method (#68) - (docs) document the experimental
validators_ordered
RPC method (#69) - (docs) document the
gas_price
RPC method (#70) - (docs) document the
EXPERIMENTAL_changes
RPC method (#71) - (docs) document the
EXPERIMENTAL_check_tx
RPC method (#72) - (docs) document the
sandbox_fast_forward
RPC method (#75) - (docs) document the
validators
RPC method (#76) - (docs) document the
next_light_client_block
RPC method (#78) - (docs) document the
broadcast_tx_async
RPC method (#79) - (docs) document the
broadcast_tx_commit
RPC method (#80) - (docs) document the
sandbox_patch_state
RPC method (#81) - (docs) document the error types and variants in the
errors
module (#84) - (docs) document the generic
methods::any()
constructor (#89) - [breaking] Bump dependencies (#134)
0.6.0 - 2023-06-02
- [breaking] Upgrade near primitive crates version to 0.17.0 (#126)
- Updated
borsh
to0.10.2
. #124
ApiKey::new
now accepts byte arrays and byte slices. #119Authorization::bearer
method for token-authenticated requests. #121ApiKey::as_bytes
returns a byte slice of the key without utf-8 validation. #119
- Updated nearcore dependencies to
0.16.0
, which now requires a MSRV of1.67.1
. #122 ApiKey::new
no longer requres the input of a valid UUID. #119Debug
onApiKey
doesn't reveal the key anymore. #120- The
auth
module is no longer feature gated. #119
- Removed the
auth::IntoApiKey
trait, any thing you can get a byte slice from is now a validApiKey
input. #119 - Replaced the
ApiKey::as_str
method withApiKey::to_str
, now returning aResult
. #119 - Replaced the
InvalidApiKey
error withInvalidHeaderValue
re-exported fromhttp
. #119 - Removed
Display
onApiKey
. #117
0.4.1 - 2022-11-11
- Fixed an issue where an
&RpcMethod
's response was being parsed differently from anRpcMethod
. #114
0.4.0 - 2022-10-04
- Updated nearcore dependencies, which now requires a MSRV of
1.64.0
. #100, #110 - Updated other dependencies, with some general improvements. #111
- Added
rustls-tls
feature flag to enablerustls
as an alternative tonative-tls
. #103 - Switched to using
log::debug!
instead oflog::info!
for debug logging. #107 - Fixed
gas_price
RPC method serialization. #73 - Fixed
query
method error deserialization. #82 - Reworked the
JsonRpcError
::handler_error
method. #99 - Moved auth specific logic behind a feature flag. #55
- Added the
methods::to_json()
helper method for visualizing the serialization of the RPC methods. #49
0.4.0-beta.0 - 2022-05-31
Superseded by
0.4.0
- Updated nearcore dependencies, fixing a previous breaking change. #100
- Fixed
gas_price
RPC method serialization. #73- Fixed
query
method error deserialization. #82- Reworked the
JsonRpcError
::handler_error
method. #99- Moved auth specific logic behind a feature flag. #55
- Added the
methods::to_json()
helper method for visualizing the serialization of the RPC methods. #49
0.3.0 - 2022-02-09
- Dropped generic authentication and added support for custom headers. #47
- Added the
sandbox_fast_forward
RPC Method. #38 - Upgraded
nearcore
crates tov0.12.0
#48 - Executing the examples now allows custom RPC addr specification with interactive server selection. https://github.com/near/near-jsonrpc-client-rs/commit/b130118d0de806bd9950be306f563559f07c77e6 https://github.com/near/near-jsonrpc-client-rs/commit/c5e938a90703cb216e99d6f23a43ad9d3812df3d
JsonRpcClient::connect
is now generic over any url-like type.Url
,&str
,String
and&String
are all supported. #35JsonRpcClient
now defaults to theUnauthenticated
state, easing a type specification pain point. #36
0.2.0 - 2021-12-22
- Updated nearcore version to
0.11.0
(near/nearcore#5943). - Fixed
chunk
method serialization. https://github.com/near/near-jsonrpc-client-rs/commit/f40ad743653ad2a1a9eb5eaa96c302c9b531bf40 Client::call
no longer consumes the client. https://github.com/near/near-jsonrpc-client-rs/commit/471a53be062e0880c6bc5c2721d123da2a9e0c2e- Implemented workaround for partially serialized server responses. #29
- Dropped base64 API token support in favor of a generic key-value approach. https://github.com/near/near-jsonrpc-client-rs/commit/dd7761b51e1775350be1782370aa22c0b0fe98d7
- Added examples to repo. #32
- Ensured
None
-typed wrapped errors are actual errors (i.e. have all traits attributed with errors, especiallyfmt::Display
). #34
0.1.0 - 2021-11-11
Release Page: https://github.com/near/near-jsonrpc-client-rs/releases/tag/v0.1.0