Заметки к выпуску
Changed
- A root password reset answers
PasswordRejectedonly for an HTTP 400 that names theroot_passfield. A 400 about something else, such as an instance that is busy or has to be offline, is thrown, so the host retries. - When the platform refuses the password and the instance cannot be brought back to the running state, the failure of that restore is answered instead of the refusal, because the refusal is final and the host does not retry. A restore that throws is no longer tried a second time.
- A root password reset with a password the platform's strength check refuses (HTTP 400) is now answered as
PasswordRejected, a final answer, after the instance has been booted again. Before, the 400 was thrown, the host retried, and every retry shut the instance down and booted it again. The documentation names no call that checks a password before the shutdown, so one shutdown and boot is still spent on the first try. - A plan change now counts a move as over only after the instance has been seen changing state. A platform that shows the new plan while the instance still runs no longer ends the wait early.
Fixed
- The README no longer says the root password limits of 7 to 128 characters are documented for a reset. The API documents them for a create and a rebuild only; for a reset they are the plugin's own cautious choice.
- Removed the settings in
.editorconfigthat referred to analyzers, folders and tools this repository does not have. - The plugin is built on
Hostpanel.Sdk3.7.0, pinned as[3.7.0]. - The secret mask of a printed root password and of the bodies that carry it is
SecretMask.Textof the SDK, and the publicLinodeRootPassword.Maskis 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, the deadline made with a linked token andLinodeEndpoint.IsApiAddressare removed. The sender maps everyPluginHttpFaultto the plugin's ownLinodeApiExceptionin 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
Установите плагин с идентификатором «linode» и выберите версию 1.0.1.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.