Skip to content

Latest commit

 

History

History
185 lines (122 loc) · 5.32 KB

CHANGELOG.md

File metadata and controls

185 lines (122 loc) · 5.32 KB

Changelog

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.

1.1.4 - 2024-05-03

Fixed

  • Made TaggedDataPayload::{tag, data} optional;

1.1.3 - 2024-02-14

Added

  • Optional max_parallel_api_requests to Client constructor;
  • Utils::{verify_transaction_syntax(), block_bytes(), block_hash_without_nonce()};
  • NodeInfoProtocol.belowMaxDepth;
  • {NodeInfoProtocol, RentStructure}::as_dict();

Fixed

  • TransactionOptions::as_dict() for remainder_value_strategy;
  • Wallet::client_options typing;

1.1.2 - 2023-12-01

Added

  • Utils::verify_transaction_semantic();
  • Account::prepare_claim_outputs() method;

Fixed

  • Missing init_logger export;
  • Client::build_and_post_block() with custom input range;

1.1.1 - 2023-10-31

Added

  • Utils::transaction_id();
  • py.typed file to the package;

Fixed

  • Range type instead of range method in GenerateAddressesOptions init;
  • Dict type instead of dict method in Irc27Metadata init;

1.1.0 - 2023-09-29

Stable release.

1.1.0-rc.0 - 2023-09-25

Added

  • ConflictReason display implementation with an explanation of the conflict;
  • Account::{burn(), consolidate_outputs(), create_alias_output(), create_native_token(), melt_native_token(), mint_native_token(), mint_nfts(), send_transaction(), send_native_tokens(), send_nft()} methods;
  • Irc27Metadata and Irc30Metadata helpers;
  • Client::output_ids() method;
  • QueryParameter::unlockable_by_address field;

1.0.3 - 2023-09-19

Fixed

  • Wheel upload;

1.0.2 - 2023-09-12

Added

  • ClientOptions::maxParallelApiRequests;

Changed

  • Replaced | with Union type for Python 3.9 compatibility;

Fixed

  • Utils::parse_bech32_address();

1.0.1 - 2023-08-23

Fixed

  • Ledger Nano events properly created when preparing transactions;
  • Account::prepare_output() when ReturnStrategy.Gift is used;

1.0.0 - 2023-07-24

Added

  • ConsolidationParams type;

Changed

  • Account::prepare_consolidate_outputs takes a ConsolidationParams;
  • Utils compute_token_id and compute_foundry_id param token_scheme_kind renamed to token_scheme_type;

Fixed

  • Account::prepare_output() deserialization;
  • Client::build_alias_output(), Client::build_nft_output(), Client::build_basic_output, Client::build_foundry_output returned type of object;

1.0.0-rc.1 - 2023-07-21

Added

  • Account::get_metadata();
  • Bip44 type;
  • SendParams, SendNativeTokensParams, SendNftParams, CreateNativeTokenParams, MintNftParams, CreateAliasOutputParams, OutputParams, Assets, Features, Unlocks, ReturnStrategy, StorageDeposit;
  • AccountAddress, AddressWithUnspentOutputs;
  • FilterOptions;
  • NetworkInfo;
  • ClientOptions, MqttBrokerOptions, Duration;
  • Optional addresses parameter in Wallet::create_account();
  • UtxoInput, TreasuryInput;
  • RegularTransactionEssence;
  • Unlock types;
  • PreparedTransactionData, SignedTransactionData, InputSigningData, RemainderData;
  • UtxoChanges;
  • TreasuryOutput, BasicOutput, AliasOutput, FoundryOutput, NftOutput;
  • TokenScheme;
  • Signature;
  • BlockBuilderOptions;

Changed

  • Moved minimum_required_storage_deposit() from Account to Client;
  • Wallet::create_account() returns Account now;
  • SecretManager::{sign_ed25519, sign_secp256k1_ecdsa, signature_unlock} now accept Bip44 type chains;
  • Renamed SendParams to AddressAndAmount;
  • Account::prepare_create_alias_output() now accepts CreateAliasOutputParams;
  • Account::prepare_create_native_token() now accepts CreateNativeTokenParams;
  • Account::prepare_mint_nfts() now accepts MintNftParams;
  • Account::prepare_send() now accepts SendParams;
  • Account::prepare_transaction() now accepts Output;
  • Account::send() now accepts SendParams;
  • Account::prepare_send_native_tokens() now accepts SendNativeTokensParams;
  • Account::prepare_send_nft() now accepts SendNftParams;
  • Account::send_outputs() now accepts Output;
  • Account::{generate_ed25519_addresses(), addresses()} now return AccountAddress;
  • Account::addresses_with_unspent_outputs() now returns AddressWithUnspentOutputs;
  • Account::prepare_output() now returns Output;
  • Wallet::get_accounts() now returns List[Account];
  • OutputData.chain now is Optional[Bip44];
  • Wallet() constructor and Wallet::set_client_options() now accept ClientOptions;
  • Split Account::send() into send and send_with_params;
  • Switched order of AddressAndAmount init params;
  • Renamed PreparedTransactionData to PreparedTransaction;
  • {Client, SecretManager}::sign_transaction return type from SignedTransactionData to TransactionPayload;
  • Split Output into multiple classes;
  • Renamed TokenScheme to SimpleTokenScheme;

Removed

  • Wallet::{generate_mnemonic(), verify_mnemonic()} since they're available from Utils;
  • HD_WALLET_TYPE, HARDEN_MASK constants;
  • Client::find_outputs() method;

Fixed

  • Serialization for wallet methods;

1.0.0-rc.0 - 2023-07-11

Initial release of the Python SDK bindings.