Releases: planetarium/libplanet
Releases · planetarium/libplanet
Libplanet 3.9.1
Released on December 8, 2023.
- (Libplanet.Explorer) Added
INCLUDED
toTxStatus
enum. [#3542]
Libplanet 3.9.0
Released on December 5, 2023.
Due to changes in #3529, a network ran with a prior version may not be compatible with this version, specifically, those that ran with Libplanet 2.0.0 and onwards prior to this release that have included Transaction
s that aren't compatible with the updated specification in #3529.
Backward-incompatible API changes
- (Libplanet.Action) Removed unnecessary extension methods: [#3520]
IReadOnlyList<IActionEvaluation>.GetRawTotalDelta()
IReadOnlyList<IAccountDelta>.OrderedSum()
IAccountDelta.ToRawDelta()
IAccount.GetUpdatedStates()
IAccount.GetUpdatedBalances()
IAccount.GetUpdatedTotalSupplies()
- (Libplanet.Action) Changed
IAccount
to no longer trackIAccountDelta
. [#3520] - (Libplanet.Action) Removed
IAccountDelta
as parameter for constructors ofAccount
class. [#3520] - (Libplanet.Action) Removed
hashedSignature
of typebyte[]
parameter fromActionEvaluator.GenerateRandomSeed()
. [#3523] - Changed
TxInvoice
to no longer allow having the null-ness ofMaxGasPrice
andGasLimit
to be different, i.e. either both should be null or both should not be null at the same time. [#3529] - (Libplanet.Action) Removed
IAccountDelta
interface. [#3535] - (Libplanet.Action) Removed
IAccount.Delta
interface property. [#3535] - (Libplanet.Action) Changed constructor
IAccount(IAccountState, IImmutableDictionary<(Address, Currency), BigInteger>)
toIAccount(IAccountState, IImmutableHashSet<(Address, Currency)>)
. [#3537]
Libplanet 3.8.1
Released on November 27, 2023.
- (Libplanet.Net) Fixed a bug where
GossipConsensusMessageCommunicator
does not clear_peerCatchupRounds
onOnStartHeight()
. [#3519] - (Libplanet.Net)
GossipConsensusMessageCommunicator
now filtersConsensusVoteMsg
which height is different from latestContext
. [#3519] - (Libplanet.Action) Fixed a bug where initialization of
AccountMetrics
is absent. [#3521]
Libplanet 3.8.0
Released on November 24, 2023.
Backward-incompatible API changes
- Removed
updatedAddresses
parameter fromBlockChain.MakeTransaction()
[#3480] - Removed
updatedAddresses
parameter fromTransaction.Create()
. [#3480] - Removed
updatedAddresses
parameter from allTxInvoice()
. [#3480] - Removed
Rehearsal
property fromIActionContext
andICommittedActionContext
. [#3485] - (Libplanet.Crypto) Removed
ToAddress()
extension method forPrivateKey
andPublicKey
. [#3486] - (Libplanet.Crypto) Added
Address
property toPrivateKey
andPublicKey
. [#3486]
Backward-incompatible storage format changes
- (Libplanet.Store) Changed
Libplanet.RocksDBStore
to useRocksDb
instead ofRocksDBSharp
. Note Cannot read new version ofLibplanet.RocksDBStore
storage from underLibplanet.RocksDBStore
version 3.6.1. [#1848, #3487]
Added APIs
- (Libplanet.RocksDBStore) Added
RocksDBInstanceType
enum. [#3488] - (Libplanet.RocksDBStore) Changed
RocksDBStore
andRocksDBKeyValueStore
to acceptRocksDBInstanceType
typeinstanceType
parameter instead of@readonly
parameter in their constructor. [#3488, RocksDb Instance Types]
Libplanet 3.7.1
Released on November 21, 2023.
- Ported changes from Libplanet 3.6.1 release. [#3500]
- Ported changes from Libplanet 3.6.2 release. [#3509]
Libplanet 3.6.2
Released on November 21, 2023.
- (Libplanet.Net) Changed default
ContextTimeoutOption
values for more consistent and stable consensus. [#3506]
Libplanet 3.6.1
Libplanet 3.7.0
Libplanet 3.6.0
Released on October 6, 2023.
Backward-incompatible API changes
- Changed
IActionEvaluator.Evaluate()
's return type toIReadOnlyList<ICommittedActionEvaluation>
fromIReadOnlyList<IActionEvaluation>
. [#3445] - Changed
BlockChain.DetermineStateRootHash(IActionEvaluator, IPreEvaluationBlock, out IReadOnlyList<IActionEvaluation>)
toBlockChain.DetermineStateRootHash(IActionEvaluator, IPreEvaluationBlock, out IReadOnlyList<ICommittedActionEvaluation>)
. [#3445] - Changed
BlockChain.EvaluateGenesis()
's return type toIReadOnlyList<ICommittedActionEvaluation>
fromIReadOnlyList<IActionEvaluation>
. [#3445] - Changed
BlockChain.EvaluateBlock()
's return type toIReadOnlyList<ICommittedActionEvaluation>
fromIReadOnlyList<IActionEvaluation>
. [#3445] - Removed
StateStoreExtensions
class. [#3323, #3450]
Added APIs
- (Libplanet.Explorer) Added
TxResult.InputState
of typeHashDigest<SHA256>?
. [#3446, #3447] - (Libplanet.Explorer) Added
TxResult.OutputState
of typeHashDigest<SHA256>?
. [#3446, #3447] - (Libplanet.Explorer) Added
offsetStateRootHash
of typeHashDigest<SHA256>?
argument forStateQuery.states
field. [#3448, #3449] - (Libplanet.Explorer) Added
offsetStateRootHash
of typeHashDigest<SHA256>?
argument forStateQuery.balance
field. [#3448, #3449] - (Libplanet.Explorer) Added
offsetStateRootHash
of typeHashDigest<SHA256>?
argument forStateQuery.totalSupply
field. [#3448, #3449] - (Libplanet.Explorer) Added
offsetStateRootHash
of typeHashDigest<SHA256>?
argument forStateQuery.validators
field. [#3448, #3449]
Behavioral changes
IActionEvaluator.Evaluate()
,BlockChain.EvaluateGenesis()
, andBlockChain.EvaluateBlock()
have a side-effect of storing data toIStateStore
when called. [#3445]
Libplanet 3.5.0
Released on October 4, 2023.
Backward-incompatible API changes
- Removed
IActionContext.Random
property. UseIActionContext.GetRandom()
instead. [#3437] - Added
IActionContext.RandomSeed
property. [#3437] - Added
IActionContext.GetRandom()
method. [#3437] - Changed
IActionEvaluator.Evaluate(IPreEvaluationBlock)
toIActionEvaluator.Evaluate(IPreEvaluationBlock, HashDigest<SHA256>)
. [#3438] - Changed
ActionEvaluator
to acceptIStateStore
instead ofIBlockChainStates
[#3439]