Release notes
Changed
DigitalOceanApiFailureKindis internal, like theDigitalOceanApiExceptionthat carries it, because the host never refers to either. The only public type of the plugin is now the provider, and an architecture test keeps it so.- The plugin is built on
Hostpanel.Sdk3.7.0, pinned as[3.7.0]. - The secret mask of a printed droplet request is
SecretMask.Textof the SDK, and the private copy of the text is gone. - A call is sent, its body read and the address of the answer checked by
PluginHttpof the SDK. The hand written bounded body reader,DigitalOceanBodyReader, the final address check and the hand made deadline are removed. A refused or dropped connection arrives as aPluginHttpExceptionwith theTransportfault, and the sender maps every fault to the plugin's own exception in one place, so the failure kinds and messages do not change. The headers and the body of an answer now each have the deadline of 30 seconds, where before one deadline covered both. - A test proves with
PluginHttpContract.AssertRedirectIsNotFollowedAsyncthat a client that does not follow redirects hands a redirect back as it is.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "digitalocean" 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.