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
InflationOperation
inOperation.fromXdr
(#194). - Fixed exception thrown from
ManageOfferOperation.fromXDR
for some offers (#188). - Send Horizon client fingerprint (#190).
Server
now implementsCloseable
interface (#182).- Fixed
/order_book
endpoint 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.Builder
requiressetTimeout
method to be called. - Added Horizon 0.15.0 features.
- Improved streaming code and dependencies (thanks @jillesvangurp!).
- SEP-0005 derivation (thanks @westonal!).
- Non
ed25519
keys are now supported in all responses (fixes #126):SetOptionsOperationResponse.getSigner
is deprecated. Please useSetOptionsOperationResponse.getSignerKey
.AccountResponse.Signer.getAccountId
is deprecated. Please useAccountResponse.Signer.getKey
.
- Fixed
PathPaymentOperationResponse.getSourceAsset
method (#125).
- Fixed condition check in
TimeBounds
whenmaxTime
is equal0
.
- Protocol V10 updates:
Transaction
now has methods to create it from previously builtTransactionEnvelope
.- Improved
Server.submitTransaction
method, 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!
Price
constructor 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
XdrDataInputStream
andXdrDataOutputStream
. - Fixed
AllowTrustOperation.Builder
forASSET_TYPE_CREDIT_ALPHANUM12
assets.
KeyPair.sign
now throwsRuntimeException
whenKeyPair
object does not contain a secret key.SubmitTransactionResponse.getOfferIdFromResult
if offer was taken andtx_result
does not contain offer ID.
- Regenerated XDR classes:
XdrDataOutputStream
class is now padding opaque data.XdrDataInputStream
class is now throwing an IOException when padding bytes are not zeros.- Made methods that shouldn't be used outside of
XdrDataOutputStream
andXdrDataInputStream
classes private. - Removed unused imports and variables.
- Added ability to set TimeBounds using Transaction.Builder
- Implemented
/order_book
and/order_book/trades
requests.
- Fixed a bug in
AssetDeserializer
. - Fixed a bug in
TransactionResponse
.
- Support for new signer types:
sha256Hash
,preAuthTx
. - Breaking change
Network
must be explicitly selected. Previously testnet was a default network.
- New location of
stellar.toml
file
- Fixed a bug in
OffersRequestBuilder.execute(URI uri)
(799f0df).
- Update and fix XDR (0b404d9).
- Added ResultCodes to SubmitTransactionResponse (79e2260).
Transaction.Builder.addOperation
is now thread safe (248a4a1).- Added
hashCode
method forAsset
classes (ab822e5). FederationResponse
constructor is now public. (c4c5a4d).- Updates to javadoc.
- Breaking change Merged java-stellar-base and java-stellar-sdk. More info in #19.