Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Aug 12, 2023
1 parent 8b718b7 commit 2355bd6
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 4 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ As this project is pre 1.0, breaking changes may happen for minor version bumps.

## Pending

## 0.41.0-beta.0
* Add support for Soroban Preview 10. ([#490](https://github.com/stellar/java-stellar-sdk/issues/490))
* Correct the data type of certain fields to store the expected design values. ([#497](https://github.com/stellar/java-stellar-sdk/pull/497))
* Add source account comparison to `ClawbackClaimableBalanceOperation`, `LiquidityPoolWithdrawOperation`, and `LiquidityPoolDepositOperation` for equality check. ([#484](https://github.com/stellar/java-stellar-sdk/pull/484))
* Add basic implementation of `liquidity_pools?account` ([#426](https://github.com/stellar/java-stellar-sdk/pull/426))

### Breaking changes
* `Utils.claimableBalanceIdToXDR` and `Utils.xdrToClaimableBalanceId` have been removed. ([#503](https://github.com/stellar/java-stellar-sdk/pull/503))
* The types of the following fields have changed. ([#498](https://github.com/stellar/java-stellar-sdk/pull/498))
| field | before | now |
| ----------------------------------------- | ------ | ---------- |
| LedgerBounds.minLedger | int | long |
| LedgerBounds.maxLedger | int | long |
| MemoId.id | long | BigInteger |
| TimeBounds.minTime | long | BigInteger |
| TimeBounds.maxTime | long | BigInteger |
| TransactionBuilder.baseFee | int | long |
| TransactionPreconditions.TIMEOUT_INFINITE | long | BigInteger |
| TransactionPreconditions.minSeqAge | Long | BigInteger |
| TransactionPreconditions.minSeqLedgerGap | int | long |


## 0.40.0
* Add strkey support for contract ids ([#471](https://github.com/stellar/java-stellar-sdk/pull/471))
* Fix NPE in `KeyPair.equals()` method ([#474](https://github.com/stellar/java-stellar-sdk/pull/474))
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spotless {


sourceCompatibility = JavaVersion.VERSION_1_8.toString()
version = '0.40.0'
version = '0.41.0-beta.0'
group = 'stellar'
jar.enabled = false

Expand Down
18 changes: 15 additions & 3 deletions src/main/java/org/stellar/sdk/TransactionBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,13 @@ public static org.stellar.sdk.xdr.TimeBounds buildTimeBounds(long minTime, long
}

/**
* Sets Soroban data to the transaction. TODO: After adding SorobanServer, add more descriptions.
* Sets the transaction's internal Soroban transaction data (resources, footprint, etc.).
*
* <p>For non-contract(non-Soroban) transactions, this setting has no effect. In the case of
* Soroban transactions, this is either an instance of {@link SorobanTransactionData} or a
* base64-encoded string of said structure. This is usually obtained from the simulation response
* based on a transaction with a Soroban operation (e.g. {@link InvokeHostFunctionOperation},
* providing necessary resource and storage footprint estimations for contract invocation.
*
* @param sorobanData Soroban data to set
* @return Builder object so you can chain methods.
Expand All @@ -275,9 +281,15 @@ public TransactionBuilder setSorobanData(SorobanTransactionData sorobanData) {
}

/**
* Sets Soroban data to the transaction. TODO: After adding SorobanServer, add more descriptions.
* Sets the transaction's internal Soroban transaction data (resources, footprint, etc.).
*
* @param sorobanData Soroban data to set
* <p>For non-contract(non-Soroban) transactions, this setting has no effect. In the case of
* Soroban transactions, this is either an instance of {@link SorobanTransactionData} or a
* base64-encoded string of said structure. This is usually obtained from the simulation response
* based on a transaction with a Soroban operation (e.g. {@link InvokeHostFunctionOperation},
* providing necessary resource and storage footprint estimations for contract invocation.
*
* @param sorobanData base64 encoded Soroban data to set
* @return Builder object so you can chain methods.
*/
public TransactionBuilder setSorobanData(String sorobanData) {
Expand Down

0 comments on commit 2355bd6

Please sign in to comment.