Releases: planetarium/libplanet
Releases · planetarium/libplanet
Libplanet 5.4.0
Released on November 13, 2024.
Backward-incompatible API changes
- (Libplanet.Action) Added
MaxGasPrice
property toIActionContext
interface and its implementations. [#3912] - (Libplanet.Explorer) Added
self
field toNoteStateType
. [#3912] - (Libplanet.Action) Removed
IFeeCollector
interface and its implementations. [#3912] - (Libplanet.Action) Removed following methods from the
IActionContext
interface. [#3912]- Removed
IActionContext.UseGas(long)
. - Removed
IActionContext.GasUsed()
. - Removed
IActionContext.GasLimit()
.
- Removed
- (Libplanet.Action) Added
GasTracer
static class. [#3912] - (Libplanet.Action) Added
LastCommit
property toIActionContext
interface and its implementations. [#3912] - (Libplanet.Action) Added
CancelTrace
method toGasTracer
. [#3974]
Libplanet 5.3.2-alpha.1
To be released.
Deprecated APIs
Backward-incompatible API changes
Backward-incompatible network protocol changes
Backward-incompatible storage format changes
Added APIs
Behavioral changes
- There is no longer a check at block validation time to see if the actions contained in a block are interpretable. [#3973]
Bug fixes
Dependencies
CLI tools
Libplanet 5.3.1
Libplanet 5.3.0
Released on October 10, 2024.
Backward-incompatible API changes
- Removed
threshold
parameter fromBlockChain.GetBlockLocator()
. [#3913] - (Libplanet.Net) Removed
SwarmOptions.BranchpointThreshold
property. [#3913] - (Libplanet.Store) Removed unused
HashNode.Serialize()
method. [#3922, #3924] - (Libplanet.Net) Removed
Header
property and addedBlockExcerpt
property toBlockDemand
. [#3934] - Removed
BlockLocator.Create()
. [#3942] - Changed
BlockLocator()
to take a singleBlockHash
. [#3942] - Changed
BlockLocator()
to no longer implemnetIEnumerable<BlockHash>
. [#3942] - (Libplanet.Net) Changed
BlockHashDownloadState
andBlockDownloadState
to beObsolete
. [#3943] - Removed
Fork()
method fromBlockChain
. [#3948] - Changed the return type for
BlockChain.FindNextHashes()
toIReadOnlyList<BlockHash>
. [#3949] - (Libplanet.Net) Changed
ActionExecutionState
andBlockVerificationState
to beObsolete
. [#3943] - (Libplanet.Action) Export
IPolicyActionsRegistry
interface fromPolicyActionsRegistry
. [#3960]
Backward-incompatible network protocol changes
- (Libplanet.Net) Changed the encoding for
GetBlockHashesMsg
andBlockHashesMsg
. [#3949]
Behavioral changes
- Changed
BlockChain.FindBranchPoint()
to only check for the firstBlockHash
in a givenBlockLocator
. [#3913] - (Libplanet.Store) Optimized
HashNode.ToBencodex()
method. [#3922, #3924] - (Libplanet.Store) Optimized internal conversions to
KeyBytes
. [#3926] - (Libplanet.Net) Changed to no longer report
BlockHashDownloadState
andBlockDownloadState
during preloading. It is strongly advised not to rely on these to track the progress of preloading. [#3943] - (Libplanet.Store) Optimized LRU Cache for
HashNode
andBlockSet
. [#3962]
Libplanet 5.3.0-alpha.3
To be released.
Deprecated APIs
Backward-incompatible API changes
- Removed
threshold
parameter fromBlockChain.GetBlockLocator()
. [#3913] - (Libplanet.Net) Removed
SwarmOptions.BranchpointThreshold
property. [#3913] - (Libplanet.Store) Removed unused
HashNode.Serialize()
method. [#3922, #3924] - (Libplanet.Net) Removed
Header
property and addedBlockExcerpt
property toBlockDemand
. [#3934] - Removed
BlockLocator.Create()
. [#3942] - Changed
BlockLocator()
to take a singleBlockHash
. [#3942] - Changed
BlockLocator()
to no longer implemnetIEnumerable<BlockHash>
. [#3942] - (Libplanet.Net) Changed
BlockHashDownloadState
andBlockDownloadState
to beObsolete
. [#3943] - Removed
Fork()
method fromBlockChain
. [#3948] - Changed the return type for
BlockChain.FindNextHashes()
toIReadOnlyList<BlockHash>
. [#3949]
Backward-incompatible network protocol changes
- (Libplanet.Net) Changed the encoding for
GetBlockHashesMsg
andBlockHashesMsg
. [#3949]
Backward-incompatible storage format changes
Added APIs
Behavioral changes
- Changed
BlockChain.FindBranchPoint()
to only check for the firstBlockHash
in a givenBlockLocator
. [#3913] - (Libplanet.Store) Optimized
HashNode.ToBencodex()
method. [#3922, #3924] - (Libplanet.Store) Optimized internal conversions to
KeyBytes
. [#3926] - (Libplanet.Net) Changed to no longer report
BlockHashDownloadState
andBlockDownloadState
during preloading. It is strongly advised not to rely on these to track the progress of preloading. [#3943]
Bug fixes
Dependencies
CLI tools
Libplanet 5.3.0-alpha.2
To be released.
Deprecated APIs
Backward-incompatible API changes
- Removed
threshold
parameter fromBlockChain.GetBlockLocator()
. [#3913] - (Libplanet.Net) Removed
SwarmOptions.BranchpointThreshold
property. [#3913] - (Libplanet.Store) Removed unused
HashNode.Serialize()
method. [#3922, #3924] - (Libplanet.Net) Removed
Header
property and addedBlockExcerpt
property toBlockDemand
. [#3934] - Removed
BlockLocator.Create()
. [#3942] - Changed
BlockLocator()
to take a singleBlockHash
. [#3942] - Changed
BlockLocator()
to no longer implemnetIEnumerable<BlockHash>
. [#3942] - (Libplanet.Net) Changed
BlockHashDownloadState
andBlockDownloadState
to beObsolete
. [#3943]
Backward-incompatible network protocol changes
Backward-incompatible storage format changes
Added APIs
Behavioral changes
- Changed
BlockChain.FindBranchPoint()
to only check for the firstBlockHash
in a givenBlockLocator
. [#3913] - (Libplanet.Store) Optimized
HashNode.ToBencodex()
method. [#3922, #3924] - (Libplanet.Store) Optimized internal conversions to
KeyBytes
. [#3926] - (Libplanet.Net) Changed to no longer report
BlockHashDownloadState
andBlockDownloadState
during preloading. It is strongly advised not to rely on these to track the progress of preloading. [#3943]
Bug fixes
Dependencies
CLI tools
Libplanet 5.3.0-alpha.1
To be released.
Deprecated APIs
Backward-incompatible API changes
- Changed
BlockLocator.Create()
to take a singleBlockHash
. [#3913] - Changed
BlockLocator()
to throw anArgumentException
when the number of givenBlockHash
es is not 1. [#3913] - Removed
threshold
parameter fromBlockChain.GetBlockLocator()
. [#3913] - (Libplanet.Net) Removed
SwarmOptions.BranchpointThreshold
property. [#3913] - (Libplanet.Store) Removed unused
HashNode.Serialize()
method. [#3922, #3924] - (Libplanet.Net) Removed
Header
property and addedBlockExcerpt
property toBlockDemand
. [#3934]
Backward-incompatible network protocol changes
Backward-incompatible storage format changes
Added APIs
Behavioral changes
- Changed
BlockChain.FindBranchPoint()
to only check for the firstBlockHash
in a givenBlockLocator
. [#3913] - (Libplanet.Store) Optimized
HashNode.ToBencodex()
method. [#3922, #3924] - (Libplanet.Store) Optimized internal conversions to
KeyBytes
. [#3926] - (Libplanet.Net) Changed the reporting behavior for
BlockHashDownloadState
andBlockDownloadState
during preloading. These no longer report meaningful data and it is strongly advised not to rely on these to track the progress of preloading. [#3931]
Bug fixes
Dependencies
CLI tools
Libplanet 5.2.2
Released on August 8, 2024.
- (Libplanet.Explorer) Fix an issue with high CPU usage when querying blocks [#3897]
Libplanet 5.2.1
Released on July 31, 2024.
- Ported changes from Libplanet 5.1.3 release. [#3902]
Libplanet 5.1.3
Released on July 30, 2024.
- (Libplanet.Explorer) Removed code that was used in development. [#3898]