Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Latest commit

 

History

History
88 lines (70 loc) · 4.73 KB

CHANGELOG.md

File metadata and controls

88 lines (70 loc) · 4.73 KB

Changelog

  • Remove Stellar (Kin 2 & Kin 3) support
    • Only Kin 4 and v4 Agora APIs are supported
    • Client.__init__ no longer accepts kin_version, whitelist_key and desired_kin_version
    • AccountInfo no longer has sequence_number
    • Removed channel from Payment and EarnBatch
    • Removed envelope, kin_version and get_tx_hash() from SignTransactionRequest
    • Removed envelope from SignTransactionResponse
    • Removed kin_version and stellar_event from TransactionEvent
  • Add sender create support for Client.submit_payment
  • Add merge_token_accounts to Client
  • Add create account webhook support
  • Add creation parsing to SigntransactionRequest
  • SignTransactionResponse.sign now signs Solana transactions
  • Bump agora-api and grpcio version
  • Expose request_airdrop on Client for Kin 4
  • Add dedupe_id support on payments (Client.submit_payment) and earn batches (Client.submit_earn_batch)
  • Client.submit_earn_batch now supports submitting only a single transaction and up to 15 earns
  • BatchEarnResult has been replaced with EarnBatchResult, whichcontains TxID, TxError and EarnErrors due to the above changes
  • Client.submit_earn_batch now takes in an earn_batch argument instead of separate sender, earns, channel, memo, and subsidizer args
  • Add payment_errors to TransactionErrors
  • Add AccountNotFoundError to the default non-retriable error list. This should the decrease latencies in situations where a Resolve() is required by about 8 seconds (with the default retry configuration)
  • Fix invoice list parsing in events webhook handler
  • Add optional account_resolution parameter to Client.get_balance
  • Create new accounts with different token account address
  • Reduce token account cache size
  • Do not throw exception for setting channel on Kin 4 payments
  • Check for duplicate signers for Stellar transactions
  • Include read-only signers in Solana transaction num_signatures header
  • Fix uploaded wheel to remove agora/model/keys.py
  • Call v3 GetTransaction API for Kin 2 & 3
  • Bugfix: fix production Kin 3 envelope parsing in SignTransactionRequest.from_json
  • Add Kin 4 support
  • Move agora.model.keys to agora.keys
  • Rename tx_hash to tx_id in Client.get_transaction, TransactionData, EarnResult, and 'TransactionEvent'
  • Add default_commitment parameter to Client constructor
  • Add optional commitment parameter to Client methods (create_account, get_balance, get_transaction, submit_payment, submit_earn_batch)
  • Add optional subsidizer parameter to Payment, Client.create_account and Client.submit_earn_batch
  • Add optional sender_resolution and dest_resolution parameters to Client.submit_payment and Client.submit_earn_batch
  • Rename StellarData to StellarEvent, TransactionEvent.stellar_data to TransactionEvent.stellar_event, and fix TransactionEvent.from_json to match production
  • Deprecate SignTransactionRequest.get_tx_hash() and replace with SignTransactionRequest.get_tx_id().
  • Add Kin 2 support
  • Bugfix: fix metadata format
  • Add user-agent metadata to Agora requests
  • Rename source in Payment and Client.submit_earn_batch to channel for clarity
  • Adjust BadNonceError handling
  • Add close() method to Client for cleaning up connection-related resources
  • Add __repr__ methods to models
  • Add a NONE transaction type
  • Initial release with Kin 3 support