Releases: XRPLF/xrpl-py
Releases · XRPLF/xrpl-py
v2.1.0
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_addressaliasing 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
Summary
Adds latest AMM/Sidechain/XLS-30 beta features on top of xrpl-py 2.0
What's Changed
- add user agent and use case info to faucet json body by @jonathanlei in #572
- Release xrpl-py 1.9.0 by @JST5000 in #596
- feature
NetworkIDby @dangell7 in #520 - chore(deps): bump pycryptodome from 3.17 to 3.18.0 by @dependabot in #585
- fix(test): move integration test out from unit tests by @mvadari in #603
- test: run snippets in CI by @mvadari in #602
- feat: Add missing
nft_page,ledger_indexandledger_hashfields to requests by @pdp2121 in #604 - Release: Rebase xrpl-py 2.0 with master by @JST5000 in #606
- release: version 2.0.0 by @JST5000 in #613
- 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_addressaliasing issue by @JST5000 in #617
Full Changelog: v1.9.0b2...v2.1.0b0
v2.0.0
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
addressalias toWallet.classic_address- Replaced
Wallet.classic_addresswithWallet.addressto avoid confusion. (classic_addressis the same as your XRPL accountaddress, and is only called classic since it's an older standard thanx-address)
- Replaced
- Added
network_idto clients in order to use theClientwith networks beyond mainnet by @dangell7 in #520
Changed:
- Updated params for
Walletclass constructor Wallet.addressis now readonly- Removed
sequencefromWalletclass - Core keypairs generate seed must take in hexstring instead of bytestring
- Core keypairs formatting for
ED25519is 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)
AccountSetFlagInterfacenow operates on transactiontfflags (as opposed toasfflags)signis now synchronous instead of async (done by removing the optionalcheck_feeparam & 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 becausewalletis optional forsubmit_and_waitand so must come afterclient) XRP.to_amountnow converts from XRP to drops, instead of expecting a drops amount
Fixed:
- Added a sort of the account IDs in
multisign, so that themultisignalways works. - Add
ledger_hashandledger_indextoaccount_nfts,nft_buy_offers, andnft_sell_offersrequests. - Add
nft_pagetoledger_entryrequest.
Removed:
send_reliable_submissionhas been replaced bysubmit_and_wait- Longer aliases for signing/submitting functions have been removed. Specifically
submit_transactionis nowsubmitsafe_sign_transactionis nowsignsafe_sign_and_submit_transactionis nowsign_and_submit- The param order for
sign_and_submitmoveswalletafterclientto be consistent withsubmit_and_wait
- The param order for
safe_sign_and_autofill_transactionis nowautofill_and_sign- The param order for
autofill_and_signmoveswalletafterclientto be consistent withsubmit_and_wait
- The param order for
- Removed deprecated request functions which were just wrappers around
Client.request(). Specifically this includes:get_account_infoget_account_transactionsget_account_payment_transactionsget_transaction_from_hash
Full Changelog: v1.9.0...v2.0.0
v1.9.0
What's Changed
- feat: add submit and wait for transaction submission by @pdp2121 in #528
- Add
nft_infoandnft_historyclio APIs by @shawnxie999 in #573 - fix: improve error message for
temerrors 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
- @shawnxie999 made their first contribution in #573
Full Changelog: v1.8.0...v1.9.0
v1.9.0b2
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_infoandnft_historyclio APIs by @shawnxie999 in #573 - fix: improve error message for
temerrors 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
- @shawnxie999 made their first contribution in #573
Full Changelog:
v1.9.0b1
Full Changelogs:
v1.8.0
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
- fix: fix
NestedModeltyping by @mvadari in #474 - fix: Used RIPEMD160 algorithm from PyCrypto rather than hashlib by @connorjchen in #490
- fix: small typing errors in tests by @mvadari in #491
- Add nft_offer type in AccountObjects by @wojake in #495
- add check for txnNotFound by @jonathanlei in #500
- unset hash128 using AccountSet by @pdp2121 in #508
- Add disallow_incoming flags by @JST5000 in #522
- fix: handle relsub errors better by @mvadari in #539
- add
typefield toLedgerandLedgerDatarequest by @rikublock in #538 - simplify and clean up a few things WRT clients by @ledhed2222 in #519
- Remove capped attempts from reliable_submission by @JST5000 in #547
- 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
TypedDicttypes 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
- @wojake made their first contribution in #495
- @jonathanlei made their first contribution in #500
- @justinr1234 made their first contribution in #529
- @ckniffen made their first contribution in #535
- @rikublock made their first contribution in #538
Full Changelog: v1.7.0...v1.8.0
v1.8.0b2
v1.8.0b1
What's Changed
- Remove nft-devnet from tests by @JST5000 in #505
- Add nft_offer type in AccountObjects by @wojake in #495
- add check for txnNotFound by @jonathanlei in #500
- Add code snippets link to README and fix a typo by @pdp2121 in #506
- Add README to snippets folder to point to xrpl.org code samples. by @pdp2121 in #507
- unset hash128 using AccountSet by @pdp2121 in #508
- chore(deps-dev): bump sphinx-rtd-theme from 0.5.2 to 1.1.1 by @dependabot in #481
- [BETA] Amendment XLS-34d by @dangell7 in #515
New Contributors
- @wojake made their first contribution in #495
- @jonathanlei made their first contribution in #500
- @dangell7 made their first contribution in #515
Full Changelog: v1.9.0-beta.0...v1.8.0b1
v1.9.0-beta.0
What's Changed
- fix: fix
NestedModeltyping by @mvadari in #474 - 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
- fix: fix Github Actions issues by @mvadari in #485
- refactor: Alias function for safe_sign_and_submit_transaction called sign_and_submit by @connorjchen in #472
- refactor: simplify
TypedDicttypes 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
- chore(deps): bump certifi from 2022.6.15 to 2022.12.7 by @dependabot in #487
- fix: Used RIPEMD160 algorithm from PyCrypto rather than hashlib by @connorjchen in #490
- fix: small typing errors in tests by @mvadari in #491
- chore(deps-dev): bump poethepoet from 0.16.2 to 0.16.5 by @dependabot in #480
- chore(deps-dev): bump sphinx from 5.1.1 to 5.3.0 by @dependabot in #461
- feat: Add multisign snippet, multisign functionality to autofill, and multisign helper by @connorjchen in #459
- chore(deps): bump typing-extensions from 4.3.0 to 4.4.0 by @dependabot in #463
Full Changelog: v1.8.0-beta.0...v1.9.0-beta.0