Skip to content

Commit f2d8144

Browse files
authored
Merge branch 'v0.1.x' into lint/feat/bump-lint-to-v2
2 parents 72eeb80 + 58dbafd commit f2d8144

28 files changed

+683
-177
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: v0.1.11
3+
---
4+
5+
### BREAKING CHANGES
6+
7+
#### xrpl
8+
9+
- Moved `Signers` type from `github.com/Peersyst/xrpl-go/xrpl/transaction` package to `github.com/Peersyst/xrpl-go/xrpl/transaction/types`.
10+
11+
### Added
12+
13+
#### binary-codec
14+
15+
- Added `MPToken` definitions.
16+
- Added `Hash192` type.
17+
- Added functions to serialize and deserialize `MPTCurrencyAmount`.
18+
- Added `GranularPermissions` and `DelegatablePermissions` entries to definitions.
19+
- Added `PermissionValue` serialized type with custom serializer routing.
20+
- Added`EncodeForSigningBatch` function.
21+
22+
#### xrpl
23+
24+
- Added `AMMClawback` transaction type.
25+
- Added `MPTokenAuthorize`, `MPTokenIssuanceCreate`, `MPTokenIssuanceDestroy`, `MPTokenIssuanceSet` transactions. It also adds the `types.Holder`, `types.AssetScale`, `types.MPTokenMetadata` and `types.TransferFee` types to represent the holder of the token, the asset scale, the metadata and the transfer fee of the token respectively.
26+
- Added `NFTokenMintOffer` support by adding `Amount`, `Expiration`, and `Destination` fields to `NFTokenMint` transaction. Also add `NFTokenMintMetadata` struct to handle transaction metadata with `nftoken_id` and `offer_id` fields.
27+
- Added `MPTCurrencyAmount` for currency kinds.
28+
- Added unit tests for `MPTCurrencyAmount`.
29+
- Added `NFTokenModify` transaction type.
30+
31+
##### Account Permission Delegation (XLS-74d, XLS-75d)
32+
33+
- Added `DelegateSet` transaction type (XLS-74d) with validation and error support.
34+
- Added `Delegate` ledger entry type (XLS-74d).
35+
- Added `PermissionValue` and `Permission` types for delegated permissions.
36+
- Added integration tests for `DelegateSet` submission and delegated `Payment` execution (XLS-75d).
37+
38+
##### Batch (XLS-56d)
39+
40+
- Added `Batch` transaction type.
41+
- Added `CombineBatchSigners` function to combine the batch signers of a set of transactions into a single transaction.
42+
- Added `SignMultiBatch` function to sign a multi-account Batch transaction.
43+
- Added `TfInnerBatchTxn` flag.
44+
45+
## Changed
46+
47+
### binary-codec
48+
49+
- Refactored `Issue` codec type to support `Currency` and `Issuer` fields.
50+
51+
### Dependencies
52+
53+
- Bumped Go version to 1.23.0.
54+
55+
## Fixed
56+
57+
### xrpl
58+
59+
- Fixed some flatten fields with the `Flatten` function for `NFTokenMint`, `NFTokenCancel`, `NFTokenCreate`, `NFTokenBurn`
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: v0.1.10
3+
---
4+
5+
### BREAKING CHANGES
6+
7+
#### xrpl
8+
9+
- `Submit` client method is renamed to `SubmitTxBlob` in both clients.
10+
- `SubmitAndWait` client method is renamed to `SubmitTxBlobAndWait` in both clients.
11+
12+
### Added
13+
14+
#### xrpl
15+
16+
- Added `SubmitTx` and `SubmitTxAndWait` client methods to both clients.
17+
- Added support for the Credential fields in the following transaction types:
18+
- Payment
19+
- DepositPreauth
20+
- AccountDelete
21+
- PaymentChannelClaim
22+
- EscrowFinish
23+
- Added the `credential` ledger entry for the `account_objects` request.
24+
- Added tec/tef/tel/tem/ter TxResult codes.
25+
- Added `XLS-80d` support with `PermissionedDomain` transaction types:
26+
- `PermissionedDomainSet`
27+
- `PermissionedDomainDelete`
28+
29+
### Fixed
30+
31+
#### binary-codec
32+
33+
- Added native `uint8` type support for `Uint8` type.
34+
35+
#### big-decimal
36+
37+
- Fixed `BigDecimal` precision.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: v0.1.9
3+
---
4+
5+
### Added
6+
7+
#### xrpl
8+
9+
- Added support for all the Credential transaction types:
10+
- CredentialCreate
11+
- CredentialAccept
12+
- CredentialDelete
13+
14+
### Fixed
15+
16+
#### big-decimal
17+
18+
- Amounts transcoding fix for large values.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: v0.1.8
3+
---
4+
5+
### Added
6+
7+
#### xrpl
8+
9+
- Added `BalanceChanges` to the `Transaction` type.
10+
11+
### Changed
12+
13+
#### xrpl
14+
15+
- Updated `AffectedNode` type fields to be a pointer to allow nil values.
16+
- Fixed `BaseLedger` field in `ledger` response (v1 and v2). BaseLedger.Transactions is now an array of interfaces instead of a slice of `FlatTransaction` due to `Expand` field in the request.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: v0.1.7
3+
---
4+
5+
### Added
6+
7+
#### xrpl
8+
9+
- Added support for websocket client subscriptions. Now you can subscribe to streams like `ledgerClosed`, `transaction`, `consensus`, `peerStatusChange`, `validationReceived`, etc.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: v0.1.6
3+
---
4+
5+
### Added
6+
7+
#### xrpl
8+
9+
- Configurable timeout for the RPC client. New default timeout of 5 seconds instead of 1 second.
10+
11+
### Fixed
12+
13+
#### xrpl
14+
15+
- Updates some fields in AccountSet and Payment related transactions to a pointer to allow 0 or "" values. For example:
16+
17+
- `DestinationTag`
18+
- `TickSize`
19+
- `Domain`
20+
- `WalletLocator`
21+
- `WalletSize`
22+
- `TransferRate`
23+
24+
- Adds more tests for setting some `asf` flags in `AccountSet`.
25+
- Fixed `Transaction` field in `account_tx` response.
26+
- Fixed `Ledger` field in `ledger` response. LedgerIndex is now an uint32 instead of a string.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: v0.1.5
3+
---
4+
5+
### Added
6+
7+
#### xrpl
8+
9+
Support for the XLS-77d (deep freeze)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: v0.1.4
3+
---
4+
5+
### Added
6+
7+
#### xrpl
8+
9+
- Added `GatewayBalances` and `GetAggregatePrice` queries.
10+
11+
### Fixed
12+
13+
#### xrpl
14+
15+
- Updated SignerQuorum in SignerListSet to be an interface{} with uint32 type assertion instead of a value (uint32).
16+
- This allows distinguishing between an unset (nil) and an explicitly set value, including 0 to delete a signer list.
17+
- Ensures SignerQuorum is only included in the Flatten() output when explicitly defined.
18+
- Updates the `Validate` method to make sure `SignerEntries` is not set when `SignerQuorum` is set to 0
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: v0.1.3
3+
---
4+
5+
### Added
6+
7+
- Added `APIVersion` field to the `Client` struct.
8+
- Added `RippledAPIV1` and `RippledAPIV2` constants.
9+
- Added missing `ctid` field on `TxRequest` v1 query.
10+
- Added missing `NoRippleCheck` query (v1 & v2 support).
11+
12+
### Changed
13+
14+
- RippledAPIV2 is set as default API version. Queries and transactions are now compatible with Rippled v2 by default. V1 is still supported. In order to use v1, you need to use the `v1` package of each query type.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: v0.1.2
3+
---
4+
5+
### Fixed
6+
7+
#### xrpl
8+
9+
- The `InfoRequest` for the `account_info` method had an incorrect field `signer_list` (an `s` was missing). The correct field is now `signer_lists`.
10+
Link to the documentation [here](https://xrpl.org/docs/references/http-websocket-apis/public-api-methods/account-methods/account_info#request-format).

0 commit comments

Comments
 (0)