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.
FilterOptions::{alias_ids, foundry_ids, nft_ids}
fields;Account::{unspent_alias_output, unspent_foundry_output, unspent_nft_output}
methods;StrongholdAdapter::inner
method;
FilterOptions
'sHash
derivation;
NativeTokensBuilder::finish_set
;Features
,UnlockConditions
,NativeTokens
,MilestoneOptions
, andParents
addedfrom_set
;types::block::Error::InvalidField
variant;StorageProvider
andSecretManage
have anError
associated type;SecretManageExt
is a super trait ofSecretManage
;OutputsToClaim::Amount
to allow claiming only outputs that will add an amount to the account;Account::{set_default_sync_options, default_sync_options}
methods;Wallet::get_client
method;Wallet::get_account_aliases
method;
- Renamed
AccountHandle
toAccount
,Account
toAccountDetails
andAccountDto
toAccountDetailsDto
; AddressWrapper
renamed toBech32Address
and moved totypes
;Address::try_from_bech32_with_hrp
address and HRP return have been reversed;PostBlockPayload::payload_dto
renamed topayload
;SendNativeTokens::addresses_native_tokens
renamed toaddresses_and_native_tokens
;SendNft::addresses_nft_ids
renamed toaddresses_and_nft_ids
;Output
builder types,NativeTokensBuilder
, andBurn
now use unique, ordered sets for unlock conditions, features, and native tokens.add_x
andreplace_x
methods thus function appropriately;Features
,UnlockConditions
,NativeTokens
,MilestoneOptions
, andParents
constructornew
renamed tofrom_vec
;- Modified
Ord
andPartialOrd
implementations forFeature
,UnlockCondition
,NativeToken
, andMilestoneOption
to support unique, ordered sets; {AliasOutputBuilder, BasicOutputBuilder, FoundryOutputBuilder, NftOutputBuilder}::{new_with_amount, new_with_minimum_storage_deposit, new, with_amount}
don't return aResult
anymore;{AliasOutput, BasicOutput, FoundryOutput, NftOutput}::{build_with_amount, build_with_minimum_storage_deposit}
don't return aResult
anymore;- Lots of builder setters are now taking an
impl Into<Option<T>>
instead of aT
parameter; - All
ledger_nano
related errors have been moved from the client error to a newly createdclient::secret::ledger_nano::Error
; - All
stronghold
related errors have been moved from the client error to a newly createdclient::stronghold::Error
;
AddressGenerationOptions
in favor ofGenerateAddressOptions
, which now contains theinternal
flag;types::block::DtoError
,client::Error::BlockDto
andwallet::Error::BlockDto
;BasicOutput
,AliasOutput
,FoundryOutput
,NftOutput
-new_with_amount
andnew_with_minimum_storage_deposit
functions;OutputsToClaim::None
variant;
tls
as default feature;{Alias, Basic, Foundry, Nft}Output::clear_unlock_conditions
method;{Alias, Basic, Foundry, Nft}Output::clear_features
method;{Alias, Foundry, Nft}Output::clear_immutable_features
method;{TransactionOptions, TransactionOptionsDto}::allow_micro_amount
field;AddressWithAmount::{new, with_return_address, with_expiration}
methods;{BaseCoinBalance, BaseCoinBalanceDto}::voting_power
field;verify_mnemonic()
;SecretManager::sign_transaction()
;
AccountManager
andAccountManagerBuilder
renamed toWallet
andWalletBuilder
;save_account_manager_data
renamed tosave_wallet_data
;get_account_manager_data
renamed toget_wallet_data
;- Builder methods
add_unlock_condition
,replace_unlock_condition
,with_unlock_conditions
are now generic; - Builder methods
add_feature
,replace_feature
,with_features
are now generic; - Builder methods
add_immutable_feature
,replace_immutable_feature
,with_immutable_features
are now generic; - Merge
send_amount
andsend_micro_transaction
; AddressWithAmount::{address, amount}
fields are no longer public;- Fields of
AccountBalance
,BaseCoinBalance
andNativeTokensBalance
have been made private and getters have been added; - Exposed
AccountParticipationOverview, ParticipationEventWithNodes, AliasOutputOptions, AliasOutputOptionsDto, IncreaseNativeTokenSupplyOptions, IncreaseNativeTokenSupplyOptionsDto, NativeTokenOptions, NativeTokenOptionsDto, NftOptions, NftOptionsDto, OutputOptionsDto
from theaccount
module; - Made
Wallet::get_bech32_hrp()
public;
AddressWithMicroAmount
andAddressWithAmountDto
;
- Fallback to local PoW;
- Unlock unused inputs;
- Derive location in Stronghold for parallel usage;
First release of the iota-sdk
crate which is a combination and successor of iota.rs and wallet.rs.
This is a strict implementation of the stardust
related TIPs which are not compatible with the chrysalis
features set.
All the changes compared to the previous version are mostly derived from the following TIPs: