planetarium / NineChronicles.Snapshot

1 stars 8 forks source link

Bump Libplanet from 0.44.2 to 0.45.1 #199

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps Libplanet from 0.44.2 to 0.45.1.

Release notes

Sourced from Libplanet's releases.

Libplanet 0.45.1

Released on December 15, 2022.

  • (Libplanet.Net) Fixed a bug where NetMQTransport.SendMessageAsync() hadn't been canceled properly. [#2641]

Libplanet 0.45.0

Released on December 3, 2022.

Deprecated APIs

  • Removed BlockChain<T>.MineBlock(PrivateKey, DateTimeOffset, bool, long, int, int, IComparer<Transaction<T>>, CancellationToken?) by making it internal. [#2529]
  • Removed IStore.SetBlockPerceivedTime() and IStore.GetBlockPerceivedTime() methods. [#2575]
  • Removed BlockPerception struct. [#2575]
  • Removed BlockChain<T>.PerceiveBlock() method. [#2575]

Backward-incompatible API changes

  • Changed BlockChain<T>.MineBlock(PrivateKey, DateTimeOffset?, bool?, long?, int?, int?, IComparer<Transaction<T>>, CancellationToken?) to BlockChain<T>.MineBlock(PrivateKey, DateTimeOffset?, bool?, IComparer<Transaction<T>>, CancellationToken?) by removing policy controlled parameters. [#2529]
  • Changed BlockPolicy<T>() constructor to take additional Func<long, int> type parameter named getMinBlockProtocolVersion. [#2593]

Added APIs

  • Added BlockChainStates<T> class. [#2507]
  • Added new constructors of BlockChain<T> takes IBlockChainStates<T> and ActionEvaluator<T> directly. [#2507]
  • Added non-generic interfaces. [#2539]
    • Added IPreEvaluationBlock interface.
    • Added IBlockContent interface.
    • Added ITransaction interface.
  • Added IActionTypeLoader interface. [#2539]
  • Added StaticActionTypeLoader class. [#2539]
  • (Libplanet.Explorer) Added a new GraphQL endpoint on /graphql/explorer. [#2562]
  • Added IBlockPolicy.GetMinBlockProtocolVersion() interface method. [#2593]

Bug fixes

  • (Libplanet.Net) Fixed a bug where AppProtocolVersion.GetHashCode() did not work as intended. [#2518, #2520]

Dependencies

CLI tools

  • Now planet can be installed using Homebrew on macOS: brew install planetarium/brew/planet. [#2555]
  • Now planet supports command-line completion for bash and zsh. See also Cocona's manual on configuring command-line completion. [#2586]
  • (Libplanet.Explorer) Added serve subcommand. [#2563]
    • (Libplanet.Explorer) Deprecated primary command. It will be obsoleted in 0.47.0 release. You should use serve command instead. [#2563]
  • (Libplanet.Explorer) Added schema subcommand. [#2563]

Libplanet 0.44.4

... (truncated)

Changelog

Sourced from Libplanet's changelog.

Version 0.45.1

Released on December 15, 2022.

  • (Libplanet.Net) Fixed a bug where NetMQTransport.SendMessageAsync() hadn't been canceled properly. [#2641]

#2641: planetarium/libplanet#2641

Version 0.45.0

Released on December 3, 2022.

Deprecated APIs

  • Removed BlockChain<T>.MineBlock(PrivateKey, DateTimeOffset, bool, long, int, int, IComparer<Transaction<T>>, CancellationToken?) by making it internal. [#2529]
  • Removed IStore.SetBlockPerceivedTime() and IStore.GetBlockPerceivedTime() methods. [#2575]
  • Removed BlockPerception struct. [#2575]
  • Removed BlockChain<T>.PerceiveBlock() method. [#2575]

Backward-incompatible API changes

  • Changed BlockChain<T>.MineBlock(PrivateKey, DateTimeOffset?, bool?, long?, int?, int?, IComparer<Transaction<T>>, CancellationToken?) to BlockChain<T>.MineBlock(PrivateKey, DateTimeOffset?, bool?, IComparer<Transaction<T>>, CancellationToken?) by removing policy controlled parameters. [#2529]
  • Changed BlockPolicy<T>() constructor to take additional Func<long, int> type parameter named getMinBlockProtocolVersion. [#2593]

Added APIs

  • Added BlockChainStates<T> class. [#2507]
  • Added new constructors of BlockChain<T> takes IBlockChainStates<T> and ActionEvaluator<T> directly. [#2507]
  • Added non-generic interfaces. [#2539]
    • Added IPreEvaluationBlock interface.
    • Added IBlockContent interface.
    • Added ITransaction interface.
  • Added IActionTypeLoader interface. [#2539]
  • Added StaticActionTypeLoader class. [#2539]
  • (Libplanet.Explorer) Added a new GraphQL endpoint on /graphql/explorer. [#2562]

... (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)
pull-request-quantifier-deprecated[bot] commented 1 year 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 1 year ago

Superseded by #204.