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]
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 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:
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]
Fixed a bug where Transaction<T>.Create(long, PrivateKey, BlockHash?, IAction, IImmutableSet<Address>?, DateTimeOffset?) method had thrown
ArgumentNullException with valid arguments. [#2268, #2270]
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)
Bumps Libplanet from 0.40.0 to 0.41.2.
Release notes
Sourced from Libplanet's releases.
... (truncated)
Changelog
Sourced from Libplanet's changelog.
... (truncated)
Commits
0d6001d
Release 0.41.2b9385c4
Merge pull request #2271 from dahlia/0.41-maintenance468e800
Version bump2fb6918
Merge pull request #2270 from dahlia/0.41-maintenance5f208f0
Release 0.41.11b057a2
Merge tag '0.40.1' into 0.41-maintenance5046f73
Merge pull request #2268 from dahlia/0.40-maintenance9d0c3a2
Release 0.40.1b9eeac1
Fix Transaction<T>.Create(systemAction:)5525632
Merge pull request #2248 from tkiapril/prepare/0.41.1Dependabot 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)