Заметки к выпуску
Changed
- The plugin reads JSON with the plain serializer defaults, so a number in a string or a differently cased name is not read.
- An answer is trusted only when its final address, after any redirect, is the API over HTTPS; otherwise the call throws.
HetznerApiExceptioncarries aProblemkind (HetznerApiProblem) for rate limits, server errors, locked servers and the other failures.- A platform that cannot be reached, a connection that breaks while an answer is read and a call the client times out are thrown as
HetznerApiExceptionwith theUnreachableorTimedOutkind, with no inner exception, so the host and the port never reach a message or a log. - A plan change that the platform cleanly refuses after the power off powers the server on again when it was running, and removes the marker.
- The plugin is built on
Hostpanel.Sdk3.7.0, pinned as[3.7.0]. - The secret mask of a printed console address and root password is
SecretMask.Textof the SDK, and the two private copies of the text are 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 and the final address check (HetznerEndpoint.IsApiAddress) are removed. The sender maps everyPluginHttpFaultto the plugin's ownHetznerApiExceptionin one place, so the problem kinds and messages do not change. - A call now has a deadline of its own,
HetznerLimits.Timeoutof 30 seconds, for the headers and again for the body, where before only the timeout of the client cut a call off. - A test proves with
PluginHttpContract.AssertRedirectIsNotFollowedAsyncthat a client that does not follow redirects hands a redirect back as it is.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «hetzner-cloud» и выберите версию 1.0.1.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.