Releases: mobilecoinofficial/android-sdk
Releases · mobilecoinofficial/android-sdk
v1.2.2.2
Fixes
GRPCFogKeyImageService
properly convertsStatusRuntimeException
toNetworkException
Upgrading
No code changes are required to upgrade from 1.2.2.1 to 1.2.2.2
v1.2.2.1
Added
- Added
AccountActivity.getAllTokenTxOuts(TokenId)
Changed
- Changed visibility of
OwnedTxOut.getAmount()
to public
Upgrading
No code changes are required to upgrade from 1.2.2 to 1.2.2.1
v1.2.2
Added
- Added a
ProposeTxResult
field toInvalidTransactionException
. This field indicates why the
Transaction
was not accepted. MobileCoinTransactionClient.submitTransaction
now returns Consensus block count at submission time.
Changed
- Updated bindings to version 1.2.2
Fixes
OwnedTxOut
s returned through the public API are copied from internalOwnedTxOut
s. This fixes
some issues caused byOwnedTxOut
s being updated after being fetched from the public API.- Fixed default HttpRequester authentication
- Fixed a dependency issue introduced by some project structure changes
Upgrading
No code changes are required to upgrade from 1.2.1 to 1.2.2
- To easily handle various types of transaction failure differently, code such as the following
can be used:switch(invalidTransactionException.getResult())
- To obtain the Consensus block index at the time of
Transaction
submission, check the return
value ofMobileCoinTransactionClient.submitTransaction
v1.2.1
Added
- Added Amount.ofMOB(BigInteger value) to create an Amount with MOB token ID
Changed
- Updated bindings to version 1.2.1
Upgrading
No code changes are required to upgrade from 1.2.0 to 1.2.1
- Calls to
new Amount(value, TokenId.MOB)
may be replaced withAmount.ofMOB(value)
.
v1.2.0
Added
- Support for multiple token types
- Recoverable Transaction History (RTH)
- Default HttpRequester Implementation
- Parcelable support for various SDK classes
- Internal Consensus load balancer
Changed
- Change TxOuts are now sent to a dedicated change subaddress
- Internal block info cache invalidated on submit transaction error, causing fees and block version to be re-fetched
Fixes
- Fixed API level 24 support
- FogSyncException will be thrown if Fog View and Ledger are out of sync with each other or Consensus.
This signifies that balances may temporarily be out of date or incorrect.
Upgrading
- The constructor for
MobileCoinClient
now requires one additional parameter, aTransportProtocol
This can either beTransportProtocol.forGRPC()
orTransportProtocol.forHTTP(Requester)
. - Some methods that interact with network services now throw a
FogSyncException
. This signifies
that the information gathered from the network may be temporarily out of date. - With support for multiple token types, various account and transaction related methods have been
deprecated. Many of these deprecated methods have simply been parameterized for aTokenId
. Refer
to the Javadoc of deprecated methods for instructions on what to use instead. Until they are removed,
deprecated API methods will continue to function identically to how they did in 1.1. - For sending transactions, a
TxOutMemoBuilder
will be required to createTxOutMemo
s. These can
be used to reconstruct
Recoverable Transaction History (RTH).
This will be required on network version 1.2.0.TxOutMemoBuilder.createSenderAndDestinationRTHMemoBuilder()
can be used to satisfy this requirement and is reverse compatible with network version 1.1.
v1.2.0-pre0
Added
- Network Robustness. Host applications now have the ability to choose which transport protocols (HTTPS or GRPC) the SDK uses when communicating with MobileCoin services.
Changed
- Decommissioned RNGs. The SDK no longer generates search keys from Random Number Generator (RNG) seeds that have been "decommissioned," which are RNGS that are associated with an outdated enclave.
Fixes
- Reset attestation state on errors.
v1.1.0
v1.1.0-pre2
Added
- Dynamic Fees
Changed
- Root entropy for
TransferPayload
has been replaced with bip39 entropy - Added final modifiers to the classes that should not be extended
v1.0.0
[1.0.0] - 2020-05-04
Changed
setAuthorization
method has been split intosetFogBasicAuthorization
andsetConsensusBasicAuthorization
- Report URIs in the
AccountKey
andPublicAddress
are no loger normalized by default
Fixes
- Incorrect balance in certain situations
v1.0.1-pre4
Added
- Estimate total fee in AccountSnapshot
- SLIP-10 AccountKey derivation
- New
AccountKey
constructors:fromBip39Entropy
andfromMnemonicPhrase
- Build on Apple Silicon
- Hash and Equal performance improvements
- Environments switching for Tests
Removed
fromRootEntropy
constructor ofAccountKey
(usefromBip39Entropy
instead)
Fixes
- Setting hardening_advisory in the android-bindings