As this project is pre 1.0, breaking changes may happen for minor version bumps. A breaking change will get clearly notified in this log.
- Removed deprecated methods and classes listed in the 0.7.0 changelog entry
- Configure network at the transaction and server level rather than using a singleton to determine which network to use globally.
- Implement hashCode() and equals() on Stellar classes and XDR generated classes
- Add streaming for account Offers
- Add callback to handle SSE failures
The following methods are deprecated and will be removed in 0.8.0. Please switch to new methods and classes.
| Deprecated | New method/class |
|---|---|
org.stellar.sdk.Server#operationFeeStats |
org.stellar.sdk.Server#feeStats |
org.stellar.sdk.requests.OperationFeeStatsRequestBuilder |
org.stellar.sdk.requests.FeeStatsRequestBuilder |
org.stellar.sdk.responses.OperationFeeStatsResponse |
org.stellar.sdk.responses.FeeStatsResponse |
org.stellar.sdk.responses.operations.CreatePassiveOfferOperationResponse |
org.stellar.sdk.responses.operations.CreatePassiveSellOfferOperationResponse |
org.stellar.sdk.responses.operations.ManageOfferOperationResponse |
org.stellar.sdk.responses.operations.ManageOfferSellOperationResponse |
org.stellar.sdk.CreatePassiveOfferOperation |
org.stellar.sdk.CreatePassiveSellOfferOperation |
org.stellar.sdk.ManageOfferOperation |
org.stellar.sdk.ManageSellOfferOperation |
- Stellar Protocol 11 compatibility (#199).
- Compatibility with Horizon API updates (#205).
- Add Support for
InflationOperationinOperation.fromXdr(#194). - Fixed exception thrown from
ManageOfferOperation.fromXDRfor some offers (#188). - Send Horizon client fingerprint (#190).
Servernow implementsCloseableinterface (#182).- Fixed
/order_bookendpoint streaming.
- Horizon 0.17.0 features (#180)
- Enable setting custom base fee (#177)
- Horizon 0.16.0 features (#172)
- Allow no signatures in Transaction.toEnvelopeXdr (#164)
- Fix dependencies shadowing (#173)
- Fixed streaming issues.
- Breaking change
Transaction.BuilderrequiressetTimeoutmethod to be called. - Added Horizon 0.15.0 features.
- Improved streaming code and dependencies (thanks @jillesvangurp!).
- SEP-0005 derivation (thanks @westonal!).
- Non
ed25519keys are now supported in all responses (fixes #126):SetOptionsOperationResponse.getSigneris deprecated. Please useSetOptionsOperationResponse.getSignerKey.AccountResponse.Signer.getAccountIdis deprecated. Please useAccountResponse.Signer.getKey.
- Fixed
PathPaymentOperationResponse.getSourceAssetmethod (#125).
- Fixed condition check in
TimeBoundswhenmaxTimeis equal0.
- Protocol V10 updates:
Transactionnow has methods to create it from previously builtTransactionEnvelope.- Improved
Server.submitTransactionmethod, now throws exception for timeouts.
- Fixed
MemoReturnHash#toXdr()method. - Patch for Horizon Timeout responses (
SubmitTransactionResponse.getEnvelopeXdr()andSubmitTransactionResponse.getResultXdr()).
- Full compatibility with Horizon 0.13.0 API.
- Fixed
Page.getNextPage#66.
- Java SDK now works in Android!
Priceconstructor is now public.- Added support for new endpoints and fields added in Horizon v0.12.0.
- Fixed
pad()method inXdrInputStream. - Added utf8 string support for
XdrDataInputStreamandXdrDataOutputStream. - Fixed
AllowTrustOperation.BuilderforASSET_TYPE_CREDIT_ALPHANUM12assets.
KeyPair.signnow throwsRuntimeExceptionwhenKeyPairobject does not contain a secret key.SubmitTransactionResponse.getOfferIdFromResultif offer was taken andtx_resultdoes not contain offer ID.
- Regenerated XDR classes:
XdrDataOutputStreamclass is now padding opaque data.XdrDataInputStreamclass is now throwing an IOException when padding bytes are not zeros.- Made methods that shouldn't be used outside of
XdrDataOutputStreamandXdrDataInputStreamclasses private. - Removed unused imports and variables.
- Added ability to set TimeBounds using Transaction.Builder
- Implemented
/order_bookand/order_book/tradesrequests.
- Fixed a bug in
AssetDeserializer. - Fixed a bug in
TransactionResponse.
- Support for new signer types:
sha256Hash,preAuthTx. - Breaking change
Networkmust be explicitly selected. Previously testnet was a default network.
- New location of
stellar.tomlfile
- Fixed a bug in
OffersRequestBuilder.execute(URI uri)(799f0df).
- Update and fix XDR (0b404d9).
- Added ResultCodes to SubmitTransactionResponse (79e2260).
Transaction.Builder.addOperationis now thread safe (248a4a1).- Added
hashCodemethod forAssetclasses (ab822e5). FederationResponseconstructor is now public. (c4c5a4d).- Updates to javadoc.
- Breaking change Merged java-stellar-base and java-stellar-sdk. More info in #19.