Skip to content

Libplanet 5.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Oct 09:01
· 183 commits to main since this release
5.3.0
d1e53ae

Released on October 10, 2024.

Backward-incompatible API changes

  • Removed threshold parameter from BlockChain.GetBlockLocator(). [#3913]
  • (Libplanet.Net) Removed SwarmOptions.BranchpointThreshold property. [#3913]
  • (Libplanet.Store) Removed unused HashNode.Serialize() method. [#3922, #3924]
  • (Libplanet.Net) Removed Header property and added BlockExcerpt property to BlockDemand. [#3934]
  • Removed BlockLocator.Create(). [#3942]
  • Changed BlockLocator() to take a single BlockHash. [#3942]
  • Changed BlockLocator() to no longer implemnet IEnumerable<BlockHash>. [#3942]
  • (Libplanet.Net) Changed BlockHashDownloadState and BlockDownloadState to be Obsolete. [#3943]
  • Removed Fork() method from BlockChain. [#3948]
  • Changed the return type for BlockChain.FindNextHashes() to IReadOnlyList<BlockHash>. [#3949]
  • (Libplanet.Net) Changed ActionExecutionState and BlockVerificationState to be Obsolete. [#3943]
  • (Libplanet.Action) Export IPolicyActionsRegistry interface from PolicyActionsRegistry. [#3960]

Backward-incompatible network protocol changes

  • (Libplanet.Net) Changed the encoding for GetBlockHashesMsg and BlockHashesMsg. [#3949]

Behavioral changes

  • Changed BlockChain.FindBranchPoint() to only check for the first BlockHash in a given BlockLocator. [#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 and BlockDownloadState 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 and BlockSet. [#3962]