Skip to content

Releases: planetarium/libplanet

Libplanet 5.4.2

13 Dec 04:55
de30915
Compare
Choose a tag to compare

Released on December 13, 2024.

Backward-incompatible API changes

  • Removed ContextTimeoutOption class. Instead, added ContextOption class. The unit of the time-related options in ContextOption is millisecond, whereas ContextTimeoutOption was second. [#4007]
  • Removed ConsensusReactorOption.ContextTimeoutOptions property. Instead, added ConsensusReactorOption.ContextOption property. [#4007]
  • ConsensusReactor constructor requires ContextOption parameter instead of the ContextTimeoutOption parameter. [#4007]

Behavioral changes

  • Gossip.RebuildTableAsync() now bootstrap peers from the seed peers. [#4007]

Libplanet 5.4.1

22 Nov 01:35
368bb48
Compare
Choose a tag to compare

Released on November 22, 2024.

Libplanet 5.3.2

22 Nov 01:56
8272b05
Compare
Choose a tag to compare

Released on November 21, 2024

Behavioral changes

  • There is no longer a check at block validation time to see if the actions contained in a block are interpretable. [#3973]

Libplanet 5.4.0

13 Nov 07:48
2740bf1
Compare
Choose a tag to compare

Released on November 13, 2024.

Backward-incompatible API changes

  • (Libplanet.Action) Added MaxGasPrice property to IActionContext interface and its implementations. [#3912]
  • (Libplanet.Explorer) Added self field to NoteStateType. [#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().
  • (Libplanet.Action) Added GasTracer static class. [#3912]
  • (Libplanet.Action) Added LastCommit property to IActionContext interface and its implementations. [#3912]
  • (Libplanet.Action) Added CancelTrace method to GasTracer. [#3974]

Libplanet 5.3.2-alpha.1

22 Oct 04:46
5.3.2-alpha.1
46cff67
Compare
Choose a tag to compare

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

14 Oct 06:59
5.3.1
866c901
Compare
Choose a tag to compare

Released on October 14, 2024.

Dependencies

  • (Libplanet.Extensions.Cocona) Changed System.Text.Json from [6.0.7] to [6.0.*]. [#3967]
  • Changed BouncyCastle.Cryptography from [2.0.0] to [2.4.0]. [#3968]
  • (Libplanet.Crypto) Changed BouncyCastle.Cryptography from [2.0.0] to [2.4.0]. [#3968]

Libplanet 5.3.0

10 Oct 09:01
5.3.0
d1e53ae
Compare
Choose a tag to compare

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]

Libplanet 5.3.0-alpha.3

06 Sep 07:22
3731ca4
Compare
Choose a tag to compare

To be released.

Deprecated APIs

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]

Backward-incompatible network protocol changes

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

Backward-incompatible storage format changes

Added APIs

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]

Bug fixes

Dependencies

CLI tools

Libplanet 5.3.0-alpha.2

05 Sep 07:50
19cacb7
Compare
Choose a tag to compare

To be released.

Deprecated APIs

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]

Backward-incompatible network protocol changes

Backward-incompatible storage format changes

Added APIs

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]

Bug fixes

Dependencies

CLI tools

Libplanet 5.3.0-alpha.1

27 Aug 08:44
7001504
Compare
Choose a tag to compare

To be released.

Deprecated APIs

Backward-incompatible API changes

  • Changed BlockLocator.Create() to take a single BlockHash. [#3913]
  • Changed BlockLocator() to throw an ArgumentException when the number of given BlockHashes is not 1. [#3913]
  • 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]

Backward-incompatible network protocol changes

Backward-incompatible storage format changes

Added APIs

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 the reporting behavior for BlockHashDownloadState and BlockDownloadState 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