All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add
InvokeHostFunctionOperationand related types and enum values - Add
ExtendFootprintTtlOperationand related types and enum values - Add
RestoreFootprintOperationand related types and enum values - Add
ContractData,ContractCode,ConfigSettingandTtlto theLedgerKeyenum - Add
Errorvariants:InvalidPayload,UnsupportedFeature - Add
DalekKeyPair(featuredalek)
- BREAKING: Replaced feature
sodium_oxidewithdaleksince sodiumoxide is no longer maintained - BREAKING: Replaced generated code with
stellar-xdrcrate - Update dependency's versions
- Remove
SodiumKeyPair(useDalekKeyPair) - Remove
Error::SodiumInitFailed
- Add tests for
BeginSponsoringFutureReservesOperation - Add
ChangeTrustAsset - Add
ClawbackOperation - Add
ClawbackClaimableBalanceOperation - Add
LiquidityPoolDepositOperation - Add
LiquidityPoolWithdrawOperation - Add
LiquidityPoolto theLedgerKeyenum - Add
SetTrustlineFlagsOperation - Add support for revoking liquidity pool sponsorship to
RevokeSponsorshipOperation - Add
AUTH_CLAWBACK_ENABLEDtoAccountFlags - Add
TRUSTLINE_CLAWBACK_ENABLEDtoTrustLineFlags - Add
TrustlineAsset - Add
InvalidLiquidityPoolIdLengthtoError - Add
LedgerKey::LiquidityPool - Add
LiquidityPoolId - Add
LiquidityPoolConstantFeeParameters - Add
LiquidityPoolConstantFee - Add
LiquidityPool - Add
InnerOperationResult::ClaimClaimableBalance - Add
InnerOperationResult::Clawback - Add
InnerOperationResult::ClawbackClaimableBalance - Add
InnerOperationResult::SetTrustLineFlags - Add
InnerOperationResult::LiquidityPoolDeposit - Add
InnerOperationResult::LiquidityPoolWithdraw - Add
InnerTransactionResult::FeeBumpInnerSuccess - Add
InnerTransactionResult::FeeBumpInnerFailed
- BREAKING: Use
ChangeTrustAssetforChangeTrustoperation - BREAKING: Use
TrustLineAssetinstead ofAssetinLedgerKey::Trustline - BREAKING: Update
xdr_generated.rsfrom the current stellar X files. - BREAKING: Use traits from the
ed25519crate to allow using any ed25519 backend (libsodium, dalek, etc or even a custom signing implementation). The use of sodiumoxide is now behind the featuresodium_oxide, which is enabled by default. - Update dependency's versions
- Fix
ChangeTrustOperationBuilderto allow explicitly passing limit 0.
- Add support for CAP-0023.
- Add
CreateClaimableBalanceOperation. - Add
ClaimClaimableBalanceOperation. - Add
ClaimantandClaimPredicate. - Add
BeginSponsoringFutureReservesOperation. - Add
EndSponsoringFutureReservesOperation. - Add
RevokeSponsorshipOperation. - Add
TransactionResultandOperationResult.
PublicKeyimplementsDisplayandFromStr.
- Add
sign_hashxanddecorated_signature_from_preimagetoFeeBumpTransactionandTransactionEnvelope.
- Rename
TransactionBuilder::to_transactiontoTransactionBuilder::into_transaction.
- Add
SignerandSignerKeyrelated methods.
- Change
PreAuthTxHashstruct. - Change
HashXstruct.
- Add several mutable accessors to structs fields.
- Rename enum accessors to
as_. - Move builders inside structs.
- Build and sign transactions.
- Base Stellar types.
- Decode and encode account ids, secret seeds, transaction hashes and muxed accounts.
- Add generated XDR types.