Заметки к выпуску
Changed
- Adopts
Hostpanel.Sdk3.7.0, pinned to[3.7.0]. - The secret mask of the connection is
SecretMask.Textof the SDK, and the private constant is gone. - The API client sends and reads through
PluginHttp: the bounded read of the body and the check of the final address are the SDK's, and the hand-written copies are deleted. A refused or dropped connection, a TLS error and a deadline (30 seconds for the headers and for the body) arrive as aPluginHttpException, which is mapped to the plugin's own error in one place. The plugin now bounds each call itself instead of relying on the host's timeouts. - The tests check with
PluginHttpContractthat the client of the transport does not follow a redirect, and the tests of the deleted bounded read are removed.
Fixed
- An address counts as an OpenSRS host only on the port of its API (55443), in a saved address and in the address an exchange ended at, so a redirect to the same host on another port fails the call.
- The case sections of the order outcome and of the XML value reader that declare a variable are wrapped in braces.
Added
- Client tests for an I/O error and for a timeout while the body of an answer is read: both end as a transport failure with no inner exception.
- The README says that the host's timeouts apply and the plugin reads no clock, and records the port as verified against the published reference.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «opensrs» и выберите версию 1.0.1.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.