Releases: XRPLF/xrpl-py
Releases · XRPLF/xrpl-py
v1.10.0
What's Changed
- feature
NetworkID
by @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_index
andledger_hash
fields to requests by @pdp2121 in #604 - Fix invalid account address (#611) by @JST5000 in #625
Full Changelog: v1.9.0...v1.10.0
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_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
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
NetworkID
by @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_index
andledger_hash
fields 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_address
aliasing 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
address
alias toWallet.classic_address
- Replaced
Wallet.classic_address
withWallet.address
to avoid confusion. (classic_address
is the same as your XRPL accountaddress
, and is only called classic since it's an older standard thanx-address
)
- Replaced
- Added
network_id
to clients in order to use theClient
with networks beyond mainnet by @dangell7 in #520
Changed:
- Updated params for
Wallet
class constructor Wallet.address
is now readonly- Removed
sequence
fromWallet
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 transactiontf
flags (as opposed toasf
flags)sign
is now synchronous instead of async (done by removing the optionalcheck_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 becausewallet
is optional forsubmit_and_wait
and so must come afterclient
) 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 themultisign
always works. - Add
ledger_hash
andledger_index
toaccount_nfts
,nft_buy_offers
, andnft_sell_offers
requests. - Add
nft_page
toledger_entry
request.
Removed:
send_reliable_submission
has been replaced bysubmit_and_wait
- Longer aliases for signing/submitting functions have been removed. Specifically
submit_transaction
is nowsubmit
safe_sign_transaction
is nowsign
safe_sign_and_submit_transaction
is nowsign_and_submit
- The param order for
sign_and_submit
moveswallet
afterclient
to be consistent withsubmit_and_wait
- The param order for
safe_sign_and_autofill_transaction
is nowautofill_and_sign
- The param order for
autofill_and_sign
moveswallet
afterclient
to 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_info
get_account_transactions
get_account_payment_transactions
get_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_info
andnft_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
- @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_info
andnft_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
- @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
NestedModel
typing 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
type
field toLedger
andLedgerData
request 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
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
- @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