All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.
- Add support for crafting unsigned deploys and transfers by providing an account, but not secret key, to the
make-deploy
andmake-transfer
subcommands. - Added an optional flag to retrieve finalized approvals for
info_get_deploy
- Add support for providing an account identifier (public key, or account hash) for the
state_get_account_info
RPC method.
- Changed query-global-state to support omitting a global state identifier, if no global state identifier is provided the latest block will be used.
2.0.0 - 2023-06-28
- Add new general-purpose API to library, not specific to CLI consumers.
- Add types to avoid depending upon
casper-node
andcasper-execution-engine
crates. - Add support for new node RPC method
info_get_chainspec
, used in the binary's newget-chainspec
subcommand. - Add support for new node RPC method
info_get_status
, used in the binary's newget-node-status
subcommand. - Add support for new node RPC method
info_get_peers
, used in the binary's newget-peers
subcommand. - Add support for new node RPC method
query_balance
, used in the binary's newquery-balance
subcommand. - Add support for new node RPC method
speculative_exec
, by adding a flag in the Deploy related subcommands. - Add support for passing variable-length byte lists as simple args in payment and session args.
- Add support for passing fixed-length byte arrays as simple args in payment and session args.
- Add support for passing payment and session args as JSON.
- Add support for new
lock_status
field in the theContractPackage
value.
- Update dependencies.
- Move the previous top-level library API, which targets CLI consumers, to a new module
cli
. - Rename subcommand
get-account-info
toget-account
while retaining the previous name as an alias for backwards compatibility. - Rename subcommand
get-era-info-by-switch-block
toget-era-info
while retaining the previous name as an alias for backwards compatibility. - Deprecated
get-balance
subcommand in favor of the newly addedquery-balance
subcommand.
- Remove the C library support.
- Remove dependency on
casper-node
andcasper-execution-engine
crates. - Remove support for inputting non-default values for
gas_price
anddependencies
inDeploy
creation. - Remove partial merkle-proof validation of some JSON-RPC responses.
- Restore the
-p
short form of--public-key
arg forget-account
andaccount-address
subcommands.
- Added a new subcommand
get-era-summary
which optionally takes a block identifier and returns an era summary from a Casper network.
- Update dependencies.
1.5.1 - 2023-03-08
- Update dependencies.
1.5.0 - 2022-05-13
- Update dependencies.
1.4.4 - 2022-04-06
- Update dependencies.
1.4.3 - 2021-12-06
- Update dependencies, in particular
casper-types
to use fixed checksummed-hex format.
1.4.2 - 2021-11-13
- Support checksummed-hex encoding of various types like
PublicKey
andAccountHash
.
1.4.1 - 2021-10-23
No changes.
1.4.0 - 2021-10-21 [YANKED]
- RPM package build and publish.
- New client binary command
get-validator-changes
that returns status changes of active validators. - Add
keygen::generate_files
to FFI.
- Support building and testing using stable Rust.
- Support
URef
,PublicKey
andAccountHash
as transfer targets fortransfer
andmake-transfer
.
- Stop silently ignoring parse errors for
--session-args-complex
or--payment-args-complex
.
1.3.4 - 2021-10-14
No changes.
1.3.3 - 2021-10-14
No changes.
1.3.2 - 2021-08-02
No changes.
1.3.1 - 2021-07-25
No changes.
1.3.0 - 2021-07-20
- Add support for retrieving historical auction information via the addition of an optional
--block-identifier
arg in theget-auction-info
subcommand.
- Change
account-address
subcommand to output properly formatted string. - Change
put-deploy
andmake-deploy
subcommands to support transfers. - Change
make-deploy
,make-transfer
andsign-deploy
to not overwrite files unless--force
is passed. - Change
make-deploy
,make-transfer
andsign-deploy
to use transactional file writing for enhanced safety and reliability. - Update pinned version of Rust to
nightly-2021-06-17
- Change the Rust interface of the client library to expose
async
functions, instead of running an executor internally.
1.2.1 - 2021-07-17
- Minor cleanup.
1.2.0 - 2021-05-27
- Support multisig transfers via new
make-transfer
subcommand.
- Change to Apache 2.0 license.
- Make
--transfer-id
a required argument of the relevant subcommands. - Reduce deploy default time-to-live to 30 minutes.
1.1.1 - 2021-04-19
No changes.
1.1.0 - 2021-04-13 [YANKED]
No changes.
1.0.1 - 2021-04-08
- Fail if creating a deploy greater than 1 MiB.
1.0.0 - 2021-03-30
- Initial release of client compatible with Casper mainnet.