Releases: XRPLF/xrpl-py
Releases · XRPLF/xrpl-py
v1.9.0-beta.0
What's Changed
- fix: fix
NestedModel
typing 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
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
- 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
v2.0.0-beta.0
What's Changed
- breaking: Refactored wallet class and removed wallet sequence by @connorjchen in #477
- feat: generate wallet from secret numbers by @connorjchen in #492
We'd appreciate any feedback on the breaking changes!
Note: AMM and SideChains beta changes are NOT included in this release.
Full Changelog: v1.7.0...v2.0.0-beta.0
v1.8.0-beta.0
What's Changed
- Support for cross-chain bridge proposal
- New AMM API signature changes
- feat: poetry script for easier test case running by @connorjchen in #445
- docs: add xrpl.js code snippets over to xrpl-py by @connorjchen in #443
- feat: Shorten ledger close time from 4 to 1 by @connorjchen in #454
- ci: cache poetry by @mvadari in #456
- docs: Explain how to add integration tests by @connorjchen in #450
- test: Change testnet to standalone to increase speed on integration tests by @connorjchen in #449
- fix: adjust
check_fee
logic to be more reasonable by @mvadari in #458 - feat: Add nft devnet, and hooks v2 testnet wallet inferencing by @connorjchen in #455
- feat: add amm devnet support for wallet inferencing by @connorjchen in #466
Full Changelog: v1.7.0-beta.1...v1.8.0-beta.0
v1.7.0-beta.2
What's Changed
- Support for cross-chain bridge proposal
- New AMM API signature changes
- feat: poetry script for easier test case running by @connorjchen in #445
- docs: add xrpl.js code snippets over to xrpl-py by @connorjchen in #443
- feat: Shorten ledger close time from 4 to 1 by @connorjchen in #454
- docs: Explain how to add integration tests by @connorjchen in #450
- fix: adjust
check_fee
logic to be more reasonable by @mvadari in #458 - feat: Add nft devnet, and hooks v2 testnet wallet inferencing by @connorjchen in #455
- feat: add amm devnet support for wallet inferencing by @connorjchen in #466
New Contributors
- @dependabot made their first contribution in #433
Full Changelog: v1.7.0-beta.1...v1.7.0-beta.2
1.7.0
What's Changed
- Add final balances parser by @LimpidCrypto in #398
- deps: update typing-extensions by @mvadari in #403
- fix: fix typing of
from_dict
and other classmethods by @mvadari in #408 - fix: properly encode transactions in signing requests by @mvadari in #409
- feat: add support for ED25519 seeds that don't use the
sEd
prefix by @mvadari in #415 - Get order book changes by @LimpidCrypto in #407
- feat: added ticket_sequence to Transaction class common fields by @connorjchen in #428
- add ExpandedSignerList amendment support by @khancode in #406
- Add docs to
get_account_transactions
and fix Sphinx dependency issues by @JST5000 in #427 - feat: poetry script for easier test case running by @connorjchen in #445
New Contributors
- @pdp2121 made their first contribution in #420
- @connorjchen made their first contribution in #428
Full Changelog: v1.6.0...v1.7.0
v1.7.0-beta.1
What's Changed
- Support for ExpandedSignerList amendment that expands the maximum signer list to 32 entries
- Function to parse the final account balances from a transaction's metadata
- Function to parse order book changes from a transaction's metadata
- Support for Ed25519 seeds that don't use the
sEd
prefix - Support for cross-chain bridge proposal
- Support for Automated Market Maker (AMM) transactions and requests as defined in XLS-30.
- Add docs to
get_account_transactions
explaining how to allow pagination through all transaction history [#462] - Common field
ticket_sequence
to Transaction class
New Contributors
- @pdp2121 made their first contribution in #420
- @connorjchen made their first contribution in #428
Full Changelog: v1.6.0...v1.7.0-beta.1
v1.6.0
What's Changed
- Better fee calculation by @LimpidCrypto in #370
- Verify submitted transaction is not malformed before waiting for its final outcome. by @khancode in #379
- Fix GenericRequest mypy typing error by @JST5000 in #380
- add better error handling for invalid client URLs by @khancode in #388
- add test case for valid client URL by @khancode in #389
- Fix safe_sign_transaction doc by @mDuo13 in #392
- fix bug in GenericRequest.to_dict() by @khancode in #391
- export SubscribeBook request model by @khancode in #395
- Add balance changes parser by @LimpidCrypto in #383
Full Changelog: v1.5.0...v1.6.0
v1.5.0
Added
- Support setting flags with booleans. For each transaction type supporting flags there is a FlagInterface to set the flags with booleans.
federator_info
RPC support- Helper method for creating a cross-chain payment to/from a sidechain
- Helper method for parsing an NFTokenID
Fixed
- Updated NFT names to match new 1.9.0 rippled names
xrpl.asyncio.clients
exports (now includesrequest_to_websocket
,websocket_to_response
)- Adds optional owner field to NFTokenBurn
- Allows lower-case currency codes
v1.4.0
Added
- Sync and async generate_faucet_wallet functions now support a custom faucet host
v1.3.0
Added
- Support for the XLS-20 NFT proposal
xrpl.models.amounts.get_amount_value
helper functionxrpl.utils.str_to_hex
andxrpl.utils.hex_to_str
helpersledger_index
optional param for all the main account methodsTicketCreate
transaction modelGenericRequest
model for unsupported request types- Methods to convert between
IssuedCurrency
andIssuedCurrencyAmount
- Support for ints and floats in the
IssuedCurrency
andIssuedCurrencyAmount
models (and ints forXRP
) - Fixed bug where autofilling using an
xAddress
withNone
in the Destination Tag threw a KeyError max_fee
andfee_type
optional params forget_fee
autofill
, a new public method that populates thefee
,sequence
, andlast_ledger_sequence
fields of a transaction, based on the current state retrieved from the server the Client is connected to. It also converts all X-Addresses to classic addresses.- Exports
Transaction
,Response
, pseudo-transactions at thexrpl.models
level
Fixed
- Improves typing of
Response.result
- Makes the default ledger version for
get_next_valid_seq_number
current
instead ofvalidated
- Stops erroring on non-
tesSUCCESS
responses in reliable transaction submission - Removes runtime asserts in websocket clients that were used for type checks only
- Adds missing top-level
py.typed
file for exceptions and constants - Fix issue where unsupported currency codes weren't being correctly processed in the binary codec
- Fixes issue with UNLModify encoding (due to a bug in rippled)
- Makes the account delete fee dynamic, based on the ledger's reserve, instead of hard-coded
- Fee scaling based on load on the ledger
- Fixes potential issue with conflicting Decimal contexts