planetarium / NineChronicles.Snapshot

1 stars 8 forks source link

Bump Libplanet from 0.40.0 to 0.41.2 #171

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps Libplanet from 0.40.0 to 0.41.2.

Release notes

Sourced from Libplanet's releases.

Libplanet 0.41.2

Released on September 13, 2022.

  • Fixed a bug where NetMQTransport is not correctly disposed of due to NetMQTransport._router already being stopped in prior to _router.Unbind() call in NetMQTransport.Dispose(). [#2311]

Libplanet 0.41.1

Released on August 31, 2022.

  • Fixed a bug where Transaction<T>.Create(long, PrivateKey, BlockHash?, IAction, IImmutableSet<Address>?, DateTimeOffset?) method had thrown ArgumentNullException with valid arguments. [#2268, #2270]

Libplanet 0.41.0

Released on August 26, 2022.

Deprecated APIs

  • (Libplanet.Net) Removed NetMQTransport() constructor. Use NetMQTransport.Create() instead. [#2215]
  • Unused TcpMessageCodec class removed. [#2216]
  • (Libplanet.Stun) Removed TurnClient.IsConnectable() method. [#2219]
  • (Libplanet.Stun) Removed TurnClient.BindProxies() method. [#2219]
  • (Libplanet.Stun) Removed TurnClient() constructor. Use TurnClient.Create() instead. [#2219]
  • (Libplanet.Net) Removed Peer class. Use BoundPeer instead. [#2233]

Backward-incompatible API changes

  • Removed unused transaction related methods from IStore and its implementations. [#1538, #2201]
    • IterateTransactionIds()
    • DeleteTransaction()
    • CountTransactions()
  • Removed Currency(string, byte, IImutableSet<Address>?) constructor. [#2200]
  • Removed Currency(string, byte, Address?) constructor. [#2200]
  • Added static methods of Currency that defines different kinds of Currency. [#2200]
    • Added Currency.Capped(string, byte, (BigInteger, BigInteger), IImutableSet<Address>?) static method which defines an instance of Currency with a hard limit on the maximum minted supply.
    • Added Currency.Capped(string, byte, (BigInteger, BigInteger), Address) static method which defines an instance of Currency with a hard limit on the maximum minted supply.
    • Added Currency.Uncapped(string, byte, IImutableSet<Address>?) static method which defines an instance of Currency without an enforced maximum supply limit.
    • Added Currency.Uncapped(string, byte, Address) static method which defines an instance of Currency without an enforced maximum supply limit.
    • OBSOLETE, ONLY FOR LEGACY SUPPORT: Added Currency.Legacy(string, byte, IImutableSet<Address>?) static method which defines a legacy Currency instance which is compatible with Currency instances defined before total supply tracking support was introduced.
    • OBSOLETE, ONLY FOR LEGACY SUPPORT: Added Currency.Legacy(string, byte, Address) static method which defines a legacy Currency instance which is compatible with Currency instances defined before total supply tracking support was introduced.
    • NOTE: if you already have some Currency instances defined in prior to the addition of total supply tracking on a live chain, you cannot modify the already-defined Currency instances as a capped or uncapped Currency but have to define them with Currency.Legacy() as the new Currency kinds are internally backwards-incompatible with the legacy Currency.
  • Added IAccountStateDelta.TotalSupplyUpdatedCurrencies property. [#915, #2200]
  • Added IAccountStateView.GetTotalSupply(Currency) method. [#915, #2200]
  • Added IBlockChainStates<T>.GetTotalSupply(Currency, BlockHash, TotalSupplyStateCompleter<T> method which gets the total supply of a Currency in FungibleAssetValue from the state, and if not found, returns null. [#915, #2200]
  • (Libplanet.Net) ITransport.AsPeer and Swarm<T>.AsPeer type changed from Peer to BoundPeer. [#2215]
  • (Libplanet.Net) All public return type, parameter type, and property type of Peer changed to BoundPeer. [#2228]
  • (Libplanet.Net) Additional public return type, parameter type, and property type of Peer that weren't handled by #2228 changed to BoundPeer. [#2233]
  • Reworked constructors of exception classes. Affected classes are:
    • (Libplanet.Net) PingTimeoutException
    • CurrencyPermissionException, DuplicateActionTypeIdentifierException, InsufficientBalanceException, InvalidBlockPreEvaluationHashException, InvalidBlockProtocolVersionException, InvalidBlockPublicKeyException, InvalidBlockSignatureException, InvalidBlockStateRootHashException, InvalidBlockTotalDifficultyException, InvalidGenesisBlockException, InvalidTxException, InvalidTxGenesisHashException, InvalidTxIdException, InvalidTxNonceException, InvalidTxSignatureException, MissingActionTypeException, NoKeyException, SupplyOverflowException, TotalSupplyNotTrackableException, TxPolicyViolationException, UnexpectedlyTerminatedActionException. [#2239, #2241]

Added APIs

... (truncated)

Changelog

Sourced from Libplanet's changelog.

Version 0.41.2

Released on September 13, 2022.

  • Fixed a bug where NetMQTransport is not correctly disposed of due to NetMQTransport._router already being stopped in prior to _router.Unbind() call in NetMQTransport.Dispose(). [#2311]

#2311: planetarium/libplanet#2311

Version 0.41.1

Released on August 31, 2022.

  • Fixed a bug where Transaction<T>.Create(long, PrivateKey, BlockHash?, IAction, IImmutableSet<Address>?, DateTimeOffset?) method had thrown ArgumentNullException with valid arguments. [#2268, #2270]

#2270: planetarium/libplanet#2270

Version 0.41.0

Released on August 26, 2022.

Deprecated APIs

  • (Libplanet.Net) Removed NetMQTransport() constructor. Use NetMQTransport.Create() instead. [#2215]
  • Unused TcpMessageCodec class removed. [#2216]
  • (Libplanet.Stun) Removed TurnClient.IsConnectable() method. [#2219]
  • (Libplanet.Stun) Removed TurnClient.BindProxies() method. [#2219]
  • (Libplanet.Stun) Removed TurnClient() constructor. Use TurnClient.Create() instead. [#2219]
  • (Libplanet.Net) Removed Peer class. Use BoundPeer instead. [#2233]

Backward-incompatible API changes

  • Removed unused transaction related methods from IStore and its implementations. [#1538, #2201]
    • IterateTransactionIds()
    • DeleteTransaction()
    • CountTransactions()
  • Removed Currency(string, byte, IImutableSet<Address>?) constructor. [#2200]

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #175.