Skip to content

Releases: XRPLF/xrpl-py

v1.10.0

25 Jul 16:35
2e2d337
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.9.0...v1.10.0

v2.1.0

24 Jul 20:51
dcaab43
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump typing-extensions from 4.6.2 to 4.7.1 by @dependabot in #614
  • chore(deps-dev): bump sphinx-rtd-theme from 1.2.1 to 1.2.2 by @dependabot in #609
  • chore(deps-dev): bump mypy from 1.3.0 to 1.4.1 by @dependabot in #610
  • chore(deps-dev): bump markupsafe from 2.1.2 to 2.1.3 by @dependabot in #607
  • test: run linting on snippets by @mvadari in #615
  • fix: Fix classic_address aliasing issue by @JST5000 in #617
  • docs: Update README with migration guide and more relevant tutorial by @JST5000 in #618
  • fix(tests): allow fund_wallet to be used in integration tests by @mvadari in #619
  • Update docker file to xrpld:1.12.0-b1 by @shawnxie999 in #620

Full Changelog: v2.0.0...v2.1.0

v2.1.0b0

10 Jul 18:00
Compare
Choose a tag to compare
v2.1.0b0 Pre-release
Pre-release

Summary

Adds latest AMM/Sidechain/XLS-30 beta features on top of xrpl-py 2.0

What's Changed

Full Changelog: v1.9.0b2...v2.1.0b0

v2.0.0

05 Jul 18:53
aea5594
Compare
Choose a tag to compare

Detailed Migration Guide

https://xrpl.org/blog/2023/xrpl-py-2.0-release.html

What's Changed

Added:

  • Wallet support for regular key compatibility
  • Added new ways of wallet generation: from_seed, from_secret, from_entropy, from_secret_numbers
  • Added address alias to Wallet.classic_address
    • Replaced Wallet.classic_address with Wallet.address to avoid confusion. (classic_address is the same as your XRPL account address, and is only called classic since it's an older standard than x-address)
  • Added network_id to clients in order to use the Client with networks beyond mainnet by @dangell7 in #520

Changed:

  • Updated params for Wallet class constructor
  • Wallet.address is now readonly
  • Removed sequence from Wallet class
  • Core keypairs generate seed must take in hexstring instead of bytestring
  • Core keypairs formatting for ED25519 is now padded with zeros if length of keystring is less than 64
  • Removed deprecated request wrappers (the preferred method is to directly do client.request instead)
  • AccountSetFlagInterface now operates on transaction tf flags (as opposed to asf flags)
  • sign is now synchronous instead of async (done by removing the optional check_fee param & moving checks up to other functions)
  • In order to be internally consistent, all signing/submitting functions will follow the parameter order of transaction, client, wallet, and then other parameters. (This is because wallet is optional for submit_and_wait and so must come after client)
  • XRP.to_amount now converts from XRP to drops, instead of expecting a drops amount

Fixed:

  • Added a sort of the account IDs in multisign, so that the multisign always works.
  • Add ledger_hash and ledger_index to account_nfts, nft_buy_offers, and nft_sell_offers requests.
  • Add nft_page to ledger_entry request.

Removed:

  • send_reliable_submission has been replaced by submit_and_wait
  • Longer aliases for signing/submitting functions have been removed. Specifically
    • submit_transaction is now submit
    • safe_sign_transaction is now sign
    • safe_sign_and_submit_transaction is now sign_and_submit
      • The param order for sign_and_submit moves wallet after client to be consistent with submit_and_wait
    • safe_sign_and_autofill_transaction is now autofill_and_sign
      • The param order for autofill_and_sign moves wallet after client to be consistent with submit_and_wait
  • Removed deprecated request functions which were just wrappers around Client.request(). Specifically this includes:
    • get_account_info
    • get_account_transactions
    • get_account_payment_transactions
    • get_transaction_from_hash

Full Changelog: v1.9.0...v2.0.0

v1.9.0

13 Jun 20:47
8133bbe
Compare
Choose a tag to compare

What's Changed

  • feat: add submit and wait for transaction submission by @pdp2121 in #528
  • Add nft_info and nft_history clio APIs by @shawnxie999 in #573
  • fix: improve error message for tem errors in relsub by @mvadari in #590
  • feat: add sidechain devnet support to faucet generation by @mvadari in #593
  • fix: better error handling in reliable submission by @mvadari in #594
  • add user agent and use case info to faucet json body by @jonathanlei in #572

New Contributors

Full Changelog: v1.8.0...v1.9.0

v1.9.0b2

12 Jun 21:48
Compare
Choose a tag to compare
v1.9.0b2 Pre-release
Pre-release

What's Changed

  • remove: remove old sidechain design features by @mvadari in #410
  • feat: add submit and wait for transaction submission by @pdp2121 in #528
  • Add nft_info and nft_history clio APIs by @shawnxie999 in #573
  • fix: improve error message for tem errors in relsub by @mvadari in #590
  • update xls34 definitions by @dangell7 in #591
  • feat: add sidechain devnet support to faucet generation by @mvadari in #593
  • fix: better error handling in reliable submission by @mvadari in #594
  • Updated definitions for AMM and XLS-34d
  • Model fixes for sidechains, AMM, XLS-34d
  • Snippets for working with sidechains

New Contributors

Full Changelog:

v1.9.0b1

11 Apr 18:41
Compare
Choose a tag to compare
v1.9.0b1 Pre-release
Pre-release

v1.8.0

10 Apr 21:49
56e949d
Compare
Choose a tag to compare

What's Changed

  • feat: Add nft devnet, and hooks v2 testnet wallet inferencing by @connorjchen in #455
  • feat: Add multisign snippet, multisign functionality to autofill, and multisign helper by @connorjchen in #459
  • Add get_nftoken_id for after minting an NFT with NFTokenMint by @JST5000 in #534
  • feat: remove nft-devnet faucet by @ckniffen in #535
  • feat: save algorithm as a part of the wallet by @mvadari in #540


  • refactor: Deprecate xrpl-py sugar that is just a wrapper on a request by @connorjchen in #473
  • refactor: Make request_impl into a private function by @connorjchen in #478
  • refactor: Alias function for safe_sign_transaction called sign by @connorjchen in #470
  • refactor: Alias function for safe_sign_and_submit_transaction called sign_and_submit by @connorjchen in #472
  • refactor: simplify TypedDict types by @mvadari in #475
  • refactor: Alias function for submit_transaction called submit by @connorjchen in #468
  • refactor: Alias function for safe_sign_and_autofill_transaction called autofill_and_sign by @connorjchen in #471
  • rename DisallowIncoming flag for NFTs by @ckniffen in #533

New Contributors

Full Changelog: v1.7.0...v1.8.0

v1.8.0b2

23 Feb 20:32
Compare
Choose a tag to compare
v1.8.0b2 Pre-release
Pre-release

What's Changed

  • Refactor asset pair in all AMM models to be Currency type.
  • Add disallow_incoming flags by @JST5000 in #522

Full Changelog: v1.8.0b1...v1.8.0b2

v1.8.0b1

16 Feb 19:51
Compare
Choose a tag to compare
v1.8.0b1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v1.9.0-beta.0...v1.8.0b1