Release notes
Changed
- Built against
Hostpanel.Sdk3.7.0 (the pin moved from 3.5.0). - The API client uses the SDK
PluginHttpfor the bounded call with its deadline, the bounded read of the body and the check of the host that answered, and no longer keeps its own copies. A refused or dropped connection, a call past its deadline and an answer from another address arrive as aPluginHttpExceptionand are mapped to the plugin's own failure kinds in one place. The warning for such a failure now names the fault instead of the exception type. The tests addPluginHttpContract.AssertRedirectIsNotFollowedAsync. - The README and the 1.0.0 notes now say what
RefundAsyncdoes: both overloads return a task that fails withNotSupportedException, they do not throw when called. The behaviour did not change. - The tests pin the public constructor the host calls: it asks the host factory for the HTTP client named
btcpay, and the calls of a gateway time out on the clock the gateway was given. The test that read the private clock field by reflection is gone, since the system clock has no effect a test can observe. - Three statements that fit on one line of 120 characters are no longer split.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "btcpay" and choose version 1.0.1.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.