Заметки к выпуску
Changed
- Built on
Hostpanel.Sdk3.7.0, pinned to[3.7.0]. - Panel requests and answers go through
PluginHttp: the deadline of the headers and of the body, the size limit and the final host check are the SDK's, and a refused or dropped connection, a timeout, an oversized answer or an answer from another host is mapped toCyberPanelApiExceptionin one place. The log names the kind of fault instead of the exception type. - The client is created with
IPanelTransport.CreateClient(server), so the operator's "accept a self signed certificate" setting works for CyberPanel servers. - The masked password of a new website prints with
SecretMask.Textinstead of a private copy of the mask. - The domain types of the plugin (account state, refusals, results and the like) are internal: nothing outside the plugin uses them.
Added
- Tests with the SDK contract checks
PluginHttpContract.AssertRedirectIsNotFollowedAsyncandPanelTransportContract.AssertSelfSignedIsRefusedByDefaultAsyncandAssertSelfSignedIsAcceptedForTheServerOnlyAsync. - Tests of the connection test for a website list refused for a reason other than access denied, and for an unrecognised or still running listing.
Documentation
- The README says that the host transport must not follow redirects, and that the host must never give one user name to two customers.
- Dead references to other projects are removed from
.editorconfig.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «cyberpanel» и выберите версию 1.0.1.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.