planetarium / NineChronicles.Snapshot

1 stars 8 forks source link

Bump Libplanet from 0.40.0 to 0.41.0 #164

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps Libplanet from 0.40.0 to 0.41.0.

Release notes

Sourced from Libplanet's releases.

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

  • Added Currency.MaximumSupply property. [#915, #2200]
  • Added Currency.TotalSupplyTrackable field. [#915, #2200]
  • Added SupplyOverflowException class. [#915, #2200]
  • Added TotalSupplyGetter delegate. [#915, #2200]
  • Added TotalSupplyStateCompleter<T> delegate. [#915, #2200]
  • Added TotalSupplyStateCompleters<T> static class. [#915, #2200]
  • Added StateCompleterSet<T>.TotalSupplyStateCompleter property. [#915, #2200]
  • (Libplanet.Net) Added BoundPeer.PeerString property. [#2187, #2232]
  • (Libplanet.Stun) Added IIceServer interface. [#2219]
  • (Libplanet.Stun) Added TurnClient.Create() static method. [#2219]

... (truncated)

Changelog

Sourced from Libplanet's changelog.

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]
  • 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.

... (truncated)

Commits
  • 6a0bc75 Merge pull request #2246 from tkiapril/release/0.41.0
  • ee52331 Release 0.41.0
  • 1599849 Merge pull request #2241 from spiganvlad/exception-parameter-ordering
  • ca547cf Summary changelog format fix
  • 1f3a86a Added a summary changelog of exception constructor changes
  • 2339d10 Standardize custom Exception parameter ordering
  • 494a9ed Merge pull request #2225 from tkiapril/refactor/IAccountStateDelta
  • 42379e6 Rename Currency.LegacyUntracked() to Currency.Legacy()
  • e778c67 Add obsolete message to Currency.LegacyUntracked()
  • 7611cde Remove IAccountStateDelta.GetTotalSupplyImpl()
  • Additional commits viewable in compare view


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)
pull-request-quantifier-deprecated[bot] commented 2 years ago

This PR has 2 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

``` Label : Extra Small Size : +1 -1 Percentile : 0.8% Total files changed: 1 Change summary by file extension: .csproj : +1 -1 ``` > Change counts above are quantified counts, based on the [PullRequestQuantifier customizations](https://github.com/microsoft/PullRequestQuantifier/blob/main/docs/prquantifier-yaml.md).

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a balance between between PR complexity and PR review overhead. PRs within the optimal size (typical small, or medium sized PRs) mean: - Fast and predictable releases to production: - Optimal size changes are more likely to be reviewed faster with fewer iterations. - Similarity in low PR complexity drives similar review times. - Review quality is likely higher as complexity is lower: - Bugs are more likely to be detected. - Code inconsistencies are more likely to be detected. - Knowledge sharing is improved within the participants: - Small portions can be assimilated better. - Better engineering practices are exercised: - Solving big problems by dividing them in well contained, smaller problems. - Exercising separation of concerns within the code changes. #### What can I do to optimize my changes - Use the PullRequestQuantifier to quantify your PR accurately - Create a context profile for your repo using the [context generator](https://github.com/microsoft/PullRequestQuantifier/releases) - Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the `Excluded` section from your `prquantifier.yaml` context profile. - Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your `prquantifier.yaml` context profile. - Only use the labels that matter to you, [see context specification](./docs/prquantifier-yaml.md) to customize your `prquantifier.yaml` context profile. - Change your engineering behaviors - For PRs that fall outside of the desired spectrum, review the details and check if: - Your PR could be split in smaller, self-contained PRs instead - Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR). #### How to interpret the change counts in git diff output - One line was added: `+1 -0` - One line was deleted: `+0 -1` - One line was modified: `+1 -1` (git diff doesn't know about modified, it will interpret that line like one addition plus one deletion) - Change percentiles: Change characteristics (addition, deletion, modification) of this PR in relation to all other PRs within the repository.


Was this comment helpful? :thumbsup:  :ok_hand:  :thumbsdown: (Email) Customize PullRequestQuantifier for this repository.

dependabot[bot] commented 2 years ago

Superseded by #167.