diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f22b8ace..1df9566f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,20 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [[Unreleased]] -## [2.0.0] +## [2.0.0] - 2023-07-05 ### 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 `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 ### Changed: -- Updated params for Wallet class constructor +- Updated params for `Wallet` class constructor - `Wallet.address` is now readonly -- Removed Sequence from Wallet class +- 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 +- 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) @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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` @@ -40,6 +41,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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` ## [1.9.0] - 2023-06-13 ### Added: diff --git a/pyproject.toml b/pyproject.toml index 1fc8f66f6..80ab0d965 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "xrpl-py" -version = "1.9.0" +version = "2.0.0" description = "A complete Python library for interacting with the XRP ledger" readme = "README.md" repository = "https://github.com/XRPLF/xrpl-py"