Release notes
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.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "square" and choose version 1.0.1.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.