From c8a6f4d35a782047091951f8139e0abcc6c764cd Mon Sep 17 00:00:00 2001 From: Chenna Keshava B S Date: Tue, 30 Jun 2026 14:30:30 -0700 Subject: [PATCH 1/2] bump version to 1.2.0 Release v1.2.0: roll the Unreleased changelog into a v1.2.0 section and document the SingleAssetVault (XLS-65), PriceOracle (XLS-47), and MPTokenMetadata (XLS-89) features merged since v1.1.0. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 9 +++++++++ Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2234c5ab..cafbf27e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +### Fixed + +## [[v1.2.0]] + +### Added + - **XLS-33 Multi-Purpose Tokens (MPT):** full support for the [XLS-0033 MPTokensV1 amendment](https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0033-multi-purpose-tokens). - **Binary codec:** `Hash192` type for `MPTokenIssuanceID`; MPT amount encode/decode (UInt64 as base-10 string); `AssetScale` (UInt8) and `MPTAmount`/`MaximumAmount`/`OutstandingAmount` field support. - **Amount/Currency:** `MPTAmount` and `MPTCurrency` variants in `Amount`/`Currency` enums; digit-only value validation; `i64::MAX` upper-bound enforcement; `is_mpt()` helper. @@ -21,6 +27,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **Ledger objects:** `MPToken` and `MPTokenIssuance` with `LockedAmount`, `MPTokenIssuanceMutableFlag` bitmask, and non-null index validation. - **Requests:** `AccountObjectType::MptIssuance` and `Mptoken` variants. - **Integration tests:** full MPT lifecycle end-to-end (create issuance, holder opt-in, lock/unlock, clawback). +- **XLS-65 Single Asset Vault:** support for the XLS-0065 Single Asset Vault amendment. Adds the `Vault` ledger object; `VaultCreate`, `VaultSet`, `VaultDelete`, `VaultDeposit`, `VaultWithdraw`, and `VaultClawback` transactions; the `vault_info` request and result; `ledger_entry` vault lookup; and the `AccountObjectType::Vault` filter. +- **XLS-47 Price Oracle:** support for the XLS-0047 PriceOracle amendment. Adds the `Oracle` ledger object; `OracleSet` and `OracleDelete` transactions; the `get_aggregate_price` request and result; `ledger_entry` oracle lookup; and the `AccountObjectType::Oracle` filter. +- **XLS-89 MPTokenMetadata:** `utils::mptoken_metadata` helpers to encode, decode, validate, and warn on MPT metadata (`encode_mptoken_metadata`, `decode_mptoken_metadata`, `validate_mptoken_metadata`, `mptoken_metadata_warning`). - New `xrpl::signing` module containing the pure-crypto signing helpers (`sign`, `multisign`, `prepare_transaction`) extracted from `asynch::transaction` and `transaction`. Available with just `core + models + wallet` features (no `helpers`/runtime/client dependency). The legacy paths `asynch::transaction::sign` and `transaction::multisign` are preserved as re-exports for backward compatibility. - Expanded unit-test coverage and raised CI thresholds: lines `73 → 83`, regions `75 → 85`, functions `67 → 73`. - Codecov integration with per-PR project (≥83%) and patch (≥80% on new/modified lines) gates. diff --git a/Cargo.toml b/Cargo.toml index 1570edce..ce2b68c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xrpl-rust" -version = "1.1.0" +version = "1.2.0" edition = "2021" authors = [ "Tanveer Wahid ", From 10594f8be466f9b78a8df6c311a3b9fd3ba23cc0 Mon Sep 17 00:00:00 2001 From: Chenna Keshava B S Date: Wed, 1 Jul 2026 12:10:43 -0700 Subject: [PATCH 2/2] docs: bump README install versions to 1.2.0 Update the version references in the README install snippets to match the v1.2.0 release: the main dependency snippet (1.0.0 -> 1.2.0) and the CLI-feature snippet (0.5.0 -> 1.2.0). Addresses review feedback on #337. Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7c29dc43..58cfd66e 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ To install, add the following to your project's `Cargo.toml`: ```toml [dependencies.xrpl] -version = "1.0.0" +version = "1.2.0" ``` # Documentation [![docs_status]][docs] @@ -149,7 +149,7 @@ To install the CLI tool, you can add the `cli` feature to your dependencies: ```toml [dependencies.xrpl] -version = "0.5.0" +version = "1.2.0" features = ["cli"] ```