Releases: planetarium/libplanet
Releases · planetarium/libplanet
Libplanet 4.3.0
Released on April 8, 2024.
Due to changes in #3728, a network ran with a prior version may not be compatible with this version, specifically those that ran with IAction
s that has allowed negative balances through TransferAssets()
with allowNegativeBalance
as true
.
Backward-incompatible API changes
- (Libplanet.Action) Added
Txs
property of typeIReadOnlyList<ITransaction>?
toIActionContext
. [#3713] - (Libplanet.Action) Removed
TotalFungibleAssets
property fromIWorld
. [#3714] - (Libplanet.Action) Changed
GetBalance()
,GetTotalSupply()
, andGetValidatorSet()
ofIWorldState
to extension methods. [#3715] - (Libplanet.Action) Changed
MintAsset()
,BurnAsset()
,TransferAsset()
, andSetValidator()
ofIWorld
to extension methods. [#3715] - (Libplanet.Action) Removed
allowNegativeBalance
parameter fromIWorld.TransferAsset()
extension method. [#3725, #3728] - (Libplanet.Store) Removed
journal
,indexCacheSize
, andflush
parameters fromDefaultStore
's constructor. [#3729]
Dependencies
Libplanet 4.2.0
Released on March 22, 2024.
Backward-incompatible API changes
- (Libplanet.Action) Moved
GetBalance()
andGetTotalSupply()
methods fromIAccountState
toIWorldState
. [#3694, #3697] - (Libplanet.Action) Moved
MintAsset()
,BurnAsset()
, andTransferAsset()
methods fromIAccount
toIWorld
. [#3694, #3697] - (Libplanet.Action) Removed
TotalSupplyDiff
,FungibleAssetValueDiff
, andValidatorDiff
properties fromAccountDiff
. [#3694, #3697] - (Libplanet.Action) Removed
Uncommitted
property andCommitAccount()
method fromIWorldDelta
. [#3694, #3699] - (Libplanet.Action) Moved
GetValidatorSet()
fromIAccountState
toIWorldState
. [#3702] - (Libplanet.Action) Moved
SetValidator()
fromIAccount
toIWorld
. [#3702]
Added APIs
- Added
Libplanet.Mocks
project. [#3642]
Libplanet 4.1.0
Released on March 8, 2024.
Backward-incompatible API changes
- Removed the '#nullable disable' from 3 projects (Action, Common, Explorer). [#3622]
- Removed the '#nullable disable' from the Libplanet.Store project. [#3644]
- Removed the '#nullable disable' from the Libplanet.RocksDBStore project. [#3651]
- Removed
BaseIndex
class and changedBlockSet
base class fromBaseIndex<BlockHash, Block>
toIReadOnlyDictionary<BlockHash, Block>
. [#3686]
Backward-incompatible network protocol changes
- (Libplanet.Net) Changed some types due to removal of 'nullable keyword'. [#3669]
- Changed
blocks
parameter type ofBranch
class constructor fromIEnumerable<(Block, BlockCommit)>
toIEnumerable<(Block, BlockCommit?)>
. - Changed
AppProtocolVersion.Extra
field type fromIValue
toIValue?
. - Changed
extra
parameter type ofAppProtocolVersion
class constructor fromIValue
toIValue?
. - Changed
extra
parameter type ofAppProtocolVersion.Sign
method fromIValue
toIValue?
.
- Changed
Added APIs
- (Libplanet.Store.Remote) Introduce
Libplanet.Store.Server.RemoteKeyValueService
[#3688] - (Libplanet.Store.Remote) Introduce
Libplanet.Store.Client.RemoteKeyValueStore
[#3688]
Behavioral changes
- (Libplanet.Store) Optimized
ITrie.IterateNodes()
to greatly reduce the amount of memory used. [#3687]
Libplanet 4.0.6
Released on February 22, 2024.
- (Libplanet.Action) Fixed a bug where
FeeCollector.Mortgage()
unintentionally resets accumulatedAccount.TotalUpdatedFungibleAssets
. [#3680]
Libplanet 4.0.5
Released on February 20, 2024.
- (Libplanet.Action) Optimized
ActionEvaluation
by removing redundant commits. [#3675]
Libplanet 4.0.4
Released on February 7, 2024.
- (Libplanet.Explorer) Revert a GraphQL query argument type change to make it compatible with old schema. [#3663]
Libplanet 4.0.3
Released on February 6, 2024.
- (Libplanet.Explorer) Revert GraphQL types to make it more compatible with old schema. [#3657]
- Rolled back
TxResultType
's name to auto generatedTxResultType
from specifiedTxResult
. - Rolled back
BlockHash
andTxId
to be handled asIDGraphType
instead ofBlockHashType
andTxIdType
in legacy queries. - Rolled back
HashDigest<SHA256>
to be handled asHashDigestSHA256Type
instead ofHashDigestType<T>
in legacy queries.
- Rolled back
Libplanet 4.0.2
Libplanet 4.0.1
Released on January 26, 2024.
- (Libplanet.Action) Changed
IWorld.SetAccount()
to throw anArgumentException
under certain undesirable circumstances. [#3633]
Libplanet 3.9.6
Released on January 26, 2024.
- (Libplanet.Store) Optimized
TrieStateStore.CopyStates()
to greatly reduce the amount of memory used. [#3634]