Заметки к выпуску
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.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «digitalocean» и выберите версию 1.0.1.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.