Заметки к выпуску
Changed
- Every call to Square now goes through
Hostpanel.Sdk3.7.0PluginHttp: it sends with a deadline, checks that the answer came from the host that was called and reads the body with a size limit of 1 MiB. The hand written bounded body read, final host check and deadline are gone. A fault of those steps is mapped to the plugin's failure kind in one place. The warning of a transport failure no longer names the exception type. - The
Hostpanel.Sdkpin is raised from 3.5.0 to 3.7.0. - The client logs and builds every failure exception in one place: the transport failure goes through the same step as the other kinds. An unreadable body is thrown from inside the JSON catch.
- The exception tests use a real refusal, and the rate limit and server fault kinds, instead of a refusal carrying a 429 or a 502.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «square» и выберите версию 1.0.1.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.